/* ======================= GLOBAL STYLES & VARIABLES ======================= */
:root {
    --bg-color: #ECEBE4;
    --primary-color: #CC998D;
    --accent-color: #16F4D0;
    --text-color: #333;
    --light-text-color: #f0f0f0;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Roboto', sans-serif;
    --container-width: 1200px;
    --section-padding: 6rem 0;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
}

section
{
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--text-color);
    line-height: 1.2;
    font-weight: 700;
}

h1 { font-size: 4rem; margin-bottom: 1rem; }
h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }

p { margin-bottom: 1rem; }
a { color: var(--primary-color); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--accent-color); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ======================= REUSABLE COMPONENTS ======================= */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

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

.btn-secondary {
    background-color: transparent;
    color: var(--text-color);
    border-color: var(--text-color);
}
.btn-secondary:hover {
    background-color: var(--text-color);
    color: var(--bg-color);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}
.section-title p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #666;
}

/* ======================= HEADER ======================= */
.main-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    background-color: rgba(236, 235, 228, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(204, 153, 141, 0.2);
    transition: background-color 0.3s ease;
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
}
.logo:hover { color: var(--primary-color); }

.main-nav ul {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    color: var(--text-color);
    font-weight: 400;
    position: relative;
    padding: 0.5rem 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

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

.nav-toggle { display: none; } /* For mobile */

/* ======================= 1. HERO SECTION ======================= */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    color: var(--light-text-color);
    padding: var(--section-padding);
}
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/hero-bg.webp') no-repeat center center/cover; /* Image 12 */
    z-index: -2;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}
.hero-content {
    max-width: 800px;
}
.hero-content h1 { color: var(--bg-color); }
.hero-content p { font-size: 1.25rem; font-weight: 300; margin-bottom: 2rem; }

/* ======================= 2. PHILOSOPHY SECTION ======================= */
.philosophy-section {
    padding: var(--section-padding);
}
.philosophy-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.philosophy-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 10px 10px 0 var(--primary-color);
}
.philosophy-text h2 {
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}
.philosophy-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
}

/* ======================= 3. FEATURED PRODUCTS SECTION ======================= */
.featured-section {
    padding: var(--section-padding);
    background-color: #fff;
}
.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}
.cake-card {
    background: var(--bg-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cake-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.cake-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}
.card-content {
    padding: 1.5rem;
}
.card-content a {
    font-weight: bold;
    color: var(--text-color);
}

/* ======================= 4. EXPERIENCE SECTION ======================= */
.experience-section {
    padding: var(--section-padding);
    background: url('images/exp-bg.webp') no-repeat center center/cover; /* Image from unsplash or similar */
    background-attachment: fixed;
    position: relative;
    color: var(--light-text-color);
    text-align: center;
}
.experience-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}
.experience-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}
.experience-content h2 {
    color: var(--accent-color);
}

/* ======================= 5. QUOTE SECTION ======================= */
/* ======================= 5. QUOTE SECTION (REDESIGNED) ======================= */
.quote-section-redesigned {
    padding: var(--section-padding);
    background-color: var(--bg-color);
    overflow: hidden; /* Prevents animations from showing outside section bounds */
}
.quote-redesigned-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}
.quote-image-wrapper {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 15px 15px 0px var(--accent-color);
}
.quote-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quote-content-wrapper {
    position: relative;
    padding: 2rem;
}
.quote-svg-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: auto;
    z-index: 0;
    opacity: 0.1;
    fill: var(--primary-color);
    transform: translate(-20px, -20px);
}
.quote-content-wrapper blockquote {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    line-height: 1.4;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
    color: var(--text-color);
}
/* We remove the old ::before and ::after pseudo-elements for the quotes */
.quote-content-wrapper blockquote::before,
.quote-content-wrapper blockquote::after {
    content: none;
}

.quote-content-wrapper cite {
    font-style: normal;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary-color);
    font-size: 1rem;
    position: relative;
    padding-left: 70px; /* Make space for the line */
}
.quote-content-wrapper cite::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

/* Responsive adjustments for the new quote section */
@media (max-width: 992px) {
    .quote-redesigned-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .quote-image-wrapper {
        max-width: 400px;
        margin: 0 auto;
    }
    .quote-content-wrapper {
        text-align: center;
    }
    .quote-content-wrapper cite {
        padding-left: 0;
        display: block; /* Allows centering */
    }
    .quote-content-wrapper cite::before {
        /* Center the line above the citation on mobile */
        left: 50%;
        top: -1.5rem;
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .quote-content-wrapper blockquote {
        font-size: 2.2rem;
    }
}
/* ======================= 6. GALLERY SECTION ======================= */
.gallery-section {
    padding: var(--section-padding);
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 250px);
    gap: 1rem;
}
.gallery-item {
    overflow: hidden;
    border-radius: 8px;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, filter 0.4s ease;
}
.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(0.8);
}
.item-1 { grid-column: 1 / 3; grid-row: 1 / 2; }
.item-2 { grid-column: 3 / 4; grid-row: 1 / 2; }
.item-3 { grid-column: 4 / 5; grid-row: 1 / 3; }
.item-4 { grid-column: 1 / 2; grid-row: 2 / 3; }
.item-5 { grid-column: 2 / 4; grid-row: 2 / 4; }
.item-6 { grid-column: 1 / 2; grid-row: 3 / 4; }
.item-7 { grid-column: 4 / 5; grid-row: 3 / 4; }

/* ======================= 7. CTA SECTION ======================= */
.cta-section {
    padding: var(--section-padding);
    background-color: var(--accent-color);
}
.cta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}
.cta-text {
    flex-basis: 50%;
}
.cta-form {
    flex-basis: 50%;
}
.cta-form form {
    display: flex;
    gap: 0.5rem;
    background: #fff;
    padding: 0.5rem;
    border-radius: 50px;
}
.cta-form input {
    flex-grow: 1;
    border: none;
    outline: none;
    padding: 0 1rem;
    font-size: 1rem;
    background: transparent;
}
.cta-form .btn {
    padding: 0.6rem 1.5rem;
}

/* ==========================================================================
   PRODUCTS PAGE STYLES
   ========================================================================== */

/* ======================= 1. PAGE HERO SECTION ======================= */
/* ======================= 1. PAGE HERO SECTION (REDESIGNED) ======================= */
.page-hero-redesigned {
    padding: var(--section-padding);
    background-color: #fff; /* Use a solid background to make the elements pop */
    overflow: hidden;
}
.page-hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}
.hero-text-content h1 {
    font-size: 4rem;
    position: relative;
    padding-top: 1.5rem;
    margin-bottom: 1.5rem;
}
.hero-text-content h1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
}
.hero-text-content p {
    font-size: 1.2rem;
    max-width: 500px;
    color: #666;
}
.hero-image-wrapper {
    position: relative;
    justify-self: center; /* Center the wrapper in its grid cell */
}
.hero-image-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    background-color: var(--accent-color);
    border-radius: 8px;
    z-index: 0;
}
.hero-image-wrapper img {
    position: relative; /* To ensure it's on top of the ::before element */
    z-index: 1;
    border-radius: 8px;
    display: block;
    width: 100%;
    max-width: 400px; /* Control max width for very large screens */
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* Responsive adjustments for the new hero section */
@media (max-width: 992px) {
    .page-hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    .hero-image-wrapper {
        order: -1; /* Puts image on top on smaller screens */
        margin-bottom: 2rem;
    }
    .hero-text-content h1::before {
        left: 50%;
        transform: translateX(-50%);
    }
    .hero-text-content p {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero-text-content h1 {
        font-size: 3rem;
    }
}

/* ======================= 2. PRODUCT FILTER SECTION ======================= */
.product-filter-section {
    padding: 2rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}
.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.btn-filter {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid #ccc;
    font-weight: 400;
    transition: all 0.3s ease;
}
.btn-filter:hover, .btn-filter.active {
    background-color: var(--text-color);
    color: var(--bg-color);
    border-color: var(--text-color);
}

/* ======================= 3. SIGNATURE CAKES GRID ======================= */
.product-grid-section {
    padding: var(--section-padding);
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}
.product-card {
    display: flex;
    flex-direction: column;
    text-align: center;
}
.product-image {
    overflow: hidden;
    margin-bottom: 1.5rem;
    border-radius: 8px;
}
.product-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.product-card:hover .product-image img {
    transform: scale(1.05);
}
.product-info h3 {
    font-size: 1.8rem;
}
.price {
    display: block;
    font-size: 1.5rem;
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-top: 1rem;
}

/* ======================= 4. CUSTOM CAKE PROCESS SECTION ======================= */
.custom-process-section {
    padding: var(--section-padding);
    background-color: #fff;
}
.process-steps {
    max-width: 800px;
    margin: 0 auto 4rem;
    position: relative;
}
.process-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: flex-start;
}
.step-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--accent-color);
    line-height: 1;
    min-width: 80px;
    text-align: center;
}
.step-content h3 {
    margin-bottom: 0.5rem;
}
/* Alternating layout for larger screens */
@media (min-width: 768px) {
    .process-step:nth-child(even) {
        flex-direction: row-reverse;
        text-align: right;
    }
    .process-step:nth-child(even) .step-number {
        color: var(--primary-color);
    }
}
.process-image-wrapper {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* ======================= 5. FEATURED PRODUCT SHOWCASE ======================= */
/* ======================= 5. FEATURED PRODUCT SHOWCASE (REDESIGNED & INTERACTIVE) ======================= */
.featured-showcase-interactive-section {
    padding: var(--section-padding);
    background-color: #fff; /* A clean background to make the section stand out */
    overflow: hidden;
}

.featured-showcase-interactive-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2rem; /* Reduced gap for overlap effect */
}

/* Interactive Image Styles */
.featured-showcase-image-interactive {
    position: relative; /* Crucial for positioning hotspots */
    z-index: 1;
}
.featured-showcase-image-interactive img {
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    display: block;
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* Hotspot Styles */
.hotspot {
    position: absolute;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}
.hotspot-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background-color: var(--bg-color);
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    transition: transform 0.3s ease;
}
/* Pulsing Animation for the dot's shadow */
.hotspot-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--accent-color);
    animation: pulse 2s infinite ease-in-out;
    z-index: -1;
}
@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    100% { transform: translate(-50%, -50%) scale(3); opacity: 0; }
}

/* Tooltip Styles */
.hotspot-tooltip {
    position: absolute;
    bottom: 125%; /* Position above the dot */
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--text-color);
    color: var(--bg-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateX(-50%) translateY(10px); /* Initial position for animation */
}
.hotspot:hover .hotspot-dot {
    transform: translate(-50%, -50%) scale(1.2);
}
.hotspot:hover .hotspot-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Text Content Styles */
.featured-showcase-content-interactive {
    position: relative;
    z-index: 2; /* Ensure text content is on top of the image */
    background: var(--bg-color);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    /* Negative margin pulls the text block over the image column */
    margin-left: -5rem; 
}
.featured-showcase-content-interactive span {
    display: block;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 1rem;
}
.featured-showcase-content-interactive h2 {
    font-size: 3rem;
}
.featured-showcase-content-interactive p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Responsive adjustments for the new showcase section */
@media (max-width: 992px) {
    .featured-showcase-interactive-container {
        grid-template-columns: 1fr;
        gap: 0; /* Remove gap when stacked */
    }
    .featured-showcase-image-interactive {
        margin-bottom: -4rem; /* Pull the text block up over the image */
    }
    .featured-showcase-content-interactive {
        margin-left: 0;
        padding: 2rem;
        text-align: center;
    }
    .featured-showcase-content-interactive h2 {
        font-size: 2.5rem;
    }
    /* Adjust tooltip position for mobile to prevent overflow */
    .hotspot-tooltip {
        bottom: auto;
        top: 125%;
    }
}
/* ======================= 6. CUPCAKES & SMALL TREATS SECTION ======================= */
.small-treats-section {
    padding: var(--section-padding);
    background-color: var(--bg-color);
}
.small-treats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
.treat-card {
    text-align: center;
}
.treat-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.treat-card:hover img {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
.treat-card h3 {
    font-size: 1.4rem;
}
.treat-card p {
    font-size: 0.9rem;
    color: #666;
}

/* ======================= 7. ORDERING INFO / CTA SECTION ======================= */
.ordering-info-section {
    padding: var(--section-padding);
    background-color: #fff;
}
.ordering-info-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}
.ordering-text {
    flex: 3;
}
.ordering-images {
    flex: 2;
    position: relative;
    height: 400px;
    min-width: 300px;
}
.ordering-images img {
    position: absolute;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    object-fit: cover;
    transition: transform 0.4s ease;
}
.ordering-images:hover img {
    transform: scale(0.95);
}
.ordering-images .img1 {
    width: 60%;
    height: 90%;
    top: 0;
    left: 0;
    z-index: 2;
}
.ordering-images .img2 {
    width: 60%;
    height: 90%;
    bottom: 0;
    right: 0;
    z-index: 1;
}

/* ======================= RESPONSIVE STYLES FOR PRODUCTS PAGE ======================= */
@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    .featured-showcase-container {
        grid-template-columns: 1fr;
    }
    .featured-showcase-image {
        max-width: 500px;
        margin: 0 auto;
    }
    .ordering-info-container {
        flex-direction: column;
    }
    .ordering-text {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .step-content {
        text-align: left !important;
    }
    .process-step {
        flex-direction: row !important;
    }
}

/* ==========================================================================
   ABOUT PAGE STYLES
   ========================================================================== */

/* ======================= 1. ABOUT HERO SECTION ======================= */
.about-hero {
    padding: 8rem 0;
    text-align: center;
    color: var(--light-text-color);
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('images/about-bg.webp') no-repeat center center/cover;
    background-attachment: fixed;
}
.about-hero h1 {
    font-size: 3.5rem;
    color: var(--bg-color);
}
.about-hero p {
    font-size: 1.2rem;
    color: var(--accent-color);
    font-weight: 300;
}

/* ======================= 2. FOUNDER'S STORY SECTION ======================= */
/* ======================= 2. FOUNDER'S STORY SECTION (REDESIGNED) ======================= */
.founder-section-redesigned {
    padding: var(--section-padding);
    background-color: #fff; /* A clean background to highlight the layout */
    overflow: hidden;
}
.founder-redesigned-container {
    display: grid;
    /* The core of the text-image-text layout */
    grid-template-columns: 1fr auto 1fr; 
    gap: 4rem;
    align-items: center;
}

/* Central Image Styles */
.founder-image-center {
    position: relative; /* For the background panel */
    z-index: 10;
}
.founder-image-center img {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    object-fit: cover;
    border: 10px solid var(--bg-color);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    position: relative; /* To sit above the ::before element */
    z-index: 2;
}
/* The decorative background panel */
.founder-image-center::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 110%;
    background-color: var(--primary-color);
    border-radius: 8px;
    z-index: 1;
    transform: translate(-50%, -50%) rotate(-6deg);
}

/* Text Column Styles */
.founder-intro-text {
    text-align: right;
}
.founder-concluding-text {
    text-align: left;
}
.founder-intro-text span {
    display: block;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}
.founder-intro-text h2 {
    font-size: 2.8rem;
}
.founder-intro-text p, .founder-concluding-text p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
}

/* Responsive adjustments for the new founder section */
@media (max-width: 992px) {
    .founder-redesigned-container {
        grid-template-columns: 1fr; /* Stack the columns */
        gap: 2rem;
    }
    .founder-image-center {
        order: -1; /* Move image to the top on mobile */
        margin-bottom: 2rem;
    }
    .founder-image-center img {
        width: 250px;
        height: 250px;
        margin: 0 auto; /* Center the image */
    }
    .founder-intro-text, .founder-concluding-text {
        text-align: center; /* Center all text */
    }
    .founder-intro-text h2 {
        font-size: 2.2rem;
    }
}
/* ======================= 3. OUR VALUES SECTION ======================= */
.values-section {
    padding: var(--section-padding);
    background-color: #fff;
}
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    text-align: center;
}
.value-card {
    padding: 2rem;
}
.value-card img {
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
}
.value-card:hover img {
    transform: scale(1.1) rotate(10deg);
}
.value-card h3 {
    color: var(--text-color);
}

/* ======================= 4. MEET THE TEAM SECTION ======================= */
.team-section {
    padding: var(--section-padding);
}
.team-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 4rem;
}
.team-intro h2 {
    font-size: 2.5rem;
}
.team-photo {
    width: 100%;
    margin-top: 2rem;
    border-radius: 8px;
    object-fit: cover;
    height: 400px;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    justify-content: center;
    max-width: 800px; /* Center the grid items if there are only 2 */
    margin: 0 auto;
}
.team-member {
    text-align: center;
}
.team-member img {
    width: 100%;
    max-width: 300px;
    border-radius: 50%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    margin: 0 auto 1rem;
    border: 5px solid var(--bg-color);
    box-shadow: 0 0 0 5px var(--primary-color);
}
.team-member h3 {
    font-size: 1.6rem;
    margin-bottom: 0.25rem;
}
.team-member span {
    color: var(--primary-color);
    font-weight: bold;
    display: block;
    margin-bottom: 0.5rem;
}

/* ======================= 5. OUR SPACE GALLERY SECTION ======================= */
.space-gallery-section {
    padding: var(--section-padding);
    background-color: #fff;
}
.space-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 250px);
    gap: 1rem;
}
.space-gallery-grid div {
    overflow: hidden;
    border-radius: 8px;
}
.space-gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.space-gallery-grid div:hover img {
    transform: scale(1.05);
}
.gallery-img-1 { grid-column: 1 / 3; grid-row: 1 / 3; }
.gallery-img-2 { grid-column: 3 / 4; grid-row: 1 / 2; }
.gallery-img-3 { grid-column: 3 / 4; grid-row: 2 / 3; }

/* ======================= 6. COMMITMENT SECTION ======================= */
.commitment-section {
    padding: var(--section-padding);
}
.commitment-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}
.commitment-image img {
    border-radius: 8px;
    box-shadow: -10px 10px 0 var(--accent-color);
}
.commitment-text h2 {
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}
.commitment-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

/* ======================= 7. JOURNEY CTA SECTION ======================= */
.journey-cta-section {
    padding: var(--section-padding);
    background: linear-gradient(rgba(204, 153, 141, 0.85), rgba(204, 153, 141, 0.85)),  no-repeat center center/cover;
    color: var(--bg-color);
    text-align: center;
}
.journey-cta-content {
    max-width: 800px;
}
.journey-cta-content h2 {
    color: var(--bg-color);
    font-size: 2.5rem;
}
.journey-buttons {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.journey-cta-section .btn-primary {
    background-color: var(--bg-color);
    color: var(--primary-color);
    border-color: var(--bg-color);
}
.journey-cta-section .btn-primary:hover {
    background: transparent;
    color: var(--bg-color);
}
.journey-cta-section .btn-secondary {
    border-color: var(--bg-color);
    color: var(--bg-color);
}
.journey-cta-section .btn-secondary:hover {
    background: var(--bg-color);
    color: var(--primary-color);
}

/* ======================= RESPONSIVE STYLES FOR ABOUT PAGE ======================= */
@media (max-width: 992px) {
    .founder-container, .commitment-container {
        grid-template-columns: 1fr;
    }
    .founder-image, .commitment-image {
        order: -1; /* Puts image on top */
        max-width: 500px;
        margin: 0 auto;
    }
    .space-gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .space-gallery-grid div {
        grid-column: auto !important;
        grid-row: auto !important;
        height: 300px;
    }
}
@media (max-width: 768px) {
    .founder-text h2 { font-size: 2.2rem; }
    .team-photo { height: 300px; }
}

/* ==========================================================================
   REVIEWS PAGE STYLES
   ========================================================================== */

/* ======================= 1. REVIEWS HERO SECTION ======================= */
/* ======================= 1. REVIEWS HERO SECTION (REDESIGNED) ======================= */
.reviews-hero-redesigned {
    padding: var(--section-padding);
    background-color: #fff;
    overflow: hidden;
}
.reviews-hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}
.hero-text-wrapper {
    position: relative;
    z-index: 2; /* Ensures text is above the SVG */
}
.hero-text-wrapper h1 {
    font-size: 3.8rem;
    margin-bottom: 1rem;
}
.hero-text-wrapper p {
    font-size: 1.2rem;
    max-width: 500px;
    color: #666;
    line-height: 1.8;
}

/* The giant decorative quote mark */
.quote-mark-svg {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(-25%, -60%);
    width: 250px;
    height: auto;
    fill: var(--primary-color);
    opacity: 0.08;
    z-index: -1;
    pointer-events: none; /* Allows text selection over the SVG */
}

/* Image styling */
.hero-image-container {
    position: relative;
}
.hero-image-container img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    display: block;
}
/* The small decorative circle */
.image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 60px;
    height: 60px;
    background-color: var(--accent-color);
    border-radius: 50%;
    z-index: -1;
    transition: transform 0.3s ease;
}
.hero-image-container:hover .image-accent {
    transform: scale(1.2);
}

/* Responsive adjustments for the new hero section */
@media (max-width: 992px) {
    .reviews-hero-container {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }
    .hero-image-container {
        order: -1; /* Move image to the top */
        max-width: 400px;
        margin: 0 auto;
    }
    .hero-text-wrapper p {
        margin: 0 auto;
    }
    .quote-mark-svg {
        width: 200px;
        left: 50%;
        top: 0;
        transform: translate(-50%, -50%);
    }
}

@media (max-width: 768px) {
    .hero-text-wrapper h1 {
        font-size: 3rem;
    }
}

/* ======================= 2. STATS & SNIPPETS SECTION ======================= */
.stats-section {
    padding: var(--section-padding);
    background-color: #fff;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    text-align: center;
}
.stat-item {
    padding: 2rem;
    border: 1px solid #ddd;
    border-radius: 8px;
}
.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--primary-color);
    line-height: 1;
}
.stat-label {
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0.5rem 0;
    color: #888;
}
.stat-item p {
    font-style: italic;
    color: #666;
    margin-top: 1rem;
    margin-bottom: 0;
}

/* ======================= 3. TESTIMONIAL CAROUSEL SECTION ======================= */
.testimonial-carousel-section {
    padding: var(--section-padding);
}
.testimonial-carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 80%; /* Each card takes up 80% of the viewport width */
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 1.5rem; /* Space for scrollbar */
}
/* For wider screens, make cards smaller */
@media (min-width: 768px) {
    .testimonial-carousel {
        grid-auto-columns: 45%;
    }
}
.testimonial-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.07);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
}
.testimonial-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}
.testimonial-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.testimonial-content .stars {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.testimonial-content blockquote {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    flex-grow: 1;
}
.testimonial-content cite {
    font-family: var(--font-heading);
    font-style: normal;
    font-size: 1.2rem;
    font-weight: 700;
}
.testimonial-content .occasion {
    font-size: 0.9rem;
    color: #777;
    margin-top: 0.25rem;
}
/* Custom Scrollbar */
.testimonial-carousel::-webkit-scrollbar {
    height: 8px;
}
.testimonial-carousel::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}
.testimonial-carousel::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}
.testimonial-carousel::-webkit-scrollbar-thumb:hover {
    background: #b3887e;
}

/* ======================= 4. FEATURED REVIEW SECTION ======================= */
.featured-review-section {
    padding: var(--section-padding);
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/featured-bg.webp') no-repeat center center/cover;
    background-attachment: fixed;
    color: var(--bg-color);
}
.featured-review-container {
    display: flex;
    justify-content: flex-end;
}
.featured-review-box {
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
    padding: 3rem;
    border-radius: 8px;
    max-width: 600px;
    border-left: 5px solid var(--accent-color);
}
.featured-review-box span {
    display: block;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}
.featured-review-box h2 {
    font-size: 2.2rem;
    color: #fff;
}
.featured-review-box cite {
    display: block;
    margin-top: 1.5rem;
    font-family: var(--font-heading);
    font-style: normal;
    font-size: 1.2rem;
}

/* ======================= 5. MEDIA MENTIONS SECTION ======================= */
.media-section {
    padding: var(--section-padding);
    background-color: #fff;
}
.media-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
}
.media-logo img {
    max-width: 180px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.3s ease, opacity 0.3s ease;
}
.media-logo img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* ======================= 6. CUSTOMER PHOTO GALLERY ======================= */
.customer-gallery-section {
    padding: var(--section-padding);
}
.customer-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 1rem;
}
.gallery-photo {
    overflow: hidden;
    border-radius: 8px;
    position: relative;
}
.gallery-photo::after {
    content: 'View Moment →';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    text-align: center;
    font-weight: bold;
}
.gallery-photo:hover::after {
    transform: translateY(0);
}
.gallery-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.gallery-photo:hover img {
    transform: scale(1.05);
}
.photo-1 { grid-column: 1 / 2; grid-row: 1 / 3; }
.photo-2 { grid-column: 2 / 4; grid-row: 1 / 2; }
.photo-3 { grid-column: 2 / 3; grid-row: 2 / 3; }

/* ======================= 7. LEAVE A REVIEW CTA ======================= */
.leave-review-section {
    padding: var(--section-padding);
    background-color: var(--accent-color);
}
.leave-review-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}
.leave-review-decor {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--text-color);
    text-align: right;
    border-right: 4px solid var(--text-color);
    padding-right: 2rem;
    opacity: 0.8;
}

/* ======================= RESPONSIVE STYLES FOR REVIEWS PAGE ======================= */
@media (max-width: 992px) {
    .customer-gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    .gallery-photo {
        grid-column: auto !important;
        grid-row: auto !important;
        height: 350px;
    }
    .leave-review-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .leave-review-decor {
        display: none;
    }
}
@media (max-width: 768px) {
    .featured-review-container {
        justify-content: center;
    }
    .featured-review-box {
        padding: 2rem;
    }
    .stats-grid {
        gap: 1rem;
    }
    .customer-gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   PHOTOS PAGE STYLES
   ========================================================================== */

/* ======================= 1. PHOTOS HERO SECTION ======================= */
.photos-hero {
    position: relative;
    padding: 8rem 0;
    text-align: center;
    color: var(--light-text-color);
    overflow: hidden;
}
.photos-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('images/photos-bg.webp') no-repeat center center/cover;
    animation: kenburns 20s ease-out infinite;
    z-index: -1;
}
@keyframes kenburns {
    0% { transform: scale(1.1); }
    100% { transform: scale(1); }
}
.photos-hero h1 {
    font-size: 3.5rem;
    color: var(--bg-color);
}
.photos-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--accent-color);
}

/* ======================= 2. FILTERABLE GALLERY SECTION ======================= */
/* ==========================================================================
   FLOW SLIDER STYLES
   ========================================================================== */
.flow-slider-section {
    padding: var(--section-padding);
    background-color: #fff;
}

.flow-slider-wrapper {
    position: relative;
    margin-top: 4rem;
}

.flow-slider {
    position: relative;
    width: 100%;
    height: 70vh; /* Adjust height as needed */
    max-height: 700px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
}

.flow-slider__track {
    display: flex;
    align-items: center;
    position: absolute;
    top: 0;
    left: 33%; /* Center the track */
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.flow-slider__item {
    position: relative;
    flex-shrink: 0;
    width: 35vw; /* Width of the slides */
    max-width: 400px;
    margin: 0 2rem; /* Gap between slides */
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.8s ease;
    
    /* Default state for inactive slides */
    opacity: 0.4;
    transform: scale(0.7) rotate(5deg);
}

/* State for the active slide */
.flow-slider__item.is-active {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}
/* States for slides next to the active one */
.flow-slider__item.is-active + .flow-slider__item {
    transform: scale(0.7) rotate(-5deg);
}
.flow-slider__item.is-prev-active {
    transform: scale(0.7) rotate(5deg);
}

.flow-slider__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* Controls Styling */
.flow-slider__controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    gap: 1.5rem;
}

.flow-slider__button {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.flow-slider__button:hover {
    background-color: var(--primary-color);
    color: var(--bg-color);
}

.flow-slider__pagination {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-color);
    min-width: 80px;
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .flow-slider {
        height: 60vh;
    }
    .flow-slider__item {
        width: 45vw;
        margin: 0 1rem;
    }
}

@media (max-width: 768px) {
    .flow-slider__item {
        width: 60vw;
    }
}
/* ======================= 3. ANATOMY OF A CAKE SECTION ======================= */
.anatomy-section {
    padding: var(--section-padding);
    background-color: #fff;
}
.anatomy-diagram {
    position: relative;
    max-width: 600px;
    margin: 2rem auto 0;
}
.anatomy-cake-img {
    border-radius: 50%;
    width: 100%;
}
.callout {
    position: absolute;
    display: flex;
    align-items: center;
}
.callout-dot {
    width: 15px;
    height: 15px;
    background-color: var(--bg-color);
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    flex-shrink: 0;
}
.callout-line {
    height: 2px;
    background-color: var(--primary-color);
    width: 50px;
}
.callout-text {
    padding: 0 1rem;
    white-space: nowrap;
}
.callout-text h3 { margin-bottom: 0; font-size: 1.2rem; }
.callout-text p { margin-bottom: 0; font-size: 0.9rem; color: #666; }
/* Positioning the callouts */
.callout-1 { top: 20%; left: 0; transform: translateX(-100%); }
.callout-2 { top: 50%; right: 0; transform: translateX(100%); flex-direction: row-reverse; }
.callout-3 { bottom: 20%; left: 0; transform: translateX(-100%); }
.callout-2 .callout-text { text-align: right; }

/* ======================= 4. SEASONAL SHOWCASE SECTION ======================= */
.seasonal-showcase-section {
    padding: var(--section-padding);
}
.seasonal-showcase-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}
.seasonal-text span {
    display: block;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 1rem;
}
.seasonal-text h2 {
    font-size: 3rem;
}
.seasonal-images {
    position: relative;
    min-height: 500px;
}
.seasonal-images img {
    position: absolute;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.4s ease, z-index 0s 0.2s;
}
.seasonal-images img:hover {
    transform: scale(1.05);
    z-index: 10;
    transition: transform 0.4s ease, z-index 0s 0s;
}
.seasonal-img-1 {
    width: 60%;
    top: 0;
    left: 0;
}
.seasonal-img-2 {
    width: 50%;
    bottom: 0;
    right: 0;
}

/* ======================= 5. THE PROCESS FILM SECTION ======================= */
.film-section {
    padding: var(--section-padding);
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('images/film-bg.webp') no-repeat center center/cover;
    background-attachment: fixed;
    color: var(--bg-color);
    text-align: center;
}
.film-content {
    max-width: 700px;
}
.film-content h2 {
    font-size: 2.5rem;
    color: #fff;
}
.play-button {
    display: inline-block;
    margin-top: 2rem;
    width: 100px;
    height: 100px;
    background-color: rgba(22, 244, 208, 0.8);
    border-radius: 50%;
    transition: transform 0.3s ease, background-color 0.3s ease;
}
.play-button:hover {
    transform: scale(1.1);
    background-color: var(--accent-color);
}
.play-button svg {
    width: 100%;
    height: 100%;
}
.play-button polygon {
    fill: var(--bg-color);
}

/* ======================= 6. SKETCH TO CREATION SECTION ======================= */
/* ======================= 6. SKETCH TO CREATION SECTION (REDESIGNED) ======================= */
.sketch-comparison-section {
    padding: var(--section-padding);
    background-color: #fff;
}
.sketch-comparison-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.sketch-comparison-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3; /* Maintain image aspect ratio */
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    cursor: ew-resize; /* East-West resize cursor */
}

.comparison-before-image,
.comparison-after-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.comparison-before-image img,
.comparison-after-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    user-select: none; /* Prevent image selection on drag */
}

.comparison-after-image {
    width: 50%; /* Initial state: show half */
    overflow: hidden;
}

.comparison-slider {
    position: absolute;
    top: 0;
    left: 50%; /* Initial state: centered */
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(2px);
    z-index: 10;
    pointer-events: none; /* The wrapper handles pointer events */
}

.comparison-slider::after {
    content: '↔';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 50%;
    color: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.sketch-comparison-wrapper:hover .comparison-slider::after {
    transform: translate(-50%, -50%) scale(1.1);
}

/* Add a class to the body to prevent text selection during drag */
body.is-dragging {
    user-select: none;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .sketch-comparison-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
}

/* ======================= 7. SHARE YOUR MOMENTS CTA ======================= */
.share-moments-section {
    padding: var(--section-padding);
    background-color: var(--primary-color);
    color: var(--bg-color);
    text-align: center;
}
.share-moments-content {
    max-width: 800px;
}
.share-moments-content h2 {
    color: var(--bg-color);
    font-size: 2.5rem;
}
.share-moments-content .btn-primary {
    background-color: var(--bg-color);
    color: var(--primary-color);
    border-color: var(--bg-color);
}
.share-moments-section .btn-primary:hover {
    background: transparent;
    color: var(--bg-color);
}

/* ======================= RESPONSIVE STYLES FOR PHOTOS PAGE ======================= */
@media (max-width: 992px) {
    .seasonal-showcase-container, .sketch-container {
        grid-template-columns: 1fr;
    }
    .seasonal-images {
        margin-top: 2rem;
        min-height: 400px;
    }
    .sketch-container {
        gap: 2rem;
    }
    .sketch-image-wrapper {
        order: -1;
    }
}

@media (max-width: 768px) {
    .callout {
        position: relative;
        transform: none !important;
        margin: 1rem 0;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        flex-direction: row !important;
    }
    .anatomy-diagram {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .callout-text {
        text-align: left !important;
    }
}

/* ==========================================================================
   INGREDIENTS PAGE STYLES
   ========================================================================== */

/* ======================= 1. INGREDIENTS HERO SECTION ======================= */
.ingredients-hero {
    padding: 8rem 0;
    text-align: center;
    color: var(--light-text-color);
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('images/ingr-bg.webp') no-repeat center center/cover;
    background-attachment: fixed;
}
.ingredients-hero h1 {
    font-size: 3.5rem;
    color: var(--bg-color);
}
.ingredients-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* ======================= 2. SOURCING PHILOSOPHY SECTION ======================= */
/* ======================= 2. SOURCING PHILOSOPHY SECTION (REDESIGNED) ======================= */
.sourcing-philosophy-section-redesigned {
    padding: var(--section-padding);
    background-color: #fff; /* A clean white background for a premium feel */
    overflow: hidden;
}
.sourcing-container-redesigned {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 0; /* No gap as we'll use margins for overlap */
}

/* The overlapping text panel */
.philosophy-text-panel {
    position: relative;
    background: var(--bg-color);
    padding: 3rem 4rem;
    border-radius: 8px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.1);
    z-index: 10;
    margin-right: -5rem; /* The key to the overlap effect */
    display: flex;
    gap: 2rem;
}
/* The vertical, decorative title */
.vertical-title {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 1rem;
    font-weight: 400;
    color: var(--primary-color);
    opacity: 0.7;
    white-space: nowrap;
}
.main-text-content h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}
.main-text-content p {
    line-height: 1.8;
    color: #555;
}

/* The layered image stack */
.philosophy-image-stack {
    position: relative;
    height: 600px; /* Define a height for the container */
    z-index: 5;
}
.philosophy-image-stack img {
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    position: absolute;
    object-fit: cover;
    width: 100%;
    height: 400px;
}
.image-primary {
    width: 80%;
    height: 90%;
    top: 0;
    right: 0;
    z-index: 2;
}
.image-secondary {
    width: 60%;
    height: 50%;
    bottom: 0;
    left: 0;
    z-index: 1;
    transform: rotate(-5deg);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .sourcing-container-redesigned {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .philosophy-image-stack {
        order: -1; /* Move image stack to the top */
        height: 500px;
    }
    .philosophy-text-panel {
        margin-right: 0;
        text-align: center;
        flex-direction: column;
        padding: 2rem;
    }
    .vertical-title {
        writing-mode: horizontal-tb; /* Change to horizontal */
        transform: none; /* Reset transform */
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .philosophy-image-stack {
        height: 400px;
    }
    .main-text-content h2 {
        font-size: 2.2rem;
    }
}

/* ======================= 3. INGREDIENT FOCUS GRID SECTION ======================= */
.ingredient-focus-section {
    padding: var(--section-padding);
    background-color: #fff;
}
.ingredient-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.ingredient-card {
    text-align: center;
    padding: 2rem;
    border: 1px solid var(--bg-color);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ingredient-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-color: #fff;
}
.ingredient-card img {
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}

/* ======================= 4. SUPPLIER SPOTLIGHT SECTION ======================= */
.supplier-spotlight-section {
    padding: var(--section-padding);
    background-color: var(--bg-color);
}
.supplier-spotlight-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}
.supplier-text span {
    display: block;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}
.supplier-text h2 {
    font-size: 2.5rem;
}
.supplier-text blockquote {
    font-size: 1.1rem;
    font-style: italic;
    margin-top: 1.5rem;
    padding-left: 1.5rem;
    border-left: 3px solid var(--accent-color);
}
.supplier-text cite {
    display: block;
    font-weight: bold;
    margin-top: 0.5rem;
    color: var(--text-color);
}
.supplier-image img {
    border-radius: 8px;
}

/* ======================= 5. COMMITMENT TO PURITY SECTION ======================= */
/* ======================= 5. COMMITMENT TO PURITY SECTION (REDESIGNED) ======================= */
.commitment-purity-redesigned {
    padding: var(--section-padding);
    background-color: var(--bg-color);
}
.purity-container-redesigned {
    max-width: 900px; /* Constrain the content for a focused, editorial feel */
    text-align: center;
}
.purity-content-wrapper h2 {
    margin-bottom: 1rem;
}
.purity-content-wrapper p {
    max-width: 700px;
    margin: 0 auto 2rem auto;
    color: #555;
    font-size: 1.1rem;
    line-height: 1.8;
}

.purity-exclusions-list {
    margin: 4rem 0;
    text-align: left;
}

/* The circular image and the magic text wrapping */
.purity-circle-image {
    width: 280px;
    height: 280px;
    float: right;
    shape-outside: circle(50%); /* This makes the text wrap around the circle shape */
    margin: 0 0 1rem 2rem;
}
.purity-circle-image img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

/* The styled strikethrough list items */
.exclusion-item {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: #b0b0b0; /* Muted color for the excluded items */
    padding: 0.5rem 0;
    position: relative;
    display: inline-block; /* Allows the line to fit the text width */
    margin: 0.5rem 0;
    width: 100%; /* Ensure it takes up space in the flow */
}
/* The strikethrough line */
.exclusion-item::after {
    content: '';
    position: absolute;
    top: 55%;
    left: -5%;
    width: 110%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    transform: rotate(-4deg);
    transition: width 0.5s ease;
}

.purity-conclusion {
    clear: both; /* Ensures this text appears below the floated image */
    padding-top: 2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .purity-exclusions-list {
        text-align: center;
    }
    .purity-circle-image {
        float: none; /* Disable float on smaller screens */
        margin: 0 auto 3rem auto; /* Center the image */
        width: 200px;
        height: 200px;
        shape-outside: none; /* Disable text wrapping */
    }
    .exclusion-item {
        font-size: 1.8rem;
        width: auto; /* Let it size to its content */
        padding: 0.5rem 1rem;
    }
}

/* ======================= 6. SEASONAL CALENDAR SECTION ======================= */
/* ==========================================================================
   MODERN TABS STYLES (SEASONAL CALENDAR)
   ========================================================================== */
.seasonal-tabs-section {
    padding: var(--section-padding);
}
.tabs-container {
    max-width: 900px;
    margin: 3rem auto 0;
}
.tabs-list {
    display: flex;
    justify-content: center;
    position: relative;
    border-bottom: 1px solid #ddd;
}
.tabs-button {
    background: none;
    border: none;
    padding: 1rem 2rem;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    cursor: pointer;
    color: #888;
    transition: color 0.3s ease;
    position: relative;
}
.tabs-button:hover {
    color: var(--primary-color);
}
.tabs-button.is-active {
    color: var(--text-color);
}

/* The gliding underline effect */
.tabs-underline {
    position: absolute;
    bottom: -2px;
    left: 0;
    height: 3px;
    background-color: var(--accent-color);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.tabs-panels {
    position: relative;
    margin-top: 3rem;
    min-height: 400px; /* Prevent layout shift during transitions */
}
.tabs-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, transform 0.4s ease;
    transform: translateY(20px);
}
.tabs-panel.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.panel-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.panel-image img {
    border-radius: 8px;
    width: 100%;
    height: 400px;
    object-fit: cover;
}
.panel-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}
.panel-text span {
    font-weight: bold;
    color: var(--primary-color);
    margin-top: 1.5rem;
    display: block;
}
.panel-text ul {
    list-style: none;
    padding-top: 0.5rem;
}
.panel-text li {
    padding-left: 1.5rem;
    position: relative;
}
.panel-text li::before {
    content: '–';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Responsive adjustments */
/* ==========================================================================
   PERFECTED RESPONSIVE STYLES FOR MODERN TABS
   ========================================================================== */

/* --- Tablet (e.g., iPad portrait) --- */
@media (max-width: 992px) {
    .panel-content {
        gap: 2rem; /* Reduce the gap between image and text */
    }
    .panel-text h3 {
        font-size: 1.6rem; /* Slightly smaller heading */
    }
}

/* --- Mobile (e.g., large phones, small tablets) --- */
@media (max-width: 768px) {
    .tabs-list {
        /* Distribute tabs evenly to use the full width and prevent wrapping */
        justify-content: space-around; 
    }
    .tabs-button {
        font-size: 1.1rem;
        /* More vertical padding, less horizontal, lets them breathe */
        padding: 1rem 0.5rem; 
        flex-grow: 1; /* Allow buttons to grow and fill space */
        text-align: center;
    }
    .tabs-panels {
        margin-top: 2rem;
        min-height: 760px;
    }
    .panel-content {
        grid-template-columns: 1fr; /* Stack to a single column */
    }
    .panel-image {
        order: -1; /* Move image to the top */
        margin-bottom: 2rem;
        max-width: 400px; /* Constrain image width for aesthetics */
        margin-left: auto;
        margin-right: auto;
    }
    .panel-text {
        text-align: center; /* Center headings and the flavor list block */
    }
    /* IMPROVEMENT: Keep long text left-aligned for readability */
    .panel-text p, .panel-text ul {
        text-align: left;
        /* Center the block of text itself within the centered container */
        max-width: 450px; 
        margin-left: auto;
        margin-right: auto;
    }
    .panel-text ul {
        /* Makes the list block only as wide as its content for better centering */
        display: inline-block; 
    }
}

/* --- Small Mobile (e.g., iPhone SE) --- */
@media (max-width: 480px) {
    .tabs-button {
        font-size: 0.9rem; /* Further reduce font size for very small screens */
    }
    .panel-text h3 {
        font-size: 1.5rem;
    }
    .panel-text {
        padding: 0 1rem; /* Add a little horizontal padding to the text content */
    }
}
/* ======================= 7. TASTE THE DIFFERENCE CTA ======================= */
.taste-difference-cta {
    padding: var(--section-padding);
    background: var(--accent-color);
    text-align: center;
}
.taste-difference-content {
    max-width: 800px;
}
.taste-difference-content h2 {
    font-size: 2.5rem;
}
.taste-difference-cta .btn-primary {
    background-color: var(--text-color);
    border-color: var(--text-color);
    color: var(--bg-color);
}
.taste-difference-cta .btn-primary:hover {
    background: transparent;
    color: var(--text-color);
}

/* ======================= RESPONSIVE STYLES FOR INGREDIENTS PAGE ======================= */
@media (max-width: 992px) {
    .sourcing-container, .supplier-spotlight-container, .purity-container {
        grid-template-columns: 1fr;
    }
    .philosophy-image-container, .supplier-image, .purity-image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
}

/* ==========================================================================
   IMPACT PAGE STYLES
   ========================================================================== */

/* ======================= 1. IMPACT HERO SECTION ======================= */
/* ======================= 1. IMPACT HERO SECTION (REDESIGNED) ======================= */
.impact-hero-redesigned {
    padding: var(--section-padding);
    background-color: var(--bg-color);
    position: relative; /* Crucial for positioning the SVG background */
    overflow: hidden; /* Contains the expanding ripples */
    min-height: 90vh; /* Ensures the section has enough height to be impactful */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* The animated ripple background */
.ripple-background {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150vw; /* Make it larger than the viewport */
    height: 150vw;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
}
.ripple-background circle {
    fill: none;
    stroke: var(--primary-color);
    stroke-width: 1px;
    opacity: 0;
    transform-origin: 50% 50%;
}
.ripple-1 { animation: ripple-effect 6s infinite cubic-bezier(0.2, 0.8, 0.4, 1); }
.ripple-2 { animation: ripple-effect 6s 2s infinite cubic-bezier(0.2, 0.8, 0.4, 1); }
.ripple-3 { animation: ripple-effect 6s 4s infinite cubic-bezier(0.2, 0.8, 0.4, 1); }

@keyframes ripple-effect {
    0% {
        transform: scale(0);
        opacity: 0.2;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

/* The foreground content */
.impact-hero-container {
    position: relative;
    z-index: 2; /* Sits on top of the ripples */
}
.hero-content-center {
    max-width: 750px;
    text-align: center;
}
.hero-content-center h1 {
    font-size: 4rem;
    color: var(--text-color);
}
.hero-content-center p {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.8;
}

.hero-impact-image {
    width: 250px;
    height: 250px;
    margin: 3rem auto 0;
    border-radius: 50%;
    overflow: hidden;
    border: 10px solid #fff;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}
.hero-impact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .impact-hero-redesigned {
        min-height: 80vh;
        padding: 4rem 0;
    }
    .hero-content-center h1 {
        font-size: 3rem;
    }
    .hero-impact-image {
        width: 200px;
        height: 200px;
    }
}

/* ======================= 2. CORE COMMITMENT SECTION ======================= */
.core-commitment-section {
    padding: var(--section-padding);
    background-color: #fff;
}
.core-commitment-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}
.commitment-image-container {
    position: relative;
}
.commitment-image-container::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 5px solid var(--primary-color);
    border-radius: 8px;
    z-index: -1;
}
.commitment-image-container img {
    border-radius: 8px;
    position: relative;
}

/* ======================= 3. PILLARS OF IMPACT SECTION ======================= */
.pillars-section {
    padding: var(--section-padding);
}
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 3rem;
}
.pillar-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background-color: #fff;
    border-radius: 8px;
    border-top: 5px solid transparent;
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.pillar-card:hover {
    transform: translateY(-10px);
}
.pillar-card:nth-child(1):hover { border-color: var(--accent-color); }
.pillar-card:nth-child(2):hover { border-color: var(--primary-color); }
.pillar-card:nth-child(3):hover { border-color: var(--text-color); }
.pillar-card img {
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}

/* ======================= 4. OUR PROGRESS IN NUMBERS SECTION ======================= */
.progress-section {
    padding: var(--section-padding);
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('images/progress-bg.webp') no-repeat center center/cover;
    background-attachment: fixed;
    color: var(--bg-color);
    text-align: center;
}
.progress-title h2 {
    color: #fff;
}
.progress-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}
.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 2rem;
    border-radius: 8px;
}
.stat-card h3 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}
.stat-card p {
    margin-bottom: 0;
    line-height: 1.5;
}

/* ======================= 5. COMMUNITY PARTNERSHIP SECTION ======================= */
.partnership-section {
    padding: var(--section-padding);
    background-color: #fff;
}
.partnership-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}
.partnership-text span {
    display: block;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}
.partnership-text h2 {
    font-size: 2.5rem;
}
.partnership-image img {
    border-radius: 8px;
}

/* ======================= 6. THE RIPPLE EFFECT GALLERY ======================= */
.ripple-gallery-section {
    padding: var(--section-padding);
}
.ripple-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 250px);
    gap: 1rem;
    margin-top: 2rem;
}
.ripple-item {
    overflow: hidden;
    border-radius: 8px;
}
.ripple-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.ripple-item:hover img {
    transform: scale(1.05);
}
.item-a { grid-column: 1 / 3; grid-row: 1 / 2; }
.item-b { grid-column: 3 / 4; grid-row: 1 / 3; }
.item-c { grid-column: 1 / 2; grid-row: 2 / 3; }
.item-d { grid-column: 2 / 3; grid-row: 2 / 3; }

/* ======================= 7. JOIN OUR JOURNEY CTA ======================= */
.join-journey-section {
    padding: var(--section-padding);
    background: linear-gradient(rgba(204, 153, 141, 0.9), rgba(204, 153, 141, 0.9)),  no-repeat center center/cover;
    color: var(--bg-color);
    text-align: center;
}
.join-journey-content {
    max-width: 800px;
}
.join-journey-content h2 {
    color: var(--bg-color);
    font-size: 2.5rem;
}
.join-journey-content .btn-primary {
    background-color: var(--bg-color);
    color: var(--primary-color);
    border-color: var(--bg-color);
}
.join-journey-section .btn-primary:hover {
    background: transparent;
    color: var(--bg-color);
}
.join-journey-section .btn-secondary {
    border-color: var(--bg-color);
    color: var(--bg-color);
}
.join-journey-section .btn-secondary:hover {
    background: var(--bg-color);
    color: var(--primary-color);
}

/* ======================= RESPONSIVE STYLES FOR IMPACT PAGE ======================= */
@media (max-width: 992px) {
    .core-commitment-container, .partnership-container {
        grid-template-columns: 1fr;
    }
    .commitment-image-container, .partnership-image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
    .ripple-gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    .ripple-item {
        grid-column: auto !important;
        grid-row: auto !important;
        height: 250px;
    }
}

/* ======================= FOOTER ======================= */
.main-footer {
    background-color: #2c2c2c;
    color: #a0a0a0;
    padding: 4rem 0 2rem;
}
.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}
.footer-column h4 {
    color: var(--bg-color);
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}
.footer-column ul li {
    margin-bottom: 0.5rem;
}
.footer-column a {
    color: #a0a0a0;
}
.footer-column a:hover {
    color: var(--accent-color);
}
.social-links {
    display: flex;
    gap: 1rem;
}
.footer-bottom {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 2rem;
    font-size: 0.9rem;
}

/* ======================= ANIMATIONS ======================= */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in.is-visible {
    opacity: 1;
}
.slide-in-left { transform: translateX(-50px); }
.slide-in-right { transform: translateX(50px); }
.slide-in-left.is-visible, .slide-in-right.is-visible {
    opacity: 1;
    transform: translateX(0);
}
.pop-up { transform: scale(0.9); transition-delay: var(--delay, 0s); }
.pop-up.is-visible {
    opacity: 1;
    transform: scale(1);
}

/* ======================= RESPONSIVE DESIGN ======================= */
@media (max-width: 992px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2rem; }
    .philosophy-container { grid-template-columns: 1fr; }
    .philosophy-image { order: -1; margin-bottom: 2rem; }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(auto, 250px);
    }
    .gallery-item { grid-column: auto !important; grid-row: auto !important; }
    .cta-container { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
    html { font-size: 15px; }
    :root { --section-padding: 4rem 0; }
    
    /* Mobile Navigation */
    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 70%;
        background-color: var(--bg-color);
        flex-direction: column;
        justify-content: center;
        transform: translateX(0%);
        opacity: 0;
        visibility: hidden ;
        transition: all 0.3s ease-in-out;
        padding-top: 100px;

    }
    .main-nav.active { 
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
     }
    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 3rem;
    }
    .main-nav a { font-size: 1.5rem; }

    .nav-toggle {
        display: block;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1001; /* Above nav */
    }
    .hamburger {
        display: block;
        position: relative;
        width: 25px;
        height: 2px;
        background: var(--text-color);
        transition: all 0.2s ease-in-out;
    }
    .hamburger::before, .hamburger::after {
        content: '';
        position: absolute;
        width: 25px;
        height: 2px;
        background: var(--text-color);
        transition: all 0.2s ease-in-out;
    }
    .hamburger::before { top: -8px; }
    .hamburger::after { bottom: -8px; }

    /* Hamburger animation */
    .nav-open .hamburger { background: transparent; }
    .nav-open .hamburger::before { transform: rotate(45deg) translate(5px, 6px); }
    .nav-open .hamburger::after { transform: rotate(-45deg) translate(5px, -6px); }

    .featured-grid { grid-template-columns: 1fr; }
    .cta-form form { flex-direction: column; background: transparent; padding: 0; }
    .cta-form input { border-radius: 50px; padding: 1rem; margin-bottom: 1rem; border: 1px solid #333; }
}

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

.legal-hero {
    padding: 4rem 0;
    background-color: #fff;
    text-align: center;
    border-bottom: 1px solid var(--bg-color);
}
.legal-page-title {
    font-size: 3rem;
    color: var(--text-color);
}
.legal-page-subtitle {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-top: 0.5rem;
}

.legal-content {
    padding: var(--section-padding);
    background-color: var(--bg-color);
}
.legal-content-container {
    max-width: 800px; /* Constrain width for readability */
    background-color: #fff;
    padding: 3rem 4rem;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
}

.last-updated {
    font-style: italic;
    color: #888;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.legal-content article {
    margin-bottom: 2.5rem;
}
.legal-content h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}
.legal-content p {
    line-height: 1.8;
    color: #555;
}
.legal-content ul {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}
.legal-content li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    color: #555;
}
.legal-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

/* Responsive adjustments for legal pages */
@media (max-width: 768px) {
    .legal-page-title {
        font-size: 2.5rem;
    }
    .legal-content-container {
        padding: 2rem;
    }
    .legal-content h2 {
        font-size: 1.5rem;
    }
}

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

/* --- Body and Layout --- */
.utility-page-body {
    background-color: var(--bg-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.utility-header {
    padding: 2rem;
    text-align: center;
}
.thank-you-main {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

/* --- The Confirmation Box --- */
.thank-you-box {
    background-color: #fff;
    padding: 3rem 4rem;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    text-align: center;
    max-width: 600px;
}
.thank-you-box h1 {
    font-size: 2.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}
.thank-you-box p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

/* --- Animated Checkmark --- */
.checkmark-container {
    width: 100px;
    height: 100px;
    margin: 0 auto;
}
.checkmark-svg {
    width: 100%;
    height: 100%;
}
.checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 3;
    stroke: var(--accent-color);
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}
.checkmark-check {
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke: var(--accent-color);
    fill: none;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

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

/* --- Responsive --- */
@media (max-width: 768px) {
    .thank-you-box {
        padding: 2rem;
    }
    .thank-you-box h1 {
        font-size: 2rem;
    }
}