/* --- Table of Contents ---
  1. Root Variables & Global Styles
  2. Navigation Bar Styles
  3. Hero Section Styles
  4. Content Section Styles
  5. NEW: Workshop Section Styles
  6. Footer Styles
  7. Responsive Media Queries
*/

/* --- 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);
}

.address {
    font-size: 1.3rem;
    padding-top: 0.5rem;
}

/* Hero Social Icon Styles */
.hero-socials {
    margin-top: 2rem; /* Adds space above the icon */
}

.hero-social-link svg {
    width: 40px;
    height: 40px;
    fill: var(--dark-text);
    transition: transform 0.3s ease, fill 0.3s ease;
}

.hero-social-link:hover svg {
    fill: var(--primary-red); /* Changes color on hover */
    transform: scale(1.1); /* Slightly enlarges the icon on hover */
}

/* 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: 350px;
    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;
}

.author-card p {
    padding-top: 1rem;
}

.author-card p span {
    font-weight: bold;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    font-style: italic;
    color: #555;
    max-width: 700px;
    margin: -1.5rem auto 2.5rem; /* Pulls subtitle closer to the title */
}

/* NEW: Adds extra space between the two author sections */
.section-divider {
    margin-top: 4rem;
}

/* Schedule Thumbnail Styles */
.schedule-thumbnail-container {
    text-align: center;
    margin-bottom: 2.5rem;
}

.schedule-thumbnail-container img {
    max-width: 250px; /* Controls the size of the small image */
    width: 100%;
    border: 1px solid #ddd;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.schedule-thumbnail-container img:hover {
    transform: scale(1.05);
}

.enlarge-text {
    font-size: 0.9rem;
    font-style: italic;
    color: #555;
    margin-top: 0.5rem;
}

/* Lightbox (Large View) Styles */
.lightbox {
    position: fixed; /* Sits on top of all other content */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85); /* Semi-transparent black overlay */
    z-index: 2000;
    
    /* Center the large image */
    display: flex;
    justify-content: center;
    align-items: center;

    /* Hidden by default */
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

/* THE MAGIC: When the lightbox is targeted, make it visible */
.lightbox:target {
    visibility: visible;
    opacity: 1;
}

.lightbox-image {
    max-width: 90%;
    max-height: 90%;
    box-shadow: 0 0 25px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    color: white;
    text-decoration: none;
    line-height: 1;
}

/* Footer Styles */
footer {
    text-align: center;
    padding: 1.5rem;
    margin-top: 2rem;
    background-color: var(--dark-text);
    color: var(--white);
    font-size: 0.9rem;
}

/* Sponsor Section Styles */
.sponsor-tier {
    text-align: center;
    margin-bottom: 3rem;
}

.sponsor-tier h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #555;
    margin-bottom: 1.5rem;
}

.logo-grid {
    display: flex;
    flex-wrap: wrap; 
    justify-content: center;
    align-items: center;
    column-gap: 2.5rem;
    row-gap: 3rem;
}

/* NEW: Specific grid layout for Gold Tier */
.gold-tier {
    display: grid;
    /* This creates two equal-width columns */
    grid-template-columns: repeat(2, 1fr);
    max-width: 900px; /* Constrains the grid from becoming too wide */
    margin: 0 auto; /* Centers the grid container */
    gap: 2.5rem;
}

.logo-grid a {
    display: inline-block;
    transition: transform 0.3s ease;
}

.logo-grid a:hover {
    transform: scale(1.05); 
}

.logo-grid img {
    max-width: 100%; 
    width: auto; 
    vertical-align: middle;
}

/* Different sizes for each sponsor tier */
.gold-tier img {
    max-height: 120px;
    width: 100%; /* Makes the image fill its grid column */
    object-fit: contain; /* Scales the image to fit without cropping */
}

.silver-tier img {
    max-height: 90px;
}

.bronze-tier img {
    max-height: 70px;
}

/* 5. Workshop Section Styles */
/* Add this new style to your CSS file */

.workshop-room-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    text-align: center;
    color: var(--dark-text);
    margin-top: 3rem; /* Adds space above the room title */
    margin-bottom: 1.5rem;
}

/* This prevents extra space from being added above the very first room title */
.content-section > h3:first-of-type {
    margin-top: 0;
}

.workshops-list {
    display: flex;
    flex-direction: column;
    gap: 2rem; /* Space between each workshop item */
}

.workshop-item {
    display: flex; /* This creates the side-by-side layout for the image and text */
    background-color: var(--white);
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    overflow: hidden; /* Ensures the image corners conform to the border-radius */
}

.workshop-image-container {
    flex-basis: 300px; /* Sets a base width for the image container */
    flex-shrink: 0; /* Prevents the image container from shrinking */
}

.workshop-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the container without distortion */
}

.workshop-details {
    padding: 1.5rem 2rem;
    flex-grow: 1; /* Allows the details section to take up the remaining space */
}

.workshop-time {
    font-weight: bold;
    color: var(--primary-red);
    font-size: 0.9rem;
    text-transform: uppercase;
}

.workshop-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--dark-text);
    margin: 0.25rem 0 0.5rem;
}

.workshop-presenter {
    font-style: italic;
    color: #555;
    margin-bottom: 1rem;
}

/* Kids Section Styles */
.kids-activities-list {
    list-style-type: disc; /* Ensures standard bullet points */
    padding-left: 2rem; /* Indents the list from the left edge */
    margin: 0 auto 3rem; /* Adds space below the list */
    max-width: 800px; /* Keeps the list from becoming too wide on large screens */
}

.kids-activities-list li {
    font-size: 1.1rem;
    margin-bottom: 1rem; /* Space between each list item */
    padding-left: 0.5rem;
}

.kids-activities-list li::marker {
    color: var(--primary-red); /* Makes the bullet points red */
}

.kids-activities-list strong {
    color: var(--dark-text);
}

.kids-partners {
    text-align: center;
}

.kids-partners h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #555;
    margin-bottom: 1.5rem;
}

/* Other Vendors Section Styles */
.vendors-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.vendor-item {
    display: flex;
    background-color: var(--white);
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    overflow: hidden;
}

.vendor-logo-container {
    flex-basis: 250px;
    flex-shrink: 0;
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fdfdfd;
}

.vendor-logo-container img {
    max-width: 100%;
    max-height: 150px;
    width: auto;
    object-fit: contain; /* Best for logos to prevent cropping */
}

.vendor-details {
    padding: 1.5rem 2rem;
    flex-grow: 1;
}

.vendor-details h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}

/* Reception Section Styles */
.reception-content {
    max-width: 700px; /* Constrains the content width for readability */
    margin: 0 auto; /* Centers the container */
    text-align: center; /* Centers all the content inside */
}

.reception-logo {
    max-height: 120px;
    width: auto;
    margin-bottom: 2rem;
    max-width: 100%;
}

.reception-text {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.reception-author-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%; /* This makes the image circular */
    object-fit: cover; /* Ensures the image fills the circle without distortion */
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* (The Footer and Responsive Media Queries sections follow) */

/* Add this new rule inside the @media (max-width: 768px) block */
@media (max-width: 768px) {
    /* (All existing styles in this media query remain) */

    /* Makes the workshop item stack vertically on smaller screens */
    .workshop-item {
        flex-direction: column;
    }

    .workshop-image-container {
        /* On mobile, the width is 100% and we set a fixed height */
        width: 100%;
        height: 200px;
    }

    .vendor-item  {
        display: initial;
    }

    .vendor-logo-container {
        justify-content: left;
        padding: 2rem 2rem 1.5rem 2rem;
    }

    .vendor-item .vendor-logo-container img {
        max-width: 240px;
    }

    .vendor-details {
        padding-top: 0;
    }
}