* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Times New Roman", serif;
  background: #292f38;
  color: #e2cd96;
  text-align: center;
}

/* HERO */
.hero {
  padding: 10px 20px;
}

.names {
  font-size: 72px;
  font-weight: 300;
  font-family : 'Playfair Script', cursive;
}

.date {
  font-size: 30px;
  margin-bottom: 30px;
}

.hero-image {
  width: 100%;
  max-width: 420px;
}

/* COUNTDOWN */
.countdown {
  padding: 10px 20px 10px;
}

.countdown-text {
  font-size: 25px;
  margin-bottom: 10px;
}

#countdown {
  font-size: 52px;
}

.labels {
  display: flex;
  justify-content: center;
  gap: 25px;
  font-size: 18px;
}


/* TIMELINE */
/* Timeline top image */
.timeline-image {
  width: 90%;
  max-width: 600px;
  margin: 0 auto 20px;
  display: block;
  border-radius: 12px;
  margin-bottom:-30px;
}

/* Timeline card container */
.timeline{
  background: #292f38;
  margin-top: 20px;
}
.timeline-card {
  max-width: 500px;
  margin: auto;
  background: #f8f0ed;
  color: #292f38;
  padding: 30px 25px;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  margin-bottom:20px;
}

.timeline-title {
  font-size: 36px;
  text-align: center;
  margin-bottom: 30px;
  margin-top: 50px;
}

.timeline-date {
  font-weight: bold;
  font-size: 18px;
  margin-top: 20px;
  margin-bottom: 10px;
}

.timeline-event p {
  margin: 5px 0;
  line-height: 1.5;
}

.timeline-event strong {
  color: #e2cd96;
}

/* MOBILE */
@media (max-width: 600px) {
  .timeline-card {
    width: 90%;
    padding: 20px;
  }

  .timeline-title {
    font-size: 28px;
  }

  .timeline-date {
    font-size: 16px;
  }
}


/* FAMILY */
.family {
  padding: 0px 0px;
  justify-content: center;
  display: flex;
  /* background-color: #292f38; */
}

.card {
  background: #f8f0ed;
  color: #292f38;
  max-width: 420px;
  /* margin: auto; */
  margin-top: 15px;
  margin-bottom: 15px;
  padding: 40px 30px;
  border-radius: 12px;
}

.signature {
  margin-top: 20px;
  font-style: italic;
}


/* RSVP */
.rsvp {
  padding: 20px 20px;
  background-color: #292f38;
}

.rsvp-title {
  font-size: 42px;
}

.rsvp-form {
  max-width: 420px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.rsvp-form input,
.rsvp-form select,
.rsvp-form textarea {
  padding: 14px 16px;
  border-radius: 8px;
  border: none;
  font-size: 16px;
}

.rsvp-form textarea {
  height: 100px;
  resize: none;
}

.rsvp-form button {
  padding: 14px;
  background: #e2cd96;
  color: #292f38;
  border-radius: 30px;
  border: none;
  cursor: pointer;
}

/* TILDA CURTAIN + FADE */
.tilda-curtain {
  position: relative;
  overflow: hidden;
}

.tilda-curtain::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #292f38;
  transform: translateY(0);
  transition: transform 1.2s ease;
  z-index: 2;
}

.tilda-content {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s ease 0.4s, transform 0.9s ease 0.4s;
  position: relative;
  z-index: 1;
}

.tilda-curtain.show::before {
  transform: translateY(-100%);
}

.tilda-curtain.show .tilda-content {
  opacity: 1;
  transform: translateY(0);
}

/* MOBILE */
@media (max-width: 600px) {
  .names { font-size: 48px; }
  #countdown { font-size: 52px; }

  .timeline-wrapper::before {
    left: 20px;
  }

  .timeline-item {
    align-items: flex-start;
  }

  .timeline-item .time {
    width: 70px;
    font-size: 14px;
  }
}

/* ===== THEATER CURTAINS ===== */
#curtains {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999; /* On top of everything */
  display: flex;
  overflow: hidden;
}

.curtain {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 2s ease-in-out;
}

/* Replace these URLs with your curtain images */
.curtain.left {
  background-image: url('https://res.cloudinary.com/dox8yqpts/image/upload/v1755806646/curtain-left-gold3_jvlppg.png');
}

.curtain.right {
  background-image: url('https://res.cloudinary.com/dox8yqpts/image/upload/v1755806642/curtain-right-gold3_kkwnel.png');
}

/* Open state */
#curtains.open .curtain.left {
  transform: translateX(-100%);
}

#curtains.open .curtain.right {
  transform: translateX(100%);
}







.attendance-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 16px;
  justify-content: flex-start;
  align-items: flex-start;
}

.attendance-box label {
  cursor: pointer;
}



.guest-counter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.guest-counter button {
  width: 25px;
  height: 25px;
  border: none;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  background: #d4af37; /* gold wedding tone */
  color: #fff;
  justify-content: center;
  display: flex;
  align-items: center;
}

.guest-counter input {
  width: 60px;
  text-align: center;
  font-size: 18px;
  border: none;
  background: transparent;
}

.guests{
  justify-content: flex-start;
  display: flex;
  align-self: flex-start;
  flex-direction: row;
}

#no_of_guests{
  color: #fff;
}



.goog-te-banner-frame {
  display: none !important;
}
body {
  top: 0 !important;
}



.lang-button{
  padding: 14px;
  background: #e2cd96;
  color: #292f38;
  border-radius: 30px;
  border: none;
  cursor: pointer;
}