/* --- Base Styles & Variables --- */
:root {
    --primary-yellow: #FFD700;
    --secondary-yellow: #FFAA00;
    --light-bg: #FFF8E1;
    --dark-text: #333333;
    --white: #FFFFFF;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.12);
    --nav-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.7;
    background-color: var(--light-bg);
    color: var(--dark-text);
    overflow-x: hidden;
    /* Add padding to the top of the body to push content down */
    padding-top: var(--nav-height); 
}

/* Homepage is special, it has a transparent header, so no body padding needed */
body.home-page {
    padding-top: 0;
}

body.noscroll {
    overflow: hidden;
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-text);
}

h1 { font-size: 3.2rem; }
h2 { font-size: 2.5rem; text-align: center; }
h3 { font-size: 1.8rem; }

a {
    text-decoration: none;
    color: var(--secondary-yellow);
    transition: color 0.3s ease;
}
a:hover {
    color: var(--primary-yellow);
}

p {
    margin-bottom: 1rem;
}

/* --- Animation Class --- */
.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);
}

/* --- Navigation Bar --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

header.navbar-scrolled {
    background-color: var(--white);
    box-shadow: var(--shadow);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--nav-height);
}

.logo img {
    height: 65px;
    width: auto;
}

.nav-links {
    list-style: none;
    display: flex;
}

/* Mobile Nav Active State */
.nav-links.nav-active {
    transform: translateX(0%);
}

.nav-links li {
    padding-left: 35px;
}

.nav-links a {
    color: var(--dark-text);
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-yellow);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* --- Hamburger Menu for Mobile --- */
.hamburger { display: none; cursor: pointer; z-index: 1002; }
.hamburger div { width: 25px; height: 3px; background-color: var(--dark-text); margin: 5px; transition: all 0.3s ease; }
.hamburger.toggle .line1 { transform: rotate(-45deg) translate(-5px, 6px); }
.hamburger.toggle .line2 { opacity: 0; }
.hamburger.toggle .line3 { transform: rotate(45deg) translate(-5px, -6px); }

.nav-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.4); z-index: 998; opacity: 0; transition: opacity 0.5s ease; pointer-events: none; }
.nav-overlay.active { opacity: 1; pointer-events: auto; }

/* --- Utility Classes --- */
.btn { display: inline-block; padding: 12px 32px; background-color: var(--primary-yellow); color: var(--dark-text); border-radius: 50px; font-weight: 700; font-family: 'Poppins', sans-serif; transition: all 0.3s ease; border: 2px solid var(--primary-yellow); box-shadow: var(--shadow); cursor: pointer; }
.btn:hover { background-color: var(--secondary-yellow); transform: translateY(-3px); box-shadow: var(--shadow-hover); color: var(--dark-text); }
.btn-secondary { background: transparent; color: var(--dark-text); border: 2px solid var(--secondary-yellow); }
.btn-secondary:hover { background: var(--secondary-yellow); color: var(--white); }
.section { padding: 100px 0; }
.section-light { background-color: var(--white); }

/* --- Hero Section (Homepage) --- */
.hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; background: linear-gradient(to bottom, rgba(255, 248, 225, 0.8), rgba(255, 248, 225, 1)), url('https://images.unsplash.com/photo-1531349337442-3a4a1ebe819c?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover; }
.hero-content { max-width: 800px; }
.hero-content h1 { font-size: 3.5rem; margin-bottom: 1.5rem; text-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.hero-content p { font-size: 1.2rem; margin-bottom: 2rem; text-shadow: 0 1px 5px rgba(0,0,0,0.1); }
.hero .btn { margin: 0.5rem; }

/* Generic Page Header */
.page-header { text-align: center; padding-bottom: 60px; }
.page-header h1 { margin-bottom: 0.5rem; }
.page-header p { max-width: 800px; margin: 0 auto; font-size: 1.1rem; }

/* All other sections get top padding */
.section:first-child {
    padding-top: 100px;
}
body.home-page .section:first-child {
    padding-top: 0; /* Homepage hero doesn't need this */
}

/* --- Festival Page Styles --- */
.festival-hero {
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(255, 248, 225, 0.85), rgba(255, 248, 225, 0.95)), url('https://images.unsplash.com/photo-1456325504743-5e7de0b39a3f?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover;
    color: var(--dark-text);
}

.festival-hero .festival-title {
    font-size: 3.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.festival-hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 1rem auto 2rem auto;
}

/* Other styles remain the same... */

/* --- Cards --- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; margin-top: 50px; }
.card { background: var(--white); padding: 40px 30px; border-radius: 10px; box-shadow: var(--shadow); transition: transform 0.3s ease, box-shadow 0.3s ease; border-bottom: 4px solid transparent; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); border-bottom-color: var(--primary-yellow); }
.card .icon { font-size: 3rem; color: var(--primary-yellow); margin-bottom: 1.5rem; display: inline-block; text-align: center; width: 100%; }
.card h3 { text-align: center; }

/* Styles from previous responses */
.event-timeline { max-width: 800px; margin: 50px auto 0; position: relative; padding-left: 50px; }
.event-timeline::before { content: ''; position: absolute; left: 20px; top: 0; bottom: 0; width: 4px; background-color: #ffd7004d; }
.timeline-item { display: flex; align-items: flex-start; position: relative; margin-bottom: 40px; }
.timeline-icon { width: 44px; height: 44px; border-radius: 50%; background-color: var(--primary-yellow); color: var(--dark-text); display: flex; justify-content: center; align-items: center; font-size: 1.5rem; position: absolute; left: -22px; top: 0; border: 4px solid var(--light-bg); }
.timeline-content { background: var(--white); padding: 20px; border-radius: 8px; box-shadow: var(--shadow); width: 100%; margin-left: 40px; }
.timeline-content .time { display: inline-block; font-weight: 700; font-family: 'Poppins', sans-serif; color: var(--secondary-yellow); font-size: 0.9rem; margin-bottom: 8px; background: var(--light-bg); padding: 3px 10px; border-radius: 20px; }
.timeline-content .activity { margin: 0; font-size: 1.3rem; line-height: 1.4; }
.partner-section { text-align: center; }
.partner-logos { display: flex; justify-content: center; align-items: center; gap: 40px; flex-wrap: wrap; margin-top: 50px; }
.partner-logos img { max-height: 60px; width: auto; filter: grayscale(100%); opacity: 0.7; transition: all 0.3s ease; }
.partner-logos img:hover { filter: grayscale(0%); opacity: 1; transform: scale(1.1); }
.cta-buttons { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.btn-large { padding: 15px 40px; font-size: 1.1rem; }

/* ... (Add other styles like footer, etc. here if they are missing) ... */
@media screen and (max-width: 768px) {
    body { padding-top: 70px; } /* Adjust for potentially smaller mobile header */
    body.home-page { padding-top: 0; }
    
    .nav-links {
        position: fixed;
        right: -100%; /* Start off-screen */
        top: 0;
        height: 100vh;
        background-color: var(--white);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 60%;
        transition: transform 0.5s ease-in-out;
        z-index: 999;
        transform: translateX(100%);
    }

    .nav-links.nav-active {
        transform: translateX(0);
        right: 0;
    }
    
    .hamburger {
        display: block;
    }
}