/* =========================================================
   AHAD OVERSEAS — DESIGN TOKENS
   Palette:
     --ivory       #FBF7F1  light page background
     --cream       #F1E9DA  card / alt background
     --espresso    #2E2118  deep wood-brown (near-black), primary dark
     --walnut      #4A3524  secondary brown
     --brass       #B8863C  warm brass/gold accent
     --sage        #707A5C  muted olive, secondary accent
     --ink         #3A2E22  body text on light backgrounds
   Type:
     Display : 'Fraunces'   (carved, characterful serif)
     Body    : 'Inter'      (clean, neutral workhorse)
     Utility : 'Space Mono' (numerals, eyebrows, labels — precision/industrial note)
========================================================= */

:root {
    --ivory: #FBF7F1;
    --cream: #F1E9DA;
    --espresso: #2E2118;
    --walnut: #4A3524;
    --brass: #B8863C;
    --brass-light: #D9C9A8;
    --sage: #707A5C;
    --ink: #3A2E22;
    --line: rgba(46, 33, 24, 0.12);

    --font-display: 'Fraunces', serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'Space Mono', monospace;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--ink);
    background-color: var(--ivory);
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    color: var(--espresso);
    margin: 0;
}

a {
    text-decoration: none;
}

.section-pad {
    padding: 5.5rem 0;
}

@media (max-width: 767.98px) {
    .section-pad {
        padding: 3.5rem 0;
    }
}

.section-eyebrow {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--brass);
    font-weight: 700;
    margin-bottom: 0.6rem;
    display: inline-block;
}

.section-eyebrow-light {
    color: #cb8b06;
}

.section-title {
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    font-weight: 500;
    line-height: 1.25;
    margin-bottom: 1.2rem;
}

.section-title-light {
    color: #886229;
}

.section-body {
    font-size: 1.02rem;
    line-height: 1.75;
    color: #413327;
    max-width: 640px;
}

.section-body-light {
    color: #b79c73d1;
}

.section-body-center {
    max-width: 680px;
    margin: 0 auto;
}

.collection-heading {
    max-width: 700px;
    margin: 0 auto;
}

.collection-heading .section-title {
    margin-bottom: 0;
}

.collection-heading .section-body {
    margin: 0.9rem auto 0;
}

/* Wood-grain signature divider between sections */
.grain-divider {
    height: 34px;
    width: 100%;
    background-color: var(--ivory);
    background-image:
        repeating-linear-gradient(90deg,
            transparent 0px, transparent 38px,
            rgba(184, 134, 60, 0.35) 39px, transparent 40px);
    position: relative;
}

.grain-divider::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 2px;
    background: var(--line);
    transform: translateY(-50%);
}

/* =========================================================
   NAVIGATION
========================================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
}

.site-navbar {
    background-color: var(--ivory);
    border-bottom: 1px solid var(--line);
    padding: 0.7rem 0;
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.brand-logo {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--espresso);
    letter-spacing: 0.01em;
}

.brand-sub {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sage);
}

.main-nav {
    align-items: center;
    gap: 0.35rem;
}

.main-nav .nav-link {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.92rem;
    color: var(--walnut);
    padding: 0.55rem 0.85rem !important;
    border-radius: 3px;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.main-nav .nav-link:hover,
.main-nav .nav-link:focus {
    color: var(--espresso);
    background-color: var(--cream);
}

.main-nav .nav-link-contact {
    background-color: var(--espresso);
    color: var(--ivory) !important;
    margin-left: 0.3rem;
}

.main-nav .nav-link-contact:hover {
    background-color: var(--walnut);
    color: var(--ivory) !important;
}

.main-nav .dropdown-menu {
    border: 1px solid var(--line);
    border-radius: 6px;
    box-shadow: 0 12px 28px rgba(46, 33, 24, 0.12);
    padding: 0.4rem;
    margin-top: 0.4rem;
}

.main-nav .dropdown-item {
    font-size: 0.9rem;
    color: var(--walnut);
    padding: 0.5rem 0.8rem;
    border-radius: 4px;
}

.main-nav .dropdown-item:hover,
.main-nav .dropdown-item:focus {
    background-color: var(--cream);
    color: var(--espresso);
}

/* Custom animated hamburger */
.hamburger-btn {
    background: transparent;
    border: none;
    padding: 6px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hamburger-btn:focus {
    outline: none;
    box-shadow: none;
}

.hamburger-box {
    position: relative;
    width: 26px;
    height: 18px;
    display: inline-block;
}

.hamburger-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--espresso);
    border-radius: 2px;
    transition: transform 0.32s ease, opacity 0.2s ease, top 0.32s ease;
}

.line-top {
    top: 0;
}

.line-mid {
    top: 8px;
}

.line-bottom {
    top: 16px;
}

/* Active (X) state — toggled via JS class "is-open" */
.hamburger-btn.is-open .line-top {
    top: 8px;
    transform: rotate(45deg);
}

.hamburger-btn.is-open .line-mid {
    opacity: 0;
}

.hamburger-btn.is-open .line-bottom {
    top: 8px;
    transform: rotate(-45deg);
}

/* Offcanvas mobile nav — slides left to right */
.mobile-offcanvas {
    width: min(360px 86vw);
    background-color: var(--ivory);
    border-right: 1px solid var(--line);
}

.offcanvas-header {
    border-bottom: 1px solid var(--line);
    padding: 1.1rem 1.25rem;
}

.offcanvas-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--espresso);
    font-size: 1.02rem;
}

.offcanvas-brand img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
}

.btn-close-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-link {
    display: block;
    padding: 0.85rem 0.25rem;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1.02rem;
    color: var(--walnut);
    border-bottom: 1px solid var(--line);
}

.mobile-nav-link:hover {
    color: var(--brass);
}

.mobile-nav-contact {
    color: var(--brass);
    font-weight: 600;
}

.mobile-accordion-item {
    border-bottom: 1px solid var(--line);
}

.mobile-accordion-toggle {
    width: 100%;
    background: transparent;
    border: none;
    text-align: left;
    padding: 0.85rem 0.25rem;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1.02rem;
    color: var(--walnut);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-accordion-toggle i {
    transition: transform 0.25s ease;
    font-size: 0.8rem;
}

.mobile-accordion-toggle.active i {
    transform: rotate(180deg);
}

.mobile-submenu {
    list-style: none;
    padding: 0 0 0.6rem 1rem;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-submenu.open {
    max-height: 400px;
}

.mobile-submenu li a {
    display: block;
    padding: 0.5rem 0.25rem;
    font-size: 0.92rem;
    color: var(--sage);
}

.mobile-submenu li a:hover {
    color: var(--brass);
}

/* =========================================================
   1. HERO / BANNER CAROUSEL
========================================================= */
.hero-section {
    position: relative;
}

.hero-carousel {
    height: 88vh;
    min-height: 460px;
    max-height: 780px;
}

.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
    height: 100%;
}

.hero-carousel img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    filter: brightness(0.55) saturate(0.95);
}

.carousel-caption-custom {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    padding: 0 8%;
    max-width: 780px;
}

.hero-eyebrow {
    font-family: var(--font-mono);
    color: var(--brass-light);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 0.9rem;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.6rem);
    font-weight: 500;
    color: var(--ivory);
    line-height: 1.15;
    margin-bottom: 1.2rem;
}

.hero-text {
    color: rgba(251, 247, 241, 0.85);
    font-size: 1.05rem;
    max-width: 520px;
    margin-bottom: 1.6rem;
}

.hero-btn {
    background-color: var(--brass);
    color: var(--espresso);
    font-weight: 600;
    padding: 0.75rem 1.6rem;
    border-radius: 2px;
    font-size: 0.92rem;
    letter-spacing: 0.02em;
    transition: background-color 0.2s ease;
    width: fit-content;
}

.hero-btn:hover {
    background-color: var(--brass-light);
    color: var(--espresso);
}

.hero-arrow {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: rgba(251, 247, 241, 0.15);
    border: 1px solid rgba(251, 247, 241, 0.5);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ivory);
    font-size: 1.1rem;
}

.carousel-control-prev,
.carousel-control-next {
    width: 8%;
}

.carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--ivory);
    opacity: 0.55;
    margin: 0 5px;
}

.carousel-indicators .active {
    opacity: 1;
    background-color: var(--brass);
}

/* =========================================================
   2. LEGACY SECTION
========================================================= */
.legacy-section {
    background-color: var(--ivory);
}

.legacy-image-wrap {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}

.legacy-image-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 10px solid var(--cream);
    border-radius: 4px;
    pointer-events: none;
}

.legacy-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
}

/* =========================================================
   3. THE COLLECTION
========================================================= */
.collection-section {
    background-color: var(--cream);
}

.product-card {
    background-color: var(--ivory);
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--line);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(46, 33, 24, 0.14);
}

.product-image-wrap {
    aspect-ratio: 5/6;
    overflow: hidden;
}

.product-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image-wrap img {
    transform: scale(1.06);
}

.product-name {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    letter-spacing: 0.03em;
    text-align: center;
    padding: 0.85rem 0.5rem;
    margin: 0;
    color: var(--walnut);
    border-top: 1px solid var(--line);
}

/* =========================================================
   4. MANUFACTURING (dark section)
========================================================= */
.manufacturing-section {
    background-color: var(--espresso);
}

.manufacturing-image-wrap {
    border-radius: 4px;
    overflow: hidden;
}

.manufacturing-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/5;
}

.stat-block {
    border-left: 2px solid var(--brass);
    padding-left: 1rem;
    height: 100%;
}

.stat-number {
    font-family: var(--font-mono);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--brass-light);
    margin-bottom: 0.15rem;
}

.stat-label {
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--ivory);
    font-size: 0.98rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.stat-desc {
    color: rgba(251, 247, 241, 0.72);
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0;
}

/* =========================================================
   5. TRUSTED BY
========================================================= */
.trusted-section {
    background-color: var(--ivory);
}

.buyer-group {
    background-color: var(--cream);
    border-radius: 4px;
    padding: 1.6rem 1.4rem;
    height: 100%;
}

.buyer-group-title {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--sage);
    border-bottom: 1px solid var(--line);
    padding-bottom: 0.7rem;
    margin-bottom: 0.8rem;
}

.buyer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.buyer-list li {
    font-family: var(--font-display);
    font-size: 1.02rem;
    color: var(--espresso);
    padding: 0.35rem 0;
}

/* =========================================================
   6. WHY CHOOSE US
========================================================= */
.why-section {
    background-color: var(--cream);
}

.why-card {
    background-color: var(--ivory);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 2rem 1.6rem;
    height: 100%;
    position: relative;
}

.why-mark {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--ivory);
    background-color: var(--brass);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.1rem;
}

.why-title {
    font-size: 1.12rem;
    font-weight: 500;
    margin-bottom: 0.7rem;
}

.why-desc {
    color: var(--walnut);
    font-size: 0.94rem;
    line-height: 1.65;
    margin: 0;
}

/* =========================================================
   7. CONTACT
========================================================= */
.contact-section {
    background-color: #eadfd6;
}

.contact-info-block {
    margin-bottom: 1.8rem;
}

.contact-icon {
    color: var(--brass);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    display: block;
}

.contact-info-title {
    color: #161514;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 0.4rem;
}

.contact-info-text {
    color: #31291ec7;
    font-size: 0.98rem;
    line-height: 1.6;
}

.contact-info-text a {
    color: #b7851e;
}

.contact-form {
    background-color: var(--ivory);
    border-radius: 6px;
    padding: 2rem;
}

.contact-form .form-label {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--walnut);
    margin-bottom: 0.3rem;
}

.contact-form .form-control,
.contact-form .form-select {
    border: 1px solid var(--line);
    border-radius: 3px;
    padding: 0.65rem 0.85rem;
    font-size: 0.95rem;
    background-color: var(--ivory);
    color: var(--ink);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--brass);
    box-shadow: 0 0 0 3px rgba(184, 134, 60, 0.18);
}

.contact-submit-btn {
    background-color: var(--espresso);
    color: var(--ivory);
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 3px;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    transition: background-color 0.2s ease;
}

.contact-submit-btn:hover {
    background-color: var(--walnut);
    color: var(--ivory);
}

/* =========================================================
   FOOTER
========================================================= */
.site-footer {
    background-color: #0d0303;;
    padding: 4rem 0 1.6rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.9rem;
}

.footer-brand img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.footer-brand-name {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--espresso);
    font-size: 1.05rem;
}

.footer-brand-sub {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    color: var(--sage);
    text-transform: uppercase;
}

.footer-tagline {
    color: #f3f3f3;;
    font-size: 0.92rem;
    max-width: 300px;
}

.footer-heading {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sage);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.55rem;
}

.footer-links a {
    color: #ffffff;
    font-size: 0.92rem;
}

.footer-links a:hover {
    color: var(--brass);
}

.footer-address {
    color: #ffffff;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.6rem;
}

.footer-address a {
    color: #ffa358;;
}

.footer-address a:hover {
    color: var(--brass);
}

.footer-rule {
    border-top: 1px solid var(--line);
    margin: 2.2rem 0 1.4rem;
    opacity: 1;
}

.footer-copy {
    color: var(--sage);
    font-size: 0.82rem;
    margin: 0;
}

/* =========================================================
   RESPONSIVE ADJUSTMENTS
========================================================= */
@media (max-width: 991.98px) {
    .hero-carousel {
        height: 78vh;
    }

    .carousel-caption-custom {
        padding: 0 6%;
    }
}

@media (max-width: 575.98px) {
    .hero-carousel {
        height: 68vh;
        min-height: 420px;
    }

    .hero-title {
        font-size: 1.9rem;
    }

    .hero-text {
        font-size: 0.95rem;
    }

    .contact-form {
        padding: 1.4rem;
    }

    .section-eyebrow {
        font-size: 0.72rem;
    }
}















