/* ========== DESIGN SYSTEM ========== */
:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: #1a1a1a;
    --bg-card-hover: #222222;
    --gold-primary: #d4a843;
    --gold-light: #f0c75e;
    --gold-dark: #b8860b;
    --gold-accent: #c5962a;
    --gold-text: #e8d5a3;
    --gold-muted: #a08030;
    --gold-glow: rgba(212, 168, 67, 0.3);
    --white: #faf0d7;
    --border-gold: 1px solid rgba(212, 168, 67, 0.25);
    --border-gold-strong: 1px solid rgba(212, 168, 67, 0.5);
    --shadow-gold: 0 0 20px rgba(212, 168, 67, 0.15);
    --shadow-gold-strong: 0 0 40px rgba(212, 168, 67, 0.25);
    --font-heading: 'Cinzel', serif;
    --font-body: 'Poppins', sans-serif;
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scroll-padding-top: 70px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--gold-text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold-light); }
ul { list-style: none; }

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--gold-primary);
    line-height: 1.3;
}

.section-title {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-subtitle {
    text-align: center;
    font-size: 0.85rem;
    color: var(--gold-muted);
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

.ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 2rem;
}

.ornament::before, .ornament::after {
    content: '';
    height: 1px;
    width: 60px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.ornament span {
    color: var(--gold-primary);
    font-size: 1.2rem;
}

/* ========== HEADER ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: var(--border-gold);
    transition: var(--transition);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-brand .om-symbol {
    font-size: 1.6rem;
    color: var(--gold-primary);
    text-shadow: 0 0 10px var(--gold-glow);
}

.header-brand h1 {
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    line-height: 1.4;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Language Selector */
.lang-selector {
    position: relative;
}

.lang-btn {
    background: transparent;
    border: var(--border-gold);
    color: var(--gold-primary);
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.7rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 4px;
}

.lang-btn:hover { background: rgba(212, 168, 67, 0.1); }

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--bg-card);
    border: var(--border-gold-strong);
    border-radius: var(--radius-sm);
    min-width: 150px;
    display: none;
    box-shadow: var(--shadow-gold);
    overflow: hidden;
    z-index: 100;
}

.lang-dropdown.active { display: block; }

.lang-option {
    display: block;
    width: 100%;
    padding: 10px 14px;
    background: none;
    border: none;
    color: var(--gold-text);
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
}

.lang-option:hover { background: rgba(212, 168, 67, 0.1); color: var(--gold-light); }
.lang-option.active { color: var(--gold-primary); font-weight: 600; }

/* Hamburger */
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--gold-primary);
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 300px;
    height: 100vh;
    background: var(--bg-secondary);
    border-left: var(--border-gold);
    padding: 80px 24px 40px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    overflow-y: auto;
}

.mobile-nav.active { right: 0; }

.mobile-nav a {
    display: block;
    padding: 14px 0;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--gold-text);
    border-bottom: var(--border-gold);
    letter-spacing: 1px;
}

.mobile-nav a:hover { color: var(--gold-primary); padding-left: 10px; }

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 998;
    display: none;
}

.nav-overlay.active { display: block; }

/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px 60px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center bottom, rgba(212, 168, 67, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero-image-wrapper {
    position: relative;
    width: 220px;
    height: 280px;
    margin-bottom: 24px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 2px solid var(--gold-dark);
    box-shadow: var(--shadow-gold-strong), 0 0 60px rgba(212, 168, 67, 0.1);
}

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

.hero-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    background: linear-gradient(180deg, transparent 60%, rgba(10, 10, 10, 0.4) 100%);
}

.hero-mantra {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--gold-primary);
    letter-spacing: 4px;
    margin-bottom: 12px;
    text-shadow: 0 0 20px var(--gold-glow);
    animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 10px var(--gold-glow); }
    to { text-shadow: 0 0 30px var(--gold-glow), 0 0 50px rgba(212, 168, 67, 0.1); }
}

.hero-title {
    font-size: 1.4rem;
    letter-spacing: 3px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.hero-location {
    font-size: 0.8rem;
    color: var(--gold-muted);
    margin-bottom: 6px;
    max-width: 320px;
}

.hero-reg {
    font-size: 0.7rem;
    color: var(--gold-muted);
    opacity: 0.7;
    margin-bottom: 24px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-primary));
    color: var(--bg-primary);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold-strong);
    color: var(--bg-primary);
}

.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    font-size: 0.65rem;
    color: var(--gold-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-indicator .arrow {
    width: 16px;
    height: 16px;
    border-right: 2px solid var(--gold-muted);
    border-bottom: 2px solid var(--gold-muted);
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-8px); }
    60% { transform: translateX(-50%) translateY(-4px); }
}

/* ========== SECTIONS ========== */
section { padding: 50px 16px; }

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

/* ========== TODAY'S SECTION (DYNAMIC) ========== */
.today-section {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    border-top: var(--border-gold);
    border-bottom: var(--border-gold);
}

.today-card {
    background: var(--bg-card);
    border: var(--border-gold-strong);
    border-radius: var(--radius);
    padding: 24px 20px;
    text-align: center;
    box-shadow: var(--shadow-gold);
    position: relative;
    overflow: hidden;
}

.today-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.today-date {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--gold-primary);
    margin-bottom: 4px;
}

.today-day {
    font-size: 0.85rem;
    color: var(--gold-light);
    margin-bottom: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.today-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.today-detail-item {
    background: rgba(212, 168, 67, 0.05);
    border: var(--border-gold);
    border-radius: var(--radius-sm);
    padding: 12px;
}

.today-detail-item .label {
    font-size: 0.65rem;
    color: var(--gold-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 4px;
}

.today-detail-item .value {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--gold-primary);
}

.offerings-section {
    margin-top: 20px;
    text-align: left;
}

.offerings-section h4 {
    font-size: 0.9rem;
    margin-bottom: 12px;
    text-align: center;
    letter-spacing: 1.5px;
}

.offering-item {
    background: rgba(212, 168, 67, 0.04);
    border-left: 3px solid var(--gold-dark);
    padding: 12px 14px;
    margin-bottom: 10px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.offering-item .offering-type {
    font-size: 0.7rem;
    color: var(--gold-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 3px;
}

.offering-item .offering-by {
    font-size: 0.85rem;
    color: var(--gold-text);
}

/* ========== ABOUT DEITY ========== */
.about-section { background: var(--bg-primary); }

.about-content {
    max-width: 700px;
    margin: 0 auto;
}

.about-text {
    font-size: 0.9rem;
    line-height: 1.9;
    color: var(--gold-text);
    text-align: center;
    margin-bottom: 16px;
}

/* ========== SCHEDULE ========== */
.schedule-section {
    background: var(--bg-secondary);
}

.schedule-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.schedule-card {
    background: var(--bg-card);
    border: var(--border-gold);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.schedule-card:hover {
    border-color: var(--gold-primary);
    box-shadow: var(--shadow-gold);
}

.schedule-card-header {
    background: linear-gradient(135deg, rgba(212, 168, 67, 0.15), rgba(212, 168, 67, 0.05));
    padding: 16px 20px;
    text-align: center;
    border-bottom: var(--border-gold);
}

.schedule-card-header h3 {
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.schedule-card-header .icon {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.schedule-items { padding: 8px 0; }

.schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(212, 168, 67, 0.08);
    transition: var(--transition);
}

.schedule-item:last-child { border-bottom: none; }
.schedule-item:hover { background: rgba(212, 168, 67, 0.04); }

.schedule-item .event {
    font-size: 0.82rem;
    color: var(--gold-text);
}

.schedule-item .time {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    color: var(--gold-primary);
    white-space: nowrap;
}

/* ========== COMMITTEE ========== */
.committee-section { background: var(--bg-primary); }

.committee-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.committee-card {
    background: var(--bg-card);
    border: var(--border-gold);
    border-radius: var(--radius-sm);
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    transition: var(--transition);
}

.committee-card:hover {
    border-color: var(--gold-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.committee-avatar {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--bg-primary);
    font-weight: 700;
}

.committee-info { flex: 1; min-width: 0; }

.committee-name {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--gold-primary);
    margin-bottom: 2px;
}

.committee-role {
    font-size: 0.7rem;
    color: var(--gold-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
    display: inline-block;
    background: rgba(212, 168, 67, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
}

.committee-contact {
    font-size: 0.75rem;
    color: var(--gold-muted);
}

.committee-contact a { font-size: 0.75rem; }

/* ========== DONATION ========== */
.donation-section {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    border-top: var(--border-gold);
}

.donation-card {
    background: var(--bg-card);
    border: var(--border-gold-strong);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.donation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-primary), var(--gold-dark));
}

.donation-text {
    font-size: 0.9rem;
    color: var(--gold-text);
    margin-bottom: 20px;
    line-height: 1.8;
}

.donation-purposes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
}

.donation-tag {
    background: rgba(212, 168, 67, 0.08);
    border: var(--border-gold);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    color: var(--gold-text);
}

.donation-phones {
    margin-top: 16px;
}

.donation-phones p {
    font-size: 0.85rem;
    margin-bottom: 6px;
}

.donation-phones a {
    font-family: var(--font-heading);
    font-size: 0.95rem;
}

/* ========== CONTACT ========== */
.contact-section { background: var(--bg-primary); }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.contact-item {
    background: var(--bg-card);
    border: var(--border-gold);
    border-radius: var(--radius-sm);
    padding: 20px;
    text-align: center;
}

.contact-icon {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.contact-item h4 {
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.contact-item p, .contact-item a {
    font-size: 0.82rem;
    color: var(--gold-text);
    line-height: 1.7;
}

/* ========== MAP ========== */
.map-wrapper {
    margin-top: 30px;
    border-radius: var(--radius);
    overflow: hidden;
    border: var(--border-gold);
    height: 250px;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(0.5) contrast(1.1);
}

/* ========== FOOTER ========== */
.footer {
    background: var(--bg-secondary);
    border-top: var(--border-gold);
    padding: 30px 16px;
    text-align: center;
}

.footer-mantra {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--gold-primary);
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.footer p {
    font-size: 0.72rem;
    color: var(--gold-muted);
    margin-bottom: 4px;
}

/* ========== SCROLL TO TOP ========== */
.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-primary));
    color: var(--bg-primary);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 900;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: var(--shadow-gold);
}

.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { transform: translateY(-3px); box-shadow: var(--shadow-gold-strong); }

/* ========== ANIMATIONS ========== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Floating Diyas */
.diya-container {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.diya {
    position: absolute;
    font-size: 1.2rem;
    opacity: 0.15;
    animation: floatDiya 15s ease-in-out infinite;
}

@keyframes floatDiya {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.1; }
    50% { transform: translateY(-40px) rotate(10deg); opacity: 0.2; }
}

/* ========== MEDIA QUERIES ========== */
@media (min-width: 480px) {
    .committee-grid { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
    .section-title { font-size: 1.8rem; }
    section { padding: 70px 24px; }

    .header-inner { padding: 12px 24px; }
    .header-brand h1 { font-size: 0.85rem; }

    .hero-image-wrapper { width: 260px; height: 340px; }
    .hero-title { font-size: 1.7rem; }
    .hero-mantra { font-size: 1.3rem; }

    .schedule-grid { grid-template-columns: 1fr 1fr; }
    .committee-grid { grid-template-columns: 1fr 1fr; }

    .today-details { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1024px) {
    section { padding: 80px 40px; }
    .section-title { font-size: 2rem; }

    .hamburger { display: none; }

    .mobile-nav {
        position: static;
        width: auto;
        max-width: none;
        height: auto;
        background: none;
        border: none;
        padding: 0;
        display: flex;
        gap: 8px;
        overflow: visible;
    }

    .mobile-nav a {
        padding: 8px 14px;
        font-size: 0.75rem;
        border-bottom: none;
        border-radius: var(--radius-sm);
    }

    .mobile-nav a:hover { background: rgba(212, 168, 67, 0.1); padding-left: 14px; }

    .hero-image-wrapper { width: 300px; height: 400px; }
    .hero-title { font-size: 2rem; }

    .committee-grid { grid-template-columns: repeat(3, 1fr); }
    .contact-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Diya flame animation */
.flame-icon {
    display: inline-block;
    animation: flicker 1.5s ease-in-out infinite alternate;
}

@keyframes flicker {
    0% { opacity: 0.8; transform: scale(1); }
    25% { opacity: 1; transform: scale(1.05); }
    50% { opacity: 0.9; transform: scale(0.98); }
    75% { opacity: 1; transform: scale(1.02); }
    100% { opacity: 0.85; transform: scale(1); }
}
