
/* ==========
   Sage Green Wedding Theme
   ========== */

:root{
  --sage:#7A8F74;
  --sage-dark:#5F725A;
  --sage-light:#EAF0E7;
  --section:#F3F6F1;
  --cream:#FAF9F5;
  --text:#4A4A4A;
  --border:#DDE6D8;
  --shadow:0 10px 30px rgba(95,114,90,.08);
}

*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}

body{
  font-family:Poppins,sans-serif;
  color:var(--text);
  background:var(--cream);
  line-height:1.8;
}

header{
  height:100vh;
  background-image:
    linear-gradient(rgba(0,0,0,.35),rgba(0,0,0,.35)),
    url("header.png");
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  display:flex;
  flex-direction:column;
  color:#fff;
}

nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:30px 10%;
}

.logo{
  font-family:"Cormorant Garamond",serif;
  font-size:34px;
}

nav ul{
  display:flex;
  gap:35px;
  list-style:none;
}

nav a{
  color:#fff;
  text-decoration:none;
  font-weight:500;
  transition:.3s;
}

nav a:hover{color:var(--sage-light);}

.hero{
  height:85vh;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  padding:20px;
}

.hero h1{
  font-size:28px;
  letter-spacing:3px;
  font-weight:300;
  text-shadow:2px 2px 12px rgba(0,0,0,.45);
}

.hero h2{
  font-family:"Cormorant Garamond",serif;
  font-size:80px;
  margin:10px 0;
  text-shadow:2px 2px 12px rgba(0,0,0,.45);
}

.hero p{
  font-size:20px;
  margin-bottom:40px;
  text-shadow:2px 2px 12px rgba(0,0,0,.45);
}

.button{
  display:inline-block;
  padding:15px 40px;
  background:var(--sage);
  color:#fff;
  text-decoration:none;
  border-radius:40px;
  transition:.3s;
}
.button:hover{
  background:var(--sage-dark);
  transform:translateY(-3px);
}

section{
  padding:90px 10%;
  text-align:center;
}

section h2{
  font-family:"Cormorant Garamond",serif;
  font-size:50px;
  margin-bottom:30px;
  color:var(--sage-dark);
}

.cards{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:30px;
    margin-top:40px;
}

.card{
    flex: 0 0 320px; /* fixed width, don't grow/shrink */
}
.card,
.venue-info div,
.rehearsal-info div{
  background:#fff;
  border:1px solid var(--border);
  padding:25px;
  border-radius:15px;
  box-shadow:var(--shadow);
}

.card h3{margin-bottom:15px;font-size:24px;}

.gallery{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:20px;
}

.gallery img{
  width:100%;
  height:300px;
  object-fit:cover;
  border-radius:12px;
  transition:.4s;
}
.gallery img:hover{transform:scale(1.04);}

#venue{
  padding:100px 10%;
  background:var(--section);
}

.venue-container,
.rehearsal-container{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  align-items:center;
}

.venue-text h3,
.rehearsal-text h3{
  font-family:"Cormorant Garamond",serif;
  font-size:42px;
  margin-bottom:25px;
  color:var(--sage-dark);
}

.venue-text p,
.rehearsal-text p{
  margin-bottom:20px;
  color:#666;
}

.venue-info,
.rehearsal-info{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
  margin:40px 0;
}

.venue-image img,
.rehearsal-image img{
  width:100%;
  display:block;
  border-radius:18px;
  box-shadow:0 18px 35px rgba(95,114,90,.18);
}

#rehearsal{
  padding:100px 10%;
  background:#fff;
}

#rsvp{
    padding:80px 20px;
}


.rsvp-card{
    max-width:700px;
    margin:auto;
    background:white;
    padding:45px;
    border-radius:25px;
    box-shadow:var(--shadow);
    border:1px solid var(--border);
}


#rsvp form{
    display:flex;
    flex-direction:column;
    gap:35px;
}


.form-section{
    display:flex;
    flex-direction:column;
    gap:18px;
}


.form-section h3{
    margin-bottom:5px;
    color:var(--sage-dark);
}


.form-section p{
    line-height:1.7;
    color:#555;
}


label{
    display:flex;
    flex-direction:column;
    gap:8px;
    font-weight:600;
    color:#444;
}


#rsvp input,
#rsvp textarea,
#rsvp select{
    width:100%;
    box-sizing:border-box;
    padding:15px;
    border:1px solid #f7f8f4;
    border-radius:12px;
    font-size:16px;
    background:#f7f8f4;
}


#rsvp textarea{
    min-height:110px;
    background:#f7f8f4;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: inherit;
}


.accommodation-options{
    display:flex;
    flex-direction:column;
    gap:12px;
}


.accommodation-options label{
    display:flex !important;
    flex-direction:row !important;
    align-items:center;
    justify-content:flex-start;
    gap:10px;
    font-weight:500;
    padding:14px;
    background:#f7f8f4;
    border-radius:12px;
}

.accommodation-options input[type="checkbox"]{
    appearance:auto;
    width:18px !important;
    height:18px;
    margin:0;
    padding:0 !important;
    flex:0 0 auto;
}


.button{
    margin-top:10px;
}
#rsvp .button{
    font-size:20px;
    font-weight:600;
    letter-spacing:0.5px;
}

footer{
  background:var(--sage-dark);
  color:#fff;
  text-align:center;
  padding:35px;
  margin-top:80px;
}

@media(max-width:900px){
  .venue-container,
  .rehearsal-container{
    grid-template-columns:1fr;
  }
  .venue-info,
  .rehearsal-info{
    grid-template-columns:1fr;
  }
}

@media(max-width:768px){
  nav{flex-direction:column;gap:20px;}
  nav ul{flex-wrap:wrap;justify-content:center;}
  .hero h2{font-size:54px;}
  .hero h1{font-size:22px;}
  section h2{font-size:40px;}
}

.image-card {
    height:160px;
    padding: 0;
    overflow: hidden;
    border-radius: 15px;

}

.image-card img {

    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;

}

.accommodation-options{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.accommodation-options label{
    display:flex;
    align-items:center;
    gap:10px;
    cursor:pointer;
}
