/* Base Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Montserrat', sans-serif; background-color: #fffcf9; color: #333; overflow-x: hidden; }
h1, h2, h3 { font-family: 'Playfair Display', serif; }

/* Navigation - Glassmorphism */
.navbar {
    position: fixed; top: 0; width: 100%; display: flex; justify-content: space-between;
    align-items: center; padding: 20px 5%; z-index: 1000; transition: 0.4s;
    background: rgba(0, 0, 0, 0.2); backdrop-filter: blur(10px);
}
.nav-brand { font-size: 0.75rem; font-weight: 700; color: #D4AF37; letter-spacing: 2px; text-transform: uppercase; }
.nav-menu { display: flex; align-items: center; gap: 15px; }
.nav-menu a { color: #fff; text-decoration: none; font-size: 0.65rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; transition: 0.3s; }
.nav-cta { background: #D4AF37; padding: 8px 15px; border-radius: 4px; }

/* Hero Section */
.hero { height: 100vh; position: relative; display: flex; align-items: center; justify-content: center; text-align: 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; color: white; }
.hero-subtext { letter-spacing: 5px; font-size: 0.7rem; text-transform: uppercase; margin-bottom: 15px; }
.hero-title { font-size: 3.2rem; margin-bottom: 10px; font-weight: 400; }
.amp { font-style: italic; color: #D4AF37; font-family: 'Playfair Display', serif; }
.hero-divider { width: 50px; height: 1px; background: #D4AF37; margin: 20px auto; }
.hero-date { font-size: 1.2rem; letter-spacing: 3px; }

/* Gallery Section */
.gallery { padding: 80px 5%; background: #fff; }
.section-header { text-align: center; margin-bottom: 40px; }
.gold-text { color: #D4AF37; text-transform: uppercase; letter-spacing: 4px; font-size: 0.7rem; }
.grid-container { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.photo-card { border-radius: 8px; overflow: hidden; cursor: pointer; transition: 0.5s ease; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.photo-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: 0.5s ease; }
.photo-card:active { transform: scale(0.92); }
.photo-card:hover img { transform: scale(1.1); }

/* Dress Code Section */
.dress-code { padding: 80px 20px; background: #fdf8f0; }
.dress-card { border: 1px solid #D4AF37; padding: 50px 20px; text-align: center; border-radius: 20px; max-width: 500px; margin: 0 auto; }
.ornament { font-size: 1.8rem; color: #D4AF37; display: block; margin-bottom: 10px; }
.palette-grid { display: flex; justify-content: center; gap: 15px; margin-top: 30px; }
.color-circle { width: 45px; height: 45px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 4px 10px rgba(0,0,0,0.1); margin-bottom: 8px; }
.color-item span { font-size: 0.6rem; color: #888; text-transform: uppercase; letter-spacing: 1px; }

/* Location Section */
.location { padding: 60px 15px; }
.location-wrapper { display: flex; gap: 10px; }
.loc-card { flex: 1; background: #fff; padding: 25px 10px; border-radius: 12px; text-align: center; box-shadow: 0 5px 20px rgba(0,0,0,0.05); }
.qr-code { width: 100%; max-width: 90px; margin-top: 15px; transition: 0.3s; }
.qr-code:active { transform: scale(1.1); }

/* RSVP Section */
.rsvp { padding: 80px 20px; background: #fff; }
.rsvp-container { max-width: 400px; margin: 0 auto; text-align: center; }
.rsvp form { display: flex; flex-direction: column; gap: 12px; margin-top: 25px; }
.rsvp input, .rsvp select, .rsvp textarea { width: 100%; padding: 15px; border: 1px solid #eee; border-radius: 8px; font-size: 16px; background: #fafafa; font-family: 'Montserrat', sans-serif; }
#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: 60px 20px; background: #1a1a1a; color: white; text-align: center; }
.main-footer p { font-size: 0.7rem; letter-spacing: 2px; color: #666; text-transform: uppercase; }
.brand-footer { display: block; margin-top: 10px; font-family: 'Playfair Display', serif; font-size: 1.3rem; color: #D4AF37; }