/*
 * AL BADI TOURS — V8 PREMIUM DESIGN FOUNDATION
 * Presentation layer only.
 */

:root {
    --ab-ink: #10251f;
    --ab-ink-soft: #344943;
    --ab-forest: #173f35;
    --ab-forest-deep: #0d2e27;
    --ab-sand: #f5f0e7;
    --ab-sand-soft: #faf8f4;
    --ab-paper: #ffffff;
    --ab-line: rgba(16, 37, 31, .12);
    --ab-muted: #6c7975;
    --ab-gold: #b89055;

    --ab-radius-sm: 12px;
    --ab-radius-md: 20px;
    --ab-radius-lg: 30px;
    --ab-radius-xl: 40px;

    --ab-shadow-sm:
        0 8px 30px rgba(13, 46, 39, .07);

    --ab-shadow-md:
        0 18px 60px rgba(13, 46, 39, .11);

    --ab-shadow-lg:
        0 30px 90px rgba(13, 46, 39, .16);

    --ab-container: 1280px;

    --ab-ease:
        cubic-bezier(.22, 1, .36, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--ab-paper);
    color: var(--ab-ink);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body,
button,
input,
select,
textarea {
    font-family:
        Inter,
        "Helvetica Neue",
        Arial,
        sans-serif;
}

::selection {
    background: var(--ab-forest);
    color: #fff;
}

img {
    max-width: 100%;
}

a,
button {
    -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(184, 144, 85, .34);
    outline-offset: 3px;
}

/* -----------------------------------------------------
   GLOBAL WIDTH / RHYTHM
----------------------------------------------------- */

main {
    overflow: clip;
}

section {
    position: relative;
}

.container,
.section-inner,
.footer-main,
.albadi-utility-inner {
    width: min(
        calc(100% - 40px),
        var(--ab-container)
    );
    margin-left: auto;
    margin-right: auto;
}

/* -----------------------------------------------------
   UTILITY BAR
----------------------------------------------------- */

.albadi-utility-bar {
    background: var(--ab-forest-deep);
    color: rgba(255, 255, 255, .76);
    border: 0;
}

.albadi-utility-inner {
    min-height: 38px;
}

.albadi-utility-location {
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.albadi-utility-dot {
    box-shadow:
        0 0 0 5px rgba(255,255,255,.08);
}

/* -----------------------------------------------------
   HEADER
----------------------------------------------------- */

.albadi-header-stage {
    position: relative;
    z-index: 90;
    background:
        rgba(255, 255, 255, .92);
    border-bottom:
        1px solid rgba(16, 37, 31, .08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.site-header {
    width: min(
        calc(100% - 40px),
        var(--ab-container)
    );
    margin: 0 auto;
}

.albadi-header-v7j {
    min-height: 82px;
}

.brand {
    text-decoration: none;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--ab-forest-deep);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    box-shadow:
        0 8px 24px rgba(13, 46, 39, .16);
}

.brand-copy strong {
    color: var(--ab-ink);
    letter-spacing: -.03em;
}

.brand-copy small {
    color: var(--ab-muted);
    letter-spacing: .08em;
    text-transform: uppercase;
}

.desktop-nav {
    gap: 5px;
}

.desktop-nav a {
    position: relative;
    padding: 11px 13px;
    border-radius: 999px;
    color: var(--ab-ink-soft);
    transition:
        background .25s ease,
        color .25s ease,
        transform .25s ease;
}

.desktop-nav a:hover {
    background: var(--ab-sand-soft);
    color: var(--ab-forest-deep);
    transform: translateY(-1px);
}

.desktop-nav a[aria-current="page"] {
    color: var(--ab-forest-deep);
    background: var(--ab-sand);
}

.albadi-contact-chip {
    border-color: var(--ab-line);
    border-radius: 999px;
    transition:
        transform .3s var(--ab-ease),
        box-shadow .3s ease,
        border-color .3s ease;
}

.albadi-contact-chip:hover {
    transform: translateY(-2px);
    border-color: rgba(16, 37, 31, .22);
    box-shadow: var(--ab-shadow-sm);
}

.header-cta {
    border-radius: 999px;
    background: var(--ab-forest-deep);
    color: #fff;
    box-shadow:
        0 10px 30px rgba(13, 46, 39, .18);
    transition:
        transform .3s var(--ab-ease),
        box-shadow .3s ease;
}

.header-cta:hover {
    transform: translateY(-2px);
    box-shadow:
        0 16px 36px rgba(13, 46, 39, .25);
}

/* -----------------------------------------------------
   PREMIUM TYPOGRAPHY
----------------------------------------------------- */

h1,
h2,
h3,
h4 {
    color: var(--ab-ink);
    text-wrap: balance;
}

h1,
h2 {
    letter-spacing: -.045em;
}

h3 {
    letter-spacing: -.025em;
}

p {
    text-wrap: pretty;
}

.ab-premium-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--ab-forest);
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.ab-premium-kicker::before {
    content: "";
    width: 26px;
    height: 1px;
    background: currentColor;
    opacity: .65;
}

/* -----------------------------------------------------
   GLOBAL CARDS
----------------------------------------------------- */

.tour-card,
.experience-card,
.safari-card,
.hotel-card,
.destination-card {
    overflow: hidden;
    border:
        1px solid rgba(16, 37, 31, .09);
    border-radius: var(--ab-radius-md);
    background: #fff;
    box-shadow:
        0 8px 30px rgba(13, 46, 39, .055);
    transition:
        transform .45s var(--ab-ease),
        box-shadow .45s var(--ab-ease),
        border-color .3s ease;
}

.tour-card:hover,
.experience-card:hover,
.safari-card:hover,
.hotel-card:hover,
.destination-card:hover {
    transform: translateY(-7px);
    border-color: rgba(16, 37, 31, .15);
    box-shadow: var(--ab-shadow-md);
}

.tour-card img,
.experience-card img,
.safari-card img,
.hotel-card img,
.destination-card img {
    transition:
        transform .8s var(--ab-ease);
}

.tour-card:hover img,
.experience-card:hover img,
.safari-card:hover img,
.hotel-card:hover img,
.destination-card:hover img {
    transform: scale(1.035);
}

/* -----------------------------------------------------
   BUTTON LANGUAGE
----------------------------------------------------- */

.button,
button,
input[type="submit"] {
    transition:
        transform .3s var(--ab-ease),
        box-shadow .3s ease,
        background .3s ease,
        border-color .3s ease;
}

.button:hover,
button:hover,
input[type="submit"]:hover {
    transform: translateY(-1px);
}

.button-dark {
    background: var(--ab-forest-deep);
    border-color: var(--ab-forest-deep);
    color: #fff;
}

/* -----------------------------------------------------
   FORMS
----------------------------------------------------- */

input,
select,
textarea {
    border-radius: var(--ab-radius-sm);
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(23, 63, 53, .5);
    box-shadow:
        0 0 0 4px rgba(23, 63, 53, .07);
}

/* -----------------------------------------------------
   TOUR DETAIL / BOOKING
----------------------------------------------------- */

.tour-booking-card {
    border:
        1px solid rgba(16, 37, 31, .10);
    border-radius: var(--ab-radius-lg);
    box-shadow: var(--ab-shadow-md);
}

.ab-trip-trigger {
    box-shadow:
        0 12px 35px rgba(13, 46, 39, .18);
}

.ab-trip-drawer {
    box-shadow:
        -30px 0 90px rgba(8, 30, 25, .20);
}

/* -----------------------------------------------------
   MOBILE MENU
----------------------------------------------------- */

.mobile-menu {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.mobile-menu-panel {
    background: var(--ab-forest-deep);
}

.mobile-menu-nav a {
    transition:
        opacity .25s ease,
        transform .3s var(--ab-ease);
}

.mobile-menu-nav a:hover {
    transform: translateX(5px);
}

/* -----------------------------------------------------
   V8 REVEAL
----------------------------------------------------- */

[data-v8-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition:
        opacity .75s var(--ab-ease),
        transform .75s var(--ab-ease);
    transition-delay:
        var(--v8-delay, 0ms);
}

[data-v8-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }

    [data-v8-reveal] {
        opacity: 1;
        transform: none;
    }
}

/* -----------------------------------------------------
   RESPONSIVE FOUNDATION
----------------------------------------------------- */

@media (max-width: 1024px) {
    :root {
        --ab-radius-lg: 26px;
        --ab-radius-xl: 32px;
    }

    .container,
    .section-inner,
    .footer-main,
    .albadi-utility-inner,
    .site-header {
        width: min(
            calc(100% - 30px),
            var(--ab-container)
        );
    }
}

@media (max-width: 720px) {
    :root {
        --ab-radius-md: 17px;
        --ab-radius-lg: 22px;
    }

    .container,
    .section-inner,
    .footer-main,
    .albadi-utility-inner,
    .site-header {
        width: min(
            calc(100% - 22px),
            var(--ab-container)
        );
    }

    .albadi-utility-bar {
        display: none;
    }

    .albadi-header-v7j {
        min-height: 70px;
    }

    .brand-mark {
        width: 40px;
        height: 40px;
    }
}
