/* =========================================================
   JUST NUTS — LOCATIONS PAGE
========================================================= */

:root {
    --location-brown: #603e18;
    --location-gold: #b5852c;
    --location-cream: #f7f2e9;
    --location-light: #fffaf3;
    --location-text: #665f57;
    --brand-justnuts: #f2ea28;
    --jn-brown: #603e18;
    --bs-body-font-family: 'Plus Jakarta Sans', sans-serif;
}

.locations-page,
.locations-page * {
    font-family: 'Plus Jakarta Sans', sans-serif;
}


/* =========================================================
   HERO
========================================================= */

.locations-hero {
    position: relative;
    overflow: hidden;

    min-height: 600px;

    display: flex;
    align-items: center;

    background-color: var(--location-cream);
    background-image: url('../images/nuts-lg-bg.png');
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: 1850px auto;

    padding: 100px 0;
}

.locations-hero-content {
    position: relative;
    z-index: 5;
    max-width: 540px;
}

.locations-hero .eyebrow {
    display: inline-block;
    margin-bottom: 16px;
    color: var(--location-gold);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .24em;
    text-transform: uppercase;
}

.locations-hero h1 {
    font-size: clamp(42px, 4.8vw, 64px);
    line-height: 1.05;
    color: var(--location-brown);
    margin-bottom: 22px;
    font-weight: 400;
    letter-spacing: -.03em;
}

.locations-hero h1 strong {
    font-weight: 700;
}

.locations-hero p {
    font-size: 17px;
    line-height: 1.75;
    color: var(--location-text);
    max-width: 480px;
    margin-bottom: 0;
}


/* =========================================================
   HERO FLOATING IMAGE
========================================================= */

.locations-hero-image {
    position: absolute;

    z-index: 4;

    width: min(42vw, 560px);

    right: 5%;
    bottom: -15px;

    pointer-events: none;
}


.locations-hero-image img {
    width: 100%;

    display: block;

    filter: drop-shadow(
        0 25px 30px rgba(96, 62, 24, .16)
    );

    animation: locationHeroFloat 7s ease-in-out infinite;
}


/* Slow continuous floating movement */

@keyframes locationHeroFloat {

    0% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-16px) rotate(1deg);
    }

    100% {
        transform: translateY(0) rotate(0deg);
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991.98px) {

    .locations-hero-image {
        width: 42vw;

        right: 1%;
        bottom: 10px;
    }

}


/* =========================================================
   MOBILE
========================================================= */
@media (max-width: 767.98px) {

    .locations-hero {
        min-height: 500px;
        padding: 75px 25px;
    }

    .locations-hero-content {
        position: relative;
        z-index: 10;

        width: 100%;
        max-width: 500px;

        top: auto;
        right: auto;
    }

    .locations-hero h1 {
        font-size: 48px;
        line-height: 1.02;
        margin-bottom: 20px;
    }

    .locations-hero p {
        max-width: 340px;

        font-size: 15px;
        line-height: 1.7;
    }

    /* Hide hero image on mobile */
    .locations-hero-image {
        display: none;
    }

}



/* =========================================================
   INTRO
========================================================= */

.locations-intro {
    padding: 120px 0;

    background: #fff;
}


.intro-content .eyebrow,
.stores-heading .eyebrow,
.visit-heading .eyebrow,
.find-us-content .eyebrow,
.cta-content .eyebrow {
    display: block;

    margin-bottom: 15px;

    color: var(--location-gold);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: .24em;

    text-transform: uppercase;
}


.intro-content h2 {
    margin-bottom: 22px;

    color: var(--location-brown);

    font-size: clamp(38px, 5vw, 58px);

    line-height: 1.1;

    font-weight: 500;
}


.intro-content h2 span {
    color: var(--location-gold);
}


.intro-content p {
    max-width: 680px;

    margin: auto;

    color: var(--location-text);

    font-size: 17px;

    line-height: 1.9;
}



/* =========================================================
   STORES
========================================================= */

.stores-section {
    padding: 100px 0 130px;

    background: var(--location-light);
}


.stores-heading {
    margin-bottom: 60px;

    text-align: center;
}


.stores-heading h2 {
    margin: 0;

    color: var(--location-brown);

    font-size: clamp(38px, 5vw, 58px);

    line-height: 1.1;

    font-weight: 500;
}


.stores-heading h2 span {
    color: var(--location-gold);
}



/* =========================================================
   STORE CARD
========================================================= */

.store-card {
    position: relative;

    margin-bottom: 70px;

    overflow: hidden;

    background: #fff;

    border-radius: 34px;

    box-shadow:
        0 20px 60px rgba(96, 62, 24, .10);
}


.store-card:last-child {
    margin-bottom: 0;
}


.store-image {
    position: relative;

    height: 100%;

    min-height: 480px;

    overflow: hidden;
}


.store-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform .7s ease;
}


.store-card:hover .store-image img {
    transform: scale(1.04);
}


.store-number {
    position: absolute;

    right: 25px;
    bottom: 25px;

    width: 70px;
    height: 70px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--brand-justnuts);

    color: var(--location-brown);

    font-size: 16px;
    font-weight: 700;

    box-shadow: 0 10px 25px rgba(0,0,0,.15);
}


.store-content {
    height: 100%;

    padding: 65px 60px;

    display: flex;

    flex-direction: column;

    justify-content: center;
}


.store-label {
    margin-bottom: 15px;

    color: var(--location-gold);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: .22em;

    text-transform: uppercase;
}


.store-content h3 {
    margin-bottom: 15px;

    color: var(--location-brown);

    font-size: clamp(34px, 4vw, 48px);

    font-weight: 600;
}


.store-address {
    max-width: 450px;

    margin-bottom: 35px;

    color: var(--location-text);

    font-size: 16px;

    line-height: 1.8;
}



/* =========================================================
   STORE DETAILS
========================================================= */

.store-details {
    display: flex;

    flex-direction: column;

    gap: 20px;

    margin-bottom: 35px;
}


.store-detail {
    display: flex;

    align-items: center;

    gap: 15px;
}


.store-detail > i {
    width: 46px;
    height: 46px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--location-cream);

    color: var(--location-gold);

    font-size: 17px;
}


.store-detail small {
    display: block;

    margin-bottom: 3px;

    color: #999;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: .16em;
}


.store-detail a,
.store-detail span {
    color: var(--location-brown);

    font-size: 15px;
    font-weight: 600;

    text-decoration: none;
}



/* =========================================================
   STORE BUTTONS
========================================================= */

.store-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;
}


.store-btn {
    min-height: 46px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 11px 20px;

    border-radius: 999px;

    font-size: 13px;
    font-weight: 600;

    text-decoration: none;

    transition:
        transform .3s ease,
        background .3s ease,
        color .3s ease;
}


.store-btn:hover {
    transform: translateY(-3px);
}


.store-btn-outline {
    border: 1px solid var(--location-brown);

    color: var(--location-brown);

    background: transparent;
}


.store-btn-outline:hover {
    background: var(--location-brown);

    color: #fff;
}


.store-btn-whatsapp {
    background: #25d366;

    color: #fff;
}


.store-btn-whatsapp:hover {
    background: #20b957;

    color: #fff;
}


.store-btn-map {
    background: var(--location-brown);

    color: #fff;
}


.store-btn-map:hover {
    background: var(--location-gold);

    color: #fff;
}



/* =========================================================
   FIND US
========================================================= */

.find-us-section {
    padding: 120px 0;

    background: #fff;
}


.find-us-box {
    position: relative;

    overflow: hidden;

    padding: 70px 60px;

    border-radius: 40px;

    background: var(--location-brown);

    color: #fff;
}


.find-us-pattern {
    position: absolute;

    width: 350px;
    height: 350px;

    right: -120px;
    top: -120px;

    border: 50px solid rgba(181,133,44,.15);

    border-radius: 50%;
}


.find-us-content {
    position: relative;
    z-index: 2;
}


.find-us-content .eyebrow {
    color: #d8a64c;
}


.find-us-content h2 {
    margin-bottom: 25px;

    color: #fff;

    font-size: clamp(40px, 5vw, 62px);

    line-height: 1.05;

    font-weight: 500;
}


.find-us-content h2 span {
    color: #f1c86d;
}


.find-us-content p {
    max-width: 560px;

    margin-bottom: 30px;

    color: rgba(255,255,255,.75);

    line-height: 1.8;
}


.location-main-btn {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 14px 25px;

    border-radius: 999px;

    background: var(--brand-justnuts);

    color: var(--location-brown);

    font-weight: 700;

    text-decoration: none;

    transition: transform .3s ease;
}


.location-main-btn:hover {
    color: var(--location-brown);

    transform: translateY(-3px);
}




/* =========================================================
   OMAN VISUAL
========================================================= */
/* =========================================================
   OMAN VISUAL
========================================================= */

.oman-visual {
    position: relative;

    min-height: 320px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    z-index: 2;
}


.oman-circle {
    width: 350px;
    height: 350px;

    right: -290px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--brand-justnuts);

    color: var(--location-brown);

    font-size: 55px;

    box-shadow:
        0 20px 50px rgba(0, 0, 0, .12);

    position: relative;
    z-index: 1;
}


.oman-visual > span {
    position: relative;
    z-index: 3;

    margin-top: -55px;

    color: #fff;

    font-size: 20px;
    font-weight: 700;

    letter-spacing: .3em;
}


.oman-visual small {
    position: relative;
    z-index: 3;

    margin-top: 5px;

    color: rgba(255, 255, 255, .6);

    letter-spacing: .2em;
}



/* =========================================================
   WHY VISIT
========================================================= */

.visit-section {
    padding: 120px 0;

    background: var(--location-light);
}


.visit-heading {
    max-width: 750px;

    margin-bottom: 55px;
}


.visit-heading h2 {
    margin: 0;

    color: var(--location-brown);

    font-size: clamp(38px, 5vw, 58px);

    line-height: 1.1;

    font-weight: 500;
}


.visit-heading h2 span {
    color: var(--location-gold);
}


.visit-card {
    height: 100%;

    padding: 38px 32px;

    border-radius: 28px;

    background: #fff;

    box-shadow:
        0 18px 45px rgba(96,62,24,.07);

    transition:
        transform .35s ease,
        box-shadow .35s ease;
}


.visit-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 25px 55px rgba(96,62,24,.12);
}


.visit-icon {
    width: 65px;
    height: 65px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 25px;

    border-radius: 20px;

    background: var(--location-cream);

    color: var(--location-gold);

    font-size: 25px;
}


.visit-card h4 {
    margin-bottom: 12px;

    color: var(--location-brown);

    font-size: 21px;
}


.visit-card p {
    margin: 0;

    color: var(--location-text);

    font-size: 14px;

    line-height: 1.8;
}



/* =========================================================
   FINAL CTA
========================================================= */

.locations-cta {
    position: relative;

    overflow: hidden;

    padding: 120px 20px;

    text-align: center;

    background: var(--location-cream);
}


.cta-shape {
    position: absolute;

    width: 350px;
    height: 350px;

    left: -130px;
    bottom: -180px;

    border-radius: 50%;

    background: var(--brand-justnuts);
}


.cta-content {
    position: relative;
    z-index: 2;
}


.cta-content h2 {
    margin-bottom: 20px;

    color: var(--location-brown);

    font-size: clamp(45px, 6vw, 72px);

    line-height: 1;

    font-weight: 500;
}


.cta-content h2 strong {
    color: var(--location-gold);

    font-weight: 600;
}


.cta-content p {
    max-width: 600px;

    margin: auto;

    color: var(--location-text);

    font-size: 17px;

    line-height: 1.8;
}



/* =========================================================
   SCROLL ANIMATIONS
========================================================= */

.reveal {
    opacity: 0;

    transform: translateY(50px);

    transition:
        opacity .8s ease,
        transform .8s ease;
}


.reveal.show {
    opacity: 1;

    transform: translateY(0);
}


.reveal-left {
    opacity: 0;

    transform: translateX(-70px);

    transition:
        opacity .9s ease,
        transform .9s ease;
}


.reveal-left.show {
    opacity: 1;

    transform: translateX(0);
}


.reveal-right {
    opacity: 0;

    transform: translateX(70px);

    transition:
        opacity .9s ease,
        transform .9s ease;
}


.reveal-right.show {
    opacity: 1;

    transform: translateX(0);
}


.reveal-card {
    opacity: 0;

    transform: translateY(60px);

    transition:
        opacity .7s ease,
        transform .7s ease;
}


.reveal-card.show {
    opacity: 1;

    transform: translateY(0);
}


.reveal-card:nth-child(1) {
    transition-delay: .1s;
}


.reveal-card:nth-child(2) {
    transition-delay: .25s;
}


.reveal-card:nth-child(3) {
    transition-delay: .4s;
}



/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991.98px) {

    .locations-hero {
        min-height: 500px;

        padding: 80px 20px;
    }


    .store-image {
        min-height: 400px;
    }


    .store-content {
        padding: 50px 40px;
    }


    .find-us-box {
        padding: 60px 45px;
    }

}


@media (max-width: 767.98px) {

    .locations-hero {
        min-height: 500px;

        padding: 75px 20px;
    }


    .locations-hero h1 {
        font-size: 48px;
    }


    .locations-hero p {
        font-size: 15px;
    }


    .locations-intro,
    .stores-section,
    .find-us-section,
    .visit-section {
        padding: 80px 0;
    }


    .store-card {
        border-radius: 25px;

        margin-bottom: 45px;
    }


    .store-image {
        min-height: 300px;
    }


    .store-content {
        padding: 40px 28px;
    }


    .store-content h3 {
        font-size: 36px;
    }


    .store-actions {
        width: 100%;
    }


    .store-btn {
        flex: 1 1 auto;
    }


    .find-us-box {
        padding: 50px 28px;

        border-radius: 28px;
    }


    .oman-visual {
        min-height: 240px;

        margin-top: 30px;
    }


    .oman-circle {
        width: 60px;
        height: 60px;
        right: -200px;

        font-size: 50px;
    }


    .locations-cta {
        padding: 90px 20px;
    }


    .reveal-left,
    .reveal-right {
        transform: translateY(30px);
    }


    .reveal-left.show,
    .reveal-right.show {
        transform: translateY(0);
    }

}