/* --- Table of Contents ---
  1. Root Variables & Global Styles
  2. Navigation Bar Styles
  3. Hero Section Styles
  4. Content Section Styles
  5. Footer Styles
  6. Responsive Media Queries
*/

/* 1. Root Variables & Global Styles */
:root {
    --primary-yellow: #FFC400; 
    --primary-red: #c8102e;     
    --dark-text: #2c2c2c;       
    --light-bg: #f9f9f9;       
    --white: #ffffff;
    --font-heading: 'Lora', serif;
    --font-body: 'Roboto', sans-serif;
    --nav-height: 70px;
}

html {
    scroll-behavior: smooth; 
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    color: var(--dark-text);
    background-color: var(--light-bg);
    line-height: 1.6;
}

/* 2. Navigation Bar Styles */
.main-nav {
    background-color: var(--primary-yellow);
    height: var(--nav-height);
    position: fixed; 
    top: 0;
    width: 100%;
    z-index: 1000; 
    display: flex;
    align-items: center;
}

.nav-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    height: 50px;
}

.nav-logo img {
    height: 50px; 
    width: auto;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 0.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: color 0.3s ease;
    display: block;
}

.nav-links a:hover {
    color: var(--primary-red);
}

/* Hide mobile-only elements by default */
.hamburger-toggle {
    display: none;
}
.hamburger, .close-btn {
    display: none;
}
.close-btn-li {
    display: none;
}

/* 3. Hero Section Styles (No changes) */
/* ... */

/* 4. Content Section Styles (No changes) */
/* ... */

/* 5. Footer Styles (No changes) */
/* ... */

/* 6. Responsive Media Queries */
@media (max-width: 768px) {
    /* Styles for the slide-out menu container */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 280px;
        background-color: var(--white);
        box-shadow: -5px 0 15px rgba(0,0,0,0.15);
        flex-direction: column;
        align-items: flex-start;
        padding: 4rem 2rem 2rem;
        gap: 1.5rem;
        transition: right 0.4s ease-in-out;
        display: flex;
    }

    /* When the checkbox is checked, slide the menu in. */
    .hamburger-toggle:checked ~ .nav-links {
        right: 0;
    }
    
    /* NEW: When the checkbox is checked, hide the hamburger icon. */
    .hamburger-toggle:checked ~ .hamburger {
        display: none;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    /* Style and show the hamburger label */
    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        z-index: 1001;
    }

    .hamburger-bar {
        width: 25px;
        height: 3px;
        background-color: var(--dark-text);
        border-radius: 2px;
    }

    /* Style and show the close button label */
    .close-btn-li {
        display: block;
        position: absolute;
        top: 1rem;
        right: 1.5rem;
    }
    
    .close-btn {
        display: block;
        font-size: 2.5rem;
        line-height: 1;
        cursor: pointer;
        color: var(--dark-text);
    }
}

@media (max-width: 600px) {
    .content-section h2 {
        font-size: 2rem; 
    }
    .event-date {
        font-size: 1.25rem; 
    }
}

/* (The rest of the CSS for content sections, footer, etc. remains the same) */
/* Hero Section Styles */
.hero {
    background-color: var(--primary-yellow);
    background-image: url(images/bg-fest.png);
    background-repeat: no-repeat;
    background-size: cover;
    height: 70vh; 
    padding: 2rem 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-content {
    max-width: 600px;
}

.hero-content h1 {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--dark-text);
    margin-bottom: 2rem;
}

.hero-logo-main {
    max-width: 100%; 
    height: auto;
}

.event-date {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-red); 
    margin-top: 1rem;
    font-family: var(--font-body);
}

/* Content Section Styles */
.content-section {
    padding: 3rem 1rem; 
    max-width: 1200px;
    margin: 0 auto; 
    scroll-margin-top: var(--nav-height);
}

.content-section h2 {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--dark-text);
    margin-bottom: 2rem; 
}

.coming-soon {
    text-align: center;
    font-size: 1.25rem;
    font-style: italic;
    color: #555;
}

.authors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem; 
}

.author-card {
    background-color: var(--white);
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0; 
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden; 
}

.author-card:hover {
    transform: translateY(-5px); 
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.author-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: center;
}

.author-card-content {
    padding: 1.5rem;
}

.author-card h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--primary-red);
}

.author-card h4 {
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
    font-style: italic;
}

/* Footer Styles */
footer {
    text-align: center;
    padding: 1.5rem;
    margin-top: 2rem;
    background-color: var(--dark-text);
    color: var(--white);
    font-size: 0.9rem;
}