/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-red: #d60606;
    --dark-red: #a00505;
    --gold: #D4A017;
    --light-gold: #FFD700;
    --cream: #FFF8E7;
    --dark-brown: #2D1400;
    --text-dark: #333;
    --text-light: #fff;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--cream);
    color: var(--text-dark);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5 {
    font-family: 'Tiro Devanagari Hindi', serif;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== TOP BAR ===== */
.top-bar {
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    color: var(--light-gold);
    padding: 10px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar .marquee-text {
    flex: 1;
    overflow: hidden;
}

.top-bar .marquee-text span {
    display: inline-block;
    animation: marquee 25s linear infinite;
    white-space: nowrap;
}

@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.top-bar .social-links a {
    color: var(--light-gold);
    margin-left: 12px;
    font-size: 16px;
    transition: transform 0.3s;
}

.top-bar .social-links a:hover {
    transform: scale(1.3);
    color: #fff;
}

/* ===== HEADER ===== */
.header {
    background: linear-gradient(135deg, #fff8e7, #fff3cd, #ffe4b5);
    border-bottom: 4px solid var(--primary-red);
    padding: 15px 0;
    position: relative;
}

.header::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--light-gold), var(--gold), var(--light-gold));
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    height: 80px;
    width: auto;
}

.logo-text h1 {
    font-size: 28px;
    color: var(--primary-red);
    line-height: 1.2;
}

.logo-text p {
    font-size: 13px;
    color: #d4380d;
    font-weight: 500;
}

.header-right {
    text-align: right;
}

.header-right .guru-info {
    background: linear-gradient(135deg, var(--primary-red), #8B0000);
    color: var(--light-gold);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 13px;
    display: inline-block;
    margin-bottom: 5px;
}

.header-right .contact-info {
    font-size: 12px;
    color: #666;
}

.header-right .contact-info i {
    color: var(--primary-red);
    margin-right: 5px;
}

/* ===== NAVIGATION ===== */
.navbar {
    background: linear-gradient(135deg, var(--primary-red), #b22222, var(--primary-red));
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.navbar .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 0;
}

.nav-links li a {
    display: block;
    padding: 15px 18px;
    color: var(--light-gold);
    font-weight: 500;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    position: relative;
}

.nav-links li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--light-gold);
    transition: all 0.3s;
    transform: translateX(-50%);
}

.nav-links li a:hover {
    background: rgba(255, 215, 0, 0.15);
}

.nav-links li a:hover::before {
    width: 70%;
}

.nav-links li a.active {
    background: rgba(255, 215, 0, 0.2);
}

.nav-links li a.active::before {
    width: 70%;
}

.hamburger {
    display: none;
    font-size: 24px;
    color: var(--light-gold);
    cursor: pointer;
    padding: 15px;
}

/* ===== SECTION STYLES ===== */
.section {
    padding: 70px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header .om {
    font-family: 'Tiro Devanagari Hindi', serif;
    font-size: 36px;
    color: var(--primary-red);
}

.section-header h2 {
    font-size: 34px;
    color: var(--primary-red);
    margin: 10px 0;
}

.section-header .subtitle {
    font-size: 16px;
    color: #888;
    font-weight: 300;
}

.section-header .divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.section-header .divider span {
    height: 2px;
    width: 60px;
    background: linear-gradient(to right, transparent, var(--primary-red));
}

.section-header .divider span:last-child {
    background: linear-gradient(to left, transparent, var(--primary-red));
}

.section-header .divider i {
    color: var(--primary-red);
    font-size: 20px;
}

/* ===== BUTTON STYLES ===== */
.btn-primary {
    display: inline-block;
    padding: 14px 35px;
    background: linear-gradient(135deg, var(--primary-red), #d4380d);
    color: var(--light-gold);
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(212, 56, 13, 0.5);
}

.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-secondary:hover {
    background: var(--primary-red);
    color: var(--light-gold);
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
    background: linear-gradient(135deg, var(--primary-red), #b22222);
    padding: 20px 0;
    color: var(--light-gold);
}

.breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.breadcrumb a {
    color: var(--light-gold);
    opacity: 0.8;
    transition: opacity 0.3s;
}

.breadcrumb a:hover {
    opacity: 1;
}

.breadcrumb span {
    opacity: 0.6;
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, var(--dark-brown), #1a0a00);
    color: #cc9966;
    padding: 70px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.footer-col h3 {
    font-family: 'Tiro Devanagari Hindi', serif;
    color: var(--light-gold);
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-red);
}

.footer-about p {
    line-height: 1.8;
    font-size: 14px;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-gold);
    transition: all 0.3s;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.footer-social a:hover {
    background: var(--primary-red);
    transform: translateY(-3px);
}

.footer-col ul li {
    padding: 6px 0;
}

.footer-col ul li a {
    font-size: 14px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul li a::before {
    content: '🪷';
    font-size: 10px;
}

.footer-col ul li a:hover {
    color: var(--light-gold);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
}

.footer-contact li i {
    color: var(--primary-red);
    margin-top: 4px;
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: #886644;
}

.footer-bottom .heart {
    color: var(--primary-red);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-red), #d4380d);
    color: var(--light-gold);
    border: 2px solid var(--light-gold);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    z-index: 999;
    transition: all 0.3s;
}

.back-to-top.show {
    display: flex;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(212, 56, 13, 0.5);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, var(--primary-red), #b22222);
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        max-height: 70vh;
        overflow-y: auto;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li a {
        padding: 14px 25px;
        border-bottom: 1px solid rgba(255,215,0,0.1);
        font-size: 14px;
    }

    .navbar .container {
        justify-content: space-between;
    }

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

    .logo-section {
        flex-direction: column;
    }

    .logo-icon {
        height: 60px;
    }

    .logo-text h1 {
        font-size: 22px;
    }

    .logo-text p {
        font-size: 12px;
    }

    .header-right {
        text-align: center;
    }

    .header-right .guru-info {
        font-size: 11px;
        padding: 6px 15px;
    }

    .header-right .contact-info {
        font-size: 11px;
    }

    .section {
        padding: 40px 0;
    }

    .section-header {
        margin-bottom: 30px;
    }

    .section-header .om {
        font-size: 28px;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .section-header .subtitle {
        font-size: 14px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer {
        padding: 40px 0 0;
    }

    .footer-col h3 {
        font-size: 18px;
    }

    .footer-about p {
        font-size: 13px;
    }

    .footer-col ul li a {
        font-size: 13px;
    }

    .footer-contact li {
        font-size: 13px;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .top-bar .container {
        flex-direction: column;
        gap: 5px;
        padding: 8px 10px;
    }

    .top-bar .marquee-text span {
        font-size: 12px;
    }

    .top-bar .social-links a {
        font-size: 14px;
        margin-left: 8px;
    }

    .header .container {
        padding: 8px 10px;
    }

    .logo-text h1 {
        font-size: 18px;
    }

    .logo-icon {
        height: 50px;
    }

    .section {
        padding: 30px 0;
    }

    .section-header h2 {
        font-size: 20px;
    }

    .section-header .om {
        font-size: 24px;
    }

    .btn-primary {
        padding: 12px 25px;
        font-size: 14px;
    }

    .btn-secondary {
        padding: 10px 22px;
        font-size: 13px;
    }

    .container {
        padding: 0 12px;
    }
}
