/* =========================================================
   JAMBO COFFEE
   Global Design System
   ========================================================= */

:root {
    --espresso: #211a17;
    --coffee: #6b4532;
    --cream: #f4efe6;
    --soft-white: #fcfaf6;
    --terracotta: #b65c3a;
    --gold: #c49a5a;
    --charcoal: #292725;

    --font-display: "Fraunces", Georgia, serif;
    --font-body: "Manrope", Arial, sans-serif;

    --max-width: 1380px;
}


/* =========================================================
   RESET
   ========================================================= */

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

html {
    scroll-behavior: smooth;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    background: var(--soft-white);
    color: var(--charcoal);

    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

h1,
h2,
h3,
h4 {
    margin-top: 0;

    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.05;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: absolute;
    z-index: 20;

    top: 0;
    left: 0;

    width: 100%;

    background: transparent;
    color: var(--cream);
}

.nav-container {
    width: min(calc(100% - 80px), var(--max-width));
    height: 94px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;

    border-bottom: 1px solid rgba(244, 239, 230, 0.16);
}


/* TEXT LOGO */

.brand {
    display: inline-flex;
    flex-direction: column;

    font-family: var(--font-display);
    font-size: 25px;
    font-weight: 600;
    line-height: 0.85;
    letter-spacing: 0.02em;
}

.brand span {
    margin-top: 8px;

    font-family: var(--font-body);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.42em;
}


/* DESKTOP NAVIGATION */

.main-nav {
    display: flex;
    align-items: center;
    gap: 34px;
}

.main-nav a {
    position: relative;

    padding: 8px 0;

    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;

    opacity: 0.78;

    transition: opacity 0.25s ease;
}

.main-nav a:hover,
.main-nav a.active {
    opacity: 1;
}

.main-nav a.active::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 100%;
    height: 1px;

    background: var(--gold);
}


/* VISIT BUTTON */

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 42px;
    padding: 10px 21px;

    border: 1px solid rgba(244, 239, 230, 0.5);

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

.nav-cta:hover {
    background: var(--cream);
    border-color: var(--cream);
    color: var(--espresso);
}


/* =========================================================
   ONE-SCREEN HOME
   ========================================================= */

.home-hero {
    position: relative;

    width: 100%;
    height: 100vh;
    height: 100svh;

    min-height: 620px;

    overflow: hidden;

    background: var(--espresso);
    color: var(--cream);
}


/* =========================================================
   SLIDES
   ========================================================= */

.hero-slides {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;

    opacity: 0;

    transition: opacity 3s ease;
}

.hero-slide.active {
    opacity: 1;
}
.hero-slides {
    position: absolute;
    z-index: 1;
    inset: 0;

    width: 100%;
    height: 100%;
}
.hero-slide img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transform: scale(1.015);

    transition: transform 8s ease;
}

.hero-slide.active img {
    transform: scale(1.05);
}


/* =========================================================
   CINEMATIC OVERLAY
   ========================================================= */

.home-hero-overlay {
    position: absolute;
    z-index: 2;

    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            rgba(18, 13, 10, 0.82) 0%,
            rgba(18, 13, 10, 0.58) 38%,
            rgba(18, 13, 10, 0.18) 72%,
            rgba(18, 13, 10, 0.08) 100%
        ),
        linear-gradient(
            0deg,
            rgba(18, 13, 10, 0.55) 0%,
            rgba(18, 13, 10, 0.08) 42%,
            rgba(18, 13, 10, 0.18) 100%
        );
}


/* =========================================================
   HERO CONTENT
   ========================================================= */

.home-hero-content {
    position: relative;
    z-index: 5;

    width: min(calc(100% - 80px), var(--max-width));
    height: 100%;
    margin: 0 auto;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding-top: 76px;
    padding-bottom: 95px;
}

.hero-eyebrow {
    margin: 0 0 20px;

    color: var(--gold);

    font-size: 10px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.26em;
    text-transform: uppercase;
}

.home-hero-title {
    max-width: 780px;
    margin: 0;

    font-size: clamp(58px, 6vw, 92px);
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: -0.035em;
}

.home-hero-title span {
    display: block;

    color: var(--cream);
}

.home-hero-description {
    max-width: 460px;

    margin: 26px 0 0;

    color: rgba(244, 239, 230, 0.78);

    font-size: 15px;
    line-height: 1.8;
}


/* =========================================================
   HERO ACTIONS
   ========================================================= */

.home-hero-actions {
    display: flex;
    align-items: center;
    gap: 28px;

    margin-top: 32px;
}

.hero-primary-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;
    padding: 12px 23px;

    background: var(--cream);
    border: 1px solid var(--cream);

    color: var(--espresso);

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.hero-primary-action:hover {
    background: var(--soft-white);

    transform: translateY(-2px);
}

.hero-secondary-action {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 10px 0;

    border-bottom: 1px solid rgba(244, 239, 230, 0.45);

    color: rgba(244, 239, 230, 0.88);

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    transition:
        color 0.25s ease,
        border-color 0.25s ease;
}

.hero-secondary-action:hover {
    color: var(--cream);
    border-color: var(--cream);
}


/* =========================================================
   BOTTOM DETAILS
   ========================================================= */

.home-hero-bottom {
    position: absolute;
    z-index: 6;

    right: 40px;
    bottom: 27px;
    left: 40px;

    width: min(calc(100% - 80px), var(--max-width));
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;

    color: rgba(244, 239, 230, 0.62);

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}


/* LOCATION */

.hero-location {
    justify-self: start;
}


/* SLIDE STATUS */

.hero-pagination {
    display: flex;
    align-items: center;
    gap: 11px;

    justify-self: center;
}

.hero-pagination button {
    width: 28px;
    height: 2px;

    padding: 0;

    border: 0;
    background: rgba(244, 239, 230, 0.3);

    cursor: pointer;

    transition:
        width 0.3s ease,
        background 0.3s ease;
}

.hero-pagination button.active {
    width: 48px;

    background: var(--cream);
}


/* SLIDER ARROWS */

.hero-controls {
    display: flex;
    align-items: center;
    gap: 8px;

    justify-self: end;
}

.hero-control {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 39px;
    height: 39px;

    padding: 0;

    border: 1px solid rgba(244, 239, 230, 0.3);
    border-radius: 50%;

    background: transparent;
    color: var(--cream);

    cursor: pointer;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

.hero-control:hover {
    background: var(--cream);
    border-color: var(--cream);

    color: var(--espresso);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 950px) {

    .nav-container {
        width: calc(100% - 40px);
        height: 82px;
    }

    .main-nav {
        display: none;
    }

    .home-hero-content {
        width: calc(100% - 40px);

        padding-top: 70px;
    }

    .home-hero-title {
        max-width: 720px;
    }

    .home-hero-bottom {
        right: 20px;
        left: 20px;

        width: calc(100% - 40px);
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .home-hero {
        min-height: 600px;
    }

    .nav-container {
        width: calc(100% - 32px);
        height: 74px;
    }

    .brand {
        font-size: 22px;
    }

    .nav-cta {
        min-height: 38px;
        padding: 8px 14px;

        font-size: 9px;
    }

    .home-hero-content {
        width: calc(100% - 32px);

        justify-content: center;

        padding-top: 64px;
        padding-bottom: 110px;
    }

    .hero-eyebrow {
        max-width: 270px;

        margin-bottom: 16px;

        font-size: 9px;
        line-height: 1.7;
    }

    .home-hero-title {
        max-width: 520px;

        font-size: clamp(47px, 13vw, 62px);
        line-height: 1;
    }

    .home-hero-description {
        max-width: 330px;

        margin-top: 22px;

        font-size: 13px;
        line-height: 1.7;
    }

    .home-hero-actions {
        align-items: flex-start;
        flex-direction: column;

        gap: 12px;

        margin-top: 26px;
    }

    .hero-primary-action {
        min-height: 44px;
        padding: 10px 18px;

        font-size: 10px;
    }

    .hero-secondary-action {
        font-size: 10px;
    }

    .home-hero-bottom {
        right: 16px;
        bottom: 18px;
        left: 16px;

        width: calc(100% - 32px);

        grid-template-columns: auto 1fr auto;
        gap: 15px;
    }

    .hero-location {
        display: none;
    }

    .hero-pagination {
        justify-self: start;
    }

    .hero-pagination button {
        width: 20px;
    }

    .hero-pagination button.active {
        width: 34px;
    }

    .hero-control {
        width: 36px;
        height: 36px;
    }

    .home-hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(18, 13, 10, 0.75) 0%,
                rgba(18, 13, 10, 0.42) 72%,
                rgba(18, 13, 10, 0.2) 100%
            ),
            linear-gradient(
                0deg,
                rgba(18, 13, 10, 0.62) 0%,
                rgba(18, 13, 10, 0.08) 55%
            );
    }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    .hero-slide,
    .hero-slide img,
    .hero-primary-action {
        transition: none;
    }

    .hero-slide img,
    .hero-slide.active img {
        transform: none;
    }
}
.home-hero-tagline {
    max-width: none;

    font-size: 11px;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.home-hero-tagline span {
    margin: 0 5px;
    color: var(--gold);
}
/* =========================================================
   MOBILE NAVIGATION
   ========================================================= */

/* Hidden on desktop */

.mobile-menu-toggle,
.mobile-menu {
    display: none;
}


/* =========================================================
   MOBILE / TABLET MENU
   ========================================================= */

@media (max-width: 950px) {

    /* Remove desktop CTA */

    .nav-cta {
        display: none;
    }


    /* THREE-LINE BUTTON */

    .mobile-menu-toggle {
        position: relative;
        z-index: 30;

        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;

        width: 42px;
        height: 42px;

        padding: 9px;

        border: 0;
        background: transparent;

        cursor: pointer;
    }

    .mobile-menu-toggle span {
        display: block;

        width: 24px;
        height: 1px;

        margin-left: auto;

        background: var(--cream);

        transition:
            transform 0.4s ease,
            opacity 0.3s ease,
            width 0.3s ease;
    }

    /* Slightly shorter middle line */

    .mobile-menu-toggle span:nth-child(2) {
        width: 18px;
    }


    /* FULL-SCREEN MENU */

    .mobile-menu {
        position: fixed;
        z-index: 25;

        inset: 0;

        display: block;

        width: 100%;
        height: 100vh;
        height: 100svh;

        background: rgba(33, 26, 23, 0.97);
        color: var(--cream);

        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        transform: translateY(-12px);

        transition:
            opacity 0.45s ease,
            visibility 0.45s ease,
            transform 0.45s ease;
    }


    /* MENU CONTENT */

    .mobile-menu-inner {
        width: min(calc(100% - 48px), 560px);
        height: 100%;
        margin: 0 auto;

        display: flex;
        flex-direction: column;
justify-content: flex-start;
padding-top: clamp(180px, 24vh, 230px);
        align-items: flex-start;

        padding-top: 80px;
        padding-bottom: 32px;
    }


    /* NAVIGATION LINKS */

    .mobile-nav {
        display: flex;
        flex-direction: column;
        align-items: flex-start;

        gap: 8px;
    }

    .mobile-nav a {
        font-family: var(--font-display);
        font-size: clamp(42px, 12vw, 62px);
        font-weight: 400;
        line-height: 1.08;
        letter-spacing: -0.025em;

        transition:
            color 0.25s ease,
            transform 0.25s ease;
    }

    .mobile-nav a:hover {
        color: var(--gold);

        transform: translateX(5px);
    }


    /* FIND JAMBO */

    .mobile-menu-cta {
        display: inline-flex;
        align-items: center;
        gap: 12px;

        margin-top: 38px;
        padding-bottom: 7px;

        border-bottom: 1px solid rgba(244, 239, 230, 0.35);

        font-size: 10px;
        font-weight: 700;
        letter-spacing: 0.13em;
        text-transform: uppercase;
    }

    .mobile-menu-cta span {
        color: var(--gold);
        font-size: 14px;
    }


    /* BOTTOM TAGLINE */

    .mobile-menu-tagline {
        position: absolute;

        right: 24px;
        bottom: 34px;
        left: 24px;

        margin: 0;

        color: rgba(244, 239, 230, 0.52);

        font-size: 8px;
        font-weight: 700;
        line-height: 1.6;
        letter-spacing: 0.15em;
        text-transform: uppercase;
    }

    .mobile-menu-tagline span {
        margin: 0 4px;

        color: var(--gold);
    }


    /* =====================================================
       MENU OPEN
       ===================================================== */

    body.menu-open {
        overflow: hidden;
    }

    body.menu-open .mobile-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;

        transform: translateY(0);
    }


    /* THREE LINES → X */

    body.menu-open .mobile-menu-toggle span:nth-child(1) {
        width: 24px;

        transform: translateY(6px) rotate(45deg);
    }

    body.menu-open .mobile-menu-toggle span:nth-child(2) {
        opacity: 0;
    }

    body.menu-open .mobile-menu-toggle span:nth-child(3) {
        width: 24px;

        transform: translateY(-6px) rotate(-45deg);
    }
}


/* =========================================================
   EXTRA SMALL PHONES
   ========================================================= */

@media (max-width: 420px) {

    .mobile-menu-inner {
        width: calc(100% - 40px);

        padding-top: 76px;
    }

    .mobile-nav a {
        font-size: clamp(38px, 11vw, 50px);
    }

    .mobile-menu-cta {
        margin-top: 30px;
    }
}


/* =========================================================
   PREVENT HORIZONTAL PAGE MOVEMENT
   ========================================================= */

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}
@media (max-width: 950px) {

    body.menu-open .brand {
        position: relative;
        z-index: 30;
        color: var(--cream);
    }
}

/* ==========================================
   HOMEPAGE TYPEWRITER EFFECT
   ========================================== */

/* The cursor appears only while typing */

.home-hero-title .typing-current::after {
    content: "|";

    display: inline-block;
    margin-left: 5px;

    color: var(--gold);

    font-family: var(--font-body);
    font-weight: 400;

    animation: jambo-cursor 0.8s step-end infinite;
}

@keyframes jambo-cursor {
    50% {
        opacity: 0;
    }
}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {
    .home-hero-title .typing-current::after {
        display: none;
        animation: none;
    }
}

/* ==========================================
   FINAL MOBILE NAVIGATION POLISH
   ========================================== */

@media (max-width: 950px) {

    /* Keep the Jambo logo visible over the overlay */

    .site-header .brand {
        position: relative;
        z-index: 30;
    }

    /* Allow navigation to fit shorter screens */

    .mobile-menu {
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .mobile-menu-inner {
        min-height: 100%;
        height: auto;

        padding-top: clamp(115px, 19vh, 190px);
        padding-bottom: 95px;
    }

    .mobile-menu-tagline {
        position: static;
        margin-top: auto;
        padding-top: 45px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .mobile-menu,
    .mobile-menu-toggle span {
        transition: none;
    }

}
.site-header-light {
    position: relative;
    background: #ffffff;
    color: var(--espresso);
}

.site-header-light .nav-container {
    border-bottom-color: rgba(33, 26, 23, 0.12);
}

.site-header-light .brand,
.site-header-light .brand span,
.site-header-light .main-nav a {
    color: var(--espresso);
}

.site-header-light .nav-cta {
    background: var(--espresso);
    border-color: var(--espresso);
    color: #ffffff;
}

.site-header-light .mobile-menu-toggle span {
    background: var(--espresso);
}

@media (max-width: 950px) {
    body.menu-open .site-header-light .brand {
        color: var(--cream);
    }

    body.menu-open .site-header-light .mobile-menu-toggle span {
        background: var(--cream);
    }
}