/* Base Styles & Typography */
:root {
    --gold-primary: #ff69b4; /* Hot Pink */
    --gold-light: #ffc0cb;   /* Pink */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --text-black: #1a1a1a;
    --text-muted: #555;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body,html {
    font-family: Georgia, 'Times New Roman', Times, serif;
    color: var(--text-black);
    background: #fdfaf5;
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.35)), 
                url('./bg.jpg') center/cover no-repeat fixed;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    color: white;
}

.hero-content p.fade-in {
    letter-spacing: 5px; font-size: 1rem; font-weight: 300; margin-bottom: 10px;
    opacity: 1;
}

.couple-names {
    font-family: 'Dancing Script', cursive;
    font-size: 6.5rem;
    margin: 15px 0;
    text-shadow: 2px 4px 10px rgba(0,0,0,0.3);
}

.hero-date {
    font-size: 1.8rem; letter-spacing: 8px; font-family: 'Playfair Display', serif;
    border-top: 1px solid rgba(255,255,255,0.5);
    border-bottom: 1px solid rgba(255,255,255,0.5);
    display: inline-block; padding: 5px 20px;
}

/* Invitation Message */
.invitation-msg { padding: 80px 20px; text-align: center; background: white; }
.script-font {
    font-family: 'Playfair Display', serif; font-style: italic; font-size: 2.2rem;
    color: var(--gold-primary); max-width: 800px; margin: 0 auto;
}

/* Layout: Image Left & Content Right */
.events-section { 
    padding: 60px 20px; 
    background: #faf7f2; 
    margin-top: -120px;
}

.events-container-wrapper {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
}

.event-image-left {
    flex: 1;
    display: flex;
    justify-content: center;
}

.event-image-left img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.events-content-right {
    flex: 1.5;
}

.section-title {
    text-align: left;
    font-family: 'Playfair Display', serif; 
    font-size: 3rem;
    color: var(--gold-primary); 
    margin-bottom: 30px;
}

.event-grid {
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 20px;
}

.event-box {
    background: white; border: 1px solid #eee; padding: 30px 15px;
    text-align: center; border-radius: 15px; transition: 0.4s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border-left: 5px solid var(--gold-primary);
}

.day-tag { color: var(--gold-primary); font-weight: bold; letter-spacing: 2px; font-size: 0.8rem; }
.event-box h3 { font-family: 'Playfair Display', serif; font-size: 1.4rem; margin: 10px 0; }


/* ===============================
   Wedding Attendance Counter
================================ */

.guest-counter {
    padding: 90px 20px;
    background: #faf7f2;
    text-align: center;
}

.guest-counter h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.6rem;
    color: var(--gold-primary);
    margin-bottom: 50px;
}

.counter-grid {
    max-width: 1000px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
}

/* Counter Cards */

.counter-box {
    background: white;
    padding: 35px 20px;
    border-radius: 18px;
    border-left: 5px solid var(--gold-primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.35s ease;
}

.counter-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.08);
}

/* Number */

.counter-box h3 {
    font-size: 2.8rem;
    font-weight: bold;
    color: var(--gold-primary);
    margin-bottom: 8px;
}

/* Label */

.counter-box p {
    font-size: 0.95rem;
    letter-spacing: 1px;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* Mobile */

@media (max-width: 900px) {

.counter-grid {
    grid-template-columns: repeat(2,1fr);
}

}

@media (max-width: 500px) {

.counter-grid {
    grid-template-columns: 1fr;
}

.counter-box h3 {
    font-size: 2.2rem;
}

}







/* RSVP Section */
.rsvp-container {
    padding: 100px 20px;
    background: linear-gradient(rgba(197, 160, 89, 0.2), rgba(197, 160, 89, 0.2)),
                url('https://images.unsplash.com/photo-1519741497674-611481863552?auto=format&fit=crop&w=1500&q=80') center/cover no-repeat fixed;
    display: flex; justify-content: center;
}

.glass-form-wrapper {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 50px 40px; border-radius: 25px;
    width: 100%; max-width: 550px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    border: 1px solid rgba(255,255,255,0.4);
    text-align: center;
    font-weight: bold;
}

.glass-form-wrapper h2 { font-size: 2.2rem; color: var(--gold-primary); font-weight: bold; }
.glass-form-wrapper p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 35px; font-weight: bold; }

/* Form Elements & Aadhar Upload Styling */
.input-group { margin-bottom: 25px; text-align: left; }
.input-group label { font-size: 0.75rem; letter-spacing: 1px; color: black; margin-bottom: 8px; display: block; font-weight: bold;}

input[type="text"], 
input[type="number"],
input[type="file"] {
    width: 100%; padding: 12px 15px; border: 1px solid #ccc; border-radius: 8px;
    background: white; color: black; font-size: 1rem;
}

/* Naya: Aadhar Upload Button Style */
input[type="file"]::file-selector-button {
    background: var(--gold-primary);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    margin-right: 10px;
    transition: 0.3s;
}

input[type="file"]::file-selector-button:hover {
    background: #ad8a4a;
}

/* Event RSVP Rows */
.event-selection-area { margin-top: 15px; font-weight: bold;}
.event-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 0; border-bottom: 1px solid rgba(0,0,0,0.05);
    font-weight: bold;
}
.event-row span { color: black; font-weight: bold!important; }

.radio-options label { margin-left: 15px; font-size: 0.85rem; cursor: pointer; color: black; font-weight: bold; }
.radio-options input { accent-color: var(--gold-primary); margin-right: 5px; font-weight: bold; }

.submit-btn {
    width: 100%; padding: 16px; border: none; border-radius: 50px;
    background: var(--gold-primary); color: white; font-weight: 600;
    font-size: 1.1rem; cursor: pointer; transition: 0.3s; margin-top: 30px;
    box-shadow: 0 8px 20px rgba(197, 160, 89, 0.3);
}

.submit-btn:hover { background: #ad8a4a; transform: scale(1.02); }

/* Footer Styling */
.family-footer { padding: 80px 20px; text-align: center; background: white; }
.main-msg { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--text-muted); }
.divider { height: 2px; width: 60px; background: var(--gold-primary); margin: 25px auto; }
.family-names { font-size: 1.3rem; margin-bottom: 10px; }
.family-names span { color: var(--gold-primary); font-weight: bold; }
.blessing { font-size: 0.9rem; font-style: italic; color: #888; }

/* Animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.event-label-wrapper {
    display: flex;
    flex-direction: column; 
    text-align: left;
}

.event-label-wrapper span {
    font-weight: 500;
    color: black;
    line-height: 1.2;
}

.event-label-wrapper small {
    font-size: 0.85rem;
    color: var(--gold-primary);
    margin-top: 2px;
}

.radio-options {
    display: flex;
    align-items: center;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .events-container-wrapper {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    .events-section {
        margin-top: 0;
        padding: 40px 15px;
    }
    .section-title {
        text-align: center;
        font-size: 2.2rem;
    }
    .event-image-left {
        max-width: 80%;
        margin-top: -70px;
    }
}

@media (max-width: 600px) {
    .couple-names { font-size: 3.8rem; }
    .hero-date { font-size: 1.2rem; }
    .glass-form-wrapper { padding: 30px 20px; }
    .event-row { flex-direction: column; align-items: flex-start; }
    .radio-options { margin-top: 8px; }
    .event-grid { grid-template-columns: 1fr; gap: 15px; }
    .event-image-left { max-width: 100%; }
    .section-title { font-size: 1.8rem; }
    .event-box { padding: 20px 10px; }
    .event-box h3 { font-size: 1.2rem; }
}