*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:'Cormorant Garamond', serif;
  background:#f5efe6;
  color:#241b16;
  overflow-x:hidden;
}

.intro{
  position:fixed;
  inset:0;
  z-index:999;
  background:
  radial-gradient(circle at top, rgba(212,175,120,0.35), transparent 35%),
  linear-gradient(135deg, #1d1512, #4b3128, #1d1512);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:25px;
  transition:1s ease;
}

.intro.hide{
  opacity:0;
  visibility:hidden;
}

.intro-card{
  width:100%;
  max-width:520px;
  padding:55px 35px;
  text-align:center;
  color:#fff;
  border:1px solid rgba(255,255,255,0.25);
  background:rgba(255,255,255,0.08);
  backdrop-filter:blur(18px);
  box-shadow:0 30px 80px rgba(0,0,0,0.35);
}

.intro-card p{
  font-size:24px;
  letter-spacing:3px;
  margin-bottom:20px;
}

.intro-card h1{
  font-family:'Great Vibes', cursive;
  font-size:82px;
  font-weight:400;
  margin-bottom:35px;
}

.intro-card button,
.main-btn,
.rsvp button{
  border:none;
  cursor:pointer;
  background:#fff;
  color:#2b1c17;
  padding:16px 38px;
  font-size:21px;
  font-family:'Cormorant Garamond', serif;
  text-decoration:none;
  display:inline-block;
  transition:0.35s ease;
}

.intro-card button:hover,
.main-btn:hover,
.rsvp button:hover{
  transform:translateY(-3px);
  box-shadow:0 15px 35px rgba(0,0,0,0.25);
}

.hero{
  position:relative;
  min-height:100vh;
  min-height:100svh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:70px 20px;
  color:white;
  background:
  linear-gradient(rgba(30,18,14,0.45), rgba(30,18,14,0.75)),
  url("https://images.unsplash.com/photo-1519741497674-611481863552?q=80&w=1974&auto=format&fit=crop");
  background-size:cover;
  background-position:center;
}

.hero-overlay{
  position:absolute;
  inset:0;
  background:radial-gradient(circle, transparent 25%, rgba(0,0,0,0.35));
}

.hero-content{
  position:relative;
  z-index:2;
  max-width:950px;
  animation:fadeUp 1.5s ease;
}

.small-title,
.section-subtitle{
  font-size:22px;
  letter-spacing:4px;
  text-transform:uppercase;
  margin-bottom:16px;
}

.hero h1{
  font-family:'Great Vibes', cursive;
  font-size:128px;
  font-weight:400;
  line-height:1;
}

.hero h1 span{
  font-size:80px;
}

.invite{
  font-size:28px;
  margin:25px auto 35px;
  max-width:720px;
  line-height:1.5;
}

.date-card{
  max-width:540px;
  margin:0 auto 40px;
  padding:28px 35px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border:1px solid rgba(255,255,255,0.28);
  background:rgba(255,255,255,0.10);
  backdrop-filter:blur(14px);
}

.date-card strong{
  display:block;
  font-size:58px;
  line-height:1;
}

.date-card span{
  display:block;
  font-size:24px;
  margin-top:8px;
}

.date-line{
  width:1px;
  height:80px;
  background:rgba(255,255,255,0.45);
}

.section{
  padding:95px 22px;
  text-align:center;
}

.section h2{
  font-size:56px;
  font-weight:500;
  margin-bottom:30px;
}

.detail-grid{
  max-width:1000px;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}

.glass-card{
  padding:42px 25px;
  background:rgba(255,255,255,0.58);
  border:1px solid rgba(80,55,40,0.12);
  box-shadow:0 20px 60px rgba(70,45,25,0.10);
}

.glass-card h3{
  font-size:30px;
  margin-bottom:12px;
}

.glass-card p{
  font-size:25px;
}

.countdown-section{
  background:#281b16;
  color:white;
}

.countdown{
  display:flex;
  justify-content:center;
  gap:20px;
  flex-wrap:wrap;
}

.count-card{
  width:135px;
  height:135px;
  border:1px solid rgba(255,255,255,0.25);
  background:rgba(255,255,255,0.08);
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
}

.count-card span{
  font-size:48px;
  font-weight:600;
}

.count-card small{
  font-size:19px;
  margin-top:6px;
}

.story{
  max-width:850px;
  margin:0 auto;
}

.story p{
  font-size:27px;
  line-height:1.8;
}

.invitation-photo{
  background:#f7f1ea;
}

.photo-frame{
  max-width:500px;
  margin:45px auto 0;
  padding:18px;
  background:white;
  box-shadow:0 25px 60px rgba(0,0,0,0.12);
  transform:rotate(-1deg);
  transition:0.4s ease;
}

.photo-frame:hover{
  transform:rotate(0deg) scale(1.02);
}

.photo-frame img{
  width:100%;
  display:block;
}

.location{
  background:#efe4d6;
}

.location p{
  font-size:26px;
  line-height:1.7;
  margin-bottom:32px;
}

.location .main-btn{
  background:#2b1c17;
  color:white;
}

.rsvp{
  background:
  linear-gradient(rgba(36,27,22,0.92), rgba(36,27,22,0.92)),
  url("https://images.unsplash.com/photo-1523438885200-e635ba2c371e?q=80&w=1974&auto=format&fit=crop");
  background-size:cover;
  background-position:center;
  color:white;
}

.rsvp form{
  max-width:520px;
  margin:0 auto;
}

.rsvp input,
.rsvp select,
.rsvp textarea{
  width:100%;
  padding:17px;
  margin-bottom:16px;
  border:1px solid rgba(255,255,255,0.25);
  background:rgba(255,255,255,0.10);
  color:white;
  font-size:19px;
  outline:none;
  font-family:'Cormorant Garamond', serif;
}

.rsvp input::placeholder,
.rsvp textarea::placeholder{
  color:rgba(255,255,255,0.75);
}

.rsvp textarea{
  height:120px;
  resize:none;
}

.rsvp select option{
  color:black;
}

.rsvp button{
  width:100%;
}

#formStatus{
  margin-top:18px;
  font-size:19px;
}

footer{
  padding:60px 20px;
  text-align:center;
  background:#1d1512;
  color:white;
}

footer h2{
  font-family:'Great Vibes', cursive;
  font-size:62px;
  font-weight:400;
}

footer p{
  font-size:22px;
  margin-top:10px;
}

@keyframes fadeUp{
  from{
    opacity:0;
    transform:translateY(45px);
  }

  to{
    opacity:1;
    transform:translateY(0);
  }
}

@media(max-width:768px){

  .intro-card h1{
    font-size:58px;
  }

  .hero h1{
    font-size:78px;
  }

  .hero h1 span{
    font-size:52px;
  }

  .invite{
    font-size:21px;
  }

  .small-title,
  .section-subtitle{
    font-size:15px;
    letter-spacing:2px;
  }

  .date-card{
    flex-direction:column;
    gap:18px;
  }

  .date-line{
    width:120px;
    height:1px;
  }

  .section{
    padding:70px 18px;
  }

  .section h2{
    font-size:40px;
  }

  .detail-grid{
    grid-template-columns:1fr;
  }

  .count-card{
    width:95px;
    height:95px;
  }

  .count-card span{
    font-size:31px;
  }

  .count-card small{
    font-size:15px;
  }

  .story p,
  .location p{
    font-size:21px;
  }
}

@media(max-width:480px){

  .intro{
    padding:18px;
  }

  .intro-card{
    padding:42px 24px;
  }

  .intro-card p{
    font-size:17px;
    letter-spacing:2px;
  }

  .intro-card h1{
    font-size:52px;
  }

  .intro-card button,
  .main-btn,
  .rsvp button{
    width:100%;
    max-width:280px;
    padding:15px 24px;
    font-size:19px;
  }

  .hero{
    min-height:100svh;
    padding:55px 18px;
    background-position:center;
  }

  .hero h1{
    font-size:68px;
  }

  .hero h1 span{
    font-size:44px;
  }

  .invite{
    font-size:20px;
    line-height:1.55;
    margin:22px auto 30px;
  }

  .date-card{
    width:100%;
    max-width:320px;
    padding:24px 20px;
  }

  .date-card strong{
    font-size:48px;
  }

  .date-card span{
    font-size:21px;
  }

  .section{
    padding:60px 16px;
  }

  .section h2{
    font-size:34px;
    line-height:1.2;
  }

  .section-subtitle,
  .small-title{
    font-size:13px;
    letter-spacing:2px;
  }

  .glass-card{
    padding:32px 20px;
  }

  .glass-card h3{
    font-size:27px;
  }

  .glass-card p{
    font-size:22px;
  }

  .countdown{
    gap:12px;
  }

  .count-card{
    width:78px;
    height:78px;
  }

  .count-card span{
    font-size:25px;
  }

  .count-card small{
    font-size:13px;
  }

  .story p{
    font-size:20px;
    line-height:1.65;
  }

  .photo-frame{
    max-width:100%;
    padding:10px;
    margin-top:30px;
    transform:none;
  }

  .photo-frame:hover{
    transform:none;
  }

  .location p{
    font-size:19px;
    line-height:1.6;
  }

  .rsvp form{
    max-width:100%;
  }

  .rsvp input,
  .rsvp select,
  .rsvp textarea{
    font-size:17px;
    padding:15px;
  }

  .rsvp textarea{
    height:105px;
  }

  footer h2{
    font-size:50px;
  }

  footer p{
    font-size:18px;
  }
}