/* General Resets */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { 
    font-family: 'Montserrat', sans-serif; 
    background-color: #fffcf9; 
    color: #333; 
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 { font-family: 'Playfair Display', serif; }

/* Navigation */
.navbar {
    position: fixed;
    top: 0; width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.nav-logo { font-size: 0.8rem; font-weight: 600; color: #fff; letter-spacing: 1px; text-transform: uppercase; }
.nav-links { display: flex; list-style: none; gap: 15px; }
.nav-links a { color: #fff; text-decoration: none; font-size: 0.7rem; font-weight: 600; text-transform: uppercase; }

/* Hero Section */
.hero { height: 100vh; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.bg-video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); display: flex; align-items: center; justify-content: center; text-align: center; color: white; }
.save-the-date { letter-spacing: 5px; font-size: 0.8rem; display: block; margin-bottom: 10px; }
.hero h1 { font-size: 2.8rem; margin-bottom: 10px; }
.wedding-date { font-size: 1.1rem; letter-spacing: 2px; border-top: 1px solid #fff; border-bottom: 1px solid #fff; display: inline-block; padding: 5px 20px; }

/* Gallery Section */
.gallery { padding: 60px 15px; }
.section-title { text-align: center; margin-bottom: 30px; font-size: 1.8rem; color: #b8952e; }
.grid-container { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.grid-container img { 
    width: 100%; 
    aspect-ratio: 1/1; 
    object-fit: cover; 
    border-radius: 8px; 
    transition: 0.4s; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.grid-container img:active { transform: scale(0.95); }

/* Dress Code Section */
.dress-code { padding: 60px 20px; background: #fdf8f0; }
.dress-card { 
    border: 1px solid #D4AF37; 
    padding: 40px 20px; 
    text-align: center; 
    border-radius: 15px;
}
.ornament { font-size: 1.5rem; color: #D4AF37; display: block; margin-bottom: 10px; }
.palette-grid { display: flex; justify-content: center; gap: 15px; margin-top: 25px; }
.color-circle { width: 45px; height: 45px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.1); margin-bottom: 5px; }
.color-item span { font-size: 0.65rem; color: #777; text-transform: uppercase; }

/* Location Section */
.location { padding: 60px 15px; }
.location-wrapper { display: flex; gap: 10px; }
.loc-card { flex: 1; background: #fff; padding: 20px 10px; border-radius: 10px; text-align: center; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.loc-card h3 { font-size: 1.1rem; color: #b8952e; margin-bottom: 5px; }
.loc-card p { font-size: 0.8rem; margin-bottom: 10px; }
.qr-code { width: 100%; max-width: 100px; border-radius: 5px; }
.tap-hint { font-size: 0.6rem; color: #aaa; margin-top: 5px; }

/* RSVP Section */
.rsvp { padding: 60px 20px; background: #fff; }
.rsvp-container { max-width: 450px; margin: 0 auto; text-align: center; }
.rsvp form { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.rsvp input, .rsvp select, .rsvp textarea { 
    width: 100%; padding: 15px; border: 1px solid #eee; border-radius: 8px; font-size: 16px; background: #fafafa;
}
#sendBtn { 
    background: #D4AF37; color: #fff; padding: 18px; border: none; border-radius: 50px; 
    font-weight: 700; letter-spacing: 2px; margin-top: 10px; transition: 0.3s;
}
.hidden { display: none; }

/* Footer */
.main-footer { padding: 50px 20px; background: #1a1a1a; color: white; text-align: center; }
.main-footer p { font-size: 0.7rem; letter-spacing: 2px; color: #888; }
.brand-footer { display: block; margin-top: 5px; font-family: 'Playfair Display', serif; font-size: 1.2rem; color: #D4AF37; }