*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:'Montserrat', sans-serif;
  background:#f8f4ef;
  color:#2d2d2d;
}

.hero{
  height:100vh;
  background-image:url("./images/hero.jpeg");
  background-size:cover;
  background-position:center;
  position:relative;

  display:flex;
  justify-content:center;
  align-items:center;
  text-align:center;
}

.overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.35);
}

.hero-content{
  position:relative;
  z-index:2;
  color:white;
  padding:20px;
}

.location{
  letter-spacing:5px;
  font-size:14px;
  margin-bottom:20px;
}

.hero h1{
  font-family:'Cormorant Garamond', serif;
  font-size:6rem;
  font-weight:300;
  line-height:0.95;
}

.separator{
  width:120px;
  height:1px;
  background:white;
  margin:30px auto;
}

.date{
  font-size:1.2rem;
  margin-bottom:50px;
}

.countdown{
  display:flex;
  gap:30px;
  justify-content:center;
  flex-wrap:wrap;
}

.time-box span{
  display:block;
  font-size:3rem;
  font-family:'Cormorant Garamond', serif;
}

.time-box p{
  font-size:0.8rem;
  letter-spacing:2px;
  margin-top:8px;
}

.intro{
  padding:90px 20px 70px;
  text-align:center;
  max-width:900px;
  margin:auto;
}

.small-title{
  letter-spacing:4px;
  font-size:0.8rem;
  margin-bottom:20px;
  color:#9a7b67;
}

.intro h2{
  font-family:'Cormorant Garamond', serif;
  font-size:3rem;
  font-weight:300;
  line-height:1.3;
  margin-bottom:30px;
}

.intro-text{
  line-height:1.9;
  color:#666;
  max-width:700px;
  margin:auto;
}

.events{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:40px;

  padding:60px 8% 100px;
}

.card{
  background:linear-gradient(
    180deg,
    #ffffff 0%,
    #f7efe8 100%
  );

  padding:50px 40px;
  border-radius:10px;
  text-align:center;

  box-shadow:0 15px 40px rgba(0,0,0,0.06);
}

.icon{
  font-size:2rem;
  margin-bottom:20px;
}

.card h3{
  font-family:'Cormorant Garamond', serif;
  font-size:3rem;
  font-weight:400;
  margin-bottom:25px;
}

.event-date{
  margin-bottom:25px;
  font-weight:500;
}

.place{
  font-size:1.1rem;
  margin-bottom:20px;
  color:#9a7b67;
}

.address{
  line-height:1.8;
}

.gifts{
  padding:100px 20px;
  text-align:center;
  background:#efe7df;
}

.gifts h2{
  font-family:'Cormorant Garamond', serif;
  font-size:3rem;
  font-weight:300;
  margin-bottom:30px;
}

.gift-text{
  max-width:700px;
  margin:auto;
  line-height:1.9;
  color:#555;
}

.iban{
  margin-top:40px;
  font-size:1.2rem;
  letter-spacing:2px;
  color:#9a7b67;
  font-weight:500;
}

.gallery{
  padding:120px 8%;
  text-align:center;
}

.gallery h2{
  font-family:'Cormorant Garamond', serif;
  font-size:4rem;
  font-weight:300;
  margin-bottom:60px;
}

.photos{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:20px;
}

.photo{
  height:320px;
  overflow:hidden;
  border-radius:8px;
}

.photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:0.4s;
}

.photo img:hover{
  transform:scale(1.05);
}

footer{
  padding:90px 20px;
  text-align:center;
  background:#e8ddd2;
}

footer h2{
  font-family:'Cormorant Garamond', serif;
  font-size:3rem;
  font-weight:300;
}

.footer-date{
  margin-top:10px;
  margin-bottom:50px;
}

.contacts{
  display:flex;
  justify-content:center;
  gap:80px;
  flex-wrap:wrap;
}

.contact h4{
  margin-bottom:12px;
  font-weight:500;
}

.contact p{
  color:#666;
}

@media(max-width:768px){

  .hero h1{
    font-size:4rem;
  }

  .intro h2{
    font-size:2.2rem;
  }

  .gallery h2{
    font-size:3rem;
  }

  .countdown{
    gap:20px;
  }

  .time-box span{
    font-size:2rem;
  }

  .contacts{
    gap:40px;
  }

}

.divider-section{
  padding:60px 20px;
}

.divider-line{
  width:120px;
  height:1px;
  background:#d6c7bb;
  margin:auto;
}

.map-link{
  color:#2f6edb;
  text-decoration:underline;
  line-height:1.8;

  transition:0.3s;
}

.map-link:hover{
  color:#174ea6;
}

.info-section{
  padding:50px 8% 120px;
}

.info-image img{
  width:100%;
  height:500px;
  object-fit:cover;
  border-radius:8px;
}

.info-text h2{
  font-family:'Cormorant Garamond', serif;
  font-size:3rem;
  font-weight:300;

  margin-bottom:25px;
}

.info-text p{
  line-height:1.9;
  color:#666;
  margin-bottom:35px;
}

.button-link{
  display:inline-block;

  padding:14px 28px;

  background:#9a7b67;
  color:white;

  text-decoration:none;

  border-radius:30px;

  transition:0.3s;
}

.button-link:hover{
  opacity:0.9;
}

.gifts{
  padding:120px 8%;

  display:grid;
  grid-template-columns:1fr 1fr;
  gap:70px;
  align-items:center;
}

.gift-image img{
  width:100%;
  height:500px;
  object-fit:cover;
  border-radius:8px;
}

.gift-content h2{
  font-family:'Cormorant Garamond', serif;
  font-size:3rem;
  font-weight:300;

  margin-bottom:30px;
}

.simple-page{
  background:#f8f4ef;
}

.simple-container{
  height:100vh;

  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:30px;
}

.simple-container h1{
  font-family:'Cormorant Garamond', serif;
  font-size:4rem;
  font-weight:300;
}

.bus-page{
  padding:120px 8%;
}

.bus-page h1{
  font-family:'Cormorant Garamond', serif;
  font-size:4rem;
  font-weight:300;

  text-align:center;

  margin-bottom:80px;
}

.bus-card{
  background:white;

  padding:50px;

  border-radius:10px;

  margin-bottom:40px;

  box-shadow:0 10px 30px rgba(0,0,0,0.05);
}

.bus-card h2{
  font-family:'Cormorant Garamond', serif;
  font-size:2.5rem;
  font-weight:300;

  margin-bottom:25px;
}

.bus-card p{
  line-height:1.9;
  color:#666;
}

@media(max-width:900px){


  .gifts{
    grid-template-columns:1fr;
  }

}

.info-layout{
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:80px;
  align-items:center;
}

.info-content{
  display:flex;
  flex-direction:column;
  gap:50px;
}

.info-block h2{
  font-family:'Cormorant Garamond', serif;
  font-size:3rem;
  font-weight:300;

  margin-bottom:25px;
}

.info-block p{
  line-height:1.9;
  color:#666;

  margin-bottom:35px;
}

.mini-divider{
  width:100%;
  height:1px;
  background:#ddd2c7;
}

@media(max-width:900px){

  .info-layout{
    grid-template-columns:1fr;
  }

}