/* Variables */
:root {
    --maroon-800: #5e0b15;
    --maroon-900: #42080e;
    --gold-200: #eecf6d;
    --gold-400: #d4af37;
    --gold-600: #b48f1f;
    --temple-50: #fdfbf7;
    --temple-100: #f4f1ea;
    --stone-600: #57534e;
    --stone-700: #44403c;
    --stone-800: #292524;
    --stone-900: #1c1917;

    --font-decorative: 'Cinzel Decorative', cursive;
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Lato', sans-serif;
}

/* Reset & Global */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    /*background-image: URL('/images/Sacred_BKG.jpeg');*/ /* Replace with your image */
    font-family: 'Cormorant Garamond', serif;
    color: white;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

/* Background pattern container */
.bg-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}


/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-center { text-align: center; }
.hidden { display: none !important; }


/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 0;
    transition: all 0.3s ease;
}

nav.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: 0.75rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-decorative);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--maroon-900);
    cursor: pointer;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-links button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-sans);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--maroon-900);
    font-size: 0.875rem;
    transition: color 0.3s;
    min-height: 44px;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.nav-links button:hover {
    color: var(--gold-600);
}

.mobile-only { display: none; }

/* Hero Section */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 5rem;
}

.ornate-border {
    position: absolute;
    pointer-events: none;
    border-top-left-radius: 50% 15%;
    border-top-right-radius: 50% 15%;
}

.border-outer {
    inset: 1rem;
    border: 1px solid rgba(94, 11, 21, 0.2);
}

.border-inner {
    inset: 1.5rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 56rem;
}

.om-symbol img {
    width: 15rem;
    max-width: 80vw;
    height: auto;
}
@media (max-width: 768px) {
    .om-symbol img {
        width: 9rem;
    }

    .guru-text {
        font-size: 1rem;
        margin-top: -0.3rem;
    }
}

.sub-heading {
    font-family: var(--font-serif);
    color: var(--maroon-800);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.main-heading {
    font-family: var(--font-decorative);
    font-size: 3rem;
    line-height: 1.1;
    color: var(--maroon-900);
    margin-bottom: 1.5rem;
}

.main-heading .highlight {
    color: var(--gold-600);
}

.ornament-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-400);
    font-size: 1.5rem;
    margin: 2rem auto;
    max-width: 20rem;
}

.ornament-divider::before,
.ornament-divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid var(--gold-400);
    margin: 0 1rem;
}

.date-display {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--stone-700);
    margin-bottom: 2rem;
}

/* Buttons */
.btn-primary {
    background-color: var(--maroon-900);
    color: white;
    padding: 0.75rem 2rem;
    border: 1px solid var(--gold-400);
    font-family: var(--font-serif);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background-color: white;
    color: var(--maroon-900);
    border-color: var(--maroon-900);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--maroon-900);
    color: var(--maroon-900);
    padding: 0.5rem 1.5rem;
    border-radius: 0.25rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: var(--maroon-900);
    color: white;
}

.btn-outline-sm {
    background: transparent;
    border: 1px solid var(--maroon-900);
    color: var(--maroon-900);
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    text-transform: uppercase;
}

/* Countdown */
#countdown-section {
    padding: 3rem 0;
    background-color: rgba(255,255,255,0.5);
    backdrop-filter: blur(4px);
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    text-align: center;
}

.countdown-title {
    font-family: var(--font-decorative);
    color: var(--maroon-800);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

#countdown-timer {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: flex-start;
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 1rem;
}

.time-unit span:first-child {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--maroon-900);
    line-height: 1;
}

.time-unit .label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--stone-600);
    margin-top: 0.25rem;
}

.separator {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--gold-400);
    margin-top: -0.25rem;
}

/* Details Section */
#details {
    padding: 5rem 0;
    background-color: var(--maroon-900);
    color: var(--temple-50);
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    text-align: center;
}

.detail-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.icon-circle {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    border: 2px solid var(--gold-400);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--temple-50);
    transition: all 0.5s;
}

.detail-card:hover .icon-circle {
    background-color: var(--gold-400);
    color: var(--maroon-900);
}

.detail-card h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--gold-400);
}

.detail-text {
    font-weight: 300;
    font-size: 1.125rem;
    line-height: 1.6;
}

.highlight-gold { color: var(--gold-200); margin-top: 0.5rem; }
.italic-gold { color: var(--gold-200); font-style: italic; }
.large-text { font-size: 1.5rem; margin-bottom: 0.25rem; }
.rsvp-note {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.875rem;
}
.map-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--gold-400);
    text-decoration: none;
    border-bottom: 1px solid var(--gold-400);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.map-link:hover { color: white; border-color: white; }

/* About Section */
#about { padding: 6rem 0; }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.image-wrapper { position: relative; }

.image-frame {
    position: absolute;
    inset: 0;
    border: 5px solid var(--gold-400);
    transform: translate(1rem, 0.6rem);
    border-radius: 0.5rem;
    z-index: 0;
}

.image-wrapper img {
    position: relative;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.image-wrapper img:hover { filter: grayscale(0%); }

.section-title {
    font-family: var(--font-decorative);
    font-size: 3rem;
    color: var(--maroon-900);
    margin-bottom: 1rem;
}

.title-underline {
    width: 5rem;
    height: 0.25rem;
    background-color: var(--gold-400);
    margin-bottom: 2rem;
}

.about-content p {
    margin-bottom: 1.5rem;
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--stone-800);
}

.subsection-title {
    font-family: var(--font-decorative);
    font-size: 1.5rem;
    color: var(--maroon-900);
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.quote {
    font-style: italic;
    color: var(--stone-600);
    margin-bottom: 1rem;
}

/* Program Section */
#program {
    padding: 6rem 0;
    background-color: var(--temple-100);
}

.section-header { text-align: center; margin-bottom: 4rem; }
.section-subtitle { font-family: var(--font-serif); font-style: italic; color: var(--stone-600); }

.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.program-card {
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border-top: 4px solid var(--gold-400);
    transition: box-shadow 0.3s;
}

.program-card:hover { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1); }

.card-label {
    color: var(--gold-600);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.program-card h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--maroon-900);
    margin-bottom: 0.5rem;
}

.program-card .meta {
    font-size: 0.75rem;
    color: var(--stone-600);
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--temple-100);
    margin-bottom: 1rem;
}

.program-card p {
    font-size: 0.875rem;
    color: var(--stone-700);
    margin-bottom: 1rem;
}

.composer {
    text-align: right;
    font-size: 0.75rem;
    font-style: italic;
    color: var(--stone-400);
}

.download-container { text-align: center; margin-top: 3rem; }

* Repertoire Carousel */
#repertoire { padding: 6rem 0; background: var(--maroon-900); color: white; overflow: hidden; }

.carousel-container { position: relative; max-width: 1000px; margin: 4rem auto 0; padding: 0 2rem; }
.carousel-track { display: flex; transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.carousel-item { min-width: 100%; opacity: 0.3; transition: opacity 0.6s; }
.carousel-item.active { opacity: 1; }

.carousel-layout { display: grid; grid-template-columns: 400px 1fr; gap: 4rem; align-items: center; }
.carousel-img-wrap { position: relative; transform: rotate(-3deg); transition: 0.5s; }
.carousel-item.active .carousel-img-wrap { transform: rotate(0deg); }
.carousel-img-wrap img { width: 100%; height: 500px; object-fit: cover; border-radius: 0.5rem; border: 8px solid white; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5); }
.carousel-img-wrap::after { content: ""; position: absolute; inset: -15px; border: 2px solid var(--gold-400); z-index: -1; transform: rotate(6deg); border-radius: 0.5rem; }

.item-number { font-family: var(--font-decorative); color: var(--gold-400); font-size: 0.9rem; letter-spacing: 0.2em; margin-bottom: 0.5rem; }
.carousel-text h3 { font-family: var(--font-decorative); font-size: 2.5rem; color: var(--gold-200); margin-bottom: 0.5rem; }
.carousel-meta { font-family: var(--font-serif); font-size: 1.1rem; color: var(--gold-400); margin-bottom: 1.5rem; padding-bottom: 0.5rem; border-bottom: 1px solid rgba(212,175,55,0.3); }
.carousel-text p { font-family: var(--font-serif); font-size: 1.2rem; color: var(--temple-100); line-height: 1.8; margin-bottom: 1.5rem; }
.carousel-composer { font-family: var(--font-serif); font-style: italic; color: var(--gold-600); text-align: right; }

.carousel-controls { position: absolute; top: 50%; width: 100%; display: flex; justify-content: space-between; left: 0; transform: translateY(-50%); pointer-events: none; }
.carousel-controls button { width: 3.5rem; height: 3.5rem; border-radius: 50%; border: 1px solid var(--gold-400); background: rgba(0,0,0,0.5); color: var(--gold-400); cursor: pointer; pointer-events: auto; transition: 0.3s; }
.carousel-controls button:hover { background: var(--gold-400); color: var(--maroon-900); }

/* Orchestra (New) */
#orchestra { padding: 6rem 0; background-color: var(--temple-100); }
.orchestra-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 200px));
    justify-content: center;  /* ✅ centers items */
    gap: 2rem;
}
.musician-card { text-align: center; transition: 0.3s; }
.musician-card:hover { transform: translateY(-10px); }
.niche { width: 140px; height: 140px; margin: 0 auto 1.5rem; border-radius: 50%; overflow: hidden; border: 3px solid var(--gold-400); position: relative; padding: 5px; background: white; display: flex; align-items: center; justify-content: center; }
.niche svg { width: 60%; height: 60%; color: var(--maroon-900); stroke-width: 1.5; }
.musician-card h4 { font-family: var(--font-decorative); color: var(--maroon-900); margin-bottom: 0.25rem; font-size: 1.1rem; }
.musician-card p { font-family: var(--font-serif); color: var(--stone-600); font-style: italic; }

/* Gallery */
#gallery { padding: 6rem 0; }
#gallery .section-title { margin-bottom: 3rem; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.gallery-item {
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 2px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    aspect-ratio: auto; /* allow natural height */
}

.gallery-item.large {
    grid-row: span 2;
    aspect-ratio: auto;
}

.gallery-item img {
    width: 100%;
    height: auto;       /* key fix */
    object-fit: contain; /* show full image */
}

.gallery-item:hover img { transform: scale(1.1); }

/* RSVP Section */
#rsvp,#repertoire {
    padding: 6rem 0;
    background-color: var(--maroon-900);
    position: relative;
    overflow: hidden;
}

.bg-decor {
    position: absolute;
    width: 24rem;
    height: 24rem;
    border-radius: 50%;
    border: 20px solid var(--gold-400);
    opacity: 0.1;
}

.bg-decor.left { left: -5rem; top: -5rem; }
.bg-decor.right { right: -5rem; bottom: -5rem; }

.relative-z { position: relative; z-index: 10; }

.rsvp-header { text-align: center; color: var(--temple-50); margin-bottom: 2.5rem; }
.text-light { color: var(--temple-50); }
.subtitle-gold { font-family: var(--font-serif); font-style: italic; color: var(--gold-200); }

.rsvp-card {
    max-width: 42rem;
    margin: 0 auto;
    background: white;
    padding: 2.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border-top: 4px solid var(--maroon-900);
}

.form-title {
    font-family: var(--font-decorative);
    text-align: center;
    color: var(--maroon-900);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group { display: flex; flex-direction: column; margin-bottom: 1.5rem; }

.form-group label {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--stone-600);
    margin-bottom: 0.5rem;
}

input, select, textarea {
    width: 100%;
    padding: 0.5rem 0;
    border: none;
    border-bottom: 2px solid #e5e7eb;
    background: transparent;
    outline: none;
    font-family: var(--font-sans);
    transition: border-color 0.3s;
    font-size: 1rem;
    min-height: 44px;
}

textarea {
    border: 2px solid #e5e7eb;
    padding: 0.75rem;
    border-radius: 0.375rem;
    resize: none;
    min-height: 100px;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--maroon-900);
}

.form-submit { text-align: center; }

.btn-primary:disabled { opacity: 0.7; cursor: not-allowed; }

/* Success State */
#success-message {
    text-align: center;
    padding: 2rem;
    background-color: var(--temple-100);
    border: 1px solid #bbf7d0;
    border-radius: 0.5rem;
}

.success-icon { color: #16a34a; width: 3rem; height: 3rem; margin-bottom: 1rem; }
#success-message h3 { font-family: var(--font-serif); font-size: 1.5rem; color: var(--maroon-900); margin-bottom: 0.5rem; }
.btn-text { background: none; border: none; text-decoration: underline; color: var(--maroon-800); cursor: pointer; margin-top: 1.5rem; font-size: 0.875rem; }

/* Footer */
footer {
    background-color: var(--stone-900);
    color: var(--stone-600);
    padding: 4rem 0;
    text-align: center;
}

.footer-logo {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 1.5rem;
    border: 1px solid var(--stone-600);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-decorative);
    font-size: 1.25rem;
    color: var(--stone-400);
}

.footer-quote {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: #e7e5e4;
    margin-bottom: 1rem;
}

.footer-desc {
    font-size: 0.875rem;
    font-style: italic;
    max-width: 32rem;
    margin: 0 auto 2rem;
}

.copyright {
    border-top: 1px solid var(--stone-800);
    padding-top: 2rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Floating Buttons */
.fixed-btn {
    position: fixed;
    z-index: 50;
    background-color: var(--maroon-900);
    color: var(--gold-400);
    border: 2px solid var(--gold-400);
    border-radius: 50%;
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, opacity 0.3s;
}

.fixed-btn:hover { transform: scale(1.1); }
.fixed-btn button { background: none; border: none; color: inherit; cursor: pointer; display: flex; }

#audio-control { bottom: 1.5rem; right: 1.5rem; }
#scroll-top { bottom: 1.5rem; left: 1.5rem; }
#scroll-top.hidden { opacity: 0; pointer-events: none; transform: translateY(20px); }

/* Responsive */
@media (max-width: 1024px) {
    .main-heading { font-size: 2.5rem; }
    .hero-content { padding: 0 2rem; }
    .section-title { font-size: 2.5rem; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .desktop-only { display: none; }
    .mobile-only { display: block; }
    
    /* Hero Section */
    .main-heading { font-size: 2rem; }
    .sub-heading { font-size: 0.875rem; }
    .date-display { font-size: 1.125rem; }
    #hero { padding-top: 5rem; min-height: 85vh; }
    
    .ornate-border { display: none; }
    
    /* Navigation */
    .nav-links { margin-left: 0; }
    
    /* Section Titles */
    .section-title { font-size: 2rem; }
    
    /* About Section */
    .about-grid { grid-template-columns: 1fr; gap: 2rem; }
    .image-wrapper {
                /* Fix right side of image frame being cut off on mobile */
                margin-right: 10px;
            }
    .image-wrapper img {
    width: 100%;
    height: auto !important;
    object-fit: contain;
}
    
    /* Details Grid */
    #details .details-grid { 
        grid-template-columns: 1fr; 
        gap: 1.5rem; 
        padding: 0 1rem;
    }
    
    /* Countdown */
    .countdown-title { font-size: 1rem; }
    #countdown-timer { 
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        flex-direction: row;
        align-items: flex-start;
        gap: 0;
    }
    .time-unit span:first-child { font-size: 1.75rem; }
    .time-unit span:first-child { font-size: 1.5rem; }
    .time-unit { margin: 0 0.5rem; }
    .separator { 
        font-size: 1.75rem; 
        transform: rotate(90deg);
        margin: 0.25rem 0;
        font-size: 1.5rem; 
        transform: none;
        margin: 0;
    }
    
    /* Form */
    .form-row { 
        grid-template-columns: 1fr; 
        gap: 1rem;
    }
    .rsvp-card { padding: 1.5rem; }
    .form-title { font-size: 1.5rem; }
    
    /* Gallery */
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-item.large { grid-row: span 1; aspect-ratio: 4/3; }
    
    /* Program Section */
    .program-grid { 
        grid-template-columns: 1fr; 
    }
    
    /* Footer */
    footer { padding: 2rem 0; }
    .footer-quote { font-size: 1.25rem; }
    
    /* Buttons */
    .btn-primary {
        padding: 0.65rem 1.5rem;
        font-size: 0.85rem;
    }
    
    /* Container Padding */
    .container { padding: 0 1rem; }
    
    /* Sections */
    #details { padding: 3rem 0; }
    #about { padding: 3rem 0; }
    #program { padding: 3rem 0; }
    #gallery { padding: 3rem 0; }
    #rsvp { padding: 3rem 0; }
    
    /* Fixed Buttons */
    .fixed-btn { width: 3rem; height: 3rem; }

    /* Repertoire Carousel Mobile */
    .carousel-layout { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
    .carousel-img-wrap { margin: 0 auto; width: 80%; transform: rotate(0deg) !important; }
    .carousel-img-wrap img { height: 375px; }
    .carousel-text h3 { font-size: 2rem; }
    .carousel-composer { text-align: center; }

    /* Orchestra Mobile */
    .orchestra-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 2rem; }
    .niche { width: 100px; height: 100px; }
}

@media (max-width: 480px) {
    /* Extra Small Devices */
    .main-heading { font-size: 1.5rem; }
    .sub-heading { font-size: 0.75rem; }
    .section-title { font-size: 1.5rem; }
    
    /* Navigation */
    .logo { font-size: 1.25rem; }
    .nav-container { padding: 0 1rem; }
    
    /* Hero */
    #hero { 
        padding-top: 4rem;
        min-height: 75vh;
    }
    .om-symbol img {     width: 100%;
    height: auto !important;
    object-fit: contain; }
    .date-display { font-size: 1rem; }
    
    /* Countdown */
    #countdown-timer { gap: 0.25rem; }
    .time-unit span:first-child { font-size: 1.5rem; }
    .separator { font-size: 1.5rem; }
    .time-unit { margin: 0 0.5rem; }
    
    /* Details */
    .detail-card h3 { font-size: 1.25rem; }
    .detail-text { font-size: 0.95rem; }
    
    /* Form */
    .form-title { font-size: 1.25rem; }
    .rsvp-card { padding: 1.25rem; }
    
    input, select, textarea { font-size: 1rem; }
    
    /* About Section */
    .image-wrapper img { height: 300px; }
    .subsection-title { font-size: 1.25rem; }
    .about-content p { font-size: 0.95rem; }
    
    /* Program Cards */
    .program-card {
        padding: 1.5rem;
    }
    .program-card h3 { font-size: 1.25rem; }
    
    /* Footer */
    .footer-quote { font-size: 1rem; }
    .footer-desc { font-size: 0.8rem; }
    
    /* Buttons */
    .btn-primary { padding: 0.6rem 1.25rem; font-size: 0.8rem; }
    .btn-outline-sm { padding: 0.2rem 0.5rem; font-size: 0.65rem; }
    
    /* Container */
    .container { padding: 0 0.75rem; }
    
    /* Background decorations */
    .bg-decor { 
        width: 15rem;
        height: 15rem;
        border-width: 12px;
    }
    .bg-decor.left { left: -3rem; top: -3rem; }
    .bg-decor.right { right: -3rem; bottom: -3rem; }
    
    /* Icon circles */
    .icon-circle { width: 3.5rem; height: 3.5rem; }
}
.guru-text {
    margin-top: -0.5rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.75rem;
    color: #5b1d1d;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-shadow: 0 1px 2px rgba(255,255,255,0.35);
}

@media only screen and (max-width: 768px) {

    .om-symbol img {
        width: 5.5rem !important;
        max-width: 40vw !important;
        height: auto !important;
    }

    .guru-text {
        font-size: 0.9rem !important;
        margin-top: -0.2rem !important;
    }

}

.private-events-hero {
    padding-top: 8rem !important;
    padding-bottom: 4rem !important;
}

.private-events-header {
    text-align: center;
    margin-bottom: 3rem;
}

.private-events-header h1 {
    font-family: var(--font-decorative);
    font-size: 3rem;
    color: var(--gold-400);
    margin-bottom: 1rem;
}

.private-events-header p {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--temple-50);
    max-width: 700px;
    margin: 0 auto;
}

.private-events-grid {
    align-items: stretch;
}

.private-events-grid .detail-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: left;
}

.private-events-grid .detail-card h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.private-events-grid .detail-text p {
    margin-bottom: 0.75rem;
}

@media only screen and (max-width: 768px) {
    .private-events-hero {
        padding-top: 5rem !important;
    }

    .private-events-header h1 {
        font-size: 2rem;
    }

    .private-events-header p {
        font-size: 1.1rem;
    }
}

input[type="checkbox"] {
    width: 1rem !important;
    height: 1rem !important;
    transform: scale(1) !important;
    accent-color: #d4af37;
    margin-right: 0.5rem;
    vertical-align: middle;
    cursor: pointer;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    margin-bottom: 1rem;
    cursor: pointer;
}

/* Private Events Page Redesign */
.private-events-hero {
    padding: 7rem 0 4rem !important;
    background: rgba(66, 8, 14, 0.88) !important;
}

.private-events-header {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 3rem;
}

.private-events-header h1 {
    font-family: var(--font-decorative);
    font-size: 3rem;
    color: var(--gold-400);
    margin-bottom: 0.75rem;
}

.private-events-header p {
    font-size: 1.35rem;
    color: var(--temple-50);
}

.private-events-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(280px, 1fr)) !important;
    gap: 2rem !important;
    max-width: 1050px;
    margin: 0 auto;
}

.private-events-grid .detail-card {
    background: rgba(255, 255, 255, 0.96);
    color: var(--stone-800);
    border-radius: 1rem;
    padding: 2rem;
    border-top: 5px solid var(--gold-400);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22);
    text-align: left !important;
    align-items: flex-start !important;
}

.private-events-grid .detail-card h3 {
    width: 100%;
    text-align: center;
    color: var(--maroon-900);
    font-family: var(--font-decorative);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.private-events-grid .detail-text {
    color: var(--stone-800);
    font-size: 1.1rem;
    line-height: 1.55;
}

.private-events-grid .detail-text p {
    margin-bottom: 0.75rem;
}

.private-events-grid .detail-text strong {
    color: var(--maroon-900);
}

/* RSVP spacing */
#rsvp {
    padding-top: 4rem !important;
}

@media only screen and (max-width: 768px) {
    .private-events-hero {
        padding: 5rem 1rem 3rem !important;
    }

    .private-events-header h1 {
        font-size: 2rem;
    }

    .private-events-header p {
        font-size: 1.05rem;
    }

    .private-events-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .private-events-grid .detail-card {
        padding: 1.5rem;
    }

    .private-events-grid .detail-card h3 {
        font-size: 1.5rem;
    }
}
/* ===== PRIVATE EVENTS FINAL THEME ===== */

.private-events-hero {
    background:
        linear-gradient(rgba(253,248,238,0.96), rgba(253,248,238,0.96)),
        url('/images/Sacred_BKG.jpeg') center/cover no-repeat !important;

    padding: 6rem 1rem 4rem !important;
}

.private-events-header h1 {
    color: #6b1e1e !important;
}

.private-events-header p {
    color: #5b4636 !important;
}

/* Event cards */
.private-events-grid .detail-card {
    background: #fffdf8 !important;
    border: 1px solid rgba(212,175,55,0.45) !important;
    border-top: 5px solid #d4af37 !important;

    box-shadow:
        0 10px 30px rgba(0,0,0,0.08),
        0 2px 10px rgba(0,0,0,0.05) !important;
}

.private-events-grid .detail-card h3 {
    color: #6b1e1e !important;
}

.private-events-grid .detail-text {
    color: #4b3a2f !important;
}

.private-events-grid .detail-text strong {
    color: #6b1e1e !important;
}

/* smoother transition into RSVP section */
#rsvp {
    margin-top: 0 !important;
    padding-top: 4rem !important;
    border-top: 1px solid rgba(212,175,55,0.2);
}

/* ===== GALLERY SECTION ===== */

#gallery {
    padding: 6rem 1rem;
    background:
        linear-gradient(rgba(253,248,238,0.94), rgba(253,248,238,0.94)),
        url('/images/Sacred_BKG.jpeg') center/cover no-repeat;
}

.gallery-header {
    text-align: center;
    margin-bottom: 3rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    overflow: hidden;
    border-radius: 1rem;
    background: white;
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Mobile */
@media only screen and (max-width: 768px) {

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .gallery-item img {
        max-height: 420px;
    }
}
/* ===== FINAL PUBLIC PAGE REFINEMENTS ===== */

/* 1. Bigger main title/logo */
.logo {
    font-size: 2rem !important;
}

/* 3. More gap below Telugu asmath text */
.guru-text {
    margin-bottom: 2rem !important;
    color: #5b1d1d !important;
}

/* 4. Bigger first-page date */
.date-display {
    font-size: 2rem !important;
}

/* 5. Normal sentence case for heartfelt text */
.sub-heading {
    text-transform: none !important;
    letter-spacing: 0.08em !important;
    font-size: 1.15rem !important;
    line-height: 1.6 !important;
}

/* 7. RSVP deadline visibility */
.rsvp-deadline {
   font-size: 1.45rem !important;
   font-weight: 700 !important;
   color: #f0d48a !important;
   text-decoration: underline;
   text-decoration-thickness: 2px;
   text-underline-offset: 5px;
   letter-spacing: 0.02em;
   line-height: 1.5;
}
@media only screen and (max-width: 768px) {
   .rsvp-deadline {
       font-size: 1.7rem !important;
   }
}

/* 8. Gallery subtitle dark */
#gallery .subtitle-gold,
.gallery-header .subtitle-gold {
    color: #5b1d1d !important;
}

/* 9. Footer Telugu better wrapping */
.footer-quote {
    line-height: 1.7 !important;
}

/* 10. Mobile private event link/nav spacing */
@media only screen and (max-width: 768px) {
    .logo {
        font-size: 1.45rem !important;
    }

    .date-display {
        font-size: 1.35rem !important;
    }

    .sub-heading {
        font-size: 0.95rem !important;
        letter-spacing: 0.04em !important;
    }
}

/* Hide mobile actions on desktop */
.mobile-actions {
    display: none !important;
}

/* Show only on mobile/tablet */
@media only screen and (max-width: 768px) {
    .mobile-actions {
        display: flex !important;
        gap: 0.5rem;
        align-items: center;
        justify-content: flex-end;
        flex-wrap: nowrap;
    }

    .mobile-actions .btn-outline-sm {
        font-size: 0.65rem !important;
        padding: 0.25rem 0.45rem !important;
        white-space: nowrap;
        line-height: 1.1;
    }
}
/* ===== Private Page Top Buttons ===== */

/* ===== Elegant Private Mobile Nav ===== */

.private-top-nav {
    position: fixed !important;
    top: 1rem !important;
    right: 1rem !important;
    z-index: 999999 !important;

    display: flex !important;
    gap: 0.75rem !important;
}

.private-nav-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    background: rgba(255, 253, 248, 0.96) !important;
    backdrop-filter: blur(8px);

    color: #5b1d1d !important;

    border: 1px solid rgba(91, 29, 29, 0.22) !important;

    border-radius: 999px !important;

    padding: 0.65rem 1rem !important;

    font-size: 0.82rem !important;
    font-weight: 700 !important;

    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;

    box-shadow:
        0 6px 18px rgba(0,0,0,0.10),
        0 2px 6px rgba(0,0,0,0.06);

    transition: all 0.25s ease;
}

.private-nav-btn:hover {
    background: #5b1d1d !important;
    color: white !important;
}

/* Mobile */
@media only screen and (max-width: 768px) {

    .private-top-nav {
        top: 0.85rem !important;
        right: 0.85rem !important;
        gap: 0.55rem !important;
    }

    .private-nav-btn {
        padding: 0.55rem 0.9rem !important;

        font-size: 0.78rem !important;

        min-width: 72px;
    }
}

/* ===== Private RSVP Enhancements ===== */

/* Bigger RSVP deadline text */
.rsvp-deadline,
.rsvp-note,
.rsvp-subtext {
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: var(--gold-400) !important;
    line-height: 1.6 !important;
}

/* Accommodation helper text */
.accommodation-note {
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: #5b4636 !important;
    line-height: 1.6 !important;
    margin-bottom: 1rem !important;
}

/* ===== Private Events Mobile Full-Screen Feel ===== */

@media only screen and (max-width: 768px) {

    .private-events-hero {
        min-height: 100vh !important;
        padding: 4.5rem 1.25rem 3rem !important;
        display: flex !important;
        align-items: center !important;
    }

    .private-events-hero .container {
        width: 100% !important;
    }

    .private-events-header {
        margin-bottom: 1.75rem !important;
    }

    .private-events-header h1 {
        font-size: 2.4rem !important;
        line-height: 1.1 !important;
    }

    .private-events-header p {
        font-size: 1.05rem !important;
        line-height: 1.45 !important;
    }

    .private-events-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .private-events-grid .detail-card {
        padding: 1.35rem 1.25rem !important;
        min-height: auto !important;
    }

    .private-events-grid .detail-card h3 {
        font-size: 1.55rem !important;
        margin-bottom: 0.75rem !important;
    }

    .private-events-grid .detail-text {
        font-size: 0.98rem !important;
        line-height: 1.45 !important;
    }

    .private-events-grid .detail-text p {
        margin-bottom: 0.45rem !important;
    }

    #rsvp {
        min-height: 100vh !important;
        padding-top: 4rem !important;
    }
}
.private-home-link {
    display: block;
    text-decoration: none !important;
    color: inherit !important;
}

.private-home-link:hover {
    opacity: 0.92;
}

.private-home-link h1 {
    transition: all 0.25s ease;
}

.private-home-link:hover h1 {
    color: #c8a44d;
}

@media only screen and (max-width: 768px) {

    .private-events-hero {
        min-height: 100vh !important;
        padding: 5rem 1rem 3rem !important;
    }

    .private-events-header h1 {
        font-size: 2.8rem !important;
        line-height: 1.1 !important;
    }

    .private-events-header p {
        font-size: 1.2rem !important;
        line-height: 1.45 !important;
        max-width: 95% !important;
        margin: 0 auto !important;
    }

    .details-grid.private-events-grid,
    .private-events-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: 1.25rem !important;
    }

    .private-events-grid .detail-card {
        width: 100% !important;
        max-width: 100% !important;
        padding: 1.6rem 1.4rem !important;
    }

    .private-events-grid .detail-card h3 {
        font-size: 1.9rem !important;
    }

    .private-events-grid .detail-text {
        font-size: 1.08rem !important;
        line-height: 1.55 !important;
    }

    .rsvp-card {
        width: 92vw !important;
        max-width: 92vw !important;
        padding: 2rem 1.4rem !important;
    }

    #rsvp .section-title {
        font-size: 2.4rem !important;
    }
}
@media only screen and (max-width: 768px) {
    .private-login-page #rsvp {
        min-height: 100vh !important;
        display: flex !important;
        align-items: center !important;
        padding: 2rem 1rem !important;
    }

    .private-login-page .rsvp-card {
        width: 92vw !important;
        max-width: 92vw !important;
        padding: 2.5rem 1.75rem !important;
    }

    .private-login-page .form-title {
        font-size: 2.4rem !important;
    }
}
/* ===== Private Login Full Screen Fix ===== */
.private-login-page {
   min-height: 100vh !important;
   background: #42080e !important;
}
.private-login-page #rsvp {
   min-height: 100vh !important;
   background: #42080e !important;
   display: flex !important;
   align-items: center !important;
   justify-content: center !important;
   padding: 2rem 1rem !important;
}
.private-login-page .container {
   width: 100% !important;
}
.private-login-page .rsvp-card {
   width: 94vw !important;
   max-width: 94vw !important;
   padding: 3.5rem 2rem !important;
   border-radius: 1.25rem !important;
   box-shadow:
       0 20px 50px rgba(0,0,0,0.18),
       0 8px 24px rgba(0,0,0,0.12) !important;
}
.private-login-page .form-title {
   font-size: 2.8rem !important;
   margin-bottom: 2.5rem !important;
}
.private-login-page label {
   font-size: 1.05rem !important;
   font-weight: 600 !important;
}
.private-login-page input[type="password"] {
   font-size: 1.25rem !important;
   min-height: 64px !important;
}
.private-login-page .btn-primary {
   font-size: 1rem !important;
   padding: 1rem 2.25rem !important;
}
/* ===== Private Events Mobile Scale-Up ===== */
@media only screen and (max-width: 768px) {
   html {
       font-size: 18px !important;
   }
   .private-events-hero {
       padding: 6rem 1.25rem 4rem !important;
   }
   .private-events-header {
       margin-bottom: 2.5rem !important;
   }
   .private-events-header h1 {
       font-size: 3.2rem !important;
       line-height: 1.05 !important;
   }
   .private-events-header p {
       font-size: 1.25rem !important;
       line-height: 1.6 !important;
       max-width: 95% !important;
       margin: 0 auto !important;
   }
   .private-events-grid {
       gap: 1.75rem !important;
   }
   .private-events-grid .detail-card {
       padding: 2rem 1.6rem !important;
       border-radius: 1.1rem !important;
   }
   .private-events-grid .detail-card h3 {
       font-size: 2rem !important;
       margin-bottom: 1rem !important;
   }
   .private-events-grid .detail-text {
       font-size: 1.15rem !important;
       line-height: 1.7 !important;
   }
   #rsvp {
       padding-top: 5rem !important;
       padding-bottom: 5rem !important;
   }
   #rsvp .section-title {
       font-size: 3rem !important;
       margin-bottom: 0.5rem !important;
   }
   .rsvp-deadline {
       font-size: 1.5rem !important;
       margin-bottom: 2rem !important;
   }
   .rsvp-card {
       width: 94vw !important;
       max-width: 94vw !important;
       padding: 2.5rem 1.75rem !important;
       border-radius: 1.25rem !important;
   }
   .rsvp-card label,
   .rsvp-card p,
   .rsvp-card li {
       font-size: 1.08rem !important;
       line-height: 1.6 !important;
   }
   .rsvp-card input,
   .rsvp-card select,
   .rsvp-card textarea {
       font-size: 1.08rem !important;
       min-height: 56px !important;
   }
   .rsvp-card textarea {
       min-height: 140px !important;
   }
   .btn-primary {
       min-height: 56px !important;
       font-size: 1rem !important;
       padding: 0.9rem 2rem !important;
   }
}
/* ===== RSVP Success Message Visibility Fix ===== */
#success-message,
#private-success-message {
   background: #ffffff !important;
   color: #42080e !important;
   padding: 2rem !important;
   border-radius: 1rem !important;
   text-align: center !important;
   box-shadow: 0 10px 30px rgba(0,0,0,0.12) !important;
}
#success-message h3,
#private-success-message h3 {
   color: #42080e !important;
   font-size: 2rem !important;
   margin-bottom: 1rem !important;
}
#success-message p,
#private-success-message p {
   color: #5b1a22 !important;
   font-size: 1.1rem !important;
   line-height: 1.6 !important;
}
/* ===== Private Page Navbar ===== */

.navbar {

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    z-index: 1000;

    background: rgba(255,255,255,0.92);

    backdrop-filter: blur(10px);

    border-bottom: 1px solid rgba(139, 69, 19, 0.08);

}

.nav-container {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 1rem 1.5rem;

}

.logo {

    font-family: 'Cormorant Garamond', serif;

    font-size: 2.2rem;

    font-weight: 700;

    color: #42080e;

    text-decoration: none;

    letter-spacing: 0.03em;

}

.desktop-nav {

    display: flex;

    gap: 1.5rem;

}

.desktop-nav a {

    color: #42080e;

    text-decoration: none;

    font-weight: 600;

    letter-spacing: 0.05em;

    transition: color 0.25s ease;

}

.desktop-nav a:hover {

    color: #c8a44d;

}

/* Push content below fixed navbar */

.private-events-hero,

#rsvp {

    scroll-margin-top: 100px;

}

body {

    padding-top: 90px;

}

/* Mobile */

@media only screen and (max-width: 768px) {

    .nav-container {

        padding: 0.9rem 1rem;

    }

    .logo {

        font-size: 2rem;

        line-height: 1;

    }

    .desktop-nav {

        gap: 1rem;

    }

    .desktop-nav a {

        font-size: 0.9rem;

    }

    body {

        padding-top: 78px;

    }

}
/* ===== Private Navbar Mobile Fix ===== */
@media only screen and (max-width: 768px) {

    .nav-container {

        display: flex !important;

        align-items: center !important;

        justify-content: space-between !important;

        padding: 0.85rem 0.8rem !important;

        gap: 0.55rem !important;

    }

    .logo {

        font-size: 1.65rem !important;

        white-space: nowrap !important;

        flex: 1 1 auto !important;

        min-width: 0 !important;

        overflow: visible !important;

        text-overflow: unset !important;

        line-height: 1 !important;

        letter-spacing: 0.01em !important;

    }

    .desktop-nav {

        display: flex !important;

        gap: 0.4rem !important;

        flex-shrink: 0 !important;

    }

    .desktop-nav a {

        font-size: 0.72rem !important;

        padding: 0.42rem 0.65rem !important;

        border-radius: 0.45rem !important;

        white-space: nowrap !important;

    }

}
 
.rsvp-action-row {
   display: flex;
   gap: 1rem;
   justify-content: center;
   flex-wrap: wrap;
}
.btn-secondary {
   background-color: transparent;
   color: var(--maroon-900);
   padding: 0.75rem 2rem;
   border: 1px solid var(--maroon-900);
   font-family: var(--font-serif);
   text-transform: uppercase;
   letter-spacing: 0.1em;
   cursor: pointer;
   min-height: 44px;
}
.btn-secondary:hover {
   background-color: var(--maroon-900);
   color: white;
}

.rsvp-action-row {
   display: flex;
   gap: 1rem;
   justify-content: center;
   align-items: center;
   flex-wrap: wrap;
}

.rsvp-action-row {
   display: flex;
   flex-direction: column;
   gap: 1rem;
   align-items: center;
   width: 100%;
   margin-top: 2rem;
}
.rsvp-action-row .btn-primary,
.rsvp-action-row .btn-decline {
   width: 100%;
   max-width: 420px;
   min-height: 58px;
   display: flex;
   align-items: center;
   justify-content: center;
   background-color: var(--maroon-900) !important;
   color: #fffdf8 !important;
   border: 1px solid var(--gold-500) !important;
   font-family: var(--font-serif);
   font-size: 1rem;
   letter-spacing: 0.18em;
   text-transform: uppercase;
   padding: 1rem 2rem;
   box-shadow: 0 4px 14px rgba(0,0,0,0.15);
   transition: all 0.3s ease;
}
.rsvp-action-row .btn-primary:hover,
.rsvp-action-row .btn-decline:hover {
   transform: translateY(-2px);
   opacity: 0.95;
}
.venue-link {
   color: inherit;
   text-decoration: underline;
   text-decoration-color: #c9a227;
   text-underline-offset: 4px;
   transition: opacity 0.3s ease;
}
.venue-link:hover {
   opacity: 0.7;
}
.venue-link,
.venue-link:visited,
.venue-link:active {
   color: #6d0015;
   text-decoration: underline;
   text-decoration-color: #c9a227;
   text-underline-offset: 4px;
}
.venue-link:hover {
   opacity: 0.75;
}