:root {
    /* Color Palette */
    --bg-dark: #0f1115;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.08);
    --text-primary: #ffffff;
    --text-secondary: #a0aab2;
    --saffron: #ff9933;
    --saffron-glow: rgba(255, 153, 51, 0.4);
    --gold: #ffd700;
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-hindi: 'Yatra One', system-ui;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Glassmorphism Utilities */
.glass {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 17, 21, 0.8);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 153, 51, 0.2);
    padding: 1rem 0;
    transition: var(--transition-medium);
}

.navbar.scrolled {
    padding: 0.8rem 0;
    background: rgba(15, 17, 21, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: var(--saffron);
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.om {
    font-size: 1.8rem;
    color: var(--gold);
}

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

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-fast);
}

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

/* Buttons */
.btn-primary, .btn-primary-sm {
    background: linear-gradient(135deg, var(--saffron), #e67300);
    color: #fff !important;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 15px var(--saffron-glow);
    transition: var(--transition-fast);
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary-sm {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
}

.btn-primary:hover, .btn-primary-sm:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 153, 51, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-fast);
    display: inline-block;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-primary);
}

.pulse {
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 var(--saffron-glow); }
    70% { box-shadow: 0 0 0 15px rgba(255, 153, 51, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 153, 51, 0); }
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
    background: url('assets/hero.png') no-repeat center center/cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(15, 17, 21, 0.6), rgba(15, 17, 21, 1));
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    background: linear-gradient(to right, var(--saffron), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.5));
}

.hero p {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Sections */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--saffron);
}

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

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

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

.card {
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition-medium);
}

.card:hover {
    transform: translateY(-10px);
    background: var(--bg-card-hover);
    border-color: rgba(255, 153, 51, 0.3);
    box-shadow: 0 10px 30px rgba(255, 153, 51, 0.1);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

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

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

/* Chalisa Section */
.chalisa-section {
    padding: 6rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.chalisa-header {
    margin-bottom: 3rem;
}

/* Toggle Switch */
.toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.toggle-label {
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.toggle-label.active {
    color: var(--saffron);
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.switch input { 
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255,255,255,0.2);
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: var(--saffron);
    transition: .4s;
}

input:checked + .slider {
    background-color: rgba(255, 255, 255, 0.2);
}

input:checked + .slider:before {
    transform: translateX(24px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Verses */
.chalisa-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.verse-card {
    padding: 2rem;
    text-align: center;
    transition: var(--transition-medium);
}

.verse-card:hover {
    background: var(--bg-card-hover);
}

.verse-card.doha {
    border: 1px solid rgba(255, 215, 0, 0.3); /* Gold border for Doha */
}

.verse-type {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    margin-bottom: 1rem;
}

.verse-text {
    font-size: 1.5rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.verse-text:last-child {
    margin-bottom: 0;
}

.hindi {
    font-family: var(--font-hindi);
    color: #fff;
}

.english {
    font-family: var(--font-primary);
    color: var(--text-primary);
    font-size: 1.3rem;
}

.hidden {
    display: none;
}

/* Footer */
.footer {
    text-align: center;
    padding: 3rem 2rem;
    background: #0a0b0e;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer p {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--saffron);
    margin-bottom: 0.5rem;
}

.footer .copyright {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 400;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.8rem; }
    .hero p { font-size: 1.1rem; }
    .hero-buttons { flex-direction: column; }
    .nav-links { display: none; } /* Could add a hamburger menu */
    .verse-text { font-size: 1.2rem; }
}
