/* ==========================================================================
   CENTRALIZED STYLESHEET - SHREE RENUKA MATA MANDIR
   Features:
   - Gold & Deep Saffron Spiritual Palette
   - Hero Background Overlay for Banner Image
   - Responsive Hamburger / Mobile Drawer Menu
   - Branded Header & Footer Social Icons (FB, Instagram, YouTube)
   - Micro-animations (Glow, Pulse, Scroll Reveal)
   ========================================================================== */

:root {
    --primary: #b72b00;
    --primary-dark: #871f00;
    --primary-light: #e64a19;
    --gold: #d4af37;
    --gold-glow: #ffd700;
    --gold-light: #fef5d8;
    --saffron-bg: #fff8f0;
    --dark: #1b1614;
    --dark-alt: #29221e;
    --text-main: #2b2420;
    --text-muted: #6b5e56;
    --white: #ffffff;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 16px 36px rgba(183, 43, 0, 0.18);
    --border-radius: 12px;
    --transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Mukta', 'Noto Sans Marathi', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--saffron-bg);
    color: var(--text-main);
    line-height: 1.75;
    overflow-x: hidden;
}

/* ==========================================================================
   TOP BAR & SOCIAL ICONS
   ========================================================================== */
.top-bar {
    background: linear-gradient(90deg, #1b1614 0%, #2e1d17 100%);
    color: #e2ddd9;
    padding: 9px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13.5px;
    border-bottom: 2px solid var(--gold);
}

.top-bar .info-item {
    margin-right: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.top-bar .info-item i {
    color: var(--gold-glow);
}

.top-social-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.top-social-links .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.top-social-links .social-icon:hover {
    transform: translateY(-2px) scale(1.1);
}

.top-social-links .social-icon.fb:hover {
    background: #1877f2;
    border-color: #1877f2;
    box-shadow: 0 0 10px rgba(24, 119, 242, 0.6);
}

.top-social-links .social-icon.insta:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
    border-color: #d6249f;
    box-shadow: 0 0 10px rgba(214, 36, 159, 0.6);
}

.top-social-links .social-icon.yt:hover {
    background: #ff0000;
    border-color: #ff0000;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.6);
}

/* ==========================================================================
   MAIN NAVBAR & HAMBURGER
   ========================================================================== */
.main-header {
    background: linear-gradient(135deg, #a32400 0%, #7d1b00 50%, #5c1400 100%);
    padding: 14px 30px;
    position: sticky;
    top: 0;
    z-index: 9999;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: #fff;
    z-index: 10001;
}

.brand-icon-wrapper {
    width: 48px;
    height: 48px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, rgba(183, 43, 0, 0.8) 100%);
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
    animation: pulseGlow 3s infinite alternate;
}

.brand-icon {
    font-size: 26px;
    color: var(--gold-glow);
}

.brand-title h1 {
    font-size: 19px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.brand-title span {
    font-size: 11.5px;
    color: #ffe0b2;
    display: block;
    opacity: 0.95;
}

/* Hamburger Toggle Button (Default hidden on desktop) */
.menu-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 215, 0, 0.4);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    padding: 8px 14px;
    border-radius: 8px;
    transition: var(--transition);
    z-index: 10001;
}

.menu-toggle:hover {
    background: var(--gold);
    color: var(--dark);
}

/* Desktop Navigation Menu */
.nav-menu {
    list-style: none;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    align-items: center;
}

.nav-menu li a {
    color: #fff;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 6px;
    transition: var(--transition);
    white-space: nowrap;
    display: inline-block;
    position: relative;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0%;
    height: 2px;
    background: var(--gold-glow);
    transition: var(--transition);
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
    width: 80%;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    background-color: rgba(255, 255, 255, 0.16);
    color: var(--gold-light);
}

/* ==========================================================================
   HERO SECTION (CUSTOM IMAGE BACKGROUND + OVERLAY)
   ========================================================================== */
.hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 85px 20px;
    background: url('../images/hero-banner.jpg') center center / cover no-repeat;
    color: #ffffff;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg, 
        rgba(25, 10, 5, 0.85) 0%, 
        rgba(135, 31, 0, 0.75) 50%, 
        rgba(18, 6, 2, 0.88) 100%
    );
    z-index: 1;
}

.hero-overlay-glow {
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.22) 0%, rgba(255, 215, 0, 0) 70%);
    pointer-events: none;
    z-index: 2;
    animation: floatGlow 6s infinite ease-in-out;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 920px;
    margin: 0 auto;
}

.hero-deity-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 215, 0, 0.18);
    border: 1.5px solid var(--gold-glow);
    padding: 7px 22px;
    border-radius: 30px;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--gold-glow);
    margin-bottom: 18px;
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
}

.hero h2 {
    font-size: 2.85rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.25;
    color: #ffffff;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.7);
}

.hero p {
    font-size: 1.22rem;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: #fff2e3;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    font-weight: 500;
}

.hero-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14.5px;
    letter-spacing: 0.3px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-gold {
    background: linear-gradient(135deg, #ffd700 0%, #d4af37 100%);
    color: #1b1614;
    box-shadow: 0 6px 18px rgba(212, 175, 55, 0.4);
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(255, 215, 0, 0.6);
    color: #000;
}

.btn-outline {
    background: rgba(255, 255, 255, 0.12);
    border: 2px solid #ffffff;
    color: #ffffff;
    backdrop-filter: blur(4px);
}

.btn-outline:hover {
    background: #ffffff;
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   CONTAINER & SECTION HEADINGS
   ========================================================================== */
.container {
    max-width: 1220px;
    margin: 0 auto;
    padding: 55px 20px;
}

.section-head {
    text-align: center;
    margin-bottom: 42px;
    position: relative;
}

.section-badge {
    display: inline-block;
    background: #ffe3d1;
    color: var(--primary);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
    border: 1px solid rgba(183, 43, 0, 0.2);
}

.section-head h2 {
    color: var(--primary);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.3;
}

.section-head p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-top: 6px;
}

.section-head::after {
    content: '॥ ॐ ॥';
    display: block;
    margin: 12px auto 0 auto;
    color: var(--gold);
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 2px;
}

/* ==========================================================================
   CARDS & GRIDS
   ========================================================================== */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 26px;
}

.card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 30px 26px;
    box-shadow: var(--shadow-soft);
    border: 1px solid #fae8d8;
    border-top: 5px solid var(--primary);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-top-color: var(--gold);
}

.card h3 {
    color: var(--primary);
    font-size: 1.35rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.card h3 i {
    color: var(--gold);
}

.excerpt-box {
    background: linear-gradient(135deg, #ffffff 0%, #fff6ed 100%);
    border-left: 6px solid var(--primary);
    border-radius: var(--border-radius);
    padding: 32px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.excerpt-box::after {
    content: 'ॐ';
    position: absolute;
    right: 20px;
    bottom: -20px;
    font-size: 140px;
    color: rgba(212, 175, 55, 0.07);
    font-weight: 800;
    pointer-events: none;
}

.read-more-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    font-size: 15.5px;
    transition: var(--transition);
}

.read-more-link:hover {
    color: var(--primary-dark);
    transform: translateX(6px);
}

.timing-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed #ecdcd0;
    font-size: 0.98rem;
}

.timing-row:last-child {
    border-bottom: none;
}

.tag-badge {
    background: #ffe3d1;
    color: var(--primary);
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.88rem;
    border: 1px solid rgba(183, 43, 0, 0.15);
}

.package-card {
    text-align: center;
    border: 1px solid #fae1dd;
}

.package-card .price {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--primary);
    margin: 14px 0 12px 0;
}

.package-features {
    list-style: none;
    margin: 18px 0 24px 0;
    text-align: left;
    font-size: 0.95rem;
}

.package-features li {
    padding: 8px 0;
    border-bottom: 1px solid #f7ece5;
    display: flex;
    align-items: center;
    gap: 8px;
}

.package-features li i {
    color: #2e7d32;
    font-size: 13px;
}

.bank-details-box {
    background: linear-gradient(135deg, #ffffff 0%, #fffdf9 100%);
    border: 2px dashed var(--gold);
    border-radius: var(--border-radius);
    padding: 32px;
    box-shadow: var(--shadow-soft);
}

.bank-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.bank-field {
    background: #fff;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #faeedf;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.bank-field small {
    display: block;
    color: var(--text-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.bank-field strong {
    font-size: 16px;
    color: var(--dark);
}

/* ==========================================================================
   TIMELINE, PROFILES & GALLERY
   ========================================================================== */
.timeline {
    position: relative;
    padding-left: 35px;
    margin-top: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 8px;
    bottom: 8px;
    width: 3px;
    background: linear-gradient(180deg, var(--gold) 0%, var(--primary) 100%);
}

.timeline-item {
    position: relative;
    margin-bottom: 35px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -29px;
    top: 6px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--gold-glow);
    border: 3px solid var(--primary);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}

.timeline-year {
    font-weight: 800;
    color: var(--primary);
    font-size: 1.15rem;
    margin-bottom: 6px;
}

.profile-card {
    text-align: center;
    padding: 32px 20px;
}

.profile-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #fff0e0;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    margin: 0 auto 18px auto;
    border: 3px solid var(--gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.profile-card h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.profile-card .designation {
    color: var(--primary);
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.event-item {
    display: flex;
    gap: 24px;
    background: #fff;
    border-radius: var(--border-radius);
    padding: 24px;
    margin-bottom: 22px;
    box-shadow: var(--shadow-soft);
    align-items: center;
    border: 1px solid #fae8dc;
    transition: var(--transition);
}

.event-item:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-hover);
    border-left: 5px solid var(--primary);
}

.event-date {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 16px;
    border-radius: 10px;
    text-align: center;
    min-width: 90px;
    box-shadow: 0 4px 12px rgba(183, 43, 0, 0.3);
}

.event-date .day {
    font-size: 1.7rem;
    font-weight: 800;
    display: block;
    line-height: 1;
}

.event-date .month {
    font-size: 0.88rem;
    text-transform: uppercase;
    font-weight: 700;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.filter-btn {
    background: #fff;
    border: 1px solid #dfcfc2;
    padding: 9px 22px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition);
    color: var(--text-main);
}

.filter-btn.active, .filter-btn:hover {
    background: linear-gradient(135deg, var(--primary) 0%, #d83d0a 100%);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 6px 15px rgba(183, 43, 0, 0.3);
    transform: translateY(-2px);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 250px;
    box-shadow: var(--shadow-soft);
    background: #e8ded4;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

.gallery-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(20, 6, 2, 0.9));
    color: #fff;
    padding: 25px 18px 14px 18px;
    font-size: 15px;
    font-weight: 600;
}

/* ==========================================================================
   FOOTER & FOOTER SOCIAL BUTTONS
   ========================================================================== */
footer {
    background: linear-gradient(180deg, #1b1614 0%, #110d0c 100%);
    color: #ccc2bc;
    padding: 60px 20px 25px 20px;
    border-top: 4px solid var(--gold);
}

.footer-inner {
    max-width: 1220px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 18px;
    border-left: 4px solid var(--gold);
    padding-left: 12px;
}

.footer-col p {
    font-size: 0.95rem;
    line-height: 1.85;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #bbb;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-col ul li a:hover {
    color: var(--gold-glow);
    transform: translateX(6px);
}

.footer-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
}

.footer-social-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.footer-social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.footer-social-btn.fb:hover {
    background: #1877f2;
    border-color: #1877f2;
}

.footer-social-btn.insta:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
    border-color: #d6249f;
}

.footer-social-btn.yt:hover {
    background: #ff0000;
    border-color: #ff0000;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #332a24;
    padding-top: 25px;
    font-size: 0.88rem;
    color: #8c827b;
}

/* ==========================================================================
   ANIMATIONS & SCROLL REVEAL
   ========================================================================== */
@keyframes pulseGlow {
    0% { box-shadow: 0 0 10px rgba(255, 215, 0, 0.4); }
    100% { box-shadow: 0 0 25px rgba(255, 215, 0, 0.8); }
}

@keyframes floatGlow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, 20px) scale(1.15); }
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVE DRAWER
   ========================================================================== */
@media screen and (max-width: 992px) {
    .nav-container {
        flex-wrap: wrap;
    }

    .menu-toggle {
        display: block !important;
    }

    .nav-menu {
        display: none !important;
        flex-direction: column !important;
        width: 100% !important;
        background: #6a1600 !important;
        margin-top: 14px !important;
        padding: 10px 0 !important;
        border-radius: 10px !important;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45) !important;
        border: 1px solid rgba(255, 215, 0, 0.25) !important;
        gap: 0 !important;
    }

    .nav-menu.active {
        display: flex !important;
        animation: slideDownMenu 0.3s ease-out forwards;
    }

    .nav-menu li {
        width: 100% !important;
        margin: 0 !important;
    }

    .nav-menu li a {
        display: block !important;
        width: 100% !important;
        padding: 13px 22px !important;
        border-radius: 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        font-size: 15px !important;
    }

    .nav-menu li a::after {
        display: none;
    }

    .nav-menu li:last-child a {
        border-bottom: none !important;
    }

    .top-bar {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        padding: 10px 15px;
    }

    .top-bar .info-item {
        display: block;
        margin: 3px 0;
    }
}

@keyframes slideDownMenu {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media screen and (max-width: 768px) {
    .hero {
        padding: 60px 15px;
        min-height: 440px;
    }
    .hero h2 {
        font-size: 1.95rem;
    }
    .hero p {
        font-size: 1.05rem;
    }
    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
    }
    .event-item {
        flex-direction: column;
        text-align: center;
    }
    .btn-outline {
        margin-left: 0;
        margin-top: 10px;
    }
}