/* === GLOBAL STYLES & VARIABLES === */
:root {
    --color-light-blue: #B1DDF1;
    --color-muted-purple: #9F87AF;
    --color-deep-purple: #88527F;
    --color-text-dark: #333;
    --color-text-light: #f8f8f8;
    --color-bg-light: #ffffff;
    --color-bg-dark: #2a1f28;

    --font-primary: 'Roboto', sans-serif;
    --font-secondary: 'Playfair Display', serif;

    --transition-fast: 0.3s ease;
    --transition-slow: 0.6s ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
    line-height: 1.7;
    font-size: 16px;
}

h1, h2, h3, h4 {
    font-family: var(--font-secondary);
    color: var(--color-deep-purple);
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.5rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.2rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color-muted-purple);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-deep-purple);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

section {
    padding: 6rem 0;
    overflow: hidden;
}

.section-title {
    text-align: center;
}
.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem auto;
    font-size: 1.1rem;
}

/* === MODULAR COMPONENTS === */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid transparent;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-deep-purple);
    color: var(--color-text-light);
}

.btn-primary:hover {
    background-color: transparent;
    border-color: var(--color-deep-purple);
    color: var(--color-deep-purple);
}

.btn-secondary {
    background-color: var(--color-light-blue);
    color: var(--color-text-dark);
}

.btn-secondary:hover {
    background-color: var(--color-text-light);
    transform: translateY(-3px);
}

.btn-tertiary {
    background-color: transparent;
    color: var(--color-muted-purple);
    border-color: var(--color-muted-purple);
}

.btn-tertiary:hover {
    background-color: var(--color-muted-purple);
    color: var(--color-text-light);
}

/* === HEADER & NAVIGATION === */
.site-header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    transition: all var(--transition-fast);
}

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

.logo {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-deep-purple);
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-list a {
    font-weight: 500;
    color: var(--color-text-dark);
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-deep-purple);
    transition: width var(--transition-fast);
}

.nav-list a:hover::after,
.nav-list a.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger {
    display: block;
    position: relative;
    width: 25px;
    height: 2px;
    background-color: var(--color-deep-purple);
}

.hamburger::before, .hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 2px;
    background-color: var(--color-deep-purple);
    transition: transform var(--transition-fast);
}

.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }


/* === SECTION 1: HERO === */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-text-light);
    position: relative;
    padding: 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/hero-bg.webp') no-repeat center center/cover;
    filter: brightness(0.5);
    z-index: -1;
}

.hero-content {
    animation: fadeInContent 1s ease-out forwards;
}

@keyframes fadeInContent {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-title {
    color: var(--color-text-light);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem auto;
    font-weight: 300;
}

.hero-content .btn-primary {
    background-color: var(--color-light-blue);
    color: var(--color-deep-purple);
    font-weight: bold;
}

.hero-content .btn-primary:hover {
    background-color: transparent;
    border-color: var(--color-light-blue);
    color: var(--color-light-blue);
}

/* === SECTION 2: WHY CHOOSE US === */
/* === MODERN TABS STYLES FOR "WHY CHOOSE US" === */

.tabs-container {
    max-width: 900px;
    margin: 3rem auto 0;
}

/* --- Tab Navigation --- */
.tab-nav {
    display: flex;
    justify-content: center;
    border-bottom: 2px solid #eee;
    position: relative;
    margin-bottom: 2.5rem;
}

.tab-btn {
    background: none;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    font-family: var(--font-primary);
    color: var(--color-muted-purple);
    cursor: pointer;
    transition: color var(--transition-fast);
    position: relative;
    z-index: 2;
}

.tab-btn:hover {
    color: var(--color-deep-purple);
}

.tab-btn.active {
    color: var(--color-deep-purple);
}

/* The animated underline/indicator */
.tab-indicator {
    position: absolute;
    bottom: -2px; /* Sits on top of the border */
    height: 2px;
    background-color: var(--color-deep-purple);
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1); /* Smooth easing */
}

/* --- Tab Content --- */
.tab-content-wrapper {
    position: relative;
    min-height: 400px; /* Prevents layout jump */
}

.tab-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    
    /* Animation properties */
    position: absolute;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s;
}

.tab-content.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.tab-image-pane img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(136, 82, 127, 0.2);
}

.tab-text-pane h3 {
    font-size: 1.8rem;
    color: var(--color-deep-purple);
    margin-bottom: 1rem;
}

/* --- Responsive for Tabs --- */
@media (max-width: 768px) {
    .tab-nav {
        justify-content: space-around; /* Better for smaller screens */
    }
    .tab-btn {
        padding: 1rem 0.5rem;
        font-size: 1rem;
        flex-grow: 1;
        text-align: center;
    }
    .tab-content {
        grid-template-columns: 1fr; /* Stack image and text */
        gap: 2rem;
        text-align: center;
    }
    .tab-content-wrapper {
        min-height: 720px; /* Adjust for stacked content */
    }
    .tab-image-pane img 
    {
        height: 400px;
    }
}

/* === SECTION 3: FEATURED COURSES === */
.featured-courses-section {
    background: linear-gradient(45deg, var(--color-deep-purple), var(--color-muted-purple));
    color: var(--color-text-light);
}

.text-light {
    color: var(--color-text-light);
}

.courses-carousel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.course-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    /* height: 500px; */
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform var(--transition-slow);
}

.course-card:hover {
    transform: scale(1.03);
}

.course-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.course-card:hover img {
    transform: scale(1.1);
}

.course-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--color-text-light);
    transform: translateY(40%);
    transition: transform var(--transition-slow);
}

.course-card:hover .course-card-content {
    transform: translateY(0);
}

.course-card-content h4 {
    color: var(--color-text-light);
}

.course-card-content p {
    opacity: 0;
    transition: opacity var(--transition-slow) 0.2s;
}

.course-card:hover .course-card-content p {
    opacity: 1;
}

/* === SECTION 4: CHEF SPOTLIGHT === */
/* === REDESIGNED CHEF SPOTLIGHT STYLES (V2) === */

.chef-spotlight-section-v2 {
    background-color: #f7f3f9;
    padding: 8rem 0; /* Add more vertical space for the design to breathe */
    overflow: hidden;
}

.chef-spotlight-container-v2 {
    display: grid;
    grid-template-columns: repeat(12, 1fr); /* Use a 12-column grid for precise control */
    align-items: center;
    gap: 1.5rem;
}

/* --- Image Pane --- */
.chef-image-pane {
    grid-column: 1 / span 7; /* The image takes the left ~60% of the grid */
    grid-row: 1 / 2;
    position: relative;
    z-index: 1;
}

/* Decorative background shape behind the image */
.chef-image-pane::before {
    content: '';
    position: absolute;
    top: -2rem;
    left: -2rem;
    width: 100%;
    height: 100%;
    background-color: var(--color-light-blue);
    border-radius: 10px;
    z-index: -1;
    transition: all 0.5s ease;
}

.chef-image-pane:hover::before {
    transform: rotate(-3deg);
}

.chef-image-pane img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    transition: transform 0.5s ease;
}

.chef-image-pane:hover img {
    transform: scale(1.03);
}

/* --- Bio Pane --- */
.chef-bio-pane {
    grid-column: 7 / span 6; /* The bio starts before the image ends, creating the overlap */
    grid-row: 1 / 2;
    background-color: var(--color-bg-light);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    z-index: 5; /* Ensure the bio card is on top */
}

.chef-bio-pane .section-title {
    text-align: left;
}

.chef-bio-pane h3 {
    margin-top: -1rem; /* Tighten space under the main title */
}

/* Styling for the new blockquote element */
.chef-bio-pane blockquote {
    font-family: var(--font-secondary);
    font-size: 1.3rem;
    font-style: italic;
    color: var(--color-deep-purple);
    border-left: 4px solid var(--color-muted-purple);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
}

/* Styling for the new highlight box */
.chef-highlight {
    background-color: #f7f3f9;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
}

.chef-highlight h4 {
    margin-bottom: 0.25rem;
    color: var(--color-deep-purple);
}

.chef-highlight p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* --- Responsive for Redesigned Section --- */
@media (max-width: 992px) {
    .chef-spotlight-container-v2 {
        grid-template-columns: 1fr; /* Stack elements on smaller screens */
    }

    .chef-image-pane {
        grid-column: 1 / -1; /* Take full width */
        margin-bottom: -4rem; /* Pull the bio card up to retain an overlap */
    }
    
    .chef-image-pane::before {
        top: -1rem;
        left: -1rem;
    }

    .chef-bio-pane {
        grid-column: 1 / -1; /* Take full width */
        grid-row: 2; /* Move to the second row */
        padding: 2rem;
        margin: 0 1rem; /* Give it some horizontal breathing room */
    }

    .chef-bio-pane .section-title {
        text-align: center;
    }
}

/* === SECTION 5: OUR PHILOSOPHY === */
.philosophy-section {
    background-color: var(--color-light-blue);
    text-align: center;
}

.philosophy-section .section-title {
    max-width: 800px;
    margin: 0 auto 2rem auto;
}

.philosophy-text {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.2rem;
    font-weight: 300;
}
/* === REDESIGNED TESTIMONIALS STYLES (V2) === */

.testimonials-section-v2 {
    background-color: var(--color-bg-light);
}

.testimonial-slider {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Asymmetric layout */
    gap: 4rem;
    align-items: center;
    max-width: 1100px;
    margin: 3rem auto 0;
}

/* --- Image Pane --- */
.testimonial-images {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1; /* Keep it square */
    overflow: hidden; /* This is crucial for the slide effect */
}

/* Decorative background element */
.testimonial-images::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    background-color: var(--color-light-blue);
    border-radius: 50%;
    z-index: 1;
}

.testimonial-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    /* Animation setup */
    opacity: 0;
    visibility: hidden;
    transform: translateX(50px) scale(0.95);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.testimonial-image-wrapper.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) scale(1);
}

.testimonial-image-wrapper.exiting {
    transform: translateX(-50px) scale(0.95);
}

.testimonial-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 10px solid white;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

/* --- Quotes Pane --- */
.testimonial-quotes {
    position: relative;
    min-height: 500px; /* Prevents layout collapse */
    overflow: hidden;
}

.quote-wrapper {
    position: absolute;
    width: 100%;
    /* Animation setup */
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    transition-delay: 0.1s; /* Slight delay for a layered effect */
}

.quote-wrapper.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.quote-wrapper.exiting {
    transform: translateY(-30px);
}

.quote-wrapper p {
    font-family: var(--font-secondary);
    font-size: clamp(1.2rem, 2.5vw, 2.2rem);
    line-height: 1.4;
    color: var(--color-deep-purple);
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.author-name {
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--color-deep-purple);
}
.author-course {
    font-size: 0.9rem;
    color: var(--color-muted-purple);
}

/* --- Slider Navigation --- */
.slider-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    position: absolute;
    top: 65%;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--color-light-blue);
    background: none;
    color: var(--color-muted-purple);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.slider-btn:hover {
    background-color: var(--color-light-blue);
    color: var(--color-deep-purple);
    transform: scale(1.1);
}

.slider-progress {
    font-weight: 500;
    color: var(--color-muted-purple);
}

/* --- Responsive for Testimonial Slider --- */
@media (max-width: 992px) {
    .testimonial-slider {
        grid-template-columns: 1fr; /* Stack on smaller screens */
        gap: 2rem;
        text-align: center;
    }
    .testimonial-images {
        width: 60%;
        max-width: 300px;
        margin: 0 auto;
    }
    .testimonial-author, .slider-nav {
        justify-content: center;
        align-items: center;
    }
}

/* === SECTION 7: CTA / NEWSLETTER === */
.cta-section {
    background: var(--color-bg-dark);
    color: var(--color-text-light);
    text-align: center;
}

.cta-section h2, .cta-section p {
    color: var(--color-text-light);
}

.newsletter-form {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.newsletter-form input {
    width: 100%;
    max-width: 400px;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    border: 2px solid var(--color-muted-purple);
    background: transparent;
    color: var(--color-text-light);
    font-size: 1rem;
}

.newsletter-form input::placeholder {
    color: var(--color-muted-purple);
}

.newsletter-form button {
    background-color: var(--color-light-blue);
    color: var(--color-deep-purple);
    font-weight: bold;
}

.newsletter-form button:hover {
    background: transparent;
    border-color: var(--color-light-blue);
    color: var(--color-light-blue);
}

/* === COURSES PAGE STYLES === */

/* --- Section 1: Page Hero --- */
.page-hero-section {
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-text-light);
    position: relative;
    padding: 0;
}
.courses-hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('images/course-bg.webp') no-repeat center center/cover;
}
.page-hero-title {
    color: var(--color-text-light);
    margin-bottom: 1rem;
}
.page-hero-subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 300;
}

/* --- Section 2: Course Categories --- */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}
.category-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    display: block;
    aspect-ratio: 1/1;
}
.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow), filter var(--transition-slow);
}
.category-card:hover img {
    transform: scale(1.1);
    filter: brightness(0.7);
}
.category-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(136, 82, 127, 0.5);
    opacity: 0;
    transition: opacity var(--transition-fast);
}
.category-card:hover .category-card-overlay {
    opacity: 1;
}
.category-card-overlay h3 {
    color: var(--color-text-light);
    font-size: 1.8rem;
    transform: translateY(10px);
    transition: transform var(--transition-fast);
}
.category-card:hover .category-card-overlay h3 {
    transform: translateY(0);
}

/* --- Section 3: Signature Workshop --- */
.signature-workshop-section {
    background-color: #f7f3f9; /* Light purple-gray */
}
.signature-workshop-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}
.signature-image img {
    border-radius: 10px;
    box-shadow: -20px 20px 0 var(--color-light-blue);
}
.signature-content ul {
    list-style: none;
    margin-top: 1.5rem;
    padding-left: 1.5rem;
    border-left: 3px solid var(--color-muted-purple);
}
.signature-content li {
    margin-bottom: 0.5rem;
}

/* --- Section 4: Full Course Listing --- */
.course-listing-section {
    background-color: var(--color-bg-light);
}
.course-item {
    display: grid;
    grid-template-columns: 150px 1fr auto;
    gap: 2rem;
    align-items: center;
    padding: 2rem 0;
    border-bottom: 1px solid #eee;
}
.course-item:last-child {
    border-bottom: none;
}
.course-item-image img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    transition: transform var(--transition-fast);
}
.course-item:hover .course-item-image img {
    transform: scale(1.05);
}
.course-item-details h4 {
    margin-bottom: 0.5rem;
}
.course-item-details p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: #555;
}
.course-item-details span {
    font-size: 0.9rem;
    color: var(--color-muted-purple);
}

/* --- Section 5: Learning Journey --- */
.learning-journey-section {
    background: linear-gradient(45deg, var(--color-deep-purple), var(--color-muted-purple));
    position: relative;
}
.journey-path {
    display: flex;
    justify-content: space-between;
    position: relative;
}
.journey-path::before {
    content: '';
    position: absolute;
    top: 35px;
    left: 10%;
    width: 80%;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    z-index: 1;
}
.journey-step {
    width: 23%;
    text-align: center;
    position: relative;
    z-index: 2;
}
.journey-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--color-light-blue);
    color: var(--color-deep-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-family: var(--font-secondary);
    margin: 0 auto 1rem auto;
    border: 4px solid var(--color-bg-dark);
    transition: transform var(--transition-fast), background-color var(--transition-fast);
}
.journey-step:hover .journey-icon {
    transform: scale(1.1);
    background-color: white;
}
.journey-step h3, .journey-step p {
    color: var(--color-text-light);
}

/* --- Section 6: Private & Corporate Events --- */
.private-events-section {
    background-color: #fdfcff;
}
.private-events-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.private-events-images {
    position: relative;
    height: 500px;
}
.private-events-images img {
    border-radius: 10px;
    height: 400px;
    object-fit: cover;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    position: absolute;
    transition: transform var(--transition-slow);
}
.private-events-images img:hover {
    transform: translateY(-10px) rotate(2deg);
    z-index: 5;
}
.event-img-1 {
    top: 0;
    left: 0;
    width: 70%;
}
.event-img-2 {
    bottom: 0;
    right: 0;
    width: 55%;
}

/* --- Section 7: FAQ --- */
.faq-section {
    background-color: var(--color-light-blue);
}
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid var(--color-muted-purple);
}
.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 1.5rem 1rem;
    font-size: 1.2rem;
    font-family: var(--font-secondary);
    color: var(--color-deep-purple);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-icon {
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform var(--transition-fast);
}
.faq-question.active .faq-icon {
    transform: rotate(45deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
}
.faq-answer p {
    padding: 0 1rem 1.5rem 1rem;
    margin: 0;
}

/* --- RESPONSIVE STYLES FOR COURSES PAGE --- */
@media (max-width: 992px) {
    .signature-workshop-container, .private-events-container {
        /* grid-template-columns: 1fr; */
        display: block;
    }
    .signature-image { order: -1; margin-bottom: 15px;}
    .signature-image img { height: 400px; object-fit: cover; margin: 0 auto; box-shadow: -10px 10px 0 var(--color-light-blue); }
    .signature-content { text-align: center; }
    .signature-content .section-title { text-align: center; }
    .journey-path { flex-direction: column; gap: 2rem; }
    .journey-path::before { display: none; }
    .journey-step { width: 100%; }
    .private-events-images { margin-top: 2rem; height: 400px; }
    .course-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}
}

@media (max-width: 768px) {
    .course-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .course-item-image {
        margin: 0 auto 1rem auto;
    }
    
}

/* === ORIGIN PAGE STYLES === */

/* --- Section 1: Origin Hero --- */
/* === REDESIGNED ORIGIN HERO STYLES (V2) === */

.origin-hero-v2 {
    padding: 6rem 0;
    background: linear-gradient(to bottom right, #f7f3f9, #ffffff);
    overflow: hidden;
}

.hero-grid-v2 {
    display: grid;
    grid-template-columns: 1fr 1.1fr; /* Asymmetric grid */
    gap: 3rem;
    align-items: center;
}

/* --- Left Pane: Text --- */
.hero-text-pane .page-hero-title {
    position: relative;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-deep-purple);
}

/* Decorative line under the title */
.hero-text-pane .page-hero-title::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background-color: var(--color-light-blue);
}

.hero-text-pane .page-hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
}

/* --- Right Pane: Image Collage --- */
.hero-image-collage {
    position: relative;
    height: 500px;
}

/* Decorative background shape for the collage */
.hero-image-collage::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-color: var(--color-light-blue);
    border-radius: 15px;
    transform: translate(-50%, -50%) rotate(-5deg);
}

.hero-img-wrapper {
    position: absolute;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border: 5px solid white;
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hero-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Positioning and rotation for each image */
.hero-img-1 {
    width: 60%;
    height: 80%;
    top: 10%;
    left: 20%;
    z-index: 3;
    transform: rotate(2deg);
}

.hero-img-2 {
    width: 45%;
    height: auto;
    bottom: 5%;
    left: -5%;
    z-index: 4;
    transform: rotate(-8deg);
}

.hero-img-3 {
    width: 40%;
    height: auto;
    top: 5%;
    right: -2%;
    z-index: 2;
    transform: rotate(10deg);
}

/* Interactive hover effect */
.hero-image-collage:hover .hero-img-1 {
    transform: rotate(0) scale(1.05);
}
.hero-image-collage:hover .hero-img-2 {
    transform: rotate(-10deg) scale(1.05) translate(-10px, 10px);
}
.hero-image-collage:hover .hero-img-3 {
    transform: rotate(5deg) scale(1.05) translate(10px, -10px);
}


/* --- Responsive for Redesigned Hero --- */
@media (max-width: 992px) {
    .hero-grid-v2 {
        grid-template-columns: 1fr; /* Stack the columns */
        text-align: center;
    }
    .hero-text-pane .page-hero-title::before {
        left: 50%;
        transform: translateX(-50%);
    }
    .hero-image-collage {
        margin-top: 4rem;
        height: 400px; /* Adjust height for mobile */
    }
}

@media (max-width: 576px) {
    .hero-image-collage {
        height: 300px;
    }
}

/* --- Section 2: Founder's Story --- */
/* === REDESIGNED FOUNDER SECTION STYLES (V2) === */

.founder-section-v2 {
    background-color: var(--color-bg-light);
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

/* A subtle background shape for added visual texture */
.founder-section-v2::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -15%;
    width: 40%;
    height: 120%;
    background-color: #f7f3f9; /* The original section background color */
    border-radius: 50%;
    transform: rotate(20deg);
    z-index: 0;
}

.founder-container-v2 {
    display: grid;
    grid-template-columns: 1.1fr 1fr; /* Asymmetric layout */
    gap: 2rem;
    align-items: center;
    position: relative; /* To sit on top of the ::before element */
    z-index: 1;
}

/* --- Image Pane --- */
.founder-image-pane {
    position: relative;
    height: 600px;
}

.founder-img-primary {
    position: absolute;
    top: 0;
    left: 10%;
    width: 90%;
    height: 90%;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 25px 60px -15px rgba(0,0,0,0.2);
}

.founder-img-secondary {
    position: absolute;
    bottom: 0;
    left: -5%;
    width: 50%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    border: 8px solid white;
    box-shadow: 0 15px 40px -10px rgba(0,0,0,0.25);
    z-index: 5;
    transform: rotate(-6deg);
    transition: transform 0.4s ease;
}

.founder-image-pane:hover .founder-img-secondary {
    transform: rotate(-2deg) scale(1.05);
}

/* --- Text Pane --- */
.founder-text-pane {
    background-color: rgba(255, 255, 255, 0.8); /* Glassmorphism effect */
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    /* Creates the overlap by moving the pane to the left */
    transform: translateX(-15%);
    z-index: 3;
}

.founder-text-pane .section-title {
    text-align: left;
}

/* Sophisticated blockquote styling */
.founder-text-pane blockquote {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    color: var(--color-deep-purple);
    margin: 1rem 0 2rem 0;
    padding-left: 0;
    border-left: none;
    line-height: 1.4;
}

/* Classic drop cap styling */
.drop-cap {
    float: left;
    font-family: var(--font-secondary);
    font-size: 4.5rem;
    line-height: 0.8;
    font-weight: 700;
    color: var(--color-muted-purple);
    margin-right: 0.5rem;
    padding-top: 0.5rem;
}

/* --- Responsive for Sophisticated Section --- */
@media (max-width: 992px) {
    .founder-section-v2::before {
        display: none; /* Hide decorative background on mobile */
    }
    
    .founder-container-v2 {
        grid-template-columns: 1fr; /* Stack elements */
        gap: 2rem;
    }

    .founder-image-pane {
        height: 500px;
        order: -1; /* Move image to the top */
    }

    .founder-text-pane {
        transform: translateX(0); /* Reset overlap */
        margin-top: -5rem; /* Create a new, simpler overlap */
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .founder-image-pane {
        height: 400px;
    }
    .founder-img-secondary {
        width: 60%;
        left: -10px;
    }
}
/* --- Section 3: Timeline --- */
/* === REDESIGNED TIMELINE STYLES (V2) === */

.timeline-section-v2 {
    background-color: #f7f3f9;
    padding: 6rem 0;
    overflow: hidden;
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.timeline-nav {
    display: flex;
    gap: 0.5rem;
}

.timeline-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--color-light-blue);
    background: none;
    color: var(--color-muted-purple);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.timeline-btn:hover {
    background-color: var(--color-light-blue);
    color: var(--color-deep-purple);
}

.timeline-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: none;
    color: var(--color-muted-purple);
}

.timeline-horizontal-wrapper {
    overflow-x: auto;
    /* Custom scrollbar for a sleek look */
    scrollbar-width: thin;
    scrollbar-color: var(--color-muted-purple) #f7f3f9;
}

.timeline-horizontal-wrapper::-webkit-scrollbar {
    height: 8px;
}
.timeline-horizontal-wrapper::-webkit-scrollbar-track {
    background: #eee;
    border-radius: 4px;
}
.timeline-horizontal-wrapper::-webkit-scrollbar-thumb {
    background-color: var(--color-muted-purple);
    border-radius: 4px;
}

.timeline-v2 {
    display: inline-flex; /* Allows the container to grow with its content */
    padding: 4rem 2rem;
    position: relative;
    gap: 3rem;
}

/* The connecting line */
.timeline-v2::before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--color-light-blue);
}

.timeline-item-v2 {
    position: relative;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    max-width: 320px;
    flex-shrink: 0; /* Prevents cards from squishing */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.timeline-item-v2:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(136, 82, 127, 0.2);
}

/* The dot on the connecting line */
.timeline-item-v2::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background-color: white;
    border: 4px solid var(--color-muted-purple);
    border-radius: 50%;
    z-index: 2;
}

.timeline-image {
    height: 200px;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
}

.timeline-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.timeline-year {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-deep-purple);
    color: white;
    padding: 0.3rem 1.2rem;
    border-radius: 20px;
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    z-index: 3;
}

.timeline-content-v2 {
    padding: 1.5rem;
    text-align: center;
}

.timeline-content-v2 h3 {
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .timeline-header {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    .timeline-nav {
        display: none; /* Hide buttons on mobile where swipe is natural */
    }
    .timeline-v2 {
        gap: 2rem;
        padding: 4rem 1rem;
    }
    .timeline-item-v2 {
        min-width: 280px;
    }
}
/* --- Section 4: Farm-to-Table Philosophy --- */
.sourcing-section {
    background-color: #f7f3f9;
}
.sourcing-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.sourcing-text .section-title {
    text-align: left;
}
.sourcing-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1rem;
}
.sourcing-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: filter 0.3s ease;
}
.sourcing-gallery img:hover {
    filter: saturate(1.2);
}
.sourcing-gallery img:first-child {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

/* --- Section 5: The Kitchen Design (Parallax) --- */
/* === REDESIGNED KITCHEN DESIGN STYLES (V2) === */

.kitchen-design-section-v2 {
    padding: 8rem 0;
    /* The requested bright but soft gradient background */
    background: linear-gradient(135deg, var(--color-light-blue) 0%, #d0c8e0 100%);
    overflow: hidden;
}

.kitchen-design-container-v2 {
    display: grid;
    grid-template-columns: 1fr 1.1fr; /* Asymmetric layout */
    gap: 4rem;
    align-items: center;
}

/* --- Image Pane --- */
.kitchen-image-pane {
    background-color: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.kitchen-image-pane:hover {
    transform: translateY(-10px) rotate(1deg);
    box-shadow: 0 30px 60px -15px rgba(136, 82, 127, 0.3);
}

.kitchen-image-pane img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

/* --- Text Pane --- */
.kitchen-text-pane .section-title {
    text-align: left;
    color: var(--color-deep-purple); /* Stronger color for contrast */
}

.kitchen-text-pane > p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #444; /* Slightly softer than pure black */
}

.kitchen-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.kitchen-features-list li {
    position: relative;
    padding-left: 2.5rem; /* Space for the custom icon */
    margin-bottom: 1.5rem;
}

/* Custom "bullet point" for each list item */
.kitchen-features-list li::before {
    content: '✓'; /* A simple checkmark icon */
    position: absolute;
    left: 0;
    top: 0;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: var(--color-muted-purple);
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    line-height: 35px;
}

.kitchen-features-list h4 {
    margin-bottom: 0.25rem;
    color: var(--color-deep-purple);
}

.kitchen-features-list p {
    margin-bottom: 0;
    color: #555;
    font-size: 0.95rem;
}

/* --- Responsive for Redesigned Section --- */
@media (max-width: 992px) {
    .kitchen-design-container-v2 {
        grid-template-columns: 1fr; /* Stack on smaller screens */
        gap: 3rem;
    }
    
    .kitchen-text-pane {
        text-align: center;
    }

    .kitchen-text-pane .section-title {
        text-align: center;
    }
    
    .kitchen-features-list li {
        padding-left: 0;
        text-align: center;
    }
    
    .kitchen-features-list li::before {
        display: none; /* Hide the custom bullets on mobile */
    }
}

/* --- Section 6: Community Impact --- */
.community-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}
.community-text .section-title {
    text-align: left;
}
.community-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    grid-template-areas:
        "img1 img2"
        "img1 img3";
}
.community-images img {
    border-radius: 8px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.community-images img:nth-child(1) { grid-area: img1; }
.community-images img:nth-child(2) { grid-area: img2; }
.community-images img:nth-child(3) { grid-area: img3; }

/* --- Section 7: The Future --- */
.future-section {
    background-color: var(--color-light-blue);
}
.future-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}
.future-image {
    flex: 1;
}
.future-image img {
    border-radius: 50%;
}
.future-text {
    flex: 1.2;
}
.future-text h2 {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    margin-bottom: 1.5rem;
}

/* --- RESPONSIVE STYLES FOR ORIGIN PAGE --- */
@media (max-width: 992px) {
    .founder-container, .sourcing-container, .community-container {
        grid-template-columns: 1fr;
    }
    .founder-image, .sourcing-gallery, .community-images {
        order: -1;
        margin-bottom: 2rem;
    }
    .founder-text .section-title, .sourcing-text .section-title, .community-text .section-title {
        text-align: center;
    }
    .community-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .future-container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .timeline::after {
        left: 30px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    .timeline-item:nth-child(odd), .timeline-item:nth-child(even) {
        left: 0;
        text-align: left;
    }
    .timeline-item:nth-child(odd) .timeline-dot, .timeline-item:nth-child(even) .timeline-dot {
        left: 20px;
    }
}

/* === CHEFS PAGE STYLES === */

/* --- Section 1: Chefs Hero --- */
.chefs-hero {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),  no-repeat top center/cover;
}
.hero-text-box {
    background: rgba(136, 82, 127, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 3rem;
    border-radius: 15px;
    display: inline-block;
}

/* --- Section 2: Head Chef Feature --- */
/* === REDESIGNED HEAD CHEF FEATURE STYLES (V2) === */

.head-chef-feature-section-v2 {
    background: linear-gradient(180deg, var(--color-bg-light) 0%, #fdfcff 100%);
    padding: 8rem 0;
    overflow: hidden;
}

.head-chef-container-v2 {
    display: grid;
    /* The core text-image-text layout */
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
}

/* --- Pane 1: Introduction --- */
.chef-intro-pane {
    text-align: right;
}

.chef-intro-pane .section-title {
    text-align: right;
}

.chef-intro-pane .chef-name {
    font-family: var(--font-secondary);
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1;
    font-weight: 700;
    /* Using a soft color makes the name feel like a sophisticated design element */
    color: var(--color-light-blue);
    margin: 1rem 0;
}

/* --- Pane 2: Central Image --- */
.chef-center-image {
    background-color: white;
    padding: 1rem;
    border-radius: 15px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.2);
    transition: all 0.4s ease;
    z-index: 5; /* Ensures image shadow is clean */
}

.chef-center-image:hover {
    transform: scale(1.03) translateY(-10px);
    box-shadow: 0 30px 60px -15px rgba(136, 82, 127, 0.3);
}

.chef-center-image img {
    border-radius: 8px;
    width: 100%;
}

/* --- Pane 3: Details & Quote --- */
.chef-details-pane blockquote {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    line-height: 1.5;
    color: var(--color-deep-purple);
    border-left: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.chef-specialty {
    border-top: 2px solid var(--color-light-blue);
    padding-top: 1.5rem;
}

.chef-specialty strong {
    display: block;
    font-weight: 500;
    color: var(--color-muted-purple);
    margin-bottom: 0.5rem;
}

.chef-specialty span {
    font-weight: 500;
    font-size: 1.1rem;
}

/* --- Responsive for Redesigned Section --- */
@media (max-width: 992px) {
    .head-chef-container-v2 {
        grid-template-columns: 1fr; /* Stack the columns */
        gap: 2.5rem;
    }
    
    .chef-center-image {
        order: 1; /* Center image appears first on mobile */
        max-width: 400px;
        margin: 0 auto;
    }
    .chef-intro-pane {
        order: 2; /* Intro text second */
        text-align: center;
    }
    .chef-intro-pane .section-title {
        text-align: center;
    }
    .chef-details-pane {
        order: 3; /* Details last */
        text-align: center;
    }
    .chef-specialty {
        display: inline-block; /* Center the border */
        width: 100%;
        max-width: 350px;
    }
}
/* --- Section 3: Team Grid (Flip Cards) --- */
.team-grid-section {
    background-color: #f7f3f9;
}
.chef-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 2rem;
}
.chef-card {
    aspect-ratio: 1/1;
    perspective: 1000px;
}
.chef-card-front, .chef-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    transition: transform 0.8s ease;
    border-radius: 10px;
    overflow: hidden;
}
.chef-card-front {
    transform: rotateY(0deg);
}
.chef-card-back {
    transform: rotateY(180deg);
    background: var(--color-deep-purple);
    color: var(--color-text-light);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.chef-card:hover .chef-card-front {
    transform: rotateY(-180deg);
}
.chef-card:hover .chef-card-back {
    transform: rotateY(0deg);
}
.chef-card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.chef-card-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white;
}
.chef-card-title h4, .chef-card-back h4 {
    color: white;
    margin-bottom: 0.25rem;
}
.chef-card-back p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}
.btn-small {
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
}

/* --- Section 4: Philosophy Icons --- */
/* === REDESIGNED PHILOSOPHY STYLES (V2) === */

.philosophy-section-v2 {
    background-color: var(--color-light-blue);
    padding: 6rem 0;
}

.philosophy-layout-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(10, 1fr); /* 10-column grid for flexibility */
    grid-auto-rows: minmax(150px, auto);
    gap: 2rem;
    margin-top: 4rem;
}

/* --- SVG Connecting Line --- */
.connecting-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none; /* Allows clicks to go through to elements behind it */
}

/* --- Philosophy Cards --- */
.philosophy-card-v2 {
    background: rgba(255, 255, 255, 0.7); /* Semi-transparent white */
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    padding-top: 3rem;
    position: relative;
    z-index: 1; /* Place cards above the SVG line */
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.philosophy-card-v2:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(136, 82, 127, 0.2);
}

/* Large decorative numbers */
.philosophy-number {
    position: absolute;
    top: -10px;
    left: 15px;
    font-family: var(--font-secondary);
    font-size: 5rem;
    font-weight: 700;
    color: var(--color-deep-purple);
    opacity: 0.1;
    z-index: -1;
}

.philosophy-card-v2 h3 {
    margin-bottom: 0.75rem;
    color: var(--color-deep-purple);
}

/* --- Asymmetric Grid Placement --- */
#philosophy-1 {
    grid-column: 1 / span 6; /* Start at column 1, take up 6 columns */
    grid-row: 1;
}

#philosophy-2 {
    grid-column: 5 / span 6; /* Start at column 5, take up 6 columns */
    grid-row: 2;
    text-align: right; /* Vary text alignment */
}

#philosophy-2 .philosophy-number {
    left: auto;
    right: 15px; /* Move number to the right */
}

#philosophy-3 {
    grid-column: 2 / span 6; /* Start at column 2, take up 6 columns */
    grid-row: 3;
}


/* --- Responsive for Asymmetric Philosophy Section --- */
@media (max-width: 992px) {
    .philosophy-layout-grid {
        grid-template-columns: 1fr; /* Stack the cards vertically */
        gap: 2rem;
    }
    
    /* Reset all grid placements */
    #philosophy-1, #philosophy-2, #philosophy-3 {
        grid-column: 1 / -1;
        grid-row: auto;
        text-align: left; /* Reset text alignment */
    }

    #philosophy-2 .philosophy-number {
        left: 15px;
        right: auto;
    }

    /* Hide the connecting line as it no longer makes sense */
    .connecting-line {
        display: none;
    }
}
/* --- Section 5: Quote Section --- */
.quote-section {
    background: var(--color-bg-dark);
    color: var(--color-text-light);
    text-align: center;
    padding: 8rem 0;
}
.quote-content h2 {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    color: var(--color-text-light);
    max-width: 900px;
    margin: 0 auto 1.5rem auto;
    line-height: 1.5;
}
.quote-content p {
    font-family: var(--font-primary);
    font-style: normal;
    font-weight: 500;
    color: var(--color-light-blue);
}

/* --- Section 6: Behind the Scenes Gallery --- */
.behind-scenes-section {
    background-color: #f7f3f9;
}
.scenes-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 250px;
    gap: 1rem;
}
.gallery-item {
    overflow: hidden;
    border-radius: 10px;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
}
.gallery-item:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
}
.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}
/* Adjust grid for specific items if needed */
.scenes-gallery .gallery-item:nth-child(4) {
    grid-row: span 2;
}

/* --- Section 7: Careers CTA --- */
.careers-cta-section {
    background-color: var(--color-bg-light);
    text-align: center;
}
.careers-cta-container {
    max-width: 800px;
}
.careers-cta-container p {
    font-size: 1.1rem;
    margin: 1rem auto 2rem auto;
}

/* --- RESPONSIVE STYLES FOR CHEFS PAGE --- */
@media (max-width: 992px) {
    .head-chef-container {
        grid-template-columns: 1fr;
    }
    .head-chef-image {
        max-width: 400px;
        margin: 0 auto;
    }
    .head-chef-bio .section-title, .head-chef-bio h3 {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .scenes-gallery {
        grid-template-columns: 1fr;
        grid-auto-rows: 300px;
    }
    /* Reset all spans for mobile */
    .gallery-item, .gallery-item.large, .scenes-gallery .gallery-item:nth-child(4) {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* === CALENDAR PAGE STYLES === */

/* --- Section 1: Calendar Hero --- */
.calendar-hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),  no-repeat center center/cover;
}

/* --- Section 2: Monthly Calendar View --- */
.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}
.calendar-header h3 { color: var(--color-deep-purple); }
.calendar-header button { background: none; border: 1px solid var(--color-muted-purple); padding: 0.5rem 1rem; border-radius: 5px; cursor: pointer; }
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}
.day-name {
    font-weight: bold;
    text-align: center;
    padding: 0.5rem;
    color: var(--color-deep-purple);
}
.calendar-day {
    border: 1px solid #e0e0e0;
    aspect-ratio: 1/1;
    padding: 0.5rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
}
.calendar-day.empty {
    background-color: #f9f9f9;
}
.calendar-day:not(.empty):hover {
    background-color: var(--color-light-blue);
}
.calendar-day.today {
    background-color: var(--color-light-blue);
    border: 2px solid var(--color-deep-purple);
}
.calendar-day.event {
    background-color: rgba(159, 135, 175, 0.2);
    cursor: pointer;
}
.calendar-day.event a {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: var(--color-text-dark);
}
.event-desc {
    font-size: 0.8em;
    font-weight: 400;
    margin-top: 5px;
    background-color: var(--color-muted-purple);
    color: white;
    padding: 2px 4px;
    border-radius: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* --- Section 3: Featured Workshop --- */
/* === REDESIGNED FEATURED WORKSHOP STYLES (V2) === */

.featured-workshop-section-v2 {
    position: relative;
    padding: 6rem 0;
    min-height: 100vh; /* Make the section taller to showcase the effect */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.workshop-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* Use the same image for the background */
    background-image: url('images/workshop.webp');
    background-size: cover;
    background-position: center;
    /* Apply a filter for a moody, sophisticated feel */
    filter: blur(10px) brightness(0.7) saturate(1.2);
    /* Ensure the image doesn't pixelate when scaled */
    transform: scale(1.1);
}

.workshop-card-v2 {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.workshop-card-v2 .section-title {
    color: var(--color-muted-purple);
    font-weight: 400;
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0;
}

.workshop-card-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
    /* Pull the image up to overlap the top of the card */
    margin-top: -2rem;
    position: relative;
    border: 8px solid white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.workshop-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.workshop-card-body {
    /* Add padding to the top to make space for the overlapping image */
    padding-top: 1.5rem;
}

.workshop-card-body h3 {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    color: var(--color-deep-purple);
    margin-bottom: 1rem;
}

.workshop-card-body p {
    color: #333;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.workshop-meta {
    border-top: 1px solid #ddd;
    padding-top: 1.5rem;
    margin-bottom: 2.5rem;
    display: flex;
    justify-content: space-around;
    gap: 1.5rem;
}

.meta-item strong {
    display: block;
    color: var(--color-muted-purple);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.meta-item span {
    font-weight: 500;
}

.meta-item .highlight {
    color: var(--color-deep-purple);
    font-weight: bold;
}

/* --- Responsive for Sophisticated Section --- */
@media (max-width: 768px) {
    .featured-workshop-section-v2 {
        padding: 4rem 0;
    }
    .workshop-card-v2 {
        padding: 2rem;
    }
    .workshop-card-image {
        width: 140px;
        height: 140px;
    }
    .workshop-card-body h3 {
        font-size: 2rem;
    }
    .workshop-meta {
        flex-direction: column;
        gap: 1rem;
    }
}
/* --- Section 4: Filterable List --- */
.filters-section { background-color: var(--color-bg-light); }
.filters { display: flex; justify-content: center; gap: 1rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.filter-btn {
    background-color: #f1f1f1;
    border: 2px solid transparent;
    padding: 0.6rem 1.5rem;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}
.filter-btn:hover { background-color: #e0e0e0; }
.filter-btn.active {
    background-color: var(--color-deep-purple);
    color: white;
}
.upcoming-class-item {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
    transition: opacity 0.4s ease;
}
.upcoming-class-item img { width: 100px; height: 100px; border-radius: 8px; object-fit: cover; }
.class-details h3 { margin-bottom: 0.25rem; }
.class-details p { font-size: 0.95rem; margin-bottom: 0.5rem; }
.class-details .meta { font-size: 0.9rem; color: #777; }
.btn.disabled { background-color: #ccc; cursor: not-allowed; }

/* --- Section 5: How to Book --- */
.booking-steps-section { background-color: var(--color-light-blue); }
.booking-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    position: relative;
}
.step-item { text-align: center; }
.step-number {
    width: 60px; height: 60px; margin: 0 auto 1rem auto;
    border-radius: 50%; background: var(--color-deep-purple);
    color: white; font-size: 1.8rem; font-family: var(--font-secondary);
    display: flex; align-items: center; justify-content: center;
}

/* --- Section 6: Split CTA Section --- */
/* === REDESIGNED SPLIT CTA STYLES (V2) === */

.split-cta-section-v2 {
    display: flex;
    min-height: 450px;
    background-color: var(--color-bg-dark); /* Fallback color */
}

.cta-panel-v2 {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 2rem;
    position: relative;
    overflow: hidden; /* Crucial for containing the animations */
    text-decoration: none;
    transition: flex 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.cta-panel-v2:hover {
    flex: 1.3; /* A more pronounced growth effect */
}

/* --- Interactive Background Image --- */
.panel-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
    /* Darken and slightly desaturate by default */
    filter: brightness(0.6) saturate(0.8);
    transform: scale(1.0);
    transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), 
                filter 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.cta-panel-v2:hover .panel-bg {
    /* Zoom in and brighten the image on hover */
    transform: scale(1.05);
    filter: brightness(0.8) saturate(1);
}

/* --- Animated Content --- */
.cta-content-v2 {
    position: relative;
    z-index: 2;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.cta-content-v2 h3 {
    color: white;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* The paragraph is hidden by default */
.cta-content-v2 p {
    color: rgba(255, 255, 255, 0.9);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease 0.1s, transform 0.5s ease 0.1s; /* Staggered delay */
}

/* The link/span is also hidden */
.cta-content-v2 span {
    display: inline-block;
    margin-top: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease 0.2s, transform 0.5s ease 0.2s; /* Staggered delay */
}

/* On hover, reveal the hidden text */
.cta-panel-v2:hover p,
.cta-panel-v2:hover span {
    opacity: 1;
    transform: translateY(0);
}

/* Slight lift effect on the title on hover */
.cta-panel-v2:hover h3 {
    transform: translateY(-10px);
}

/* --- Interactive Underline for the Span --- */
.cta-content-v2 span::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0; /* Starts with zero width */
    height: 2px;
    background-color: var(--color-light-blue);
    transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* On hover of the panel, the underline appears */
.cta-panel-v2:hover span::after {
    width: 100%;
}

/* --- Responsive for Redesigned CTA --- */
@media (max-width: 768px) {
    .split-cta-section-v2 {
        flex-direction: column;
    }
    .cta-panel-v2:hover {
        flex: 1; /* Disable the grow effect on mobile */
    }
    .cta-content-v2 h3 {
        transform: translateY(0) !important; /* Reset the title lift */
    }
    /* Always show the content on mobile since hover is not reliable */
    .cta-content-v2 p,
    .cta-content-v2 span {
        opacity: 1;
        transform: translateY(0);
    }
}
/* --- Section 7: Student Spotlight Testimonial --- */
.student-spotlight-section { background-color: #fdfcff; }
.student-spotlight-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}
.student-image img { border-radius: 50%; border: 10px solid white; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.student-quote blockquote {
    font-family: var(--font-secondary);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    line-height: 1.4;
    color: var(--color-deep-purple);
    border-left: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}
.student-quote cite { font-style: normal; font-weight: 500; color: var(--color-muted-purple); }

/* --- RESPONSIVE STYLES FOR CALENDAR PAGE --- */
@media (max-width: 992px) {
    .featured-workshop-container, .student-spotlight-container { grid-template-columns: 1fr; text-align: center; }
    .featured-workshop-image { order: -1; margin-bottom: 2rem; }
    .featured-workshop-details .section-title { text-align: center; }
    .student-image { max-width: 300px; margin: 0 auto 2rem auto; }
}
@media (max-width: 768px) {
    .event-desc { display: none; } /* Hide event text on small screens, keep dot */
    .calendar-day.event::after { /* Add dot for mobile */
        content: ''; display: block; width: 8px; height: 8px;
        background-color: var(--color-deep-purple); border-radius: 50%; margin: 4px auto 0;
    }
    .upcoming-class-item { grid-template-columns: 1fr; text-align: center; }
    .upcoming-class-item img { margin: 0 auto 1rem auto; }
    .split-cta-section { flex-direction: column; }
}

/* === RECIPES PAGE STYLES === */

/* --- Section 1: Recipes Hero --- */
.recipes-hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),  no-repeat center center/cover;
}
.hero-search-form {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}
.hero-search-form input {
    width: 100%; max-width: 500px;
    padding: 0.8rem 1.5rem; border-radius: 50px;
    border: 2px solid var(--color-light-blue);
    background: rgba(255,255,255,0.2);
    color: var(--color-text-light); font-size: 1rem;
}
.hero-search-form input::placeholder { color: #ddd; }
.hero-search-form button { background-color: var(--color-light-blue); color: var(--color-deep-purple); }

/* --- Section 2: Featured Recipe --- */
/* === REDESIGNED FEATURED RECIPE STYLES (V2) === */

.featured-recipe-section-v2 {
    position: relative;
    padding: 8rem 0;
    display: flex;
    align-items: center;
    min-height: 90vh;
    overflow: hidden;
}

.recipe-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    /* Apply filters for the atmospheric effect */
    filter: blur(15px) brightness(0.8);
    /* Scale up slightly to avoid blurry edges */
    transform: scale(1.1);
    z-index: -1;
}

.featured-recipe-grid-v2 {
    display: grid;
    /* Asymmetric grid layout */
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* --- The Glass Card --- */
.recipe-glass-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.recipe-glass-card .section-title {
    text-align: left;
    color: var(--color-deep-purple);
    font-size: 1.2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.recipe-glass-card h3 {
    font-family: var(--font-secondary);
    font-size: 2.8rem;
    color: var(--color-deep-purple);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.recipe-glass-card p {
    color: #333;
    margin-bottom: 2rem;
}

/* --- Meta Details --- */
.recipe-meta {
    border-top: 1px solid rgba(136, 82, 127, 0.3);
    padding-top: 1.5rem;
    margin-bottom: 2.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
}

.meta-item strong {
    display: block;
    font-size: 0.9rem;
    color: var(--color-muted-purple);
    margin-bottom: 0.25rem;
}

.meta-item span {
    font-weight: 500;
    color: var(--color-deep-purple);
}

/* --- The Sharp Image --- */
.recipe-image-pane {
    position: relative;
    transition: transform 0.5s ease;
}

.recipe-image-pane:hover {
    transform: scale(1.05);
}

.recipe-image-pane img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.3);
}

/* --- Responsive for Asymmetric/Glass Section --- */
@media (max-width: 992px) {
    .featured-recipe-grid-v2 {
        grid-template-columns: 1fr; /* Stack the columns */
        gap: 3rem;
    }
    .recipe-image-pane {
        order: -1; /* Move image to the top on mobile */
        max-width: 500px;
        margin: 0 auto;
    }
    .recipe-glass-card {
        padding: 2rem;
        text-align: center;
    }
    .recipe-glass-card .section-title {
        text-align: center;
    }
}

/* --- Section 3: Recipe Grid --- */
.recipe-grid-section { background-color: var(--color-bg-light); }
.recipe-filters { display: flex; justify-content: center; gap: 1rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.recipe-filter-btn {
    background-color: transparent; border: 2px solid var(--color-light-blue);
    color: var(--color-muted-purple); padding: 0.6rem 1.5rem; border-radius: 20px;
    cursor: pointer; font-weight: 500; transition: all 0.3s ease;
}
.recipe-filter-btn:hover { background-color: var(--color-light-blue); color: var(--color-deep-purple); }
.recipe-filter-btn.active {
    background-color: var(--color-muted-purple); color: white; border-color: var(--color-muted-purple);
}
.recipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.recipe-card {
    background-color: white; border-radius: 10px; overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.recipe-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(136, 82, 127, 0.15);
}
.recipe-card img { width: 100%; height: 200px; object-fit: cover; }
.recipe-card-content { padding: 1.5rem; }
.recipe-card-content h4 { margin-bottom: 0.5rem; }
.recipe-card-content p { font-size: 0.95rem; margin-bottom: 1rem; }
.recipe-card-content span { font-size: 0.85rem; color: #777; }

/* --- Section 4: From Our Chefs --- */
.chef-favorite-section { background-color: var(--color-light-blue); }
.chef-favorite-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    overflow: hidden;
}
.chef-favorite-bio { text-align: center; padding: 3rem; background: #f7f3f9; }
.chef-favorite-bio img { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; margin-bottom: 1rem; border: 5px solid white; }
.chef-favorite-recipe { padding: 3rem; display: flex; flex-direction: column; justify-content: center; }
.chef-favorite-recipe h2 { margin-bottom: 1rem; }

/* --- Section 5: Tips & Techniques --- */
.tips-techniques-section { background-color: #f7f3f9; }
.tips-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.tip-card {
    background: white; border-radius: 10px;
    display: flex; flex-direction: column;
}
.tip-card img { border-radius: 10px 10px 0 0; height: 250px; object-fit: cover; }
.tip-card h4 { padding: 1.5rem 1.5rem 0 1.5rem; }
.tip-card p { padding: 0 1.5rem 1.5rem 1.5rem; }

/* --- Section 6: Community Spotlight --- */
.community-spotlight-section { background-color: white; }
.spotlight-card {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem; align-items: center;
    max-width: 1000px; margin: 0 auto;
}
.spotlight-card img { border-radius: 10px; width: 100%; height: 400px; object-fit: cover; }
.spotlight-content h3 { font-size: 2rem; color: var(--color-deep-purple); }
.spotlight-content p { font-style: italic; color: #555; }
.spotlight-content cite { font-style: normal; font-weight: bold; color: var(--color-muted-purple); }

/* --- Section 7: Unlock More Recipes CTA --- */
.unlock-cta-section {
    background: linear-gradient(45deg, var(--color-deep-purple), var(--color-muted-purple));
    color: white; text-align: center;
}
.unlock-cta-container { max-width: 800px; }
.unlock-cta-container h2, .unlock-cta-container p { color: white; }
.newsletter-form-inline {
    display: flex; justify-content: center; gap: 1rem; margin-top: 2rem;
}
.newsletter-form-inline input {
    width: 100%; max-width: 400px; padding: 0.8rem 1.5rem;
    border-radius: 50px; border: 2px solid var(--color-light-blue);
    background: transparent; color: white; font-size: 1rem;
}
.newsletter-form-inline input::placeholder { color: rgba(255,255,255,0.7); }

/* --- RESPONSIVE STYLES FOR RECIPES PAGE --- */
@media (max-width: 992px) {
    .featured-recipe-container, .chef-favorite-container, .spotlight-card { grid-template-columns: 1fr; }
    .featured-recipe-image { order: -1; margin-bottom: 2rem; }
    .featured-recipe-content .section-title { text-align: center; }
    .tips-grid { grid-template-columns: 1fr; }
}
@media (max-width: 576px) {
    .hero-search-form, .newsletter-form-inline { flex-direction: column; align-items: center; }
    .hero-search-form input, .newsletter-form-inline input { max-width: 100%; }
}

/* === GALLERY PAGE STYLES === */

/* --- Section 1: Gallery Hero --- */
.gallery-hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),  no-repeat center center/cover;
}

/* --- Section 2: Masonry Grid --- */
.creation-gallery-section { background-color: #f7f3f9; }
.masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-auto-rows: 250px;
    gap: 1rem;
}
.masonry-item { overflow: hidden; border-radius: 10px; }
.masonry-item img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.4s ease;
}
.masonry-item:hover img { transform: scale(1.05); }
.masonry-item.tall { grid-row: span 2; }
.masonry-item.wide { grid-column: span 2; }

/* --- Section 3: Masterpieces Grid --- */
.masterpieces-section { background-color: var(--color-bg-light); }
.masterpiece-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 1.5rem;
}
.masterpiece-item {
    aspect-ratio: 1/1; border-radius: 50%;
    overflow: hidden; position: relative;
}
.masterpiece-item::before {
    content: 'View'; position: absolute; top: 0; left: 0;
    width: 100%; height: 100%; background: rgba(136, 82, 127, 0.7);
    color: white; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; font-family: var(--font-secondary);
    opacity: 0; transition: opacity 0.4s ease;
}
.masterpiece-item:hover::before { opacity: 1; }
.masterpiece-item img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.4s ease;
    border-radius: 50%;
}
.masterpiece-item:hover img { transform: scale(1.1); }

/* --- Section 4: Faces Collage --- */
.faces-section { background-color: #f7f3f9; }
.faces-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem; align-items: center;
}
.faces-text .section-title { text-align: left; }
.faces-collage { position: relative; height: 450px; }
.face-img {
    position: absolute; border-radius: 10px;
    overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: transform 0.4s ease, z-index 0s 0.2s;
}
.face-img:hover { transform: scale(1.08) rotate(2deg) !important; z-index: 10; }
.face-img img { width: 100%; height: 100%; object-fit: cover; }
.face-1 { width: 50%; top: 0; left: 10%; transform: rotate(-8deg); }
.face-2 { width: 45%; top: 40%; left: 45%; transform: rotate(5deg); z-index: 2; }
.face-3 { width: 40%; top: 25%; left: 0; transform: rotate(10deg); }

/* --- Section 5: Our Inspiring Kitchens --- */
.kitchen-gallery-section { background-color: var(--color-light-blue); }
.kitchen-gallery-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem; align-items: center;
}
.kitchen-text .section-title { text-align: left; }
.kitchen-image img { border-radius: 10px; width: 100%; height: 400px; object-fit: cover; border: 10px solid white; }

/* --- Section 6: Celebrations & Gatherings --- */
.events-gallery-section { background-color: white; }
.events-gallery-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem; align-items: center;
}
.events-gallery-text { order: -1; } /* Text on the left */
.events-gallery-text .section-title { text-align: left; }
.events-gallery-images { position: relative; height: 500px; }
.events-gallery-images a { position: absolute; border-radius: 10px; overflow: hidden; }
.event-image-1 { top: 0; left: 0; width: 65%; height: 90%; z-index: 2; }
.event-image-2 { bottom: 0; right: 0; width: 70%; height: 80%; }

/* --- Section 7: Video Section --- */
.video-section { background: var(--color-bg-dark); }
.video-thumbnail-link { display: block; position: relative; max-width: 900px; margin: 2rem auto 0 auto; border-radius: 10px; overflow: hidden; }
.video-thumbnail-link:hover .play-button { transform: scale(1.1); background-color: rgba(177, 221, 241, 1); }
.play-button {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 80px; height: 80px; background-color: rgba(177, 221, 241, 0.9);
    border-radius: 50%; transition: all 0.3s ease;
}
.play-button::after {
    content: ''; position: absolute; top: 50%; left: 53%;
    transform: translate(-50%, -50%);
    width: 0; height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 25px solid var(--color-deep-purple);
}

/* --- LIGHTBOX STYLES --- */
.lightbox {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(20, 10, 18, 0.9);
    display: none; align-items: center; justify-content: center;
    z-index: 9999;
}
.lightbox-content {
    max-width: 90%; max-height: 85%;
    display: block;
}
.lightbox-close {
    position: absolute; top: 30px; right: 40px;
    font-size: 40px; color: #fff;
    cursor: pointer;
}

/* --- RESPONSIVE STYLES FOR GALLERY PAGE --- */
@media (max-width: 992px) {
    .masterpiece-grid { grid-template-columns: 1fr; }
    .faces-container, .kitchen-gallery-container, .events-gallery-container { grid-template-columns: 1fr; }
    .faces-text, .kitchen-text, .events-gallery-text { text-align: center; }
    .faces-text .section-title, .kitchen-text .section-title, .events-gallery-text .section-title { text-align: center; }
    .faces-collage, .events-gallery-images { margin-top: 3rem; height: 400px; }
    .events-gallery-text { order: 0; }
}
@media (max-width: 768px) {
    .masonry-item, .masonry-item.tall, .masonry-item.wide { grid-column: span 1; grid-row: span 1; }
}

/* === FOOTER === */
.site-footer-main {
    background-color: #f7f3f9;
    padding-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding-bottom: 4rem;
}

.footer-grid h4 {
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-social a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border: 1px solid var(--color-muted-purple);
    border-radius: 50%;
    margin-right: 0.5rem;
}

.footer-social a:hover {
    background-color: var(--color-muted-purple);
    color: white;
}

.footer-bottom {
    border-top: 1px solid #e0e0e0;
    text-align: center;
    padding: 1.5rem 0;
    font-size: 0.9rem;
}

/* === ANIMATIONS ON SCROLL === */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in { transform: translateY(30px); }
.slide-up { transform: translateY(50px); }
.slide-up-left { transform: translateX(-50px); }

.animate-on-scroll.visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 992px) {
    .courses-carousel, .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .chef-spotlight-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .chef-bio-wrapper .section-title {
        text-align: center;
    }
    .chef-image-wrapper {
        max-width: 400px;
        margin: 0 auto;
    }
    .main-nav {
        /* display: none; */
        display: block;
        opacity: 0;
        visibility: hidden;
        transition: all ease .4s;
        position: absolute;
        top: 70%;
        left: 0;
        width: 100%;
        background: var(--color-bg-light);
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    .main-nav.nav-active {
        display: block;
        top: 100%;
        opacity: 1;
        visibility: visible;
    }
    .nav-list {
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        gap: 1.5rem;
    }
    .nav-toggle {
        display: block;
    }
    .nav-toggle.active .hamburger {
        background-color: transparent;
    }
    .nav-toggle.active .hamburger::before {
        transform: rotate(45deg);
        top: 0;
    }
    .nav-toggle.active .hamburger::after {
        transform: rotate(-45deg);
        top: 0;
    }
}

@media (max-width: 576px) {
    section {
        padding: 6rem 0;
    }
    .newsletter-form {
        flex-direction: column;
        align-items: center;
    }
    .newsletter-form input, .newsletter-form button {
        width: 100%;
        max-width: 400px;
    }
}

/* === LEGAL PAGES STYLES (Privacy Policy, etc.) === */

.legal-hero-section {
    padding: 6rem 0;
    background-color: var(--color-light-blue);
    text-align: center;
}

.legal-hero-section .page-title {
    color: var(--color-deep-purple);
}

.legal-hero-section .page-subtitle {
    font-size: 1.2rem;
    color: var(--color-deep-purple);
    opacity: 0.8;
    margin-top: 0.5rem;
}

.legal-content-section {
    padding: 4rem 0;
    background-color: var(--color-bg-light);
}

.legal-content-container {
    max-width: 800px; /* Optimal width for reading text */
    margin: 0 auto;
}

.legal-content-container .last-updated {
    font-style: italic;
    color: #777;
    margin-bottom: 2.5rem;
    text-align: center;
}

.legal-content-container article {
    margin-bottom: 3rem;
}

.legal-content-container h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #eee;
}

.legal-content-container p {
    line-height: 1.8;
    color: #444;
}

.legal-content-container ul {
    list-style: disc;
    padding-left: 2rem;
    margin: 1rem 0;
}

.legal-content-container li {
    margin-bottom: 0.75rem;
    line-height: 1.8;
    color: #444;
}

.legal-content-container article:last-child {
    text-align: center;
}

/* === UTILITY & THANK YOU PAGE STYLES === */

.utility-page-body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--color-light-blue) 0%, #e0d9eb 100%);
    padding: 2rem;
}

.thank-you-box {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 3rem 4rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    max-width: 600px;
    text-align: center;
    /* Entrance Animation */
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInBox 0.8s ease-out 0.5s forwards; /* Delay allows checkmark to play first */
}

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

.thank-you-box h1 {
    font-family: var(--font-secondary);
    font-size: 3rem;
    color: var(--color-deep-purple);
    margin-bottom: 1rem;
}

.thank-you-box p {
    color: #444;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.thank-you-box .btn {
    margin-top: 1rem;
}

/* --- Animated SVG Checkmark --- */
.checkmark-svg {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: block;
    stroke-width: 3;
    stroke: var(--color-deep-purple);
    stroke-miterlimit: 10;
    margin: 0 auto 1.5rem auto;
}

.checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke: var(--color-muted-purple);
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards; /* Delayed start */
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

/* --- Responsive for Thank You Page --- */
@media (max-width: 576px) {
    .thank-you-box {
        padding: 2.5rem 1.5rem;
    }
    .thank-you-box h1 {
        font-size: 2.5rem;
    }
}