/* =========================
   0) Design tokens
========================= */
:root {
    --bg: #0b0d10;
    --panel: rgba(255, 255, 255, .06);
    --panel-2: rgba(255, 255, 255, .10);
    --text: rgba(255, 255, 255, .92);
    --muted: rgba(255, 255, 255, .70);
    --muted2: rgba(255, 255, 255, .55);
    --border: rgba(255, 255, 255, .14);

    --accent: #caa56a;
    --accent2: #9bb6ff;

    --radius: 18px;
    --radius-lg: calc(var(--radius) + 6px);
    --shadow: 0 18px 50px rgba(0, 0, 0, .45);

    --topbar-h: 74px;
}

/* =========================
   1) Base / reset
========================= */
* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

html {
    /* for anchor jumps */
    scroll-padding-top: calc(var(--topbar-h) + 12px);
}

body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
    background: var(--bg);
    color: var(--text);
    overflow: hidden;
    /* main scroll happens in .page */
}

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

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

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

.muted {
    color: var(--muted);
}

.tiny {
    font-size: 12px;
    color: var(--muted2);
}

.center {
    text-align: center;
}

/* Skip link */
.skip-link {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 10px 12px;
    background: rgba(0, 0, 0, .7);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 10px;
    transform: translateY(-200%);
    z-index: 9999;
}

.skip-link:focus {
    transform: translateY(0);
}

/* =========================
   2) Topbar / nav
========================= */
.topbar {
    position: fixed;
    inset-inline: 0;
    top: 0;
    z-index: 50;

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

    padding: 14px 18px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0));
    pointer-events: none;
}

.topbar>* {
    pointer-events: auto;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, .10);
    background: rgba(0, 0, 0, .25);
    border-radius: 999px;
    backdrop-filter: blur(10px);
}

.brand-mark {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, var(--accent), rgba(202, 165, 106, .15));
    box-shadow: 0 0 18px rgba(202, 165, 106, .25);
}

.brand-text {
    font-weight: 650;
    letter-spacing: .2px;
}

.nav {
    display: flex;
    gap: 10px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, .10);
    background: rgba(0, 0, 0, .25);
    border-radius: 999px;
    backdrop-filter: blur(10px);
}

.nav-link {
    font-size: 14px;
    padding: 10px 12px;
    border-radius: 999px;
    color: var(--muted);
    white-space: nowrap;
}

.nav-link.active {
    color: var(--text);
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .10);
}

/* =========================
   3) Scroll container + sections
========================= */
.page {
    height: 100vh;
    height: 100dvh;
    overflow-y: auto;
    scroll-behavior: smooth;
    overscroll-behavior: none;

    /* Keep anchor jumps under fixed header */
    scroll-padding-top: calc(var(--topbar-h) + 12px);
}

/* Default desktop snap (nice but not aggressive) */
@media (min-width: 821px) {
    .page {
        scroll-snap-type: y proximity;
    }

    .section {
        scroll-snap-align: start;
    }
}

.section {
    min-height: 100vh;
    height: auto;
    display: grid;
    align-items: center;
    position: relative;

    padding: calc(var(--topbar-h) + 16px) 0 44px;

    /* anchor + snap safe under header */
    scroll-margin-top: calc(var(--topbar-h) + 12px);
}

.section:last-child {
    padding-bottom: max(44px, env(safe-area-inset-bottom));
}

/* =========================
   4) Buttons
========================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .08);
    color: var(--text);
    font-weight: 650;
    letter-spacing: .2px;
    cursor: pointer;
    transition: transform .12s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

.btn.primary {
    border-color: rgba(202, 165, 106, .45);
    background: linear-gradient(135deg, rgba(202, 165, 106, .95), rgba(202, 165, 106, .25));
    color: #0b0d10;
}

.btn.ghost {
    background: rgba(0, 0, 0, .15);
}

.btn.small {
    padding: 10px 14px;
    font-size: 14px;
}

/* =========================
   5) Hero
========================= */
.hero {
    padding-top: 0;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(900px 500px at 20% 15%, rgba(202, 165, 106, .35), transparent 60%),
        radial-gradient(900px 500px at 85% 65%, rgba(155, 182, 255, .22), transparent 55%),
        linear-gradient(180deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, .75)),
        url("./assets/4.jpeg");
    background-size: cover;
    background-position: center;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-top: 80px;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--muted);
    letter-spacing: .2em;
    text-transform: uppercase;
    font-size: 12px;
}

.title {
    margin: 0 0 12px;
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1.02;
}

.subtitle {
    margin: 0 0 22px;
    max-width: 56ch;
    color: var(--muted);
    font-size: 18px;
}

.scroll-hint {
    margin-top: 36px;
    width: 22px;
    height: 48px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .18);
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
    opacity: .9;
}

.scroll-hint .dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .85);
    animation: dot 1.4s infinite ease-in-out;
}

.scroll-hint .line {
    position: absolute;
    bottom: 10px;
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, .20);
}

@keyframes dot {
    0% {
        transform: translateY(-10px);
        opacity: .5;
    }

    50% {
        transform: translateY(8px);
        opacity: 1;
    }

    100% {
        transform: translateY(-10px);
        opacity: .5;
    }
}

/* =========================
   6) Headings
========================= */
.section-head {
    margin-bottom: 18px;
}

.h2 {
    margin: 0 0 6px;
    font-size: clamp(26px, 3.2vw, 34px);
}

.h3 {
    margin: 0;
    font-size: 18px;
}

/* =========================
   7) Offers
========================= */
.offer-shell {
    display: grid;
    gap: 14px;
}

.offer-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.offer-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 16px;
    align-items: start;
}

.offer-features {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow);
}

.offer-note {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: 13px;
}

.list {
    margin: 0 0 14px;
    padding-inline-start: 18px;
    color: rgba(255, 255, 255, .82);
}

.list li {
    margin: 6px 0;
}

.offer-gallery {
    background: rgba(0, 0, 0, .25);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 12px;
    overflow: hidden;
    /* avoid black overflow edges */
}

/* =========================
   8) Bootstrap carousel (scoped)
   Only affects carousels inside .offer-gallery
========================= */
.offer-gallery .offer-carousel {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.offer-gallery .offer-carousel img {
    width: 100%;
    height: min(62vh, 560px);
    object-fit: cover;
    display: block;
}

/* controls visible on dark */
.offer-gallery .carousel-control-prev,
.offer-gallery .carousel-control-next {
    width: 56px;
}

.offer-gallery .carousel-control-prev-icon,
.offer-gallery .carousel-control-next-icon {
    filter: invert(1);
    opacity: .95;
}

/* dots match your theme */
.offer-gallery .carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .18);
    background-color: rgba(255, 255, 255, .35);
}

.offer-gallery .carousel-indicators .active {
    background-color: rgba(202, 165, 106, .95);
    border-color: rgba(202, 165, 106, .55);
}

/* =========================
   9) Contact
========================= */
.contact {
    background:
        radial-gradient(900px 520px at 20% 30%, rgba(155, 182, 255, .12), transparent 55%),
        radial-gradient(900px 520px at 85% 70%, rgba(202, 165, 106, .16), transparent 60%);
}

.contact-center-card {
    width: min(820px, 100%);
    margin: 0 auto;
    padding: 18px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--panel);
    box-shadow: var(--shadow);
    display: grid;
    gap: 12px;
}

.contact-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .06);
    color: rgba(255, 255, 255, .92);
}

.pill-icon {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(202, 165, 106, .18);
    border: 1px solid rgba(202, 165, 106, .25);
}

.pill-icon svg {
    display: block;
}

/* =========================
   10) Footer
========================= */
.site-footer {
    margin-top: 18px;
    padding: 16px 0 22px;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.footer-inner {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
}

/* =========================
   11) Responsive
========================= */
@media (max-width: 980px) {
    .offer-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .offer-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: calc(var(--topbar-h) + 10px) 0 28px;
    }
}

/* Mobile tuning */
@media (max-width: 700px) {
    :root {
        --topbar-h: 64px;
    }

    .container {
        width: min(1120px, calc(100% - 26px));
    }

    .hero-content {
        padding-top: 56px;
    }

    .title {
        font-size: clamp(30px, 8vw, 46px);
        line-height: 1.12;
    }

    .subtitle {
        font-size: 16px;
        max-width: 40ch;
    }

    /* carousel height smaller on mobile */
    .offer-gallery .offer-carousel img {
        height: min(48vh, 380px);
    }

    /* contact pills: full width */
    .contact-pill {
        width: 100%;
        justify-content: center;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 6px;
    }

    /* nav horizontal scroll */
    .nav {
        max-width: 70vw;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .nav::-webkit-scrollbar {
        display: none;
    }
}

@media (max-width: 520px) {
    :root {
        --topbar-h: 58px;
    }

    .topbar {
        padding: 8px 10px;
    }

    .brand {
        padding: 7px 10px;
        gap: 8px;
    }

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

    .brand-text {
        font-size: 13px;
        font-weight: 700;
    }

    .nav {
        padding: 6px;
        gap: 6px;
        max-width: 62vw;
        background: rgba(0, 0, 0, .18);
        border-color: rgba(255, 255, 255, .10);
        backdrop-filter: blur(8px);
    }

    .nav-link {
        font-size: 12px;
        padding: 8px 10px;
    }
}

@media (max-width: 380px) {
    .brand-text {
        display: none;
    }
}
