/* General Styles */
:root {
    --primary-color: #DB7F67;
    --secondary-color: #DBBEA1;
    --accent-color: #A37B73;
    --text-color: #333;
    --background-color: #f9f9f9;
}

body {
    font-family: 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    margin: 0;
}

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

h1, h2 {
    font-family: 'Georgia', serif;
    font-weight: bold;
}

h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
}

p {
    margin-bottom: 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

section
{
    overflow-x: hidden;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #c96a52;
}

/* Header */
header {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

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

header .logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}
.footer-logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

header .desktop-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

header .desktop-nav li {
    margin-left: 30px;
}

header .desktop-nav li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: bold;
    transition: color 0.3s ease;
}

header .desktop-nav li a:hover {
    color: var(--primary-color);
}

/* Hero Section */
#hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/hero-bg.webp');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 200px 0;
}

/* Featured Coffees */
/* ========== REDESIGNED FEATURED COFFEES STYLES ========== */

#featured-coffees {
    padding: 100px 0;
    background-color: var(--background-color); /* A soft off-white background */
    text-align: center;
}

#featured-coffees .section-intro {
    max-width: 700px;
    margin: -20px auto 50px auto;
    color: #666;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    text-align: left;
}

.featured-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    min-height: 450px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.featured-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.featured-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.featured-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.featured-card-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px); /* For Safari */
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 25px;
    color: var(--text-color);
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.1s, 
                opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.1s;
}

.featured-card:hover .featured-card-content {
    transform: translateY(0);
    opacity: 1;
}

.featured-card-content h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.8rem;
    font-family: 'Georgia', serif;
    color: var(--accent-color);
}

.tasting-notes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.tasting-notes span {
    background-color: var(--primary-color);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.featured-card-content p {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #444;
}

.btn-details {
    display: inline-block;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: bold;
    padding: 8px 0;
    position: relative;
}

.btn-details::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.featured-card:hover .btn-details::after {
    transform: scaleX(1);
}

/* Staggered animation for this section specifically */
.featured-card.animate-on-scroll:nth-child(2) {
    transition-delay: 0.2s;
}
.featured-card.animate-on-scroll:nth-child(3) {
    transition-delay: 0.4s;
}

/* Our Process */
/* ========== REDESIGNED "OUR PROCESS" TIMELINE STYLES ========== */

#our-process {
    padding: 100px 0;
    background-color: #fff;
    overflow: hidden; /* Contains pseudo-elements */
}

#our-process .section-intro {
    text-align: center;
    max-width: 700px;
    margin: -20px auto 60px auto;
    color: #666;
}

.process-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

/* The main vertical line of the timeline */
.process-timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background-color: var(--secondary-color);
    top: 50px; /* Start below the first number */
    bottom: 50px; /* End above the last number */
    left: 50%;
    margin-left: -1.5px;
    z-index: 1;
}

.process-step {
    padding: 10px 40px;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
    width: 100%;
    margin-bottom: 60px;
}

/* Stagger the layout for even-numbered steps */
.process-step:nth-child(even) .process-step__image {
    order: 2;
}

.process-step__image {
    position: relative;
    z-index: 2;
}

.process-step__image img {
    width: 100%;
    max-width: 300px; /* Control image size */
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
    border: 8px solid #fff;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    margin: 0 auto; /* Center image within its column */
}

.process-step__content {
    position: relative;
    z-index: 2;
    background: var(--background-color);
    padding: 30px;
    border-radius: 12px;
}

/* The number circle */
.process-step__number {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    font-family: 'Georgia', serif;
    z-index: 3; /* Above the timeline line */
    border: 5px solid #fff;
}

/* Position number on the left for odd steps */
.process-step:nth-child(odd) .process-step__content {
    text-align: right;
}
.process-step:nth-child(odd) .process-step__number {
    left: -30px; /* Halfway over the card's edge */
    transform: translate(-50%, -50%);
}

/* Position number on the right for even steps */
.process-step:nth-child(even) .process-step__content {
    text-align: left;
}
.process-step:nth-child(even) .process-step__number {
    right: -30px; /* Halfway over the card's edge */
    transform: translate(50%, -50%);
}

.process-step__content h3 {
    margin-top: 0;
    font-size: 1.8rem;
    color: var(--accent-color);
}

.process-step__content p 
{
    width: 100%;
}


/* Responsive Design for the Timeline */
@media (max-width: 992px) {
    /* Switch to a single-sided timeline */
    .process-timeline::after {
        left: 30px; /* Move the line to the left */
    }

    .process-step {
        grid-template-columns: 100px 1fr; /* Column for image, column for content */
        gap: 30px;
        padding-left: 80px; /* Make space for line and image */
        padding-right: 0;
    }

    /* All images go to the first column */
    .process-step .process-step__image {
        grid-column: 1 / 2;
        order: 1 !important; /* Force order */
    }
    
    .process-step__image img {
        width: 100px; /* Smaller circles for mobile */
        height: 100px;
    }

    /* All content goes to the second column */
    .process-step .process-step__content {
        grid-column: 2 / 3;
        order: 2 !important; /* Force order */
        text-align: left !important;
    }

    /* Position all numbers over the timeline line */
    .process-step__number {
        top: 50%;
        left: -90px; /* Align with the timeline line */
        transform: translate(-50%, -50%);
    }

}

@media (max-width: 576px) {
    .process-step {
        grid-template-columns: 1fr; /* Stack image on top of content */
        padding-left: 0px; /* Just space for the line */
        gap: 20px;
    }
    .process-step__image {
        grid-column: 1 / 2;
    }
    .process-step__content {
        grid-column: 1 / 2;
    }
    .process-timeline::after {
        left: 20px;
    }
     .process-step__number {
        left: -100px;
    }
    .process-step__content
    {
        padding: 10px;
    }
}
/* The Grind Experience */
#the-grind-experience {
    padding: 80px 0;
    background-color: #fff;
}

.experience-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.experience-text {
    flex: 1;
}

.experience-images {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.experience-images img 
{
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* Community Hub */
/* ========== REDESIGNED COMMUNITY HUB STYLES ========== */

#community-hub {
    padding: 100px 0;
    background-color: var(--secondary-color); /* Use a warm background color */
    overflow: hidden;
}

.community-hub-layout {
    display: grid;
    /* Create three columns: image, text, image. The text column is slightly larger. */
    grid-template-columns: 1fr 1.2fr 1fr;
    align-items: center;
    gap: 40px;
}

.community-hub__text {
    background-color: #fff;
    padding: 50px 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2; /* Ensure text card is above images if they overlap */
}

.community-hub__text h2 {
    margin-top: 0;
    font-size: 2.8rem;
}

.community-hub__text p {
    color: #555;
    margin-bottom: 30px;
}

.community-hub__image img {
    width: 100%;
    height: 100%;
    max-height: 450px; /* Constrain image height */
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.community-hub__image:hover img {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Add different transition delays for a nicer reveal animation */
.community-hub__text.animate-on-scroll {
    transition-delay: 0.2s;
}
.community-hub-layout .community-hub__image.animate-on-scroll:last-of-type {
    transition-delay: 0.4s;
}


/* Responsive Design for the Community Hub */
@media (max-width: 992px) {
    /* Stack the layout for tablets and smaller devices */
    .community-hub-layout {
        grid-template-columns: 1fr; /* Single column */
        gap: 30px;
    }

    .community-hub__text {
        padding: 40px 30px;
    }

    /* On tablet, place the text between the two images */
    .community-hub__image:first-of-type {
        order: 1;
    }
    .community-hub__text {
        order: 2;
    }
    .community-hub__image:last-of-type {
        order: 3;
    }
}

@media (max-width: 768px) {
    .community-hub__text h2 {
        font-size: 2.2rem;
    }
}

/* Sustainability Commitment */
#sustainability-commitment {
    padding: 80px 0;
    background-color: var(--secondary-color);
}

.sustainability-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.sustainability-content img {
    flex: 1;
    max-width: 400px;
}

.sustainability-text {
    flex: 2;
}

/* Join The Grind */
#join-the-grind {
    padding: 80px 0;
    text-align: center;
    background-color: var(--accent-color);
    color: #fff;
}

.social-links a {
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
    font-size: 1.2rem;
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    opacity: 0.8;
}


/* ... [Keep all your existing CSS from the previous step] ... */

/* ========== MENU PAGE STYLES ========== */

/* Menu Hero Section */
#menu-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/menu-hero-bg.webp');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 180px 0;
}

#menu-hero p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Signature Coffees Section */
/* ========== SIGNATURE COFFEES (TABS) STYLES ========== */

#signature-coffees {
    padding: 80px 0;
    background-color: #fff;
}

.signature-tabs {
    max-width: 1000px;
    margin: 40px auto 0;
}

/* Tab Navigation Styling */
.tabs-nav {
    display: flex;
    justify-content: center;
    border-bottom: 2px solid var(--secondary-color);
    margin-bottom: 40px;
    flex-wrap: wrap; /* Allows tabs to wrap on small screens */
}

.tabs-nav-item {
    background: transparent;
    border: none;
    padding: 15px 30px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--accent-color);
    position: relative;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.tabs-nav-item:hover {
    opacity: 1;
}

/* The active indicator line */
.tabs-nav-item::after {
    content: '';
    position: absolute;
    bottom: -2px; /* Sits on top of the parent's border */
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.tabs-nav-item.is-active {
    opacity: 1;
    color: var(--primary-color);
}

.tabs-nav-item.is-active::after {
    transform: scaleX(1);
}


/* Tab Content Styling */
.tabs-content {
    position: relative;
}

.tabs-content-pane {
    /* Hide inactive panes */
    opacity: 0;
    visibility: hidden;
    position: absolute; /* Allows for clean fade transitions */
    top: 0;
    left: 0;
    width: 100%;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    transform: translateY(15px);
}

.tabs-content-pane.is-active {
    /* Show active pane */
    opacity: 1;
    visibility: visible;
    position: static; /* Let it take up space in the document flow */
    transform: translateY(0);
}

.pane-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
    gap: 50px;
    background-color: var(--background-color);
    padding: 40px;
    border-radius: 12px;
}

.pane-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 10px;
}

.pane-text h3 {
    margin-top: 0;
    font-size: 2.2rem;
    color: var(--primary-color);
}

.pane-text p {
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .pane-layout {
        grid-template-columns: 1fr; /* Stack image on top of text */
        gap: 30px;
        padding: 30px;
    }

    .pane-text h3 {
        font-size: 1.8rem;
    }

    .tabs-nav-item {
        padding: 15px;
        font-size: 1rem;
    }
}

/* Espresso Creations Section */
#espresso-creations {
    padding: 80px 0;
    background-color: var(--secondary-color);
}

#espresso-creations .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.espresso-list {
    flex-basis: 50%;
}

.espresso-item {
    border-bottom: 1px solid #c8a990;
    padding: 20px 0;
}

.espresso-item:last-child {
    border-bottom: none;
}

.espresso-item h4 {
    margin: 0 0 5px 0;
    font-size: 1.2rem;
    color: var(--accent-color);
}

.espresso-item p {
    margin: 0;
}

.espresso-image-container {
    flex-basis: 45%;
}

.espresso-image-container img {
    border-radius: 8px;
    width: 100%;
    height: 400px;
    object-fit: cover;
    box-shadow: 10px 10px 0px var(--primary-color);
}

/* Brew Bar Section */
#brew-bar {
    padding: 80px 0;
    background-color: #fff;
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: -20px auto 40px auto;
}

.brew-methods {
    display: flex;
    gap: 40px;
    justify-content: center;
}

.brew-method-card {
    flex-basis: 400px;
    text-align: center;
}

.brew-method-card img {
    border: 4px solid var(--secondary-color);
    border-radius: 50%;
    width: 200px;
    height: 200px;
    object-fit: cover;
    margin: 0 auto 20px auto;
}

/* Not Coffee Section */
/* ========== REDESIGNED "NOT COFFEE" STYLES ========== */

#not-coffee {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--background-color) 0%, #ffffff 100%);
    overflow: hidden;
}

#not-coffee .section-intro {
    text-align: center;
    max-width: 700px;
    margin: -20px auto 60px auto;
    color: #666;
}

.not-coffee-layout {
    display: grid;
    /* Create three columns: text | image | text */
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: repeat(2, auto);
    align-items: center;
    gap: 30px 50px; /* row-gap | column-gap */
    max-width: 1100px;
    margin: 0 auto;
}

.not-coffee-image {
    /* Place the image in the middle column, spanning both rows */
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    z-index: 1;
}

.not-coffee-image img {
    display: block;
    width: 100%;
    max-width: 400px;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 12px;
    border: 6px solid #fff;
    box-shadow: 0 15px 40px rgba(163, 123, 115, 0.2); /* Shadow using accent color */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.not-coffee-image:hover img {
    transform: scale(1.03);
    box-shadow: 0 20px 50px rgba(163, 123, 115, 0.3);
}

.not-coffee-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    z-index: 2; /* Ensure cards can overlap the image shadow */
}

/* Specific placements for each card */
.not-coffee-card--tea {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    justify-self: end; /* Align to the right edge of the column */
    margin-right: -80px; /* Pull the card over the image */
}

.not-coffee-card--chocolate {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    justify-self: end;
    margin-right: -40px;
}

.not-coffee-card--matcha {
    grid-column: 3 / 4;
    grid-row: 1 / 3; /* Let this card span both rows */
    align-self: center; /* Vertically center it */
    margin-left: -80px; /* Pull the card over the image */
}

.not-coffee-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    color: var(--primary-color);
}

.not-coffee-icon svg {
    width: 100%;
    height: 100%;
}

.not-coffee-details h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--accent-color);
}

/* Staggered animation delays */
.not-coffee-card--tea.animate-on-scroll,
.not-coffee-card--chocolate.animate-on-scroll {
    transition-delay: 0.2s;
}
.not-coffee-card--matcha.animate-on-scroll {
    transition-delay: 0.4s;
}

/* Responsive Design for the Section */
@media (max-width: 992px) {
    /* Switch to a single-column layout for tablets and below */
    .not-coffee-layout {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 30px;
    }

    /* Reset all grid placements and margins */
    .not-coffee-image,
    .not-coffee-card--tea,
    .not-coffee-card--chocolate,
    .not-coffee-card--matcha {
        grid-column: 1 / 2;
        grid-row: auto;
        margin: 0;
        justify-self: auto;
    }

    /* Create a logical vertical flow */
    .not-coffee-image { order: 1; }
    .not-coffee-card--tea { order: 2; }
    .not-coffee-card--chocolate { order: 3; }
    .not-coffee-card--matcha { order: 4; }

    .not-coffee-image img {
        max-width: 100%;
        aspect-ratio: 16 / 9; /* Change aspect ratio for horizontal space */
    }
}

/* Freshly Baked Section */
/* ========== UNIFIED & REDESIGNED TREATS & SPECIALS STYLES ========== */

#treats-specials {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--background-color) 0%, #ffffff 70%);
    overflow: hidden;
}

#treats-specials .section-intro {
    text-align: center;
    max-width: 700px;
    margin: -20px auto 60px auto;
    color: #666;
}

.treats-layout {
    display: grid;
    /* Create an asymmetrical split: List | Spotlight */
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Left Side: Baked Goods List */
.baked-goods-list h4 {
    font-size: 1.8rem;
    font-family: 'Georgia', serif;
    color: var(--accent-color);
    margin-bottom: 30px;
}

.baked-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}
.baked-item:last-child {
    border-bottom: none;
}

.baked-item__image img {
    width: 100px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
    flex-shrink: 0;
}

.baked-item__details h5 {
    font-size: 1.2rem;
    margin-top: 5px;
    margin-bottom: 8px;
    color: #333;
}

.baked-item__details p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Right Side: Seasonal Spotlight */
.seasonal-spotlight {
    background-color: var(--accent-color);
    color: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 20px 50px -10px rgba(163, 123, 115, 0.5);
}

.seasonal-spotlight h4 {
    font-size: 1.8rem;
    font-family: 'Georgia', serif;
    margin-top: 0;
    color: #fff;
}

.seasonal-spotlight h5 {
    font-size: 1rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: -15px;
    margin-bottom: 30px;
}

.special-card {
    background-color: rgba(0, 0, 0, 0.15);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid var(--primary-color);
    transition: transform 0.3s ease, background-color 0.3s ease;
}
.special-card:last-child {
    margin-bottom: 0;
}

.special-card:hover {
    transform: scale(1.03);
    background-color: rgba(0, 0, 0, 0.25);
}

.special-card h3 {
    margin: 0 0 10px 0;
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.special-card p {
    margin: 0;
    color: #f0f0f0;
    opacity: 0.9;
}

/* Staggered animation */
.seasonal-spotlight.animate-on-scroll {
    transition-delay: 0.2s;
}
.special-card.animate-on-scroll {
    transition-delay: 0.4s;
}

/* Responsive Design for the Section */
@media (max-width: 992px) {
    .treats-layout {
        grid-template-columns: 1fr; /* Stack columns on tablets and below */
        gap: 50px;
    }
}
/* Responsive adjustments for Menu Page */
@media (max-width: 992px) {
    #espresso-creations .container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .brew-methods {
        flex-direction: column;
        align-items: center;
    }
    .not-coffee-grid {
        grid-template-columns: 1fr;
    }
    .not-coffee-item img {
        grid-row: auto;
        grid-column: auto;
    }
    .specials-content {
        flex-direction: column;
    }
}

/* ... [Keep all your existing CSS] ... */

/* ========== OUR STORY PAGE STYLES ========== */

/* Story Hero Section */
#story-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), url('images/story-hero-bg.webp');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 180px 0;
}

#story-hero p {
    max-width: 800px;
    margin: 20px auto 0 auto;
    font-size: 1.1rem;
}

/* The Spark Section */
#the-spark {
    padding: 80px 0;
    background-color: #fff;
}

.spark-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.spark-image {
    flex: 1;
    max-width: 400px;
}

.spark-image img {
    border-radius: 8px;
}

.spark-text {
    flex: 1.5;
}

/* Our Journey (Timeline) Section */
/* ========== REDESIGNED JOURNEY TIMELINE STYLES ========== */

#our-journey {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--background-color) 0%, #ffffff 50%);
    position: relative;
    overflow: hidden;
}

.journey-timeline {
    position: relative;
    max-width: 900px;
    margin: 40px auto 0;
}

/* The subtle central spine of the timeline */
.journey-timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background-color: var(--secondary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
}

.journey-item {
    position: relative;
    padding: 20px 0;
    margin-bottom: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

/* Position the year and content for odd/even items */
.journey-item:nth-child(odd) {
    /* Year on left, content on right */
    justify-items: end;
}
.journey-item:nth-child(even) {
    /* Content on left, year on right */
    direction: rtl; /* Flips the order of grid columns */
}
.journey-item:nth-child(even) > * {
    direction: ltr; /* Resets text direction for children */
}

.journey-item__year {
    font-size: 6rem; /* Large, impactful year */
    font-weight: 900;
    color: var(--secondary-color);
    opacity: 0.4;
    line-height: 1;
    text-align: center;
}

.journey-item__content {
    position: relative;
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    z-index: 2;
}

/* The pointer triangle */
.journey-item__content::before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
}
.journey-item:nth-child(odd) .journey-item__content::before {
    left: -15px;
    border-right: 15px solid #fff;
}
.journey-item:nth-child(even) .journey-item__content::before {
    right: -15px;
    border-left: 15px solid #fff;
}

.journey-item__image {
    margin-bottom: 20px;
}
.journey-item__image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

.journey-item__text h3 {
    margin-top: 0;
    font-size: 1.8rem;
    color: var(--primary-color);
}


/* Responsive Design for the Journey Timeline */
@media (max-width: 992px) {
    .journey-timeline::after {
        left: 20px; /* Move spine to the left */
    }

    .journey-item,
    .journey-item:nth-child(even) {
        grid-template-columns: 1fr; /* Stack into a single column */
        direction: ltr; /* Reset direction */
        padding-left: 60px; /* Make space for the spine */
    }

    .journey-item__year {
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%) translateX(-40%) rotate(-90deg);
        font-size: 4rem;
        opacity: 0.15;
        z-index: 1;
    }
    
    .journey-item:nth-child(even) .journey-item__content::before,
    .journey-item:nth-child(odd) .journey-item__content::before {
        left: -15px;
        right: auto;
        border-left: none;
        border-right: 15px solid #fff;
    }
}

@media (max-width: 576px) {
     .journey-item__year {
        display: none; /* Hide the large year on very small screens to save space */
     }
     .journey-timeline::after {
        left: 15px;
     }
     .journey-item {
        padding-left: 40px;
     }
}
/* Our Philosophy Section */
/* ========== REDESIGNED PHILOSOPHY STYLES ========== */

#our-philosophy {
    padding: 100px 0;
    background: linear-gradient(180deg, #ffffff 0%, var(--background-color) 100%);
    text-align: center;
}

#our-philosophy .section-intro {
    max-width: 700px;
    margin: -20px auto 60px auto;
    color: #666;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.philosophy-pillar {
    background-color: #fff;
    border-radius: 12px;
    padding: 40px 30px;
    border-top: 4px solid var(--secondary-color);
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.philosophy-pillar:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px -15px rgba(0,0,0,0.15);
}

.philosophy-icon {
    margin: 0 auto 25px auto;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--background-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.4s ease;
}

.philosophy-pillar:hover .philosophy-icon {
    background-color: var(--primary-color);
}

.philosophy-icon svg {
    width: 36px;
    height: 36px;
    color: var(--primary-color);
    transition: color 0.4s ease;
}

.philosophy-pillar:hover .philosophy-icon svg {
    color: #fff;
}

.philosophy-content h3 {
    color: var(--accent-color);
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.philosophy-content p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 30px;
}

.philosophy-cta {
    display: inline-block;
    font-weight: bold;
    color: var(--accent-color);
    opacity: 0; /* Initially hidden */
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.philosophy-pillar:hover .philosophy-cta {
    opacity: 1; /* Revealed on hover */
    transform: translateY(0);
}

/* Staggered animation delays */
.philosophy-pillar.animate-on-scroll:nth-child(2) {
    transition-delay: 0.2s;
}
.philosophy-pillar.animate-on-scroll:nth-child(3) {
    transition-delay: 0.4s;
}

/* Sourcing Our Soul Section */
#sourcing-our-soul {
    padding: 120px 0;
    background-image: url('images/story-bg.webp');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
    text-align: center;
}

#sourcing-our-soul h2,
#sourcing-our-soul p {
    background-color: rgba(40, 40, 40, 0.6);
    padding: 20px;
    border-radius: 8px;
    display: inline-block;
    max-width: 900px;
}

/* Meet the Makers Section */
/* ========== "MEET THE MAKERS" SLIDER (VANILLA JS) STYLES ========== */

#meet-the-makers {
    padding: 100px 0;
    background-color: var(--secondary-color);
    position: relative;
    overflow: hidden;
}

#meet-the-makers .section-intro {
    text-align: center;
    max-width: 700px;
    margin: -20px auto 40px auto;
    color: #555;
}

.makers-slider {
    position: relative;
}

.makers-slider__viewport {
    overflow: hidden;
}

.makers-slider__track {
    display: flex;
    /* This transition is the key to the smooth slide */
    transition: transform 0.6s cubic-bezier(0.5, 0, 0.5, 1);
}

.makers-slider__slide {
    flex: 0 0 80%; /* Each slide takes up 80% of the viewport */
    padding: 20px;
    box-sizing: border-box;
    /* This transition handles the scale/opacity/filter animations */
    transition: transform 0.6s ease, opacity 0.6s ease, filter 0.6s ease;
    transform: scale(0.8);
    opacity: 0.5;
    filter: grayscale(80%);
}

.makers-slider__slide.is-active {
    transform: scale(1);
    opacity: 1;
    filter: grayscale(0%);
}

@media (min-width: 768px) {
    .makers-slider__slide {
        flex-basis: 50%;
    }
}
@media (min-width: 1200px) {
    .makers-slider__slide {
        flex-basis: 33.333%;
    }
}

.maker-card {
    background-color: #fff;
    border-radius: 12px;
    text-align: center;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    height: 100%;
}

.maker-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 15px auto;
    border: 5px solid var(--background-color);
}

.maker-card h3 {
    margin: 10px 0 5px 0;
}

.maker-card span {
    color: var(--primary-color);
    font-weight: bold;
    display: block;
    margin-bottom: 15px;
}

/* Navigation Buttons */
.makers-slider__button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #fff;
    border: none;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.2s ease;
}
.makers-slider__button:hover {
    transform: translateY(-50%) scale(1.1);
}

.makers-slider__button--prev {
    left: 10px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23DB7F67'%3E%3Cpath d='M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z'/%3E%3C/svg%3E");
}
.makers-slider__button--next {
    right: 10px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23DB7F67'%3E%3Cpath d='M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z'/%3E%3C/svg%3E");
}

/* Pagination Dots */
.makers-slider__pagination {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}
.makers-slider__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background-color: rgba(255,255,255,0.5);
    cursor: pointer;
    padding: 0;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.makers-slider__dot.is-active {
    background-color: #fff;
    transform: scale(1.2);
}

/* Next Chapter Section */
#next-chapter {
    padding: 80px 0;
    background: #fff;
}

.next-chapter-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.next-chapter-text {
    flex: 1.5;
}

.next-chapter-image {
    flex: 1;
    max-width: 450px;
}

/* Responsive adjustments for Our Story Page */
@media (max-width: 768px) {
    .spark-content, .next-chapter-content {
        flex-direction: column;
    }
    
    .timeline::after {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 60px;
        padding-right: 15px;
    }
    
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-item::after {
        left: 10px;
    }
}

/* ... [Keep all your existing CSS] ... */

/* ========== VISIT US PAGE STYLES ========== */

/* Visit Hero Section */
/* ========== REDESIGNED VISIT US HERO STYLES ========== */

#visit-hero {
    padding: 100px 0;
    background-color: var(--background-color); /* Use the soft off-white background */
    overflow: hidden; /* Important to contain the overlapping images */
}

.visit-hero-layout {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 40px;
}

.visit-hero-content h1 {
    font-size: 3.5rem; /* Make the headline more impactful */
    line-height: 1.2;
    margin-bottom: 25px;
    color: var(--accent-color);
}

.visit-hero-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
    max-width: 500px; /* Constrain line length for readability */
}

/* Image Collage Styling */
.visit-hero-images {
    position: relative;
}

.visit-hero-image-main {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px -15px rgba(0,0,0,0.2);
}

.visit-hero-image-main img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.visit-hero-image-detail {
    position: absolute;
    bottom: -50px; /* Overlap downwards */
    left: -60px;  /* Overlap to the left */
    width: 50%; /* Make the detail image smaller */
    border-radius: 10px;
    border: 6px solid #fff;
    box-shadow: 0 15px 35px -10px rgba(0,0,0,0.25);
    overflow: hidden;
    z-index: 2;
}

.visit-hero-image-detail img {
    display: block;
    width: 100%;
}

/* Staggered animation for the new elements */
.visit-hero-images.animate-on-scroll {
    transition-delay: 0.2s;
}

/* Responsive Design for the Hero */
@media (max-width: 992px) {
    /* Stack the layout on tablets and smaller devices */
    .visit-hero-layout {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .visit-hero-content {
        order: 1; /* Text comes first */
    }

    .visit-hero-images {
        order: 2; /* Images come second */
        max-width: 500px;
        margin: 0 auto;
    }

    .visit-hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .visit-hero-image-detail {
        width: 40%;
        bottom: -30px;
        left: -40px;
    }
}

@media (max-width: 576px) {
    #visit-hero {
        padding: 80px 0;
    }
    .visit-hero-content h1 {
        font-size: 2.8rem;
    }
}

/* Location & Hours Section */
#location-hours {
    padding: 60px 0;
    background-color: var(--primary-color);
}

.location-hours-content {
    display: flex;
    justify-content: space-around;
    text-align: center;
    color: #fff;
    gap: 30px;
}

.info-card {
    flex-basis: 45%;
}

.info-card h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.info-card p {
    font-size: 1.1rem;
    margin: 5px 0;
}

.info-card .btn {
    background-color: #fff;
    color: var(--primary-color);
    margin-top: 15px;
    font-weight: bold;
}
.info-card .btn:hover {
    background-color: #f0f0f0;
}

/* Interactive Map Section */
#interactive-map {
    padding: 80px 0;
    background-color: #fff;
}

.map-directions-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: center;
}

.map-placeholder img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 8px;
    border: 3px solid var(--secondary-color);
}

.directions-text h3 {
    margin-top: 0;
    color: var(--accent-color);
}

/* Our Neighborhood Section */
/* ========== REDESIGNED "OUR NEIGHBORHOOD" STYLES ========== */

#our-neighborhood {
    padding: 100px 0;
    /* Use a gradient for a softer, more premium feel */
    background: linear-gradient(to bottom, #ffffff, var(--background-color));
    position: relative;
    overflow: hidden; /* Important for the negative margin overlap */
}

.neighborhood-header {
    background-color: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative; /* Needs a position context for z-index */
    z-index: 2; /* Ensure the header sits ON TOP of the gallery */
}

.neighborhood-header h2 {
    margin-top: 0;
}

.neighborhood-header p {
    color: #555;
    max-width: 600px;
    margin: 15px auto 0 auto;
}

.neighborhood-gallery {
    display: grid;
    grid-template-columns: 1fr 0.8fr; /* Asymmetrical columns for visual interest */
    gap: 30px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    /* This is the key to the overlap effect */
    margin-top: -80px; 
    position: relative;
    z-index: 1; /* Sits below the header */
}

.gallery-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Stagger the images vertically */
.gallery-image:nth-child(1) {
    align-self: start;
}
.gallery-image:nth-child(2) {
    align-self: end;
}

.gallery-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

/* Staggered animation delays */
.gallery-image.animate-on-scroll:nth-child(1) {
    transition-delay: 0.2s;
}
.gallery-image.animate-on-scroll:nth-child(2) {
    transition-delay: 0.4s;
}

/* Responsive Design for the Section */
@media (max-width: 768px) {
    /* Stack everything vertically for smaller screens */
    .neighborhood-gallery {
        grid-template-columns: 1fr; /* Single column */
        margin-top: 40px; /* Change negative margin to positive spacing */
        gap: 25px;
    }

    /* Reset vertical alignment */
    .gallery-image:nth-child(1),
    .gallery-image:nth-child(2) {
        align-self: auto;
    }
}

/* Inside The Grind Section */
#inside-the-grind {
    padding: 80px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 15px;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* Amenities Section */
/* ========== AMENITIES (VERTICAL TABS) STYLES ========== */

#amenities {
    padding: 100px 0;
    background-color: var(--background-color);
}

.amenities-tabs {
    display: grid;
    /* Create two columns: Nav | Content */
    grid-template-columns: 300px 1fr;
    gap: 50px;
    max-width: 1100px;
    margin: 60px auto 0;
    background-color: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 15px 40px -10px rgba(0,0,0,0.1);
}

/* Vertical Navigation */
.amenities-tabs__nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.amenities-tabs__button {
    width: 100%;
    padding: 20px;
    background-color: var(--background-color);
    border: none;
    border-radius: 8px;
    text-align: left;
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--accent-color);
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.amenities-tabs__button:hover {
    background-color: var(--secondary-color);
    color: var(--accent-color);
}

.amenities-tabs__button.is-active {
    background-color: var(--primary-color);
    color: #fff;
}

/* Active indicator arrow */
.amenities-tabs__button.is-active::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -20px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 15px solid var(--primary-color);
}

/* Content Area */
.amenities-tabs__content {
    position: relative;
    min-height: 400px; /* Give the container a consistent height */
}

.amenities-tabs__pane {
    /* Hide inactive panes and set up for animation */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out, visibility 0.4s;
}

.amenities-tabs__pane.is-active {
    /* Show and animate in the active pane */
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.amenities-tabs__pane img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 25px;
}

.amenities-tabs__pane h3 {
    margin-top: 0;
    font-size: 1.8rem;
    color: var(--accent-color);
}

.amenities-tabs__pane p {
    line-height: 1.7;
}

/* Responsive Design */
@media (max-width: 992px) {
    .amenities-tabs {
        grid-template-columns: 1fr; /* Stack nav on top of content */
        gap: 30px;
        padding: 30px;
    }

    .amenities-tabs__nav {
        flex-direction: row;
        overflow-x: auto;
    }

    .amenities-tabs__button {
        flex-shrink: 0; /* Prevent buttons from shrinking */
    }

    .amenities-tabs__button.is-active::after {
        display: none; /* Hide the side arrow */
    }
}

/* Health & Safety Section */
#health-safety {
    padding: 80px 0;
    background: #fff;
}

.health-safety-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.health-safety-image {
    flex: 1;
    max-width: 450px;
}

.health-safety-text {
    flex: 1.5;
}

/* Responsive adjustments for Visit Us Page */
@media (max-width: 992px) {
    .map-directions-grid {
        grid-template-columns: 1fr;
    }
    .neighborhood-content, .health-safety-content {
        flex-direction: column-reverse;
    }
     .health-safety-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .location-hours-content {
        flex-direction: column;
    }
    .neighborhood-images img:last-child {
       display: none; /* Hide overlapping image on smaller screens */
    }

    .amenities-tabs__content
    {
        min-height: 580px;
    }
}

/* ... [Keep all your existing CSS] ... */

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

/* Ingredients Hero Section */
/* ========== REDESIGNED INGREDIENTS HERO STYLES ========== */

#ingredients-hero {
    padding: 100px 0;
    background-color: var(--background-color); /* A clean, bright background */
    overflow: hidden; /* Important for containing decorative elements */
}

.ingredients-hero-layout {
    display: grid;
    /* Asymmetrical split: text on left, gallery on right */
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 60px;
}

.ingredients-hero-content {
    position: relative; /* Needed for the decorative text pseudo-element */
    z-index: 2;
}

/* The giant, faint text in the background */
.hero-decorative-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18rem;
    font-weight: 900;
    color: var(--secondary-color);
    opacity: 0.1;
    z-index: -1;
    line-height: 1;
    user-select: none; /* Make it non-selectable */
}

.ingredients-hero-content h1 {
    font-size: 3.8rem;
    line-height: 1.1;
    color: var(--accent-color);
}

.ingredients-hero-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 450px; /* Improve readability */
    margin-top: 25px;
}

/* Masonry-style Image Gallery */
.ingredients-hero-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    align-items: start; /* Align items to the top of their cell */
}

.hero-gallery-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px -10px rgba(0,0,0,0.15);
    transition: transform 0.4s ease;
}
.hero-gallery-image:hover {
    transform: translateY(-8px);
}

.hero-gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Create the staggered/masonry effect */
.hero-gallery-image:nth-child(1) {
    grid-row: span 2; /* Make the first image taller */
}
.hero-gallery-image:nth-child(3) {
    margin-top: -40px; /* Pull the third image up */
}

/* Staggered animation */
.ingredients-hero-gallery .hero-gallery-image.animate-on-scroll:nth-child(1) { transition-delay: 0.2s; }
.ingredients-hero-gallery .hero-gallery-image.animate-on-scroll:nth-child(2) { transition-delay: 0.4s; }
.ingredients-hero-gallery .hero-gallery-image.animate-on-scroll:nth-child(3) { transition-delay: 0.6s; }


/* Responsive Design for the Hero */
@media (max-width: 992px) {
    /* Stack the layout for tablets and below */
    .ingredients-hero-layout {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .hero-decorative-text {
        font-size: 12rem;
    }

    .ingredients-hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .ingredients-hero-gallery {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .ingredients-hero-content h1 {
        font-size: 3rem;
    }
    .hero-decorative-text {
        display: none; /* Hide the decorative text on small screens to save space */
    }
}
/* The Coffee Bean Section */
/* ========== REDESIGNED "THE COFFEE BEAN" STYLES ========== */

#the-coffee-bean {
    padding: 100px 0;
    /* Use a gradient from white to the theme background for a soft transition */
    background: linear-gradient(to bottom, #ffffff, var(--background-color));
    overflow: hidden;
}

#the-coffee-bean h2 {
    text-align: center;
    margin-bottom: 60px;
}

.bean-focus-layout {
    display: grid;
    /* Define the three columns: text | image | text */
    grid-template-columns: 1fr 0.8fr 1fr;
    align-items: center;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.bean-focus-text {
    text-align: center;
    padding: 20px;
    position: relative;
}

.bean-focus-text h3 {
    color: var(--accent-color);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.bean-focus-text p {
    color: #555;
    line-height: 1.7;
    max-width: 300px; /* Improve readability */
    margin: 0 auto;
}

/* Add decorative quote marks for an editorial feel */
.bean-focus-text::before {
    content: '“';
    font-family: 'Georgia', serif;
    font-size: 5rem;
    color: var(--secondary-color);
    opacity: 0.5;
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    line-height: 1;
    z-index: -1;
}


.bean-focus-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px -15px rgba(0,0,0,0.2);
    /* Make the image slightly taller than the text columns */
    transform: scale(1.1); 
    transition: transform 0.4s ease;
}
.bean-focus-image:hover {
    transform: scale(1.15);
}

.bean-focus-image img {
    width: 100%;
    display: block;
}

/* Staggered animation delays for a smoother reveal */
.bean-focus-image.animate-on-scroll {
    transition-delay: 0.2s;
}
.bean-focus-layout .bean-focus-text.animate-on-scroll:last-of-type {
    transition-delay: 0.4s;
}

/* Responsive Design */
@media (max-width: 992px) {
    /* Stack the layout for tablets and smaller devices */
    .bean-focus-layout {
        grid-template-columns: 1fr; /* A single column */
        gap: 40px;
    }

    .bean-focus-image {
        transform: scale(1); /* Reset scale */
        max-width: 400px; /* Constrain image width */
        margin: 0 auto;
        order: 2; /* Set the order: text1 -> image -> text2 */
    }
    .bean-focus-layout .bean-focus-text:first-of-type {
        order: 1;
    }
    .bean-focus-layout .bean-focus-text:last-of-type {
        order: 3;
    }
}

/* Milk & Alternatives Section */
#milk-alternatives {
    padding: 80px 0;
    background-color: var(--background-color);
}

.milk-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.milk-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.milk-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.milk-card h3 {
    margin: 20px 0 10px 0;
    color: var(--accent-color);
}

.milk-card p {
    padding: 0 20px 20px 20px;
    margin: 0;
}

/* Art of Water Section */
#art-of-water {
    padding: 80px 0;
}

.water-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.water-image {
    flex: 1;
    max-width: 400px;
}

.water-image img {
    border-radius: 50%;
    border: 10px solid var(--secondary-color);
}

.water-text {
    flex: 1.5;
}

/* Sweet Syrups Section */
/* ========== REDESIGNED "SWEET SYRUPS" STYLES ========== */

#sweet-syrups {
    padding: 100px 0;
    /* A rich, dark gradient to make the content pop */
    background: linear-gradient(to bottom, var(--secondary-color), var(--accent-color));
    overflow: hidden;
}

#sweet-syrups h2,
#sweet-syrups .section-intro {
    text-align: center;
    color: #fff;
}
#sweet-syrups .section-intro {
    max-width: 700px;
    margin: -20px auto 80px auto;
    opacity: 0.9;
}

.syrup-drip-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: start; /* Key for the staggered effect */
    gap: 40px;
}

.syrup-drip-item {
    position: relative;
    text-align: center;
}

/* The vertical "drip" line */
.syrup-drip-item::before {
    content: '';
    position: absolute;
    top: 75px; /* Start below the center of the image */
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: calc(100% - 75px);
    background-color: rgba(255, 255, 255, 0.2);
    z-index: 1;
}

/* Stagger the drips at different heights */
.syrup-drip-item:nth-child(1) { padding-top: 40px; }
.syrup-drip-item:nth-child(2) { padding-top: 0; }
.syrup-drip-item:nth-child(3) { padding-top: 80px; }

.syrup-image-wrapper {
    position: relative;
    z-index: 2; /* Ensure the image is above the line */
    width: 150px;
    height: 150px;
    margin: 0 auto 30px auto;
}

.syrup-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 6px solid #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.syrup-details {
    position: relative;
    z-index: 2; /* Ensure the text card is above the line */
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.syrup-details h3 {
    color: var(--accent-color);
    margin-top: 0;
}

.syrup-details p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Staggered animation */
.syrup-drip-item.animate-on-scroll:nth-child(1) { transition-delay: 0.2s; }
.syrup-drip-item.animate-on-scroll:nth-child(2) { transition-delay: 0s; }
.syrup-drip-item.animate-on-scroll:nth-child(3) { transition-delay: 0.4s; }


/* Responsive Design */
@media (max-width: 992px) {
    /* Stack into a single column on smaller screens */
    .syrup-drip-layout {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
        gap: 50px;
    }

    /* Reset the vertical staggering for a clean stack */
    .syrup-drip-item:nth-child(1),
    .syrup-drip-item:nth-child(2),
    .syrup-drip-item:nth-child(3) {
        padding-top: 0;
    }

    /* Shorten the drip line for a better look in the stacked layout */
    .syrup-drip-item::before {
        height: 50px;
    }
}

/* From the Bakery Section */
#from-the-bakery {
    padding: 80px 0;
    background-color: #fff;
}
.bakery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1px;
    background-color: #eee;
    border: 1px solid #eee;
}
.bakery-item {
    background-color: #fff;
    padding: 40px;
    text-align: center;
}
.bakery-item h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* Sourcing Partners Section */
#sourcing-partners {
    padding: 80px 0;
    background-color: var(--background-color);
}
.partner-content {
    display: flex;
    align-items: center;
    gap: 60px;
}
.partner-text {
    flex: 1.5;
}
.partner-image {
    flex: 1;
    max-width: 450px;
}
.partner-image img {
    border-radius: 8px;
}

/* Responsive adjustments for Ingredients Page */
@media (max-width: 992px) {
    .bean-content, .water-content {
        flex-direction: column;
    }
    .water-content {
        flex-direction: column-reverse;
        text-align: center;
    }
}
@media (max-width: 768px) {
    .partner-content {
       flex-direction: column-reverse;
    }
}

/* ... [Keep all your existing CSS] ... */

/* ========== VIBE PAGE STYLES ========== */

/* Vibe Hero Section */
#vibe-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), ;
    background-size: cover;
    background-attachment: fixed; /* Parallax effect */
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 200px 0;
}

#vibe-hero p {
    max-width: 800px;
    margin: 20px auto 0;
    font-size: 1.1rem;
}

/* The Atmosphere Section */
#the-atmosphere {
    padding: 80px 0;
}
.atmosphere-content {
    display: flex;
    align-items: center;
    gap: 50px;
}
.atmosphere-text {
    flex: 1;
}
.atmosphere-images {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* Sights & Sounds Section */
/* ========== "SIGHTS & SOUNDS" SLIDER (VANILLA JS) STYLES ========== */

#sights-sounds {
    padding: 100px 0;
    background-color: var(--background-color);
}

#sights-sounds .section-intro {
    text-align: center;
    max-width: 700px;
    margin: -20px auto 40px auto;
}

.sights-slider {
    position: relative;
    max-width: 400px;
    height: 500px;
    margin: 0 auto;
}

.sights-slider__deck {
    position: relative;
    width: 100%;
    height: 100%;
    /* This preserves the 3D transformations of the child cards */
    transform-style: preserve-3d;
}

.sights-slider__card {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 18px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    cursor: pointer;
    /* This is the key to the smooth rotating animation */
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.6s ease;
}

/* Gradient overlay for text readability */
.sights-slider__card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.card-content {
    padding: 30px;
    position: relative;
    z-index: 2;
    color: #fff;
}
.card-content h3 {
    font-size: 2rem;
    margin: 0 0 10px 0;
}
.card-content p {
    font-size: 1rem;
    font-weight: normal;
    line-height: 1.6;
    opacity: 0.9;
}

/* Navigation Buttons */
.sights-slider__nav {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
}

.sights-slider__button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.2s ease;
}
.sights-slider__button:hover {
    transform: scale(1.1);
}

.sights-slider__button--prev {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23DB7F67'%3E%3Cpath d='M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z'/%3E%3C/svg%3E");
}
.sights-slider__button--next {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23DB7F67'%3E%3Cpath d='M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z'/%3E%3C/svg%3E");
}

/* The Aroma Section */
#the-aroma {
    padding: 120px 0;
    text-align: center;
    background: linear-gradient(to right, var(--accent-color), #8a655d);
    color: #fff;
}
#the-aroma h2 {
    color: #fff;
}
#the-aroma p {
    max-width: 900px;
    margin: 20px auto 0;
    font-size: 1.15rem;
    line-height: 1.8;
}

/* Spaces for Every Mood Section */
#mood-spaces {
    padding: 80px 0;
}
.spaces-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.space-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease;
}
.space-card:hover {
    transform: translateY(-10px);
}
.space-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}
.space-card h3, .space-card p {
    padding: 0 25px;
}
.space-card h3 {
    color: var(--primary-color);
    margin-top: 20px;
}
.space-card p {
    padding-bottom: 25px;
}

/* Community Vibe Section */
#community-vibe {
    padding: 80px 0;
    background-color: var(--secondary-color);
}
.community-content {
    display: flex;
    align-items: center;
    gap: 60px;
}
.community-text {
    flex: 1.5;
}
.community-image {
    flex: 1;
    max-width: 450px;
}
.community-image img {
    border-radius: 8px;
}

/* A Day at the Grind Section */
#day-at-the-grind {
    padding: 80px 0;
    background: #fff;
}
.day-content {
    max-width: 900px;
    margin: 40px auto 0;
}
.day-phase {
    position: relative;
    padding: 20px 0 20px 40px;
    border-left: 3px solid var(--secondary-color);
}
.day-phase:last-child {
    border-bottom: none;
}
.day-phase::before {
    content: '';
    position: absolute;
    left: -11px;
    top: 25px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: var(--primary-color);
    border: 3px solid #fff;
}
.day-phase h3 {
    margin-top: 0;
    color: var(--accent-color);
}

/* Responsive adjustments for Vibe Page */
@media (max-width: 992px) {
    .atmosphere-content {
        flex-direction: column;
    }
}
@media (max-width: 768px) {
    .community-content {
        flex-direction: column;
    }
}

/* ... [Keep all your existing CSS] ... */

/* ========== EVENTS PAGE STYLES ========== */

/* Events Hero Section */
#events-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), ;
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 180px 0;
}

#events-hero p {
    max-width: 800px;
    margin: 20px auto 0;
}

/* Upcoming Events Section */
#upcoming-events {
    padding: 80px 0;
    background-color: #fff;
}

.event-item {
    display: flex;
    gap: 30px;
    align-items: center;
    background: var(--background-color);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    border-left: 5px solid transparent;
    transition: border-left-color 0.3s ease;
}

.event-item:hover {
    border-left-color: var(--primary-color);
}

.event-date {
    flex: 0 0 80px;
    text-align: center;
    background-color: #fff;
    padding: 15px 10px;
    border-radius: 8px;
    color: var(--primary-color);
    font-weight: bold;
}

.event-date span {
    font-size: 1rem;
    display: block;
}

.event-date strong {
    font-size: 2.5rem;
    display: block;
    line-height: 1;
}

.event-details {
    flex-grow: 1;
}
.event-details h3 {
    margin-top: 0;
}

.event-image {
    flex: 0 0 150px;
    height: 120px;
}

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

/* Signature Events Section */
#signature-events {
    padding: 80px 0;
    background-color: var(--secondary-color);
}
.signature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 40px;
}
.signature-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}
.signature-card img {
    max-width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}
.signature-card h3 {
    color: var(--accent-color);
}

/* Private Events Section */
/* ========== REDESIGNED PRIVATE EVENTS (GLASS EFFECT) STYLES ========== */

#private-events {
    /* Set the background image for the whole section */
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    
    padding: 100px 0;
    
    /* Center the card vertically */
    display: flex;
    align-items: center;
    min-height: 80vh; 
}

.private-events-card {
    /* --- The Glass Effect --- */
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px); /* For Safari */
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.25);
    /* ------------------------ */
    
    border-radius: 16px;
    color: #fff;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden; /* Important for the border-radius on the image */
    
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;
}

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

.card-text {
    padding: 40px;
}

.card-text h2 {
    color: #fff;
    font-size: 2.8rem;
    margin-top: 0;
    margin-bottom: 15px;
}

.card-text p {
    font-size: 1.05rem;
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 30px;
}

.event-types-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.event-type-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.event-type-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--primary-color);
}

.card-text .btn {
    background-color: var(--primary-color);
    color: #fff;
}
.card-text .btn:hover {
    background-color: #fff;
    color: var(--primary-color);
}

/* Responsive Design for the Glass Card */
@media (max-width: 992px) {
    #private-events {
        min-height: auto; /* Let the content define the height */
    }
    
    .private-events-card {
        grid-template-columns: 1fr; /* Stack into a single column */
    }

    .card-image {
        height: 250px; /* Give the image a fixed height */
    }
}

@media (max-width: 576px) {
    .card-text {
        padding: 30px;
    }
    .card-text h2 {
        font-size: 2.2rem;
    }
    .event-types-list {
        grid-template-columns: 1fr; /* A single column for the list on small screens */
    }
}
/* Events Gallery Section */
#events-gallery {
    padding: 80px 0;
    background-color: var(--background-color);
}
.gallery-grid-events {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 220px);
    gap: 15px;
}
.gallery-grid-events img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}
.gallery-grid-events img:nth-child(1) {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}
.gallery-grid-events img:nth-child(2) {
    grid-column: 3 / 4;
}
.gallery-grid-events img:nth-child(3) {
    grid-column: 4 / 5;
}
.gallery-grid-events img:nth-child(4) {
    grid-column: 3 / 5;
}

/* Event Partners Section */
#event-partners {
    padding: 80px 0;
    text-align: center;
    background: #fff;
}
#event-partners .section-intro {
    max-width: 800px;
}

/* Stay in the Loop Section */
#stay-in-loop {
    padding: 80px 0;
    background-color: var(--accent-color);
    color: #fff;
    text-align: center;
}
#stay-in-loop h2 {
    color: #fff;
}
.social-and-subscribe {
    margin-top: 40px;
}
.social-links-events a {
    color: #fff;
    margin: 0 15px;
    text-decoration: none;
    font-weight: bold;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 5px;
}
.subscribe-form {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}
.subscribe-form input {
    width: 350px;
    padding: 15px;
    border: none;
    border-radius: 5px 0 0 5px;
}
.subscribe-form .btn {
    border-radius: 0 5px 5px 0;
}

/* Responsive adjustments for Events Page */
@media (max-width: 992px) {
    .private-events-content {
        flex-direction: column;
    }
    .gallery-grid-events {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .gallery-grid-events img {
        grid-column: auto;
        grid-row: auto;
        width: 100%;
        height: 400px;
        object-fit: cover;
    }
}

@media (max-width: 768px) {
    .event-item {
        flex-direction: column;
        text-align: center;
    }
    .event-image {
        width: 100%;
        max-width: 250px;
    }
    .subscribe-form {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .subscribe-form input, .subscribe-form .btn {
        width: 100%;
        max-width: 350px;
        border-radius: 5px;
    }
}



/* ... [Keep all your existing CSS] ... */

/* ========== COMPREHENSIVE FOOTER STYLES ========== */

footer {
    background-color: #333;
    color: #f1f1f1;
    padding: 60px 0 20px 0;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3, .footer-col h4 {
    color: #fff;
    font-family: 'Georgia', serif;
    margin-top: 0;
    margin-bottom: 20px;
}

.footer-col h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.footer-col p {
    color: #ccc;
    line-height: 1.7;
}

/* Footer About & Social */
.footer-social {
    margin-top: 20px;
}
.footer-social a {
    color: #ccc;
    text-decoration: none;
    margin-right: 20px;
    transition: color 0.3s ease;
}
.footer-social a:hover {
    color: var(--primary-color);
}

/* Footer Navigation */
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-col ul li {
    margin-bottom: 12px;
}
.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-col ul li a:hover {
    color: #fff;
}

/* Footer Contact */
.footer-col address {
    font-style: normal;
    line-height: 1.8;
}
.footer-col address a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-col address a:hover {
    color: #fff;
}

/* Footer Subscribe Form */
.footer-subscribe-form {
    display: flex;
}
.footer-subscribe-form input {
    width: 100%;
    padding: 12px;
    border: 1px solid #555;
    background-color: #444;
    color: #fff;
    border-radius: 5px 0 0 5px;
}
.footer-subscribe-form input::placeholder {
    color: #aaa;
}
.footer-subscribe-form .btn {
    padding: 12px 20px;
    border-radius: 0 5px 5px 0;
    flex-shrink: 0; /* Prevents the button from shrinking */
}

/* Footer Bottom Bar */
.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #aaa;
}

.footer-bottom ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}
.footer-bottom ul li {
    margin-left: 20px;
}
.footer-bottom ul li a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-bottom ul li a:hover {
    color: #fff;
}


/* Responsive Adjustments for Footer */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-col {
        margin-bottom: 20px;
    }
    .footer-social, .footer-subscribe-form {
        justify-content: center;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }
    .footer-bottom ul {
        margin: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    header nav {
        flex-direction: column;
    }

    header ul {
        margin-top: 20px;
    }

    .process-steps, .experience-content, .sustainability-content {
        flex-direction: column;
    }

    .experience-images {
        grid-template-columns: 1fr;
    }
}

/* Animation on Scroll Styles */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Staggered animation for grid/flex items */
.coffee-card.animate-on-scroll:nth-child(2) {
    transition-delay: 0.2s;
}
.coffee-card.animate-on-scroll:nth-child(3) {
    transition-delay: 0.4s;
}
.step.animate-on-scroll:nth-child(2) {
    transition-delay: 0.2s;
}
.step.animate-on-scroll:nth-child(3) {
    transition-delay: 0.4s;
}

/* ========== MOBILE NAVIGATION STYLES ========== */

.mobile-nav-toggle {
    display: none; /* Hidden by default on desktop */
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 2000; /* Ensure it's on top */
    position: relative;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hamburger-icon {
    width: 28px;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 5px;
    position: relative;
    transition: background-color 0.3s ease;
}

.hamburger-icon::before,
.hamburger-icon::after {
    content: '';
    position: absolute;
    width: 28px;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 5px;
    transition: transform 0.4s ease, top 0.4s ease;
}

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

/* Hamburger animation to "X" when active */
.mobile-nav-toggle[aria-expanded="true"] .hamburger-icon {
    background-color: transparent; /* Middle bar disappears */
}
.mobile-nav-toggle[aria-expanded="true"] .hamburger-icon::before {
    top: 0;
    transform: rotate(45deg);
}
.mobile-nav-toggle[aria-expanded="true"] .hamburger-icon::after {
    top: 0;
    transform: rotate(-45deg);
}


/* The Mobile Navigation Panel */
.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 300px; /* Width of the slide-in menu */
    max-width: 80%;
    z-index: 1999; /* Just below the toggle button */
    
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    
    transform: translateX(100%); /* Start off-screen */
    transition: transform 0.5s cubic-bezier(0.5, 0, 0.5, 1);
    
    padding: 100px 40px;
    display: flex;
    flex-direction: column;
}

.mobile-nav[data-visible="true"] {
    transform: translateX(0); /* Slide into view */
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.mobile-nav ul li a {
    text-decoration: none;
    color: var(--accent-color);
    font-size: 1.5rem;
    font-weight: bold;
}


/* Responsive Breakpoint */
@media (max-width: 992px) {
    header .desktop-nav {
        display: none; /* Hide desktop nav */
    }
    .mobile-nav-toggle {
        display: block; /* Show hamburger icon */
    }
    
    /* When mobile menu is open, prevent body from scrolling */
    body.no-scroll {
        overflow: hidden;
    }
}

/* ========== STYLES FOR LEGAL PAGES (PRIVACY, TERMS, ETC.) ========== */

/* --- Hero Section --- */
.legal-hero-section {
    padding: 120px 0 80px 0;
    text-align: center;
    background-color: var(--background-color);
    border-bottom: 1px solid #eee;
}

.page-title {
    font-size: 3.5rem;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.page-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 500px;
    margin: 0 auto;
}


/* --- Main Content Section --- */
.legal-content-section {
    padding: 80px 0;
    background-color: #fff;
}

.legal-content-container {
    max-width: 800px; /* Constrain width for optimal readability */
    margin: 0 auto;
}

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

.legal-content-container article {
    margin-bottom: 50px;
}
.legal-content-container article:last-child {
    margin-bottom: 0;
}

.legal-content-container h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: left;
}

.legal-content-container p,
.legal-content-container li {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
}

.legal-content-container ul {
    list-style-type: disc;
    padding-left: 25px;
    margin-top: 20px;
}

.legal-content-container li {
    margin-bottom: 15px;
}

.legal-content-container .btn {
    margin-top: 20px;
}

/* ========== STYLES FOR UTILITY PAGES (THANK YOU, 404, ETC.) ========== */

/* --- Page Body --- */
.utility-page-body {
    background: linear-gradient(to bottom, #ffffff, var(--background-color));
    font-family: 'Helvetica Neue', sans-serif;
    color: var(--text-color);
    
    /* Center the content vertically and horizontally */
    display: grid;
    place-items: center;
    min-height: 100vh;
    padding: 20px;
}

/* --- Content Box --- */
.thank-you-box {
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 15px 40px -10px rgba(0,0,0,0.12);
    padding: 40px 50px;
    text-align: center;
    max-width: 550px;
    width: 100%;
}

.thank-you-box h1 {
    font-family: 'Georgia', serif;
    font-size: 2.8rem;
    color: var(--accent-color);
    margin: 20px 0 15px 0;
}

.thank-you-box p {
    line-height: 1.7;
    color: #555;
    margin-bottom: 30px;
}

.thank-you-box .btn {
    /* The .btn class is inherited from style.css, we just add margin */
    margin-top: 10px;
}


/* --- Animated Checkmark --- */
.checkmark-container {
    width: 100px;
    height: 100px;
    margin: 0 auto;
}

.checkmark-svg {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: block;
    stroke-width: 3;
    stroke: var(--primary-color);
    stroke-miterlimit: 10;
    box-shadow: inset 0px 0px 0px var(--primary-color);
    animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}

.checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 3;
    stroke-miterlimit: 10;
    stroke: var(--primary-color);
    fill: none;
    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.8s forwards;
}

/* --- Keyframe Animations --- */
@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes scale {
    0%, 100% {
        transform: none;
    }
    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

@keyframes fill {
    100% {
        box-shadow: inset 0px 0px 0px 50px var(--primary-color);
    }
}


/* Responsive Adjustments */
@media (max-width: 576px) {
    .thank-you-box {
        padding: 30px 25px;
    }
    .thank-you-box h1 {
        font-size: 2.2rem;
    }
}