* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;

    }

    html {
  min-height: 100%;
  background: linear-gradient(to right, #fcf4ea 0%, #fcf4ea 100%);
}

    body {
      font-family: 'Plus Jakarta Sans', sans-serif;
	  min-height:100vh;
      color: #1c1c1e;
      overflow-x: hidden;
      line-height: 1.6;

    }


    img {
      max-width: 100%;
      display: block;
    }

    .container {
      width: 90%;
      max-width: 1200px;
      margin: 0 auto;
	      scroll-margin-top: 80px;
    }
.login-message {
      text-align: center;
      font-size: 0.95rem;
      color: rgba(0,0,0,0.6);
      transition: opacity 0.3s ease;
      min-height: 1.2em;
    }

    .login-message.error {
      color: #b00020;
    }
	
	
	
/* =========================================================
   WEDDING DETAILS
   ========================================================= */

.details-section {
  min-height: 100dvh;

  box-sizing: border-box;

  padding: 6rem 20px;

  position: relative;

  /* Light contrast to the dark schedule section */
  background: #eeeee7;

  color: #18382b;

  display: flex;
  align-items: center;
}


/* =========================================================
   MAIN LAYOUT
   ========================================================= */

.details-layout {
  width: 90%;
  max-width: 1200px;

  margin: 3rem auto 0;

  display: grid;

  grid-template-columns:
    minmax(300px, 0.9fr)
    minmax(500px, 1.1fr);

  gap: 5rem;

  align-items: center;
}


/* =========================================================
   IMAGE
   ========================================================= */

.details-image {
  width: 85%;
  height: 500px;

  margin: 0 auto;

  position: relative;

  padding: 25px;

  box-sizing: border-box;

  border: 10px solid #18382b;

  background: #eeeee7;

  /* Creates the second border */
  box-shadow:
    0 0 0 25px #eeeee7,
    0 0 0 11px #18382b;

  border-radius: 10px;
}

.details-image img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  filter:
    saturate(0.88)
    contrast(0.96);
}

.details-image img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  /*
     Slightly softened to fit the
     printed wedding stationery look
  */
  filter:
    saturate(0.88)
    contrast(0.96);
}


/* =========================================================
   RIGHT-HAND CONTENT
   ========================================================= */

.details-content {
  min-width: 0;
}


/* =========================================================
   DETAILS TITLE
   ========================================================= */

.details-content .section-title {
  color: #18382b;

  margin-bottom: 0;
}


/* =========================================================
   DETAILS GRID
   ========================================================= */

/*
   Countdown occupies the entire width.

   Where + When sit underneath
   as two equal columns.
*/

.details-grid {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  column-gap: 3.5rem;
  row-gap: 0;

  margin-top: 3rem;

  align-items: stretch;
}


/* =========================================================
   INDIVIDUAL DETAIL
   ========================================================= */

.detail-card {
  position: relative;

  min-width: 0;

  padding: 1.75rem 0 2rem;

  background: transparent;

  border: none;
  border-radius: 0;

  box-shadow: none;

  text-align: left;

  transition: transform 0.3s ease;
}


/*
   Countdown spans both columns
*/

.countdown-card {
  grid-column: 1 / -1;
}


/* =========================================================
   SUBTLE DIVIDERS
   ========================================================= */

.detail-card::after {
  content: "";

  position: absolute;

  left: 0;
  right: 0;
  bottom: 0;

  height: 1px;

  background: rgba(24, 56, 43, 0.22);
}


/* =========================================================
   ICON + HEADING
   ========================================================= */

.detail-card-heading {
  display: flex;

  align-items: center;

  gap: 1rem;

  margin-bottom: 1.5rem;
}
.detail-card-heading-prop {
  display: flex;

  align-items: center;

  gap: 1rem;

}


/* Circular icon */

.detail-icon {
  flex: 0 0 56px;

  width: 56px;
  height: 56px;

  display: flex;

  align-items: center;
  justify-content: center;

  box-sizing: border-box;

  border: 1px solid rgba(24, 56, 43, 0.45);

  border-radius: 50%;

  background: rgba(24, 56, 43, 0.025);

  transition:
    border-color 0.3s ease,
    background 0.3s ease;
}


.detail-icon img {
  width: 34px;
  height: 34px;

  display: block;

  object-fit: contain;
}


/* =========================================================
   LABEL
   ========================================================= */

.detail-label {
  margin: 0;

  color: #18382b;

  font-size: 1rem;

  font-weight: 500;

  letter-spacing: 0.15em;

  text-transform: uppercase;
}


/* =========================================================
   DETAIL TEXT
   ========================================================= */

.detail-text {
  margin: 0;

  color: rgba(24, 56, 43, 0.78);

  font-size: 1rem;

  line-height: 1.7;

  letter-spacing: 0.02em;
}


/* =========================================================
   COUNTDOWN
   ========================================================= */

.countdown-grid {
  display: grid;

  grid-template-columns:
    repeat(4, minmax(0, 1fr));

  gap: 1rem;

  margin-top: 0.5rem;
}


.countdown-item {
  padding: 0;

  background: transparent;

  border: none;

  border-radius: 0;

  text-align: center;
}


.countdown-item span {
  display: block;

  color: #18382b;

  font-size: clamp(2rem, 4vw, 3.2rem);

  font-weight: 300;

  line-height: 1;

  font-variant-numeric: tabular-nums;
}


.countdown-item label {
  display: block;

  margin-top: 0.65rem;

  color: rgba(24, 56, 43, 0.6);

  font-size: 0.65rem;

  font-weight: 500;

  letter-spacing: 0.15em;

  text-transform: uppercase;
}


/* =========================================================
   HOVER
   ========================================================= */

.detail-card:hover {
  transform: translateY(-3px);
}


.detail-card:hover .detail-icon {
  border-color: rgba(24, 56, 43, 0.7);

  background: rgba(24, 56, 43, 0.06);
}


/* =========================================================
   TABLET / NARROW DESKTOP
   ========================================================= */

@media (max-width: 1000px) {

  .details-layout {
    grid-template-columns:
      minmax(250px, 0.8fr)
      minmax(400px, 1.2fr);

    gap: 3rem;
  }

  .details-image {
    height: 520px;
  }

  .details-grid {
    column-gap: 2.5rem;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 800px) {

  .details-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .details-layout {
    grid-template-columns: 1fr;

    gap: 3rem;

    margin-top: 2.5rem;
  }

  .details-image {
    height: 400px;
  }

  .details-grid {
    grid-template-columns: 1fr;

    column-gap: 0;

    margin-top: 0;
  }

  .countdown-card {
    grid-column: auto;
  }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 450px) {

  .details-section {
    padding-left: 15px;
    padding-right: 15px;
  }


  .details-layout {
    width: 92%;
  }


  .details-image {
    height: 330px;
  }


  .countdown-grid {
    gap: 0.5rem;
  }


  .countdown-item span {
    font-size: 1.7rem;
  }


  .countdown-item label {
    font-size: 0.58rem;
  }

}

    .login-message.success {
      color: #2e7d32;
    }
	.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(10px);

  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 9999;
}

.modal-card {
  width: min(92%, 420px);

  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(20px);

  border-radius: 28px;

  padding: 2rem;

  box-shadow:
    0 20px 60px rgba(0,0,0,0.08);

  text-align: center;
}

.modal-card h2 {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.modal-text {
  opacity: 0.7;
  margin-bottom: 1.5rem;
}

.table-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  margin-top: 20px;
}

/* =========================================================
   ACCOMMODATION
   ========================================================= */

.accommodation-section {
  /*
     IMPORTANT:
     The section itself owns the viewport height.
  */
  min-height: 100dvh;

  box-sizing: border-box;

  position: relative;

  padding: 6rem 20px;

  /*
     Dark olive / green background
     to contrast with the light Details section
  */
  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(145, 157, 105, 0.28),
      transparent 42%
    ),
    radial-gradient(
      circle at 85% 80%,
      rgba(74, 105, 79, 0.25),
      transparent 45%
    ),
    linear-gradient(
      135deg,
      #596341 0%,
      #465238 40%,
      #2d4230 70%,
      #182d24 100%
    );

  color: #f2f1e8;

  /*
     Vertically centre the content
  */
  display: flex;
  align-items: center;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.accommodation-container {
  width: 90%;

  max-width: 1200px;

  margin: 0 auto;
}


/* =========================================================
   SECTION TITLE
   ========================================================= */

.accommodation-title {
  margin-bottom: 3rem;

  color: #f4f2e8;

  text-align: left;
}


/* =========================================================
   MAIN CONTENT
   ========================================================= */

.accommodation-content {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 1.25fr);

  gap: 5rem;

  align-items: start;
}


/* =========================================================
   HEADINGS
   ========================================================= */

.accommodation-heading {
  display: flex;

  align-items: center;

  gap: 1rem;

  margin-bottom: 1.5rem;
}


.accommodation-heading h3 {
  margin: 0;

  color: #f4f2e8;

  font-size: 1rem;

  font-weight: 500;

  letter-spacing: 0.14em;

  text-transform: uppercase;
}


/* =========================================================
   ICONS
   ========================================================= */

.accommodation-icon {
  flex: 0 0 56px;

  width: 56px;
  height: 56px;

  display: flex;

  align-items: center;
  justify-content: center;

  box-sizing: border-box;

  border: 1px solid rgba(238, 239, 224, 0.5);

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.035);

  transition:
    background 0.3s ease,
    border-color 0.3s ease;
}


.accommodation-icon img {
  width: 34px;
  height: 34px;

  display: block;

  object-fit: contain;
}


/* =========================================================
   TEXT
   ========================================================= */

.accommodation-text {
  color: rgba(244, 242, 232, 0.78);

  font-size: 0.95rem;

  line-height: 1.75;

  letter-spacing: 0.01em;
}


.accommodation-text p {
  margin: 0 0 1.1rem;
}


.accommodation-text strong {
  color: #f4f2e8;

  font-weight: 600;
}


/* Important warning/note */

.accommodation-note {
  color: rgba(226, 207, 166, 0.9);

  font-size: 0.9rem;
}


/* =========================================================
   BOOKING BUTTON
   ========================================================= */

.accommodation-button {
  display: inline-block;

  margin-top: 0.5rem;

  padding: 0.9rem 1.7rem;

  border: 1px solid rgba(238, 239, 224, 0.55);

  border-radius: 2px;

  color: #f4f2e8;

  background: rgba(255, 255, 255, 0.035);

  text-decoration: none;

  font-size: 0.75rem;

  font-weight: 500;

  letter-spacing: 0.14em;

  text-transform: uppercase;

  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease;
}


.accommodation-button:hover {
  background: rgba(255, 255, 255, 0.1);

  border-color: rgba(238, 239, 224, 0.8);

  transform: translateY(-2px);
}


/* =========================================================
   OTHER ACCOMMODATION
   ========================================================= */

.accommodation-other-intro {
  margin: 0 0 1.5rem;

  color: rgba(244, 242, 232, 0.72);

  font-size: 0.95rem;

  line-height: 1.7;
}


/* =========================================================
   TABLES
   ========================================================= */

.accommodation-tables {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 2.5rem;
}


.accommodation-table-wrap {
  min-width: 0;
}


.accommodation-table {
  width: 100%;

  border-collapse: collapse;

  font-size: 0.9rem;
}


/* Table headings */

.accommodation-table th {
  padding-bottom: 0.8rem;

  color: rgba(244, 242, 232, 0.55);

  text-align: left;

  font-size: 0.65rem;

  font-weight: 500;

  letter-spacing: 0.14em;

  text-transform: uppercase;
}


/* Phone column */

.accommodation-table th:last-child,
.accommodation-table td:last-child {
  text-align: right;

  white-space: nowrap;
}


/* Rows */

.accommodation-table td {
  padding: 0.85rem 0;

  color: rgba(244, 242, 232, 0.75);

  border-top: 1px solid rgba(244, 242, 232, 0.16);

  vertical-align: middle;
}


/* Links */

.accommodation-table a {
  color: #f4f2e8;

  text-decoration: none;

  font-weight: 500;

  transition: opacity 0.2s ease;
}


.accommodation-table a:hover {
  opacity: 0.6;
}


/* =========================================================
   SUBTLE SECTION DIVIDERS
   ========================================================= */

.accommodation-intro,
.accommodation-other {
  position: relative;
}


/*
   Gives the two halves a subtle printed
   separation without making them cards.
*/

.accommodation-intro::after {
  content: "";

  position: absolute;

  top: 0;
  right: -2.5rem;

  width: 1px;
  height: 100%;

  background: rgba(244, 242, 232, 0.16);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

  .accommodation-content {
    gap: 3rem;
  }

  .accommodation-tables {
    gap: 1.5rem;
  }

  .accommodation-intro::after {
    right: -1.5rem;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 800px) {

  .accommodation-section {
    /*
       Still full-screen where possible,
       but allows content to grow if needed.
    */
    min-height: 100dvh;

    padding-top: 5rem;
    padding-bottom: 5rem;
  }


  .accommodation-content {
    grid-template-columns: 1fr;

    gap: 3rem;
  }


  /*
     Remove vertical divider on mobile
  */

  .accommodation-intro::after {
    display: none;
  }


  /*
     Replace it with a horizontal divider
  */

  .accommodation-intro {
    padding-bottom: 2.5rem;

    border-bottom: 1px solid rgba(244, 242, 232, 0.16);
  }


  .accommodation-tables {
    grid-template-columns: 1fr;

    gap: 1.5rem;
  }


  .accommodation-title {
    margin-bottom: 2.5rem;
  }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 450px) {

  .accommodation-section {
    padding-left: 15px;
    padding-right: 15px;
  }


  .accommodation-container {
    width: 92%;
  }


  .accommodation-heading h3 {
    font-size: 0.9rem;
  }


  .accommodation-icon {
    flex-basis: 52px;

    width: 52px;
    height: 52px;
  }


  .accommodation-icon img {
    width: 31px;
    height: 31px;
  }


  .accommodation-table {
    font-size: 0.82rem;
  }

}


#rsvpCode {
  margin-bottom: 1rem;
}

.hidden-modal {
  display: none;
}
    /* HERO */
    .hero {
    min-height: 100vh;
    height: 100vh;

    display: flex;
    flex-direction: column;

    text-align: center;
    padding: 2rem 0 0;

    background: transparent;
    box-sizing: border-box;
    overflow: hidden;
}

    .hero-content {
      animation: fadeUp 2.3s ease;
	  flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    }

    .hero-subtitle {
      font-size: 1.25rem;
      letter-spacing: 0.25em;
      text-transform: uppercase;
      color: #D3D3D3;
      margin-bottom: 1.5rem;
      font-weight: 500;
    }

    .hero h1 {
      font-size: clamp(4rem, 12vw, 9rem);
      line-height: 0.95;
      font-weight: 600;
      letter-spacing: -0.06em;
      margin-bottom: 1.5rem;
    }

    .hero-date {
      font-size: 1.25rem;
      color: #D3D3D3;
      margin-bottom: 2rem;
    }
	.rsvp-label {
      font-size: 0.9rem;
      color: #6e6e73;
    }

    .hero-button {
      display: inline-flex;
      padding: 1rem 2rem;
      border-radius: 999px;
      background: #1c1c1e;
      color: white;
      text-decoration: none;
      font-weight: 500;
      transition: 0.25s ease;
      box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    }

    .hero-button:hover {
      transform: translateY(-2px);
      background: #000;
    }

    /* SECTIONS */
    section {
      padding: 2rem 0;
      overflow: visible;
      background: transparent;
    }

    .section-title {
      font-size: clamp(2rem, 5vw, 3rem);
      font-weight: 600;
      margin-bottom: 0rem;
	  letter-spacing: 0.06em;
    }
	.section-title-dark {
      font-size: clamp(2rem, 5vw, 3rem);
      font-weight: 600;
      margin-bottom: 0rem;
	  color: #42543f;
	  letter-spacing: 0.06em;
    }


    /* SCHEDULE */
     /* =========================
    SCHEDULE
    ========================= */

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-flow: column;
  grid-template-rows: repeat(4, auto);

  column-gap: 5rem;
  row-gap: 0;

  max-width: 1000px;
  margin: 0 auto;
}

.schedule-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;

  padding: 1.5rem 0;

  position: relative;
}

/* Subtle printed-paper divider */
.schedule-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;

  height: 1px;

  background: rgba(220, 225, 211, 0.35);
}

/* Wedding-themed icon */
.schedule-icon {
  flex: 0 0 60px;

  width: 60px;
  height: 60px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(210, 220, 200, 0.45);
  border-radius: 50%;

  color: #d9dfc9;
  font-size: 1.35rem;
  font-family: Georgia, serif;

  background: rgba(255, 255, 255, 0.04);
}
.schedule-icon img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

/* Text area */
.schedule-details {
  min-width: 0;
}

/* Time */
.schedule-time {
  margin-bottom: 0.3rem;

  color: #b8c3a5;

  font-size: 0.75rem;
  font-weight: 700;

  letter-spacing: 0.16em;
  text-transform: uppercase;
  	color:white;

}

/* Event name */
.schedule-item h3 {
  margin: 0;

  color: #ffffff;

  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.3;

  letter-spacing: 0.01em;
}

/* Gentle hover */
.schedule-item {
  transition: transform 0.3s ease;
}

.schedule-item:hover {
  transform: translateX(5px);
}

.schedule-item:hover .schedule-icon {
  background: rgba(255, 255, 255, 0.08);
}


/* =========================
   MOBILE
   ========================= */

@media (max-width: 700px) {
  .schedule-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-flow: row;
    max-width: 600px;
  }

  .schedule-item {
    padding: 1.25rem 0;
  }

  .schedule-icon {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
  }

  .schedule-item h3 {
    font-size: 1.1rem;
  }

  .schedule-time {
    font-size: 0.7rem;
	color:white;
  }
}

    /* PHOTO */
    .photo-section {
      text-align: center;
    }

    .photo-wrapper {
      max-width: 900px;
      margin: 0 auto;
      border-radius: 40px;
      overflow: hidden;
      box-shadow: 0 30px 60px rgba(0,0,0,0.08);
    }

    .photo-wrapper img {
      width: 100%;
      height: 700px;
      object-fit: cover;
    }

    .photo-caption {
      margin-top: 2rem;
      color: #6e6e73;
    }


/* =========================================================
   RSVP SECTION
   ========================================================= */

.rsvp-section {
  min-height: 100dvh;
  box-sizing: border-box;
  position: relative;

  padding: 6rem 0 4rem;

  background:
    linear-gradient(
      135deg,
      rgba(35, 55, 40, 0.88) 0%,
      rgba(45, 66, 48, 0.78) 45%,
      rgba(24, 45, 36, 0.90) 100%
    ),
    url("images/fairyhill3.webp");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  color: #f4f2e8;

  display: flex;
  align-items: center;
}


/* =========================================================
   CONTENT CONTAINER
   ========================================================= */

.rsvp-container {
  width: 90%;

  max-width: 1200px;

  margin: 0 auto;

  display: flex;

  flex-direction: column;

  gap: 4rem;
}


/* =========================================================
   RSVP CONTENT
   ========================================================= */

.rsvp-content {
  width: 100%;

  text-align: center;
}


.rsvp-title {
  margin-bottom: 1.5rem;

  color: #f4f2e8;
  font-size:6rem;
    letter-spacing: 0.05em;

}


.rsvp-intro {
  max-width: 600px;

  margin: 0 auto 2rem;

  color: rgba(244, 242, 232, 0.80);

  font-size: 1.1rem;

  line-height: 1.7;
}


/* =========================================================
   RSVP BUTTON
   ========================================================= */

.rsvp-button {
  display: inline-block;

  padding: 0.9rem 1.8rem;

  border: 1px solid rgba(244, 242, 232, 0.55);

  border-radius: 2px;

  background: transparent;

  color: #f4f2e8;

  text-decoration: none;

  font-size: 1rem;

  font-weight: 800;

  letter-spacing: 0.2em;

  text-transform: uppercase;

  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease,
    border-color 0.3s ease;
}


.rsvp-button:hover {
  background: #f4f2e8;

  color: #18382b;

  border-color: #f4f2e8;

  transform: translateY(-2px);
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

  .rsvp-section {
    min-height: 100dvh;

    padding-top: 5rem;

    padding-bottom: 3rem;

    align-items: flex-start;
  }


  .rsvp-container {
    width: 92%;

    gap: 2.5rem;
  }


  .rsvp-content {
    padding-top: 1rem;
  }


  .rsvp-intro {
    font-size: 0.95rem;
  }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 450px) {

  .rsvp-container {
    gap: 2rem;
  }


  .rsvp-button {
    width: 100%;

    box-sizing: border-box;

    text-align: center;
  }

}

.rsvp-container > .carousel {
  width: 100vw;
  max-width: none;

  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

/* Make sure the carousel wrapper uses the full viewport */
.rsvp-container > .carousel .polaroid-wrapper {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

    /* POLAROIDS */
    /*.polaroid-wrapper {
      width: 100%;
      overflow: hidden;
      padding: 60px;
      background: transparent;
	  padding-bottom:2rem;
    }
*/
.polaroid-wrapper {
width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;

    padding: 20px 60px 40px;

    cursor: grab;
    user-select: none;

    scroll-behavior: auto;

    box-sizing: border-box;

    flex-shrink: 0;
}
.carousel {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}
.polaroid-wrapper:active {
  cursor: grabbing;
}

/* hide scrollbar (optional) */
.polaroid-wrapper::-webkit-scrollbar {
  display: none;
}
.polaroid-wrapper {
  scrollbar-width: none;
}
/* track */
.polaroid-track {
  display: flex;
  gap: 20px;
  width: max-content;
  align-items: flex-start;
}
/*
    .polaroid-track {
      display: flex;
      gap: 20px;
      width: max-content;
      flex-wrap: nowrap;
      will-change: transform;
      align-items: flex-start;
    }
*/
/*
    .polaroid {
  flex: 0 0 auto;
  width: 220px;
  background: #E0E0D7;
  padding: 12px 12px 18px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.10);
  transform: rotate(-1.5deg);
}
*/
.polaroid {
  flex: 0 0 auto;
  width: 220px;

  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,0.35),
      rgba(220,220,210,0.25)
    ),
    url("images/texture.png");

  padding: 12px 12px 18px;
  border-radius: 12px;

  box-shadow:
    0 10px 25px rgba(0,0,0,0.10),
    0 2px 5px rgba(0,0,0,0.05);

  transform: rotate(-1.5deg);

  position: relative;
  overflow: hidden;
}
.polaroid::before {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    120deg,
    rgba(255,255,255,0.35),
    rgba(255,255,255,0) 40%
  );

  pointer-events: none;
}
	
	.withB {
      padding: 8px 8px 8px;
      border-radius: 12px;
      box-shadow: 0 10px 25px rgba(0,0,0,0.50);
    }

    .polaroid:nth-child(even) {
      transform: rotate(1.5deg);
    }

    .polaroid:nth-child(even) {
      transform: rotate(1.5deg);
    }

    /* prevent image drag issues */
.polaroid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;

  -webkit-user-drag: none;
  user-drag: none;
  pointer-events: none;
  user-select: none;
  aspect-ratio: 1 / 1;
  object-fit: cover;

  border-radius: 6px;

  filter: saturate(0.92) contrast(0.97);
}


    .polaroid p {
      margin-top: 10px;
      font-size: 14px;
      text-align: center;
      color: #444;
    }
	@media (max-width: 700px) {
  .polaroid {
    width: 120px;
    padding: 7px 7px 12px;
  }
	.polaroid-wrapper {
    padding: 20px;
    padding-bottom: 1.5rem;
  }
  .polaroid img {
    height: 110px;
  }

  .polaroid p {
    font-size: 12px;
  }
}

.polaroid-wrapper.dragging {
  cursor: grabbing;
  user-select: none;
}

.polaroid-wrapper {
  cursor: grab;
}
#home {
  padding-top: 4rem;
  padding-bottom: 8rem;
  position: relative;
  min-height: 100dvh;

  display: flex;
  align-items: center;
  justify-content: center;

  color: white;

  overflow: hidden;
}

/* HERO IMAGE + DARK OVERLAY */
#home::after {
  content: "";
  position: absolute;

  top: -3%;
  bottom: -3%;
  left: -6%;
  right: -6%;

  background-image:
    linear-gradient(
      rgba(30, 60, 40, 0.55),
      rgba(30, 60, 40, 0.55)
    ),
    url('images/fairyhill.jpg');

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  z-index: 0;

animation: heroPan 35s linear infinite alternate;
}

/* SUBTLE GLISTEN */
#home::before {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    115deg,
    transparent 15%,
    rgba(255, 255, 255, 0.04) 45%,
    rgba(255, 255, 255, 0.09) 50%,
    rgba(255, 255, 255, 0.04) 55%,
    transparent 70%
  );

  transform: translateX(-100%);

  animation: heroGlisten 10s ease-in-out infinite;

  pointer-events: none;

  z-index: 1;
}

/* KEEP HERO CONTENT ABOVE EVERYTHING */
#home > * {
  position: relative;
  z-index: 2;
}

/* SLOW LEFT → RIGHT → LEFT MOVEMENT */
@keyframes heroPan {
  0% {
    transform: scale(1.06) translateX(3%);
  }

  100% {
    transform: scale(1.06) translateX(-3%);
  }
}

/* OCCASIONAL LIGHT SWEEP */
@keyframes heroGlisten {
  0%,
  50% {
    transform: translateX(-100%);
  }

  85%,
  100% {
    transform: translateX(100%);
  }
}

	
	#the-day {
  padding-top: 4rem;
  padding-bottom: 8rem;
  position: relative;
  min-height: 100dvh;

  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(126, 139, 82, 0.35),
      transparent 45%
    ),
    linear-gradient(
      135deg,
      #596341 0%,
      #465238 40%,
      #2d4230 70%,
      #182d24 100%
    );

  display: flex;
  align-items: center;
  justify-content: center;

  color: white;
}

	#proposal {
  padding-top: 3rem;
  padding-bottom: 8rem;
  position: relative;
  min-height: 100dvh;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #18382b;
}

    footer {
      padding: 3rem 1rem 5rem;
      text-align: center;
      color: #8e8e93;
    }

    @media (max-width: 768px) {
      section {
        padding: 5rem 0;
      }

      .photo-wrapper img {
        height: 450px;
      }

   
    }
	
/* =========================================================
   FAQ SECTION
   ========================================================= */

.faq-section {
  min-height: 100dvh;

  box-sizing: border-box;

  position: relative;

  padding: 6rem 20px;

  /*
     Light counterpart to the dark green sections
  */
  background:
    radial-gradient(
      circle at 85% 15%,
      rgba(126, 139, 82, 0.10),
      transparent 40%
    ),
    linear-gradient(
      135deg,
      #f4f3ec 0%,
      #eeeee6 50%,
      #e7e8df 100%
    );

  color: #18382b;

  display: flex;
  align-items: center;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.faq-container {
  width: 90%;

  max-width: 1200px;

  margin: 0 auto;
}


/* =========================================================
   TITLE
   ========================================================= */

.faq-section-title {
  margin-bottom: 3rem;

  color: #18382b;

  text-align: left;
}


/* =========================================================
   FAQ LIST
   ========================================================= */

.faq-list {
  width: 100%;

  border-top: 1px solid rgba(24, 56, 43, 0.20);
}


/* =========================================================
   FAQ ITEM
   ========================================================= */

.faq-item {
  border-bottom: 1px solid rgba(24, 56, 43, 0.20);
}


/* =========================================================
   QUESTION
   ========================================================= */

.faq-title {
  width: 100%;

  padding: 1.35rem 0;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 2rem;

  border: 0;

  background: transparent;

  color: #18382b;

  text-align: left;

  font-family: inherit;

  font-size: 1rem;

  font-weight: 500;

  letter-spacing: 0.04em;

  cursor: pointer;

  transition:
    color 0.25s ease,
    opacity 0.25s ease;
}


.faq-title:hover {
  color: #596341;
}


/* =========================================================
PLUS / MINUS ICON
========================================================= */

/* =========================================================
FAQ ICON
========================================================= */

.faq-icon {
  flex: 0 0 28px;

  width: 28px;
  height: 28px;

  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  box-sizing: border-box;

  border: 1px solid rgba(24, 56, 43, 0.35);
  border-radius: 50%;

  color: #18382b;

  transition:
    transform 0.3s ease,
    background 0.3s ease;
}

/* Horizontal line */
.faq-icon::before,
.faq-icon::after {
  content: "";

  position: absolute;

  width: 11px;
  height: 1.5px;

  background: currentColor;

  border-radius: 2px;
}

/* Vertical line */
.faq-icon::after {
  transform: rotate(90deg);
}

/* Open state turns + into × */
.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: rgba(24, 56, 43, 0.06);
}

.faq-icon svg {
  width: 14px;
  height: 14px;

  display: block;
}

/* Open = rotate the + into an × */

.faq-item.active .faq-icon {
  transform: rotate(45deg);

  background: rgba(24, 56, 43, 0.06);
}


/* =========================================================
   ANSWER
   ========================================================= */

.faq-answer {
  max-height: 0;

  overflow: hidden;

  opacity: 0;

  padding-bottom: 0;

  transition:
    max-height 0.4s ease,
    opacity 0.3s ease,
    padding-bottom 0.4s ease;
}


.faq-answer p {
  max-width: 850px;

  margin: 0;

  color: rgba(24, 56, 43, 0.72);

  font-size: 0.95rem;

  line-height: 1.75;
}


.faq-item.active .faq-answer {
  max-height: 1000px;

  opacity: 1;

  padding-bottom: 1.5rem;
}


/* =========================================================
   OPEN STATE
   ========================================================= */

.faq-item.active .faq-answer {
  max-height: 1000px;

  opacity: 1;
}



.faq-item.active .faq-icon {
  transform: rotate(45deg);

  background: rgba(24, 56, 43, 0.06);
}


/* =========================================================
   BOOKING BUTTON
   ========================================================= */

.faq-button {
  display: inline-block;

  margin-bottom: 2rem;

  padding: 0.85rem 1.6rem;

  border: 1px solid rgba(24, 56, 43, 0.45);

  border-radius: 2px;

  background: transparent;

  color: #18382b;

  text-decoration: none;

  font-size: 0.72rem;

  font-weight: 500;

  letter-spacing: 0.14em;

  text-transform: uppercase;

  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}


.faq-button:hover {
  background: #18382b;

  color: #f4f3ec;

  transform: translateY(-2px);
}


/* =========================================================
   VIDEO
   ========================================================= */

.video-wrapper {
  width: 100%;

  max-width: 850px;

  aspect-ratio: 16 / 9;

  margin-top: 0.5rem;

  overflow: hidden;

  border: 1px solid rgba(24, 56, 43, 0.25);

  background: #18382b;

  box-shadow:
    0 10px 30px rgba(24, 56, 43, 0.10);
}


.video-wrapper iframe {
  width: 100%;
  height: 100%;

  display: block;

  border: 0;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

  .faq-section {
    /*
       Keep the full-screen feel, but allow the FAQ
       to grow beyond the viewport when required.
    */
    min-height: 100dvh;

    padding-top: 5rem;
    padding-bottom: 5rem;
  }


  .faq-container {
    width: 92%;
  }


  .faq-section-title {
    margin-bottom: 2.5rem;
  }


  .faq-title {
    padding: 1.2rem 0;

    font-size: 0.92rem;

    line-height: 1.5;

    gap: 1rem;
  }


  @media (max-width: 700px) {

  .faq-icon {
    flex: 0 0 25px;

    width: 25px;
    height: 25px;
  }

  .faq-icon svg {
    width: 13px;
    height: 13px;
  }

}


  .faq-answer p {
    font-size: 0.9rem;

    line-height: 1.7;
  }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 450px) {

  .faq-title {
    font-size: 0.88rem;
  }

  .faq-button {
    width: 100%;

    box-sizing: border-box;

    text-align: center;
  }

}
.input {
  width: 100%;
  padding: 0.9rem 1rem;
  margin-top: 0.5rem;
  margin-bottom: 1.2rem;

  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.08);

  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(10px);

  font-family: inherit;
  font-size: 1rem;
  color: #1c1c1e;
}

.textarea {
  min-height: 120px;
  resize: vertical;
}
.guest-stack {
  display: flex;
  flex-direction: column;
}
.radio-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;

  padding: 0.2rem;
  cursor: pointer;

  color: #1c1c1e;
  font-size: 1rem;
}

.radio-option input {
  accent-color: #1c1c1e;
  transform: scale(1.5);
}

.food-section {
  max-height: 2000px;
  opacity: 1;
  overflow: hidden;

  transition:
    max-height 0.45s ease,
    opacity 0.3s ease,
    margin-top 0.45s ease;
}

.food-section.hidden {
  max-height: 0;
  opacity: 0;
  margin-top: 0 !important;
  pointer-events: none;
}
fieldset {
  border: none;
  padding: 0;
  margin: 0;
  min-width: 0;
}

legend {
  padding: 0;
}

/* nicer radio spacing */

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1rem;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}

.radio-option input {
  transform: scale(1.1);
}

/* guest spacing */

.guest-stack {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
  /* =========================
   Accommodation Video
========================= */

.video-section {
  padding: 5rem 1.5rem;
}

.video-card {
  max-width: 1000px;
  margin: 0 auto;

  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(14px);

  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 32px;

  padding: 2rem;
  box-shadow:
    0 10px 30px rgba(0,0,0,0.06),
    inset 0 1px 0 rgba(255,255,255,0.6);
}


/* Responsive YouTube Embed */
.video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  overflow: hidden;

  border-radius: 24px;

  box-shadow:
    0 8px 25px rgba(0,0,0,0.08);
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  border: none;
}
/* =========================
   SCATTER POLAROIDS
========================= */

.polaroid-scatter {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  min-height: 620px;
}

/* animation start state */

.polaroid-scatter .polaroid {
  position: absolute;

  opacity: 0;

  transform:
    translateY(50px)
    scale(1.2);

  transition:
    opacity 0.5s ease,
    transform 1s cubic-bezier(.17,.84,.44,1);
}

/* animation active */

.polaroid-scatter .polaroid.show {
  opacity: 1;
}

/* final rotations */

.polaroid-scatter .p1.show {
  transform: translateY(0) rotate(-7deg);
}

.polaroid-scatter .p2.show {
  transform: translateY(0) rotate(5deg);
}

.polaroid-scatter .p3.show {
  transform: translateY(0) rotate(-1deg);
}

.polaroid-scatter .p4.show {
  transform: translateY(0) rotate(7deg);
}

.polaroid-scatter .p5.show {
  transform: translateY(0) rotate(-6deg);
}

.polaroid-scatter .p6.show {
  transform: translateY(0) rotate(3deg);
}

.polaroid-scatter .p7.show {
  transform: translateY(0) rotate(-6deg);
}

.polaroid-scatter .p8.show {
  transform: translateY(0) rotate(7deg);
}

.polaroid-scatter .p9.show {
  transform: translateY(0) rotate(-4deg);
}

.polaroid-scatter .p10.show {
  transform: translateY(0) rotate(6deg);
}

.polaroid-scatter .p11.show {
  transform: translateY(0) rotate(3deg);
}

.polaroid-scatter .p12.show {
  transform: translateY(0) rotate(-2deg);
}

.polaroid-scatter .p13.show {
  transform: translateY(0) rotate(3deg);
}

.polaroid-scatter .p14.show {
  transform: translateY(0) rotate(-3deg);
}

.polaroid-scatter .p15.show {
  transform: translateY(0) rotate(6deg);
}


/* desktop layout */

.p1 {
  top: 20px;
  left: 0;
  z-index: 1;
}

.p2 {
  top: 0px;
  left: 19%;
  z-index: 2;
}

.p3 {
  top: 12px;
  left: 38%;
  z-index: 3;
}

.p4 {
  top: 3px;
  left: auto;
  right:20%;
  z-index: 4;
}

.p5 {
  top: 19px;
  left: auto;
  right:0;
  z-index: 5;
}

.p6 {
  top: 190px;
  left: 0%;
  z-index: 6;
}

.p7 {
  top: 195px;
  left: 19%;
  z-index: 7;
}

.p8 {
  top: 180px;
  left: 38%;
  z-index: 8;
}

/* RIGHT SIDE STARTS HERE */

.p9 {
  top: 185px;
  left: auto;
  right:20%;
  z-index: 9;
}

.p10 {
  top: 200px;
  right:0;
  left:auto;
  z-index: 10;
}

.p11 {
  top: 365px;
  left: 0%;
  z-index: 11;
}

.p12 {
  top: 370px;
  left: 19%;
  z-index: 12;
}

.p13 {
  top: 355px;
  left: 38%;
  z-index: 13;
}

.p14 {
  top: 361px;
  right: 20%;
  left: auto;
  z-index: 14;
}

.p15 {
  top: 360px;
  right: 0%;
  left: auto;
  z-index: 15;
}


/* mobile */

@media (max-width: 700px) {

  .polaroid-scatter {
  min-height: 360px;
}

/* ROW 1 (unchanged) */
.p1 {
  top: 10px;
  left: 0;
  z-index: 1;
}

.p2 {
  top: 20px;
  left: 25%;
  z-index: 2;
}

.p3 {
  top: 0px;
  left: auto;
  right: 25%;
  z-index: 3;
}

.p4 {
  top: 15px;
  right: 0;
  left: auto;
  z-index: 4;
}

 /* ROW 2 */
.p5 {
  top: 90px;
  left: 0;
  z-index: 5;
}

.p6 {
  top: 85px;
  left: 25%;
  z-index: 6;
}

.p7 {
  top: 95px;
  left: auto;
  right: 25%;
  z-index: 7;
}

.p8 {
  top: 90px;
  right: 0;
  left: auto;
  z-index: 8;
}


/* ROW 3 */
.p9 {
  top: 170px;
  left: 0;
  z-index: 9;
}

.p10 {
  top: 175px;
  left: 25%;
  z-index: 10;
}

.p11 {
  top: 180px;
  left: auto;
  right: 25%;
  z-index: 11;
}

.p12 {
  top: 175px;
  right: 0;
  left: auto;
  z-index: 12;
}


/* ROW 4 */
.p13 {
  top: 270px;
  left: 15%;
  z-index: 13;
}

.p14 {
  top: 265px;
  left: 38%;
  z-index: 14;
}

.p15 {
  top: 272px;
  right: 15%;
  left: auto;
  z-index: 15;
}
}

/* =========================
   POLAROID FOCUS
========================= */

.polaroid-scatter .polaroid {
  cursor: pointer;

  transition:
    opacity 0.5s ease,
    transform 0.7s cubic-bezier(.17,.84,.44,1),
    filter 0.5s ease;
}

/* Darken the background photos slightly */
.polaroid-scatter.has-focus .polaroid:not(.focused) {
  filter: brightness(0.75);
}

/* Selected photo */
.polaroid-scatter .polaroid.focused {
  z-index: 100 !important;
  filter: brightness(1);
}


/* Mobile */
@media (max-width: 768px) {

  .video-wrapper {
    border-radius: 18px;
  }
}

#rsvp-innerdiv {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition: opacity 0.5s ease, transform 0.6s ease;
  will-change: transform, opacity;
}

#rsvp-innerdiv {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition: opacity 1.5s ease, transform 1.5s ease;
}

#rsvp-innerdiv.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.wedding-nav {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    background: #102b20;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}
.wedding-nav-inner { 
width: 100%; 
max-width: 2000px; margin: 0 auto; padding: 18px 40px; display: flex; justify-content: flex-end; align-items: center; box-sizing: border-box; } 
.wedding-nav-links { display: flex; align-items: center; gap: 25px; } 
.wedding-nav a { color: #ffffff; text-decoration: none; font-family: inherit; font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; transition: opacity 0.2s ease; } .wedding-nav a:hover { opacity: 0.65; } html { scroll-behavior: smooth; } /* Mobile */ 
@media (max-width: 700px) { .wedding-nav-inner { padding: 10px 15px; } .wedding-nav-links { width: 100%; justify-content: space-between; gap: 10px; } .wedding-nav a { font-size: 9px; letter-spacing: 0.04em; } }

.wedding-nav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;

  background: #102b20;

  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);

  overflow: hidden;
}

.wedding-nav::after {
  content: "";

  position: absolute;
  top: 0;
  bottom: 0;
  left: -30%;

  width: 18%;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(217, 223, 201, 0.12),
    transparent
  );

  transform: skewX(-20deg);

  animation: navGlisten 8s linear infinite;

  pointer-events: none;
  z-index: 0;
}

.wedding-nav-inner {
  position: relative;
  z-index: 1;
}

@keyframes navGlisten {
  0% {
    transform: translateX(-200px) skewX(-20deg);
  }

  25% {
    transform: translateX(calc(100vw + 200px)) skewX(-20deg);
  }

  100% {
    transform: translateX(calc(100vw + 200px)) skewX(-20deg);
  }
}
	
	@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================================
   LOGIN PAGE
========================================================= */

#login-page {
  position: relative;

  width: 100%;
  min-height: 100dvh;

  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;

  box-sizing: border-box;

  padding: 1rem 20px;

  color: white;
}


/* =========================================================
   BACKGROUND IMAGE
========================================================= */

.login-background {
  position: absolute;

  top: -3%;
  bottom: -3%;
  left: -6%;
  right: -6%;

  background-image:
    linear-gradient(
      rgba(30, 60, 40, 0.58),
      rgba(30, 60, 40, 0.58)
    ),
    url('images/fairyhill.jpg');

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  z-index: 0;

  animation: loginHeroPan 35s linear infinite alternate;
}


@keyframes loginHeroPan {
  from {
    transform: scale(1.06);
    background-position: left center;
  }

  to {
    transform: scale(1.06);
    background-position: right center;
  }
}


/* =========================================================
   SUBTLE GLISTEN
========================================================= */

#login-page::before {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      115deg,
      transparent 15%,
      rgba(255, 255, 255, 0.025) 45%,
      rgba(255, 255, 255, 0.09) 50%,
      rgba(255, 255, 255, 0.025) 55%,
      transparent 70%
    );

  transform: translateX(-100%);

  animation: loginGlisten 14s ease-in-out infinite;

  pointer-events: none;

  z-index: 1;
}


@keyframes loginGlisten {

  0% {
    transform: translateX(-100%);
  }

  35%,
  100% {
    transform: translateX(100%);
  }

}


/* =========================================================
   CONTENT
========================================================= */

.login-content {
  position: relative;

  z-index: 2;

  width: 100%;
  max-width: 620px;

  text-align: center;

  display: flex;
  flex-direction: column;
  align-items: center;
}


/* =========================================================
   WEDDING TEXT
========================================================= */

.login-content .hero-subtitle {
  margin-bottom: 0.8rem;

  font-size: 0.8rem;
  font-weight: 400;

  letter-spacing: 0.18em;
  text-transform: uppercase;

  opacity: 0.9;
}


.login-content h1 {
  margin: 0;

  font-size: clamp(3rem, 8vw, 5.5rem);

  font-weight: 400;

  letter-spacing: 0.02em;

  line-height: 1.05;

  text-shadow:
    0 2px 15px rgba(0, 0, 0, 0.2);
}


.login-content .hero-date {
  margin-top: 1.25rem;

  font-size: 0.85rem;

  letter-spacing: 0.08em;

  opacity: 0.9;
}


/* =========================================================
   LOGIN CARD
========================================================= */

.guest-card {
  width: min(100%, 430px);

  margin-top: 3rem;

  padding: 2.5rem 2.75rem;

  box-sizing: border-box;

  background: rgba(244, 243, 236, 0.94);

  color: #18382b;

  border: 1px solid rgba(255, 255, 255, 0.35);

  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.20);

  backdrop-filter: blur(8px);
}


/* =========================================================
   LOGIN TEXT
========================================================= */

.login-title {
  margin-bottom: 1rem;

  font-size: 1.35rem;

  font-weight: 500;

  letter-spacing: 0.08em;

  text-transform: uppercase;
}


.login-instruction {
  font-size: 0.92rem;

  line-height: 1.6;

  color: rgba(24, 56, 43, 0.82);
}


.login-hint {
  margin-top: 0.5rem;

  font-size: 0.78rem;

  line-height: 1.5;

  color: rgba(24, 56, 43, 0.58);
}


/* =========================================================
   PASSWORD INPUT
========================================================= */

.login-input {
  width: 100%;

  margin-top: 1.75rem;

  padding: 0.95rem 1rem;

  box-sizing: border-box;

  border: 1px solid rgba(24, 56, 43, 0.3);

  border-radius: 2px;

  background: rgba(255, 255, 255, 0.65);

  color: #18382b;

  font-family: inherit;

  font-size: 0.9rem;

  text-align: center;

  outline: none;

  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}


.login-input::placeholder {
  color: rgba(24, 56, 43, 0.45);
}


.login-input:focus {
  border-color: rgba(24, 56, 43, 0.65);

  background: rgba(255, 255, 255, 0.9);

  box-shadow:
    0 0 0 3px rgba(126, 139, 82, 0.12);
}


/* =========================================================
   LOGIN BUTTON
========================================================= */

.login-button {
  display: block;

  width: 100%;

  margin-top: 1.25rem;

  padding: 0.9rem 1.5rem;

  border: 1px solid #18382b;
  border-radius: 2px;

  background: #18382b;

  color: #f4f3ec;

  font-family: inherit;

  font-size: 0.72rem;

  font-weight: 500;

  letter-spacing: 0.16em;

  text-transform: uppercase;

  cursor: pointer;

  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease,
    opacity 0.3s ease;
}


.login-button:hover {
  background: #596341;

  border-color: #596341;

  transform: translateY(-2px);
}


.login-button:disabled {
  opacity: 0.55;

  cursor: wait;

  transform: none;
}


/* =========================================================
   LOGIN MESSAGE
========================================================= */

.login-message {
  min-height: 1.25rem;

  margin-top: 0.9rem;

  font-size: 0.78rem;

  line-height: 1.5;

  opacity: 0;

  transition: opacity 0.25s ease;
}


.login-message.error {
  color: #8a4b43;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

  #login-page {
    padding:
      4rem 20px;
  }

  .login-content .hero-subtitle {
    font-size: 0.68rem;

    letter-spacing: 0.14em;
  }

  .login-content h1 {
    font-size: clamp(2.7rem, 13vw, 4rem);
  }

  .login-content .hero-date {
    max-width: 320px;

    font-size: 0.75rem;

    line-height: 1.6;
  }

  .guest-card {
    margin-top: 2.25rem;

    padding: 2rem 1.5rem;
  }

  .login-title {
    font-size: 1.15rem;
  }

  .login-instruction {
    font-size: 0.88rem;
  }

}

/* =========================================================
   GIFTS SECTION
========================================================= */

.gifts-section {
  min-height: 100dvh;
  box-sizing: border-box;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 6rem 20px;


}
.gift-heading {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 1rem;

  width: 100%;
  margin-bottom: 1.5rem;

  text-align: center;
}

.gift-icon {
  width: 70px;
  height: 70px;

  flex: 0 0 70px;

  display: flex;
  align-items: center;
  justify-content: center;

  box-sizing: border-box;

  border: 1px solid rgba(217, 223, 201, 0.35);
  border-radius: 50%;
}

.gift-icon img {
  width: 50px;
  height: 50px;

  display: block;

  filter: brightness(0) saturate(100%)
          invert(91%) sepia(8%)
          saturate(350%)
          hue-rotate(40deg);
}

.gift-name {
  font-size: 1.05rem;
  font-weight: 500;

  letter-spacing: 0.10em;
  text-transform: uppercase;

  color: white;
}


/* =========================================================
   CONTINUOUS LIGHT BACKGROUND
   ========================================================= */

.light-page-background {
    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(126, 139, 82, 0.10),
            transparent 40%
        ),
        linear-gradient(
            135deg,
            #f4f3ec 0%,
            #eeeee6 50%,
            #e7e8df 100%
        );
}

/* =========================================================
   CONTAINER
========================================================= */

.gifts-container {
  width: 90%;
  max-width: 1100px;

  margin: 0 auto;
}


/* =========================================================
   CARD
========================================================= */

.gifts-card {
  position: relative;

  padding: 5rem 6rem;

  box-sizing: border-box;

  background:
    radial-gradient(
      circle at 85% 15%,
      rgba(126, 139, 82, 0.22),
      transparent 40%
    ),
    linear-gradient(
      135deg,
      #102b20 0%,
      #18382b 50%,
      #244634 100%
    );

  border: 2px solid rgba(24, 56, 43, 0.45);

  box-shadow:
    0 20px 50px rgba(24, 56, 43, 0.14);

  overflow: hidden;
}


/* =========================================================
   SUBTLE INNER BORDER
========================================================= */

.gifts-card::before {
  content: "";

  position: absolute;
  inset: 14px;

  border: 1px solid rgba(244, 243, 236, 0.16);

  pointer-events: none;
}


/* =========================================================
   TITLE
========================================================= */

.gifts-title {
  margin-bottom: 3rem;

  color: #f4f3ec;

  text-align: center;
}


/* =========================================================
   CONTENT
========================================================= */

.gifts-content {
  max-width: 780px;

  margin: 0 auto;

  text-align: center;
}

.gifts-content p {
  margin: 0 0 1.75rem;

  color: rgba(244, 243, 236, 0.82);

  font-size: 1.05rem;
  line-height: 1.9;
  font-weight: 300;
}


/* =========================================================
   BUTTON
========================================================= */

.gifts-button {
  display: inline-block;

  margin-top: 1.5rem;

  padding: 1.15rem 2.8rem;

  border: 1px solid rgba(244, 243, 236, 0.65);
  border-radius: 2px;

  background: #f4f3ec;

  color: #18382b;

  text-decoration: none;

  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;

  letter-spacing: 0.16em;
  text-transform: uppercase;

  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.gifts-button:hover {
  background: transparent;

  color: #f4f3ec;

  transform: translateY(-2px);

  box-shadow:
    0 8px 25px rgba(0, 0, 0, 0.12);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

  .gifts-section {
    min-height: 100dvh;

    padding: 5rem 15px;
  }

  .gifts-container {
    width: 94%;
  }

  .gifts-card {
    padding: 4rem 1.5rem;
  }

  .gifts-card::before {
    inset: 10px;
  }

  .gifts-title {
    margin-bottom: 2.5rem;
  }

  .gifts-content p {
    font-size: 0.95rem;
    line-height: 1.8;
  }

  .gifts-button {
    width: 100%;

    box-sizing: border-box;

    padding: 1.1rem 1.5rem;
  }
}