﻿

:root {
    --primary-orange: #f26522;
    --primary-hover: #d84e0e;
    --primary-light: #fff5ee;
    --dark-text: #1a1a1a;
    --nav-link-color: #383838;
    --border-color: #f0ece9;
    --bg-light: #fcfbf9;
    --white: #ffffff;
    --footer-bg: #181211;
    --shadow-sm: 0 4px 15px rgba(0,0,0,0.04);
    --shadow-dropdown: 0 14px 35px rgba(0,0,0,0.08);
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-light);
    color: #4a4a4a;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Top Strip */
.top-strip {
    background: #73130d;
    color: #ffeedd;
    font-size: 0.78rem;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.top-strip-inner {
    width: 95%;
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-strip a {
    color: #ffdcc7;
    margin-left: 15px;
}

    .top-strip a:hover {
        color: #fff;
    }

/* Header */
.header-nav-wrapper {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(8px);
}

.nav-container {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

/* Logo & Branding - Strictly Sadguru Shri Riteshwar Ji */
.brand-logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.brand-emblem {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 2px solid var(--primary-orange);
    background: #fff8f3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-orange);
    font-size: 1.45rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(242, 101, 34, 0.15);
    flex-shrink: 0;
}

.brand-titles {
    display: flex;
    flex-direction: column;
}

.brand-main-title {
   /* font-size: 1.35rem;*/
    font-weight: 700;
    color: var(--primary-orange);
    letter-spacing: -0.3px;
    line-height: 1.15;
    font-family: 'Cinzel', serif;
    white-space: nowrap;
}

.brand-sub-title {
    font-size: 0.65rem;
    color: #8c827a;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 3px;
    white-space: nowrap;
}

/* Desktop Navigation List */
.desktop-nav {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 15px;
    height: 100%;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

    .nav-item > a {
        font-size: 16px;
        font-weight: 700;
        color: #4d2315;
        padding: 0 13px;
        height: 100%;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        white-space: nowrap;
        position: relative;
    }

        .nav-item > a:hover {
            color: var(--primary-orange);
        }

        .nav-item > a.active {
            color: var(--primary-orange);
            font-weight: 600;
        }

         /*   .nav-item > a.active::after {
                content: '';
                position: absolute;
                bottom: 0;
                left: 12px;
                right: 12px;
                height: 3px;
                background: var(--primary-orange);
                border-radius: 4px 4px 0 0;
            }
*/
.dropdown-icon {
    font-size: 0.7rem;
    transition: var(--transition);
    color: #999;
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 230px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-dropdown);
    padding: 8px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1100;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-item:hover .dropdown-icon {
    transform: rotate(180deg);
    color: var(--primary-orange);
}

.dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    font-size: 0.86rem;
    font-weight: 500;
    color: #444;
    border-radius: 8px;
    white-space: nowrap;
}

    .dropdown-menu li a:hover {
        background: var(--primary-light);
        color: var(--primary-orange);
        transform: translateX(4px);
    }

.donate-pill a {
    color: var(--primary-orange) !important;
    font-weight: 600 !important;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.btn-login {
    background: var(--primary-orange);
    color: #fff !important;
    padding: 9px 15px;
    border-radius: 30px;
    font-size: 0.88rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(242, 101, 34, 0.28);
    transition: var(--transition);
}

    .btn-login:hover {
        background: var(--primary-hover);
        box-shadow: 0 6px 16px rgba(242, 101, 34, 0.38);
        transform: translateY(-2px);
    }

.hamburger-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.55rem;
    color: #222;
    cursor: pointer;
    padding: 6px;
    line-height: 1;
}

/* Mobile Drawer */
.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    z-index: 1998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

    .drawer-overlay.active {
        opacity: 1;
        visibility: visible;
    }

.mobile-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 95vh;
    background: var(--white);
    z-index: 1999;
    box-shadow: -5px 0 25px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

    .mobile-drawer.active {
        right: 0;
    }

.drawer-header {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f0f0f0;
}

.drawer-close {
    background: none;
    border: none;
    font-size: 1.4rem;
    color: #666;
    cursor: pointer;
}

.mobile-nav-list {
    list-style: none;
    padding: 15px 0;
    margin: 0;
}

.mobile-nav-item > a {
    display: inline-block;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    font-size: 0.92rem;
    font-weight: 500;
    color: #333;
    border-left: 3px solid transparent;
}

    .mobile-nav-item > a:hover,
    .mobile-nav-item > a.active {
        color: var(--primary-orange);
        background: var(--primary-light);
        border-left-color: var(--primary-orange);
    }

.mobile-sub-menu {
    display: none;
    list-style: none;
    background: #faf8f6;
    padding: 6px 0;
    margin: 0;
}

    .mobile-sub-menu li a {
        display: block;
        padding: 9px 24px 9px 38px;
        font-size: 0.85rem;
        color: #666;
    }

        .mobile-sub-menu li a:hover {
            color: var(--primary-orange);
        }

.mobile-nav-item.open .mobile-sub-menu {
    display: block;
}

.drawer-footer {
    padding: 20px;
    margin-top: auto;
    border-top: 1px solid #f0f0f0;
}

/* Footer */
footer {
    background: var(--footer-bg);
    color: #b8aba6;
    padding: 65px 0 25px;
    font-size: 0.88rem;
}

.footer-container {
    width: 92%;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.3fr;
    gap: 35px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 18px;
    font-size: 1.05rem;
    position: relative;
}

    .footer-col h4::after {
        content: '';
        position: absolute;
        bottom: -6px;
        left: 0;
        width: 30px;
        height: 2px;
        background: var(--primary-orange);
    }

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .footer-col ul li {
        margin-bottom: 10px;
    }

        .footer-col ul li a:hover {
            color: var(--primary-orange);
            padding-left: 4px;
        }

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    font-size: 0.82rem;
    color: #8c7e7a;
}

/* Responsive */
@media (max-width: 1240px) {
    .nav-item > a {
        padding: 0 8px;
        font-size: 0.84rem;
    }

    .brand-main-title {
      /*  font-size: 1.15rem;*/
    }
}

@media (max-width: 1080px) {
    .desktop-nav, .header-actions {
        display: none;
    }

    .hamburger-btn {
        display: block;
    }

    .top-strip {
        display: none;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .brand-sub-title {
        display: none;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .nav-container {
        height: 80px;
    }
}

