
*{box-sizing:border-box}
body{margin:0;font-family:Inter,sans-serif;background:#fdfdfd;color:#222}

.hero{display:flex;flex-direction:column;align-items:center}
.hero-img{width:100%;max-height:90vh;overflow:hidden}
.hero-img img{width:100%;height:100%;object-fit:contain;background:#000}
.hero-text{text-align:center;padding:2rem}
.hero-text h1{font-family:Playfair Display,serif;font-size:3rem;margin:0}
.hero-text span{letter-spacing:1px}

.text{max-width:800px;margin:3rem auto;padding:0 1.5rem;text-align:center}
.title{letter-spacing:3px}

.countdown{text-align:center;background:#fafafa;padding:3rem 1rem}
#timer{display:flex;justify-content:center;gap:1.5rem;margin-top:1.5rem}
#timer div{background:#fff;padding:1.2rem 1.5rem;border-radius:14px;min-width:90px;box-shadow:0 10px 30px rgba(0,0,0,.08)}
#timer span{font-size:2rem;font-weight:600;display:block}
#timer small{text-transform:uppercase;letter-spacing:1px;font-size:.7rem}

.photo img{width:100%;max-height:90vh;object-fit:contain;background:#000}

.rsvp{max-width:500px;margin:4rem auto;padding:0 1.5rem;text-align:center}
.rsvp form{display:flex;flex-direction:column;gap:1rem}
.row{display:flex;gap:1rem}
input,button{padding:.9rem;font-size:1rem;border-radius:8px;border:1px solid #ddd}
button{background:#111;color:#fff;border:0;cursor:pointer}
button:hover{opacity:.85}

.ps{font-style:italic;margin-top:1.5rem}

@media(max-width:600px){
.hero-text h1{font-size:2.2rem}
#timer{flex-wrap:wrap}
}
