:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #161618;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --accent-gold: #d4af37;
    --accent-gold-hover: #f1c40f;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.05);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

h1, h2, h3, .logo {
    font-family: 'Playfair Display', serif;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition-fast);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 5%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-gold);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 300;
    position: relative;
    transition: var(--transition-fast);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-gold);
    transition: var(--transition-fast);
}

.nav-links a:hover {
    color: var(--accent-gold);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-image: url('assets/hero_temple_view.png');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(10,10,10,1) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeUp 1s forwards 0.5s;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #fff, var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.hero .subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-weight: 300;
    letter-spacing: 1px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--accent-gold);
    color: var(--bg-primary);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition-fast);
    border: 1px solid transparent;
}

.btn:hover {
    background: var(--accent-gold-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.btn-outline {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: transparent;
    color: var(--accent-gold);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 400;
    border: 1px solid var(--accent-gold);
    transition: var(--transition-fast);
    cursor: pointer;
}

.btn-outline:hover {
    background: var(--accent-gold);
    color: var(--bg-primary);
}

/* Typography & General */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--accent-gold);
    position: relative;
}

.section-title::after {
    content: 'ॐ';
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    opacity: 0.5;
    font-family: sans-serif;
}

/* About Section */
.about-section {
    padding: 8rem 0;
    position: relative;
}

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

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 1.05rem;
    font-weight: 300;
}

.about-text p strong {
    color: var(--accent-gold);
    font-weight: 600;
}

.highlight {
    font-size: 1.2rem !important;
    color: var(--text-primary) !important;
    border-left: 3px solid var(--accent-gold);
    padding-left: 1.5rem;
    margin-top: 2rem;
    font-style: italic;
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    transition: var(--transition-slow);
}

.glass-card:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 30px 60px rgba(212, 175, 55, 0.1);
}

.glass-card h3 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.glass-card p {
    color: var(--text-secondary);
}

/* Timings Section */
.timings-section {
    padding: 8rem 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

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

.timing-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition-slow);
}

.timing-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
}

.highlight-card {
    border-color: rgba(212, 175, 55, 0.2);
    position: relative;
    overflow: hidden;
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

.timing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.time-slot {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.icon {
    font-size: 1.5rem;
}

.special-note {
    margin-top: 2rem;
    color: var(--accent-gold);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    padding: 6rem 0 2rem;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer h3 {
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.footer p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-weight: 300;
}

.footer-donate p {
    margin-bottom: 1.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 300;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Image Layouts & Utilities */
.content-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    transition: var(--transition-slow);
}

.content-image:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 60px rgba(212, 175, 55, 0.2);
}

.about-content.reverse {
    direction: rtl;
}

.about-content.reverse > * {
    direction: ltr;
}

.bg-alternate {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.center-content {
    max-width: 800px;
    margin: 0 auto 4rem;
}

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

.subtitle-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
}

.subsection-title {
    text-align: center;
    color: var(--text-primary);
    font-size: 1.8rem;
    margin-bottom: 3rem;
}

.highlight-text {
    color: var(--accent-gold);
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 1rem;
}

/* Inline links */
p a, b a, strong a {
    color: var(--text-primary);
    text-decoration: underline;
    text-decoration-color: var(--accent-gold);
    text-underline-offset: 4px;
    transition: var(--transition-fast);
}

p a:hover, b a:hover, strong a:hover {
    color: var(--accent-gold);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        display: none;
    }
}
