:root {
    /* Traditional Sanatan Color Palette */
    --primary: #c2410c; /* Deep Saffron / Terracotta */
    --primary-light: #ea580c;
    --secondary: #b45309; /* Warm Earthy Gold */
    --background: #fdfbf7; /* Ancient Paper / Cream */
    --text-main: #27272a;
    --text-light: #52525b;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(194, 65, 12, 0.15);
    --gold: #d97706;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: var(--background);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .logo, .title-sanatan {
    font-family: 'Cinzel', serif;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Typography Details */
.title-sanatan {
    font-size: 5rem;
    color: var(--primary);
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    letter-spacing: 4px;
    margin-bottom: 10px;
}
.subtitle-sanatan {
    font-size: 1.5rem;
    color: var(--white);
    text-shadow: 1px 1px 5px rgba(0,0,0,0.8);
    font-weight: 300;
}
.section-title {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 60%;
    height: 3px;
    background: var(--gold);
}

.text-center { text-align: center; }

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: all 0.3s ease;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 2px;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links li a {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    transition: color 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links li a:hover, .nav-links li a.active {
    color: var(--primary);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white) !important;
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(194, 65, 12, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(194, 65, 12, 0.5);
}

.hamburger { display: none; cursor: pointer; }
.hamburger span { display: block; width: 25px; height: 3px; background: var(--primary); margin: 5px 0; transition: 0.3s; }

/* Hero / Landscape */
.hero {
    height: 100vh;
    width: 100%;
    background: url('assets/images/landscape.png') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(194, 65, 12, 0.4));
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
}

/* Sections */
section {
    padding: 5rem 5%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Wikipedia Info */
.wiki-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.wiki-content p {
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    color: var(--text-light);
}

.traditional-frame {
    width: 100%;
    border-radius: 8px;
    border: 4px solid var(--gold);
    padding: 8px;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: rotate(1deg);
    transition: transform 0.3s;
}

.traditional-frame:hover {
    transform: rotate(0deg) scale(1.02);
}

/* Video Section */
.video-section {
    background-color: #faf7f2;
    border-top: 2px solid rgba(194, 65, 12, 0.1);
    border-bottom: 2px solid rgba(194, 65, 12, 0.1);
}

.video-wrapper {
    max-width: 800px;
    margin: 2rem auto 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(194, 65, 12, 0.15);
    background: #000;
    border: 3px solid var(--secondary);
}

.custom-video {
    width: 100%;
    display: block;
}

/* Generic Pages (Explore, Business, etc.) */
.page-header {
    padding-top: 8rem;
    padding-bottom: 3rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(194, 65, 12, 0.05), rgba(217, 119, 6, 0.1));
    border-bottom: 1px solid var(--glass-border);
}

.page-content {
    min-height: 50vh;
    padding: 4rem 5%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.content-box {
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-top: 4px solid var(--primary);
    max-width: 800px;
    width: 100%;
}

/* Updates Grid (Latest Updates Page) */
.updates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.update-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--glass-border);
}

.update-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(194, 65, 12, 0.1);
}

.update-date {
    font-size: 0.85rem;
    color: var(--secondary);
    font-weight: bold;
    padding: 1rem 1.5rem 0;
    display: block;
}

.update-content {
    padding: 1rem 1.5rem 1.5rem;
}

.update-content h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-family: 'Lato', sans-serif;
}

.update-media img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid var(--glass-border);
}

/* Footer */
footer {
    background: #18181b;
    color: #e4e4e7;
    padding: 4rem 5% 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-brand h2 {
    color: var(--gold);
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.footer-links a { transition: color 0.3s; }
.footer-links a:hover { color: var(--gold); }

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #3f3f46;
    font-size: 0.9rem;
    color: #a1a1aa;
}

/* Responsive */
@media (max-width: 768px) {
    .wiki-container { grid-template-columns: 1fr; }
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--glass-bg);
        backdrop-filter: blur(15px);
        flex-direction: column;
        padding: 2rem 0;
        clip-path: circle(0 at center -50px);
        transition: clip-path 0.5s ease;
    }
    .nav-links.active {
        clip-path: circle(1000px at center);
    }
    .hamburger { display: block; }
    .title-sanatan { font-size: 3rem; }
}
