/* =============================================
   GAMBLE & BROWN — Common / Navbar Styles
   Coffee: #1e140f  |  Biscuit: #a7824b
   Font: Lato (local)
   ============================================= */

/* ─── Local Lato Font Face ─── */
@font-face {
    font-family: 'Lato';
    src: url('../fonts/lato-300.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Lato';
    src: url('../fonts/lato-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Lato';
    src: url('../fonts/lato-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Lato';
    src: url('../fonts/lato-900.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}



@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins-300.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* ─── CSS Variables ─── */
:root {
    --coffee:        #1e140f;
    --biscuit:       #a7824b;
    --biscuit-light: #c5a06e;
    --biscuit-dark:  #8a6a38;
    --white:         #ffffff;
    --nav-height:    80px;
}

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

body {
    font-family: 'Lato', sans-serif;
    padding-top: var(--nav-height);
}

/* ════════════════════════════════
   NAVBAR
   ════════════════════════════════ */

.navbar {
    background-color: var(--coffee) !important;
    height: var(--nav-height);
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

/* Gold top accent line */
.navbar::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--biscuit) 20%,
        var(--biscuit-light) 50%,
        var(--biscuit) 80%,
        transparent 100%);
    opacity: 0.8;
    z-index: 2;
}

/* Thin bottom divider */
.navbar::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 1px;
    background: rgba(167, 130, 75, 0.18);
}

/* Scrolled glass effect */
.navbar.scrolled {
    background-color: rgba(30, 20, 15, 0.96) !important;
    box-shadow: 0 4px 28px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* ─── Brand / Logo ─── */
.navbar-brand {
    padding: 0;
    line-height: 0;
    margin-right: 40px;
}

.navbar-brand img {
    height: 52px;
    width: auto;
    object-fit: contain;
    transition: transform 0.28s ease, opacity 0.28s ease;
}

.navbar-brand:hover img {
    transform: scale(1.04);
    opacity: 0.88;
}

/* ─── Nav Links ─── */
.navbar-nav .nav-link {
    font-family: 'Lato', sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72) !important;
    padding: 8px 14px !important;
    position: relative;
    transition: color 0.25s ease;
    white-space: nowrap;
}

/* animated underline */
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 50%;
    width: calc(100% - 28px);
    height: 1.5px;
    background: var(--biscuit);
    border-radius: 2px;
    transform: translateX(-50%) scaleX(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--biscuit) !important;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

/* ─── CTA Button ─── */
.gb-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 24px;
    font-family: 'Lato', sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none !important;
    color: var(--white) !important;
    background: var(--biscuit);
    border: 2px solid var(--biscuit);
    border-radius: 3px;
    white-space: nowrap;
    transition: background 0.28s ease, color 0.28s ease,
                border-color 0.28s ease, transform 0.2s ease,
                box-shadow 0.28s ease;
}

.gb-cta:hover {
    background: transparent;
    color: var(--biscuit) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(167, 130, 75, 0.28);
}

.gb-cta:active {
    transform: translateY(0);
    box-shadow: none;
}

/* ─── Hamburger Toggler ─── */
.navbar-toggler {
    border: none !important;
    padding: 6px 8px;
    border-radius: 4px;
    transition: background 0.2s ease;
    outline: none !important;
    box-shadow: none !important;
}

.navbar-toggler:hover {
    background: rgba(167, 130, 75, 0.12);
}

/* Custom bars */
.navbar-toggler-icon {
    background-image: none !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 24px;
    height: 20px;
}

.toggler-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--biscuit);
    border-radius: 2px;
    transition: transform 0.35s ease, opacity 0.3s ease;
    transform-origin: center;
}

/* Animated X when open */
.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ─── Mobile Collapse Menu ─── */
.navbar-collapse {
    /* Bootstrap handles show/hide via .show class */
}

@media (max-width: 991.98px) {
    .navbar {
        height: auto;
        min-height: var(--nav-height);
    }

    /* Inner row stays at fixed height */
    .navbar > .container-xl {
        height: var(--nav-height);
        flex-wrap: wrap;
        align-items: center;
    }

    /* Collapse panel slides below the bar */
    .navbar-collapse {
        background-color: var(--coffee);
        border-top: 1px solid rgba(167, 130, 75, 0.2);
        padding: 10px 0 16px;
        width: 100%;
    }

    .navbar-nav .nav-link {
        padding: 11px 20px !important;
        border-left: 3px solid transparent;
        transition: color 0.22s, background 0.22s, border-color 0.22s, padding-left 0.22s;
        letter-spacing: 0.07em;
    }

    .navbar-nav .nav-link::after {
        display: none; /* no underline on mobile, use border-left instead */
    }

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        background: rgba(167, 130, 75, 0.07);
        border-left-color: var(--biscuit);
        padding-left: 28px !important;
    }

    /* CTA full-width on mobile */
    .gb-cta {
        width: calc(100% - 40px);
        margin: 12px 20px 4px;
        justify-content: center;
        padding: 12px 24px;
    }
}

/* ════════════════════════════════
   SITE FOOTER
   ════════════════════════════════ */
.site-footer {
    background-color: var(--biscuit);
    padding: 35px 0;
    width: 100%;
}

.footer-copyright {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 300;
    color: #ffffff;
    margin: 0 0 16px 0;
    letter-spacing: 0.04em;
    text-align: center;
}

.footer-socials {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
}

.footer-socials a {
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: transform 0.25s ease, opacity 0.25s ease;
    opacity: 0.88;
}

.footer-socials a:hover {
    transform: translateY(-3px);
    opacity: 1;
}

.footer-social-icon{
    text-decoration: none;
}


/* ═══════════════════════════════════════
   TESTIMONIALS SECTION (SWIPER SLIDER)
   ═══════════════════════════════════════ */
.testimonials-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 0;
    overflow: hidden;
}

.testimonials-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(18, 12, 8, 0.505);
    /* Dark overlay to contrast the cream cards */
    z-index: 1;
}

.testimonials-title {
    font-family: 'Lato', sans-serif;
    font-size: clamp(26px, 3.2vw, 42px);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #ffffff;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 3;
}

.testimonials-slider-container {
    position: relative;
    padding: 0 65px;
    z-index: 3;
}

.testimonials-swiper {
    width: 100%;
    overflow: hidden;
    padding: 15px 0;
    margin: -15px 0;
}

.testimonials-swiper .swiper-slide {
    height: auto;
    display: flex;
    flex-direction: column;
}

.testimonial-card {
    background-color: #F5F0EA;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 290px;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 22px;
}

.star-fa {
    font-size: 14px;
    color: var(--biscuit);
}

.testimonial-text {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.65;
    color: #1a1410;
    /* Dark coffee color */
    margin-bottom: 28px;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: auto;
}

.author-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--biscuit);
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.author-name {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #1a1410;
    margin: 0;
}

.author-meta {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #a7824b;
    /* Biscuit / Gold accent color */
}

/* Swiper navigation buttons - circular custom styling */
.swiper-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(18, 12, 8, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    padding: 0;
}

.swiper-btn:hover {
    background-color: var(--biscuit);
    border-color: var(--biscuit);
    color: #ffffff;
}

.swiper-btn-prev {
    left: 0;
}

.swiper-btn-next {
    right: 0;
}

/* Responsive Breakpoints */
@media (max-width: 991.98px) {
    .testimonials-section {
        padding: 80px 0;
    }

    .testimonials-title {
        margin-bottom: 45px;
    }

    .testimonial-card {
        padding: 30px;
        min-height: 270px;
    }

    .testimonials-slider-container {
        padding: 0 45px;
        /* Keep smaller padding for navigation buttons */
    }

    .swiper-btn {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 575.98px) {
    .testimonials-section {
        padding: 60px 0;
    }

    .testimonial-card {
        padding: 25px;
        min-height: auto;
    }

    .testimonial-text {
        font-size: 13.5px;
        margin-bottom: 20px;
    }

    .testimonials-slider-container {
        padding: 0;
        /* No padding on mobile */
    }

    .swiper-btn {
        display: none;
        /* Rely on touch-swipe on mobile */
    }
}

/* ═══════════════════════════════════════
   COMMON PAGE HERO SECTION (.page-hero)
   ═══════════════════════════════════════ */
.page-hero {
    position: relative;
    width: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 13, 8, 0.582);
    z-index: 1;
}

.page-hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 950px;
    margin: 0 auto;
    padding: 80px 20px;
}

.page-hero-title {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 24px;
    letter-spacing: 0.05em;
}

.page-hero-subtitle {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 28px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
}

@media (max-width: 767.98px) {
    .page-hero {
        min-height: 400px;
    }
    
    .page-hero-inner {
        padding: 60px 15px;
    }
    
    .page-hero-subtitle {
        font-size: 16px;
        line-height: 1.6;
    }
}