@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Noto+Sans+Devanagari:wght@400;700;900&display=swap');

html {
    scroll-behavior: smooth;
}

:root {
    --primary-orange: #FF5722;
    --primary-black: #000000;
    --bg-white: #FFFFFF;
    --bg-light: #F9F9F9;
    --text-dark: #000000;
    --text-muted: #666666;
    --white: #FFFFFF;
    --border-light: #EEEEEE;
    --shadow-minimal: 0 4px 20px rgba(0, 0, 0, 0.04);
    --border-radius-lg: 24px;
    --border-radius-md: 16px;
    --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

h1,
h2,
h3,
h4,
.hindi-text {
    font-family: 'Noto Sans Devanagari', sans-serif;
}

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

section {
    padding: 100px 0;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-smooth);
    scroll-margin-top: 100px;
    /* Offset for fixed header */
}

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

/* Sticky Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition-smooth);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-black);
    text-decoration: none;
    letter-spacing: -0.5px;
}

nav a.cta-nav {
    background: var(--primary-black);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

nav a.cta-nav:hover {
    background: var(--primary-orange);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    background: url('hero-bg.jpeg') center/cover no-repeat;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--white);
    padding: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(255, 87, 34, 0.2) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    animation: fadeInUp 1.2s ease-out;
}

.hero h1 {
    font-size: clamp(3rem, 10vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.hero p.subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-weight: 400;
    opacity: 0.9;
}

.highlight {
    background: var(--primary-orange);
    color: var(--white);
    padding: 6px 16px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 24px;
    display: inline-block;
}

.event-badge {
    background: var(--white);
    color: var(--primary-black);
    padding: 12px 24px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    margin-bottom: 40px;
    box-shadow: var(--shadow-minimal);
}

.btn {
    display: inline-block;
    padding: 20px 44px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1rem;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--primary-orange);
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(255, 87, 34, 0.3);
}

.btn-dark {
    background: var(--primary-black);
    color: var(--white);
}

.btn-dark:hover {
    background: #333;
    transform: translateY(-4px);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-black);
    margin-bottom: 20px;
    letter-spacing: -1.5px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Overview Section */
.overview {
    background: var(--bg-white);
}

.overview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: flex-start;
}

.overview-text p {
    margin-bottom: 24px;
    font-size: 1.15rem;
    color: var(--text-dark);
}

.organizers {
    padding: 48px;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
}

.organizers h3 {
    margin-bottom: 32px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-black);
}

.organizer-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 1.1rem;
}

.dot {
    width: 6px;
    height: 6px;
    background: var(--primary-orange);
}

/* Info Section */
.info-section {
    background: var(--bg-light);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.info-card {
    background: var(--white);
    padding: 60px 40px;
    text-align: center;
    border: 1px solid var(--border-light);
    transition: var(--transition-smooth);
}

.info-card:hover {
    border-color: var(--primary-orange);
    transform: translateY(-8px);
}

.info-card .icon {
    font-size: 2.5rem;
    margin-bottom: 24px;
    display: block;
}

.info-card h4 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--primary-black);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.highlight-badge {
    text-align: center;
    margin-top: 64px;
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-orange);
    letter-spacing: -1px;
}

/* Why Visit Section */
.why-visit {
    background: var(--bg-white);
}

/* Stall Map */
.map-container {
    background: var(--white);
    padding: 12px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-minimal);
}

.map-container img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(100%);
    transition: var(--transition-smooth);
}

.map-container:hover img {
    filter: grayscale(0%);
}

/* Categories */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.category-card {
    background: var(--white);
    padding: 40px;
    text-align: left;
    border: 1px solid var(--border-light);
    transition: var(--transition-smooth);
}

.category-card:hover {
    background: var(--primary-black);
    color: var(--white);
    border-color: var(--primary-black);
}

.category-card:hover span {
    color: var(--white);
}

.cat-icon {
    font-size: 2rem;
    margin-bottom: 24px;
    display: block;
}

.category-card span {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-black);
}

/* FAQ Section */
.faq {
    background: var(--bg-light);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.faq-card {
    background: var(--white);
    padding: 40px;
    border: 1px solid var(--border-light);
}

.faq-card h4 {
    color: var(--primary-orange);
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 16px;
}

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

/* Call to Action */
.cta-section {
    background: var(--bg-white);
    text-align: center;
    padding: 120px 0;
    border-top: 1px solid var(--border-light);
}

.cta-section h2 {
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 900;
    color: var(--primary-black);
    margin-bottom: 48px;
    letter-spacing: -2px;
}

.cta-group {
    display: flex;
    justify-content: center;
    gap: 24px;
}

/* Footer */
footer {
    background: var(--bg-white);
    padding: 80px 0 40px;
    border-top: 1px solid var(--border-light);
    text-align: center;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-black);
    margin-bottom: 24px;
    display: block;
    letter-spacing: -1px;
}

.organizer-logos {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 32px;
}

.minimal-footer-text {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Gallery Section */
.gallery {
    background: var(--bg-white);
    padding: 100px 0;
}

.gallery-container {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.gallery-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-item {
    min-width: 350px;
    width: 350px;
    height: 350px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    background: var(--bg-light);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.nav-btn {
    background: var(--white);
    border: 1px solid var(--border-light);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-black);
    transition: var(--transition-smooth);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.nav-btn:hover {
    background: var(--primary-black);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--primary-black);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    z-index: 2000;
    transition: transform 0.3s ease;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .overview-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .info-grid,
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        min-width: 100%;
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        flex-shrink: 0;
    }

    .gallery-track {
        gap: 0;
        display: flex;
    }

    .gallery-container {
        width: calc(100% + 48px);
        margin-left: -24px;
        overflow: hidden;
    }
}

@media (max-width: 768px) {
    section {
        padding: 80px 0;
    }

    .hero {
        text-align: center;
        height: auto;
        padding: 140px 0 100px;
    }

    .section-header h2 {
        font-size: 2.5rem;
    }

    .info-grid,
    .category-grid {
        grid-template-columns: 1fr;
    }

    .cta-group {
        flex-direction: column;
        gap: 16px;
    }

    .btn {
        width: 100%;
    }
}