﻿/* =========================================================
   Belle Hair – Cleaned Stylesheet (full)
   ========================================================= */

/* ---------------- Base type & layout ---------------- */
html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width:768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin-bottom: 60px;
}

/* Bootstrap focus ring */
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus,
.form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 .1rem #fff, 0 0 0 .25rem #258cfb;
}

/* Forms & cards */
.form-control-lg, .form-select-lg {
    font-size: 1.125rem;
    padding: .75rem 1rem;
}

.btn-lg {
    padding: .75rem 1.25rem;
    border-radius: 1rem;
}

.card {
    border-radius: 1rem;
}

/* ---------------- Brand palette ---------------- */
:root {
    /* core brand */
    --brand-lilac: #9a4f7d; /* primary (links, active underline) */
    --accent-gold: #f2b705; /* secondary accent */
    --ink: #1f2937;
    --muted: #6b7280;
    /* gradient pulled from your swatch (lilac→blush/peach) */
    --grad-1: #D6D0DF;
    --grad-2: #CEBED3;
    --grad-3: #EFCBD0;
    --grad-4: #F5D8CF;
    --brand-ink: #1F2937;
    --brand-gradient: linear-gradient(90deg, var(--grad-1) 0%, var(--grad-2) 35%, var(--grad-3) 72%, var(--grad-4) 100%);
    --brand-gradient-45: linear-gradient(45deg, var(--grad-1), var(--grad-3));
}

/* ---------------- Header / Navbar ---------------- */
.bh-topbar {
    background-color: #CEBED3; /* fallback */
    background-image: var(--brand-gradient);
    color: #111;
    font-weight: 500;
}

    .bh-topbar .bh-top-ico {
        color: #111;
        opacity: .95;
        display: inline-flex;
        align-items: center;
    }

        .bh-topbar .bh-top-ico:hover {
            opacity: 1;
        }

.bh-header {
    position: sticky;
    top: 0;
    z-index: 1030;
}

/* keep navbar clean on white with brand accents */
.navbar {
    background: #fff;
    border-bottom: 1px solid rgba(0,0,0,.04);
}

    .navbar .nav-link {
        padding: .75rem 1rem;
        font-weight: 600;
        color: #374151;
    }

        .navbar .nav-link:hover {
            color: var(--accent-gold);
        }

        .navbar .nav-link.active {
            color: var(--brand-lilac);
            position: relative;
        }

            .navbar .nav-link.active::after {
                content: "";
                position: absolute;
                left: 1rem;
                right: 1rem;
                bottom: .4rem;
                height: 3px;
                background: var(--brand-lilac);
                border-radius: 3px;
            }

@media (max-width:991.98px) {
    .navbar .nav-link {
        padding: .75rem 0;
    }
}

/* Brand lockup */
.bh-brand {
    display: flex;
    align-items: center;
    gap: .6rem;
}

.bh-logo {
    height: 108px;
    width: auto;
    display: block;
}

@media (min-width:1200px) {
    .bh-logo {
        height: 120px;
    }
}

.bh-wordmark {
    font-size: clamp(2rem, 1.2rem + 2vw, 2.75rem);
    font-weight: 800;
    letter-spacing: .18em;
    line-height: 1;
    color: var(--ink);
}

/* ---------------- Buttons & links ---------------- */
/* Explore Services / primary CTA as gradient */
.btn-brand {
    color: #111;
    border: 0;
    background: var(--brand-gradient-45);
    box-shadow: 0 10px 24px rgba(140,90,151,.15);
}

    .btn-brand:hover {
        background: linear-gradient(45deg, var(--grad-2), var(--grad-4));
        box-shadow: 0 14px 36px rgba(140,90,151,.22);
        color: #111;
    }

/* Outline gold secondary that fills on hover */
.btn-accent {
    border: 2px solid var(--accent-gold);
    color: var(--ink);
    background: transparent;
}

    .btn-accent:hover, .btn-accent:active {
        background: var(--accent-gold);
        color: #111;
        border-color: var(--accent-gold);
        box-shadow: 0 10px 24px rgba(242,183,5,.28);
    }

.link-brand {
    color: var(--brand-lilac);
    font-weight: 700;
    text-decoration: none;
}

    .link-brand:hover {
        color: var(--accent-gold);
        text-decoration: underline;
    }

/* Badge */
.badge.bg-warning {
    background: var(--accent-gold) !important;
    color: #111 !important;
}

/* ---------------- Landing sections ---------------- */
.section-title {
    font-weight: 800;
    letter-spacing: .02em;
    color: var(--ink);
}

/* hero */
.bh-landing-hero {
    padding: 4.5rem 0 2rem;
    background: radial-gradient(800px 300px at 20% -10%, rgba(255,255,255,.6), rgba(255,255,255,0) 70%), linear-gradient(180deg, #faf7fb 0%, #ffffff 60%);
}

.bh-hero-title {
    font-size: clamp(2.2rem, 1.4rem + 2.2vw, 3rem);
    font-weight: 900;
    letter-spacing: .02em;
    color: var(--ink);
    margin: 0 0 .5rem;
}

.bh-hero-sub {
    font-size: 1.125rem;
    color: var(--muted);
    max-width: 46ch;
}

/* service tiles */
.bh-tile {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 1.1rem;
    overflow: hidden;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 10px 24px rgba(0,0,0,.05);
    transition: transform .18s ease, box-shadow .18s ease;
}

    .bh-tile:hover {
        transform: translateY(-2px);
        box-shadow: 0 18px 42px rgba(0,0,0,.10);
    }

.bh-tile-meta {
    padding: .8rem .95rem;
}

    .bh-tile-meta strong {
        display: block;
        font-weight: 800;
        font-size: clamp(1.05rem,.9rem + .4vw,1.35rem);
    }

    .bh-tile-meta span {
        color: var(--muted);
        font-size: clamp(.95rem,.85rem + .2vw,1.05rem);
    }

/* Tall, uncropped service images */
.bh-tile .img-box {
    height: clamp(380px, 55vh, 640px);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
}

    .bh-tile .img-box img {
        max-height: 100%;
        max-width: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
        display: block;
    }

@media (max-width:576px) {
    .bh-tile .img-box {
        height: clamp(280px, 60vw, 420px);
    }
}

/* gallery thumbnails */
.bh-mosaic {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 8px 22px rgba(0,0,0,.06);
}

/* quotes */
.bh-quote {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.2rem;
    color: #111;
    line-height: 1.6;
}

    .bh-quote footer {
        margin-top: .5rem;
        color: var(--muted);
        font-weight: 600;
    }

/* ---------------- Benefit chips (trust pills) ---------------- */
.bh-benefits {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.bh-chip {
    --pad: .9rem;
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: .8rem;
    padding: var(--pad) 1.1rem;
    border-radius: 999px;
    text-decoration: none;
    color: var(--ink);
    background: linear-gradient(#fff,#fff) padding-box, var(--brand-gradient) border-box; /* gradient border to match top bar */
    border: 1px solid transparent;
    box-shadow: 0 1px 0 rgba(0,0,0,.03), 0 10px 26px rgba(0,0,0,.06);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

    .bh-chip:hover {
        border-color: var(--accent-gold);
        box-shadow: 0 14px 34px rgba(242,183,5,.18), 0 10px 26px rgba(0,0,0,.06);
        transform: translateY(-1px);
    }

    /* medallion */
    .bh-chip .ico {
        width: 2.35rem;
        height: 2.35rem;
        border-radius: 999px;
        display: grid;
        place-items: center;
        background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.9), rgba(255,255,255,.5) 55%, transparent 60%), linear-gradient(135deg, rgba(154,79,125,.18), rgba(242,183,5,.18));
        color: var(--brand-lilac);
        box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
    }

        .bh-chip .ico.gold {
            color: #b98317;
        }

    .bh-chip svg {
        width: 1.2rem;
        height: 1.2rem;
        display: block;
    }

    .bh-chip .label {
        font-weight: 800;
    }

    /* focus ring */
    .bh-chip:focus-visible {
        outline: 3px solid rgba(242,183,5,.55);
        outline-offset: 2px;
    }

    /* fall-in animation (slower + stagger) */
    .bh-chip.js-fall {
        opacity: 0;
        transform: translateY(-18px) scale(.98);
    }

        .bh-chip.js-fall.is-in {
            animation: chipIn var(--dur, 1.4s) cubic-bezier(.17,.9,.2,1) var(--d,0s) forwards;
        }

@keyframes chipIn {
    0% {
        opacity: 0;
        transform: translateY(-18px) scale(.98);
    }

    60% {
        opacity: 1;
        transform: translateY(4px) scale(1.01);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
/* auto-stagger if inline --d not set */
.bh-benefits .bh-chip:nth-child(1) {
    --d: 0s;
}

.bh-benefits .bh-chip:nth-child(2) {
    --d: .35s;
}

.bh-benefits .bh-chip:nth-child(3) {
    --d: .70s;
}

.bh-benefits .bh-chip:nth-child(4) {
    --d: 1.05s;
}

@media (prefers-reduced-motion:reduce) {
    .bh-chip.js-fall {
        opacity: 1;
        transform: none;
    }

        .bh-chip.js-fall.is-in {
            animation: none !important;
        }
}

/* ---------------- Social embeds ---------------- */
.social-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 1rem;
    padding: 12px;
    box-shadow: 0 10px 22px rgba(0,0,0,.06);
}

#social .tiktok-embed, #social .instagram-media {
    width: 100% !important;
}

@media (max-width:576px) {
    .social-card {
        padding: 8px;
    }
}

/* ---------- Gallery page ---------- */

/* catalog grid: fixed tall cards (slightly taller than normal) */
.gallery-catalog-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.gallery-card {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 1rem;
    box-shadow: 0 8px 22px rgba(0,0,0,.06);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .gallery-card.from-catalog {
        height: clamp(420px, 58vh, 680px);
    }
    /* <- taller */
    .gallery-card img {
        max-width: 100%;
        max-height: 100%;
        height: auto;
        width: auto;
        object-fit: contain;
        display: block;
    }

/* client looks as masonry (no crop, natural heights) */
.gallery-masonry {
    column-count: 1;
    column-gap: 16px;
}

    .gallery-masonry .gm {
        width: 100%;
        display: block;
        margin: 0 0 16px;
        border-radius: 12px;
        box-shadow: 0 6px 16px rgba(0,0,0,.08);
    }

@media (min-width:576px) {
    .gallery-masonry {
        column-count: 2;
    }
}

@media (min-width:992px) {
    .gallery-masonry {
        column-count: 3;
    }
}

@media (min-width:1400px) {
    .gallery-masonry {
        column-count: 4;
    }
}

/* Wordmark font only */
.bh-wordmark {
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    /* (optional) if it looks too heavy with your current 800 weight:
  font-weight: 700;
  */
}

/* ===== Check-in page layout ===== */
.page-checkin .container {
    /* reduce the default py-4 from the layout container on this page only */
    padding-top: .5rem !important;
}

@media (min-width: 992px) {
    .page-checkin .container {
        padding-top: .25rem !important;
    }
}

/* Make the panel appear higher and visually prominent */
.checkin-card {
    margin-top: .25rem; /* close to the navbar */
    border-radius: 1.25rem;
    background: linear-gradient(#fff,#fff) padding-box, linear-gradient(135deg, rgba(154,79,125,.22), rgba(242,183,5,.22)) border-box;
    border: 1px solid transparent;
    box-shadow: 0 20px 48px rgba(154,79,125,.12), 0 10px 24px rgba(0,0,0,.06);
}

/* Title styling (clean + on brand) */
.checkin-title {
    font-weight: 800;
    letter-spacing: .01em;
    color: var(--ink);
}

/* Comfy inputs & gold focus ring only on this page */
.page-checkin .form-control,
.page-checkin .form-select {
    padding: .9rem 1rem;
    font-size: 1.05rem;
}

    .page-checkin .form-control:focus,
    .page-checkin .form-select:focus {
        border-color: var(--accent-gold);
        box-shadow: 0 0 0 .2rem rgba(242,183,5,.25);
    }

/* Primary action button */
.page-checkin .btn-brand {
    background: var(--brand-lilac);
    border-color: var(--brand-lilac);
    color: #fff;
    box-shadow: 0 10px 24px rgba(154,79,125,.28);
}

    .page-checkin .btn-brand:hover {
        filter: brightness(.95);
    }

/* Optional: make the panel slightly taller on very small screens */
@media (max-width: 576px) {
    .checkin-card {
        padding: 1.25rem;
    }
}


/* put in site.css */
.img-fit-contain {
    width: 100%;
    height: 100%; /* fill the ratio box */
    object-fit: contain; /* show the whole image (no crop) */
    object-position: center;
    background: #fff; /* shows behind any letterboxing */
}
/* Elegant script just for the header wordmark */
/* Elegant script just for the header wordmark — BIGGER */
.bh-wordmark {
    font-family: 'Great Vibes', 'Brush Script MT', 'Alex Brush', 'Segoe Script', 'Apple Chancery', cursive;
    font-weight: 400;
    letter-spacing: .01em;
    line-height: .92;
    font-size: clamp(3.0rem, 1.2rem + 4.2vw, 4.6rem); /* ← bigger min / fluid / max */
    white-space: nowrap; /* keep on one line */
    color: var(--ink, #1f2937);
    text-rendering: optimizeLegibility;
}

@media (min-width: 992px) {
    .bh-wordmark {
        transform: translateY(2px);
    }
    /* optical align with logo */
}


/* Optional subtle polish */
@media (min-width: 992px) {
    .bh-wordmark {
        transform: translateY(2px);
    }
    /* align optically with logo */
}
/* =========================
   Mobile polish (drop-in)
   ========================= */

/* 1) Trim header footprint on small phones */
@media (max-width: 576px) {
    /* Topbar: shrink & hide social icons to save space */
    .bh-topbar .container-xl {
        padding-block: .25rem !important;
    }

    .bh-topbar .d-flex.align-items-center.gap-3 {
        display: none;
    }
    /* socials off */

    /* Logo & wordmark smaller so the form peeks above the fold */
    .bh-logo {
        height: 72px;
    }

    .bh-wordmark {
        font-size: clamp(2rem, 1.2rem + 3vw, 2.6rem);
        letter-spacing: .12em;
    }

    /* Navbar links: slightly tighter */
    .navbar .nav-link {
        padding: .5rem 0;
    }
}

/* 2) Keep check-in card high and comfy on phones */
.page-checkin .container {
    padding-top: .25rem !important;
}

@media (max-width: 576px) {
    .checkin-card {
        margin-top: .25rem;
        padding: 1.25rem;
    }
}

/* 3) Inputs >=16px on small iOS to prevent zoom */
@media (max-width: 576px) {
    .form-control,
    .form-select,
    .input-xl {
        font-size: 16px;
    }
}

/* 4) Booking slot buttons: clearer states & bigger tap targets */
.card .btn,
.btn-slot {
    min-width: 88px; /* finger friendly */
    min-height: 44px;
    font-weight: 600;
}

.btn-slot-selected,
.btn.btn-brand { /* selected slot → solid brand look */
    background: var(--brand-lilac);
    border-color: var(--brand-lilac);
    color: #fff !important;
    box-shadow: 0 6px 18px rgba(154,79,125,.35);
}

.btn-slot-available,
.btn.btn-outline-dark { /* available slot (touch friendly contrast) */
    border-width: 2px;
}

/* 5) Reduce image/iframe cost on mobile */
img[loading="lazy"],
iframe[loading="lazy"] {
    content-visibility: auto;
}

/* 6) Trust pill animation: slightly slower on phones */
@media (max-width: 576px) {
    .bh-chip.js-fall.is-in {
        --dur: 1.8s;
    }
}

/* 7) Social embeds: keep cards tight on mobile */
@media (max-width: 576px) {
    #social .social-card {
        padding: 8px;
    }
}

/* 8) Gallery: gentle spacing & lazy-friendly */
.gallery-masonry .gm {
    break-inside: avoid;
}

/* 9) Sticky header shadow so content separation reads on small screens */
.bh-header {
    box-shadow: 0 6px 18px rgba(0,0,0,.06);
}
