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

    }

    html {
  min-height: 100%;
  background: linear-gradient(180deg, #fdf6f0, #f5f1ff, #f0f7f4);
}

    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;
    }
.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;
    }
	.details-section {
  padding: 60px 20px;
}

.details-grid {
  display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  margin-top: 30px;
}
@media (max-width: 700px) {
  .details-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .countdown-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.detail-card {
	  min-width: 0;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.detail-label {
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 10px;
}

.detail-text {
  font-size: 20px;
  line-height: 1.6;
}

.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-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

.accommodation-table th {
  text-align: left;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.6;
  padding-bottom: 12px;
}

.accommodation-table td {
  padding: 12px 0;
  border-top: 1px solid rgba(0,0,0,0.05);
}

.accommodation-table a {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
}

.accommodation-table a:hover {
  opacity: 0.6;
}
.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.countdown-item {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 14px;
  padding: 12px 8px;
  backdrop-filter: blur(8px);
}

.countdown-item span {
  display: block;
  font-size: 20px;
  font-weight: 500;
}

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

.countdown-item label {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0.6;
}

    .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;
}

#rsvpCode {
  margin-bottom: 1rem;
}

.hidden-modal {
  display: none;
}
    /* HERO */
    .hero {
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 2rem 2rem 0rem;
      background: transparent;
	  
    }

    .hero-content {
      animation: fadeUp 2.3s ease;
    }

    .hero-subtitle {
      font-size: 1.25rem;
      letter-spacing: 0.25em;
      text-transform: uppercase;
      color: #7c7c80;
      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: #6e6e73;
      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;
      letter-spacing: -0.05em;
      margin-bottom: 0rem;
    }


    /* SCHEDULE */
    .schedule-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 1rem;
    }
	@media (max-width: 700px) {
  .schedule-grid {
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

    .schedule-card {
      background: rgba(255,255,255,0.6);
      backdrop-filter: blur(14px);
      border: 1px solid rgba(255,255,255,0.7);
      border-radius: 10px;
      padding: 1rem;
      box-shadow: 0 8px 30px rgba(0,0,0,0.04);
      transition: transform 0.5s ease;
    }

    .schedule-card:hover {
     transform: translateY(-5px); 
    }

    .schedule-time {
      font-size: 0.9rem;
      color: #7c7c80;
      margin-bottom: 0.6rem;
      text-transform: uppercase;
      letter-spacing: 0.12em;
    }

    .schedule-card h3 {
      font-size: 1.2rem;
      margin-bottom: 0.5rem;
    }

    .schedule-card p {
      color: #6e6e73;
    }

    /* 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 */
    .rsvp {
      text-align: center;
      padding-bottom: 1rem;
    }

    .rsvp-box {
      background: rgba(255,255,255,0.7);
      backdrop-filter: blur(10px);
      border-radius: 36px;
      padding: 1.5rem 2rem;
      max-width: 800px;
      margin: 0 auto;
      box-shadow: 0 20px 50px rgba(0,0,0,0.05);
    }

    .rsvp p {
      color: #6e6e73;
      max-width: 520px;
      margin: 1.5rem auto 2rem;
    }

    .rsvp-button {
      display: inline-flex;
      padding: 1rem 2rem;
      border-radius: 999px;
      background: #1c1c1e;
      color: white;
      text-decoration: none;
      font-weight: 500;
    }

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

  cursor: grab;
  user-select: none;

  /* optional: smoother feel */
  scroll-behavior: auto;
}


.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: #f8f8f6;
  padding: 12px 12px 18px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.10);
  transform: rotate(-1.5deg);
}
	
	.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;
}


    .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;
}
	#top-hero{
		padding-top:15rem;
	}

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

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

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

      .rsvp-box {
        padding: 3rem 1.5rem;
      }
    }
	
.faq {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 22px;
  padding: 1.5rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.04);
}

.faq-title {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  color: #1c1c1e;
}

.faq-answer {
  font-size: 1rem;
  color: #6e6e73;
  line-height: 1.6;
  /*max-width: 800px; */
}
.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: -80px;
  left: 0;
  z-index: 1;
}

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

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

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

/* ROW 2 (shifted up another 20px) */
.p5 {
  top: 50px;
  left: 0;
  z-index: 5;
}

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

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

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

/* ROW 3 (shifted up another 20px) */
.p9 {
  top: 180px;
  left: 0;
  z-index: 9;
}

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

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

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

/* ROW 4 (shifted up another 20px) */
.p13 {
  top: 320px;
  left: 15%;
  z-index: 13;
}

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

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

/* 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);
}

	
	@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}