:root {
  --rose: #D8A7B1;
  --ivory: #FFF8F0;
  --gray: #E8E8E8;
  --plum: #5D3954;
  --font: 'Georgia', serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font);
  background-color: var(--ivory);
  color: var(--plum);
  line-height: 1.6;
  padding: 20px;
  overflow-x: hidden;
}

/* Curtain Style */
/*.curtain {*/
/*  position: fixed;*/
/*  top: 0;*/
/*  left: 0;*/
/*  width: 100%;*/
/*  height: 100%;*/
/*  z-index: 9999;*/
/*  display: flex;*/
/*}*/

/*.curtain-half {*/
/*  width: 50%;*/
/*  height: 100%;*/
/*  background-color: var(--rose);*/
/*  position: absolute;*/
/*  top: 0;*/
/*  transition: transform 2s ease-in-out;*/
/*}*/

/*.left {*/
/*  left: 0;*/
/*  transform: translateX(0);*/
/*  border-right: 2px solid white;*/
/*}*/

/*.right {*/
/*  right: 0;*/
/*  transform: translateX(0);*/
/*  border-left: 2px solid white;*/
/*}*/

/*@keyframes openCurtain {*/
/*  0% {transform: translateX(0);}*/
/*  100% {transform: translateX(-100%);}*/
/*}*/
/*.left-curtain {*/
/*  animation: slideLeft 2.5s ease forwards;*/
/*}*/
/*.right-curtain {*/
/*  animation: slideRight 2.5s ease forwards;*/
/*}*/
/*@keyframes slideLeft {*/
/*  0% {transform: translateX(0);}*/
/*  100% {transform: translateX(-100%);}*/
/*}*/
/*@keyframes slideRight {*/
/*  0% {transform: translateX(0);}*/
/*  100% {transform: translateX(100%);}*/
/*}*/

/* Curtain container */
.curtain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  overflow: hidden;
  display: flex;
  pointer-events: none;
}

/* Curtain panels */
.curtain-left,
.curtain-right {
  width: 50vw;
  height: 100vh;
  background-color: var(--rose);
  transition: transform 1s ease-in-out;
}

/* Initial positions */
.curtain-left {
  transform: translateX(0);
}

.curtain-right {
  transform: translateX(0);
}

/* Opened state */
.curtain.open .curtain-left {
  transform: translateX(-100%);
}

.curtain.open .curtain-right {
  transform: translateX(100%);
}
/* Responsive Tweaks (Optional, already fully fluid with vw/vh) */
@media (max-width: 480px) {
  .curtain-left, .curtain-right {
    width: 50vw;
    height: 100vh;
  }
}

.hero {
  background: var(--rose);
  color: white;
  text-align: center;
  padding: 80px 20px;
  border-radius: 12px;
  margin-bottom: 20px;
}

.photo-section {
  text-align: center;
  margin: 30px 0;
}
.couple-photo {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.countdown {
  text-align: center;
  margin: 30px 0;
}
#timer {
  font-size: 1.2rem;
  margin-top: 10px;
}

.details, .rsvp, .map {
  margin: 30px 0;
  padding: 20px;
  background-color: var(--gray);
  border-radius: 10px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
input, select, button {
  padding: 12px;
  border: 1px solid var(--plum);
  border-radius: 6px;
  font-size: 1rem;
}
button {
  background-color: var(--plum);
  color: white;
  cursor: pointer;
  transition: background 0.3s ease;
}
button:hover {
  background-color: #42263b;
}

footer {
  text-align: center;
  margin-top: 40px;
  font-size: 1rem;
  color: var(--plum);
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .hero h2 { font-size: 1.5rem; }
  #timer { font-size: 1rem; }
}
