/* =========================
   GLOBAL STYLES
========================= */

:root {
  --red: #700C0C;
  --red-dark: #520707;
  --red-light: #8C2929;
  --ivory: #F8F3E9;
  --ivory-dark: #EDE3D3;
  --cream: #FFFDF8;
  --text: #3D2925;
  --muted: #76645D;
  --error: #B42318;
  --error-bg: #FFF0ED;
  --error-border: #D92D20;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Montserrat", sans-serif;
  background: var(--ivory);
  color: var(--text);
}

button,
input {
  font-family: "Montserrat", sans-serif;
}

button {
  font-weight: 700;
}


/* =========================
   LANDING SECTION
========================= */

.image-section {
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: url("./src/red-bg.png") center / cover no-repeat;
}

.image-section picture {
  display: block;
  width: 100%;
  max-width: 1100px;
  height: 100%;
}

.image-section img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}


/* =========================
   INVITATION SECTION
========================= */

.invitation-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  height: auto;
  margin: 0;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: url("./src/red-bg.png") center center / cover no-repeat;
  font-family: "Montserrat", sans-serif;
  border-top: none;
}

.invitation-section > * {
  position: relative;
  z-index: 1;
}


/* INVITATION TITLE */

.invitation-section .title {
  width: 100%;
  margin: 0 0 25px;
  text-align: center;
  font-family: "Ballet", cursive;
  font-size: clamp(55px, 7vw, 90px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--ivory);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}


/* =========================
   LOADING SCREEN
========================= */

#loadingScreen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background: url("./src/green-bg.png") center / cover no-repeat;
  font-family: "Montserrat", sans-serif;
}

.loading-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 18px;
}

.loading-image {
  display: block;
  width: 90vw;
  max-width: 900px;
  height: auto;
  object-fit: contain;
  animation: imageFloat 2s ease-in-out infinite;
}

@keyframes imageFloat {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}


/* RETRY BUTTON */

#retryButton {
  display: none;
  margin-top: 15px;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  background: var(--ivory);
  color: var(--red);
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
}

#retryButton:hover {
  background: var(--ivory-dark);
}


/* =========================
   MAIN CONTENT
========================= */

#mainContent {
  display: none;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}


/* =========================
   SEARCH SECTION
========================= */

.invitation-section .search-section {
  width: 100%;
  max-width: 600px;
  padding: 25px;
  margin: 0 auto 30px;
  font-family: "Montserrat", sans-serif;
}

#searchContainer {
  width: 100%;
}

#guestSearch {
  display: block;
  width: 100%;
  min-height: 56px;
  padding: 17px 20px;
  border: 2px solid var(--ivory-dark);
  border-radius: 10px;
  outline: none;
  background: var(--cream);
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#guestSearch::placeholder {
  color: #93837B;
  font-weight: 500;
}

#guestSearch:focus {
  border-color: var(--ivory);
  box-shadow: 0 0 0 4px rgba(248, 243, 233, 0.25);
}


/* SEARCH RESULTS */

#searchResults {
  width: 100%;
  margin-top: 12px;
}

.search-result {
  padding: 16px 18px;
  margin-top: 9px;
  border: 1px solid var(--ivory-dark);
  border-radius: 9px;
  background: var(--cream);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  animation: searchReveal 0.4s ease both;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.search-result:hover {
  background: var(--ivory-dark);
  border-color: var(--red);
}

@keyframes searchReveal {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* NO GUEST FOUND MESSAGE */

#searchResults > div:not(.search-result) {
  padding: 14px 18px;
  margin-top: 10px;
  background: var(--ivory);
  border: 2px solid #E5D5C2;
  border-radius: 9px;
  color: var(--red);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.6;
}


/* =========================
   RSVP FORM
========================= */

#rsvpForm {
  display: none;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  font-family: "Montserrat", sans-serif;
}

.group-title {
  margin: 0 0 28px;
  color: var(--ivory);
  font-size: 23px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-align: center;
}


/* FORM GUIDE */

.form-guide {
  display: none;
  padding: 16px 18px;
  margin-bottom: 22px;
  border: 2px solid #E5A34A;
  border-left: 6px solid #E5A34A;
  border-radius: 9px;
  background: #FFF4D9;
  color: #74430C;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
}


/* =========================
   GUEST CARDS
========================= */

.guest-card {
  width: 100%;
  padding: 30px;
  margin-bottom: 22px;
  border: 1px solid rgba(248, 243, 233, 0.8);
  border-radius: 16px;
  background: var(--ivory);
  color: var(--text);
  box-shadow: 0 8px 24px rgba(45, 0, 0, 0.18);
  animation: contentFadeIn 1s ease both;
}

.guest-name {
  padding-bottom: 18px;
  margin-bottom: 25px;
  border-bottom: 2px solid var(--ivory-dark);
  color: var(--red);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.4;
}


/* =========================
   QUESTIONS
========================= */

.question {
  margin-bottom: 28px;
}

.question:last-child {
  margin-bottom: 0;
}

.question-title {
  margin-bottom: 13px;
  color: var(--red-dark);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.6;
}

.question-help {
  margin: -3px 0 15px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  font-style: italic;
  line-height: 1.4;
}


/* =========================
   RADIO OPTIONS
========================= */

.options {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.option {
  flex: 1;
  min-width: 130px;
}

.option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.option label {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 14px 16px;
  border: 2px solid #D9CEC0;
  border-radius: 10px;
  background: var(--cream);
  color: var(--text);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.option label:hover {
  border-color: var(--red);
  background: #F1E8DC;
}

.option input:checked + label {
  border-color: var(--red);
  background: var(--red);
  color: var(--ivory);
  box-shadow: 0 3px 10px rgba(112, 12, 12, 0.2);
}

.option input:focus-visible + label {
  outline: 3px solid #C58C45;
  outline-offset: 3px;
}


/* =========================
   DIETARY AND VEHICLE FIELDS
========================= */

.dietary-section {
  display: none;
}

.dietary-details,
.vehicle-details {
  display: none;
  margin-top: 16px;
  animation: fieldReveal 0.4s ease both;
}

@keyframes fieldReveal {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dietary-details input,
.vehicle-details input {
  width: 100%;
  min-height: 54px;
  padding: 15px 16px;
  border: 2px solid #D9CEC0;
  border-radius: 9px;
  outline: none;
  background: var(--cream);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.dietary-details input::placeholder,
.vehicle-details input::placeholder {
  color: #93837B;
  font-weight: 500;
}

.dietary-details input:focus,
.vehicle-details input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(112, 12, 12, 0.12);
}


/* =========================
   VALIDATION ERRORS
========================= */

.field-error {
  display: none;
  padding: 10px 13px;
  margin-top: 10px;
  border: 1px solid var(--error-border);
  border-left: 5px solid var(--error-border);
  border-radius: 7px;
  background: var(--error-bg);
  color: var(--error);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
}

.guest-card:has(.field-error[style*="display: block"]) {
  border: 2px solid #E4A09A;
}

.guest-card input[type="text"].input-error {
  border: 2px solid var(--error-border) !important;
  background: var(--error-bg) !important;
  box-shadow: 0 0 0 3px rgba(217, 45, 32, 0.12);
}


/* =========================
   FORM ACTION BUTTONS
========================= */

.submit-container,
.answered-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

.back-button,
#submitButton,
#answeredEditButton {
  width: 180px;
  min-width: 180px;
  min-height: 54px;
  flex: 0 0 180px;
  padding: 14px 20px;
  border: 2px solid var(--ivory);
  border-radius: 10px;
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.back-button {
  background: transparent;
  color: var(--ivory);
}

.back-button:hover {
  background: var(--ivory);
  color: var(--red);
}

#submitButton,
#answeredEditButton {
  background: var(--ivory);
  color: var(--red);
}

#submitButton:hover,
#answeredEditButton:hover {
  background: transparent;
  color: var(--ivory);
}

#submitButton:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}


/* =========================
   ANSWERED VIEW
========================= */

#answeredView {
  display: none;
  width: 100%;
  max-width: 760px;
  margin: 25px auto 0;
  font-family: "Montserrat", sans-serif;
}

.answered-header {
  padding: 35px 25px;
  margin-bottom: 22px;
  border: 1px solid rgba(248, 243, 233, 0.7);
  border-radius: 16px;
  background: var(--ivory);
  color: var(--text);
  text-align: center;
  box-shadow: 0 8px 24px rgba(45, 0, 0, 0.15);
  animation: contentFadeIn 1s ease both;
}

.check-icon {
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--red);
  color: var(--ivory);
  font-size: 29px;
  font-weight: 800;
  animation: checkPop 0.6s ease both;
  animation-delay: 0.2s;
}

@keyframes checkPop {
  from {
    opacity: 0;
    transform: scale(0.7);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.answered-header h2 {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 26px;
  font-weight: 800;
}

.answered-header p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.8;
}


/* =========================
   ANSWER CARDS
========================= */

.answered-card {
  padding: 28px;
  margin-bottom: 18px;
  border: 1px solid var(--ivory-dark);
  border-radius: 15px;
  background: var(--ivory);
  color: var(--text);
  box-shadow: 0 6px 18px rgba(45, 0, 0, 0.12);
  animation: contentFadeIn 1s ease both;
}

.answered-name {
  color: var(--red);
  font-size: 20px;
  font-weight: 800;
}

.answer-row {
  padding: 15px 0;
  border-top: 1px solid #E5DCCE;
}

.answer-row:first-child {
  border-top: none;
  padding-top: 0;
}

.answer-label {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.answer-value {
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
  overflow-wrap: anywhere;
}


/* =========================
   CONTENT ANIMATIONS
========================= */

.scroll-reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes contentFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* =========================
   RESPONSIVE: TABLET
========================= */

@media (min-width: 768px) and (max-width: 1024px) {
  .invitation-section {
    padding: 75px 35px;
  }

  #rsvpForm,
  #answeredView {
    max-width: 720px;
  }
}


/* =========================
   RESPONSIVE: MOBILE
========================= */

@media (max-width: 767px) {

  .image-section {
    height: 100vh;
    min-height: 100vh;
  }

  .invitation-section {
    min-height: 100vh;
    height: auto;
    margin: 0;
    padding: 55px 16px 70px;
    background-position: center top;
  }

  .invitation-section .title {
    font-size: clamp(48px, 12vw, 68px);
  }


  /* SEARCH SECTION */

  .invitation-section .search-section {
    width: 100%;
    max-width: 600px;
    padding: 12px 28px 18px;
    margin: 0 auto 25px;
  }

  .search-section h2 {
    font-size: 19px !important;
    line-height: 1.3;
    margin-bottom: 8px;
  }

  .search-section label {
    font-size: 12px;
    margin-bottom: 6px;
  }

  #searchContainer {
    display: block;
    width: 100%;
  }

  #guestSearch {
    display: block;
    width: 100%;
    max-width: none;
    min-height: 48px;
    padding: 13px 18px;
    font-size: 14px;
    border-radius: 9px;
  }

  #searchResults {
    width: 100%;
    max-width: none;
    margin: 10px 0 0;
  }


  /* RSVP FORM */

  #rsvpForm,
  #answeredView {
    width: 100%;
    max-width: 100%;
    padding: 0 12px;
    box-sizing: border-box;
  }

  .group-title {
    font-size: 20px !important;
    line-height: 1.3;
    margin-bottom: 16px;
  }

  .form-guide {
    padding: 13px 14px;
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 18px;
  }

  .guest-card,
  .answered-card {
    padding: 26px 20px;
    margin-bottom: 22px;
    border-radius: 12px;
  }

  .guest-name,
  .answered-name {
    font-size: 19px;
    line-height: 1.3;
  }

  .question {
    margin-bottom: 20px;
  }

  .question-title {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 9px;
  }

  .question-help {
    font-size: 11px;
    line-height: 1.5;
    margin: 2px 0 10px;
  }

  .options {
    flex-direction: column;
    gap: 9px;
    margin-top: 8px;
  }

  .option {
    width: 100%;
    min-width: 100%;
  }

  .option label {
    min-height: 44px;
    justify-content: flex-start;
    text-align: left;
    padding: 11px 14px;
    font-size: 11px;
  }

  .dietary-details,
  .vehicle-details {
    margin-top: 12px;
  }

  .dietary-details input,
  .vehicle-details input {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 11px 12px;
    font-size: 12px;
  }

  .field-error {
    padding: 9px 11px;
    font-size: 11px;
    line-height: 1.4;
  }


  /* BUTTONS */

  .submit-container,
  .answered-actions {
    flex-direction: row;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 24px;
  }

  .back-button,
  #submitButton,
  #answeredEditButton {
    width: 140px;
    min-width: 140px;
    min-height: 46px;
    flex: 0 0 140px;
    padding: 11px 8px;
    font-size: 12px;
  }


  /* ANSWERED VIEW */

  .answered-header {
    padding: 26px 18px;
    margin-bottom: 18px;
  }

  .answered-header h2 {
    font-size: 22px;
  }

  .answered-header p {
    font-size: 12px;
    line-height: 1.6;
  }

  .check-icon {
    width: 44px;
    height: 44px;
    font-size: 22px;
    margin-bottom: 14px;
  }

  .answer-row {
    padding: 11px 0;
  }

  .answer-label {
    font-size: 11px;
    margin-bottom: 5px;
  }

  .answer-value {
    font-size: 13px;
    line-height: 1.5;
  }

  .scroll-reveal {
    transform: translateY(12px);
  }
}


/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 480px) {

  .invitation-section {
    padding: 45px 16px 60px;
  }

  .invitation-section .title {
    font-size: 48px;
  }


  /* SEARCH */

  .invitation-section .search-section {
    width: 100%;
    max-width: 600px;
    padding: 22px 24px;
    margin-bottom: 20px;
  }

  .search-section h2 {
    font-size: 17px !important;
    line-height: 1.35;
    margin-bottom: 9px;
  }

  .search-section label {
    font-size: 11px;
  }

  #guestSearch {
    width: 100%;
    max-width: none;
    min-height: 50px;
    padding: 14px 16px;
    font-size: 13px;
  }

  #searchResults {
    width: 100%;
    max-width: none;
  }

  .search-result {
    padding: 12px 14px;
    font-size: 11px;
  }


  /* RSVP */

  #rsvpForm,
  #answeredView {
    padding: 0 10px;
  }

  .group-title {
    font-size: 18px !important;
    margin-bottom: 14px;
  }

  .form-guide {
    padding: 11px 12px;
    font-size: 11px;
    margin-bottom: 16px;
  }

  .guest-card,
  .answered-card {
    padding: 23px 17px;
    margin-bottom: 18px;
    border-radius: 10px;
  }

  .guest-name,
  .answered-name {
    font-size: 17px;
    padding-bottom: 14px;
  }

  .question {
    margin-bottom: 17px;
  }

  .question-title {
    font-size: 13px;
    line-height: 1.5;
  }

  .question-help {
    font-size: 10px;
    line-height: 1.45;
  }

  .option label {
    min-height: 41px;
    padding: 10px 12px;
    font-size: 11px;
  }

  .dietary-details input,
  .vehicle-details input {
    min-height: 40px;
    padding: 9px 10px;
    font-size: 11px;
  }

  .field-error {
    font-size: 10px;
  }

  .submit-container,
  .answered-actions {
    gap: 8px;
  }

  .back-button,
  #submitButton,
  #answeredEditButton {
    width: 130px;
    min-width: 130px;
    min-height: 42px;
    flex: 0 0 130px;
    padding: 10px 7px;
    font-size: 11px;
  }

  .answered-header {
    padding: 22px 15px;
  }

  .answered-header h2 {
    font-size: 20px;
  }

  .answered-header p {
    font-size: 11px;
  }

  .answer-label,
  .answer-value {
    font-size: 11px;
  }
}


/* =========================
   EXTRA SMALL PHONES
========================= */

@media (max-width: 360px) {

  .invitation-section {
    padding: 40px 12px 55px;
  }

  .invitation-section .title {
    font-size: 44px;
  }


  /* SEARCH */

  .invitation-section .search-section {
    width: 100%;
    max-width: 600px;
    padding: 18px 20px;
  }

  .search-section h2 {
    font-size: 16px !important;
  }

  #guestSearch {
    width: 100%;
    max-width: none;
    min-height: 48px;
    padding: 13px 15px;
    font-size: 12px;
  }

  #searchResults {
    width: 100%;
    max-width: none;
  }


  /* RSVP */

  #rsvpForm,
  #answeredView {
    padding: 0 8px;
  }

  .group-title {
    font-size: 17px !important;
  }

  .guest-card,
  .answered-card {
    padding: 19px 14px;
  }

  .guest-name,
  .answered-name {
    font-size: 16px;
  }

  .question-title {
    font-size: 12px;
  }

  .option label {
    font-size: 11px;
  }

  .back-button,
  #submitButton,
  #answeredEditButton {
    width: 120px;
    min-width: 120px;
    flex-basis: 120px;
    font-size: 10px;
  }
}


/* =========================
   ACCESSIBILITY
========================= */

button:focus-visible,
input:focus-visible {
  outline: 3px solid #D6A45E;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }

  .scroll-reveal {
    opacity: 1;
    transform: none;
  }
}


/* =========================
   KEEP RSVP OPTIONS SIDE BY SIDE
   ON MOBILE
========================= */

@media (max-width: 768px) {

  .guest-card .question .options {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100%;
  }

  .guest-card .question .option {
    width: 100%;
    min-width: 0;
    margin: 0;
  }

  .guest-card .question .option label {
    width: 100%;
    min-height: 44px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: normal;
    font-size: 11px;
  }
}


/* =========================
   RSVP CLOSED VIEW
========================= */

#closedView {
  display: none;
  background: #ffffff;
  color: #700C0C;
  padding: 45px 30px;
  max-width: 600px;
  margin: 30px auto;
  border-radius: 12px;
  text-align: center;
}

#closedView h2 {
  color: #700C0C;
  font-family: "Montserrat", sans-serif;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 15px;
}

#closedView p {
  color: #555555;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 25px;
}

#closedView .back-button {
  background: #700C0C;
  color: #ffffff;
  border: 1px solid #700C0C;
  padding: 12px 30px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}


/* CLOSED VIEW MOBILE */

@media (max-width: 768px) {

  #closedView {
    padding: 35px 22px;
    margin: 20px auto;
  }

  #closedView h2 {
    font-size: 23px;
  }

  #closedView p {
    font-size: 13px;
  }
}


/* =========================
   RSVP DEADLINE NOTE
========================= */

#rsvpDeadlineNote {
  margin-top: -28px;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 600;
  font-style: italic;
  text-align: center;
  color: var(--ivory);
}


/* =========================
   MAP SECTION
========================= */

.map-section {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;

  width: 100%;
  height: 100vh;
  min-height: 100vh;
  max-height: 100vh;

  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow: hidden;

  background: url("./src/green-bg.png") center center / cover no-repeat;
}


/* ONLY THE MAP IMAGE IS CLICKABLE */

.map-image-link {
  display: inline-block;
  width: auto;
  height: auto;
  max-width: 100%;
  line-height: 0;
  cursor: pointer;
}

.map-section picture {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
}

.map-section-image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100vh;
  object-fit: contain;
  object-position: center;
}


