/* ═══════════════════════════════════════════════════════════════════════════
   Booking Landing Page — Shared Stylesheet
   ───────────────────────────────────────────────────────────────────────────
   Single source of truth for the booking landing page look.
   Lives identically in BOTH:
     admin.phototouchinc.com/content/assets/css/booking-landing.css   (preview)
     cheddar.findyourpictures.com/content/assets/css/booking-landing.css (production)

   The admin preview (landing_config_preview_view.php) and the cheddar
   booking landing (home/home_view.php) both load this file, so styling
   stays in lock-step. Keep them byte-for-byte identical.

   CSS custom properties driven by photographer config:
     --bk-accent   → theme accent color (buttons, icons, step numbers)
     --bk-btn-text → button text color on accent background

   Section prefix convention:
     .bk-landing         — wrapper / scope
     .bk-preview-navbar  — admin preview chrome (decorative, preview-only)
     .bk-hero*           — hero section
     .bk-trust*          — social-proof trust bar
     .bk-content-block*  — photographer-configurable image+text block
     .bk-hiw*            — how-it-works 3-step strip
     .bk-feat*           — feature callout cards
     .bk-gallery*        — horizontal photo strip
     .bk-manage*         — bottom manage-booking strip
     .bk-loc-*           — location cards (cheddar: dynamic data)
     .bk-svc-*           — service cards (cheddar: dynamic data)
     .bk-badge-*         — status badges (open/closed etc.)
     .bk-foot            — preview footer (preview-only)
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Landing scope reset ───────────────────────────────────────────────── */
/* Neutralize cheddar's site-wide rules that use !important on font-family,
   font-size, and color for body + h1–h6. Without this the global theme
   (Manrope/Poppins, --font-color, --heading-color) bleeds in and overrides
   the admin-configured landing page values. */
.bk-landing {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
    overflow-x: hidden;
    color: inherit;
}
.bk-landing *,
.bk-landing *::before,
.bk-landing *::after { box-sizing: border-box; }

.bk-landing h1,
.bk-landing h2,
.bk-landing h3,
.bk-landing h4,
.bk-landing h5,
.bk-landing h6 {
    margin: 0;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
    color: inherit;
}
/* Override cheddar's fixed heading sizes (h1 24px etc.) so landing-page sizes win */
.bk-landing .bk-hero h1,
.bk-landing .bk-hero-headline {
    font-size: 2.6rem !important;
    font-weight: 900;
}
.bk-landing .bk-hiw h2,
.bk-landing .bk-features h2,
.bk-landing .bk-section-heading {
    font-size: 1.8rem !important;
    font-weight: 900;
}
.bk-landing .bk-step h3,
.bk-landing .bk-feat-card h3,
.bk-landing .bk-manage-text h3,
.bk-landing .bk-loc-name {
    font-size: 1rem !important;
    font-weight: 700;
}
.bk-landing p { margin: 0; }

/* Default CSS variables (overridden inline by view with photographer config) */
.bk-landing {
    --bk-accent:   #6c3aed;
    --bk-btn-text: #ffffff;
}

/* ═══════════════════════════════════════
   PREVIEW NAVBAR (admin preview only — decorative)
═══════════════════════════════════════ */
.bk-preview-navbar {
    position: absolute;
    top: 0; left: 0; right: 0;
    z-index: 10;
    background: transparent;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: rgba(255,255,255,0.85);
}
.bk-preview-navbar .bk-nav-left,
.bk-preview-navbar .bk-nav-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 60px;
}
.bk-preview-navbar .bk-nav-right { justify-content: flex-end; }
.bk-preview-navbar .bk-nav-logo {
    flex: 1;
    text-align: center;
    font-weight: 900;
    font-size: 1rem;
    letter-spacing: 0.02em;
    opacity: 0.92;
}
.bk-preview-navbar i { font-size: 1rem; opacity: 0.85; }

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
.bk-hero {
    position: relative;
    padding: 4.5rem 1.5rem 5.5rem;
    text-align: center;
    min-height: 440px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.bk-hero--overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.38);
    z-index: 0;
}
.bk-hero--overlay > * { position: relative; z-index: 1; }

.bk-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.28);
    border-radius: 999px;
    padding: 0.3rem 1rem;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1.4rem;
    backdrop-filter: blur(6px);
}
.bk-pulse {
    width: 7px; height: 7px;
    background: #22c55e;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 0 0 rgba(34,197,94,0.5);
    animation: bk-pulse 1.6s ease-in-out infinite;
}
@keyframes bk-pulse {
    0%   { box-shadow: 0 0 0 0   rgba(34,197,94,0.5); }
    70%  { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
    100% { box-shadow: 0 0 0 0   rgba(34,197,94,0); }
}

.bk-hero h1,
.bk-hero-headline {
    font-size: 2.6rem;
    font-weight: 900;
    line-height: 1.12;
    margin-bottom: 0.8rem;
    letter-spacing: -0.02em;
}
.bk-hero .bk-subtext,
.bk-hero-subtext {
    font-size: 1rem;
    opacity: 0.82;
    margin-bottom: 2.2rem;
    max-width: 480px;
    line-height: 1.6;
}

/* Search bar */
.bk-search {
    background: #fff;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.55rem 0.55rem 1.25rem;
    max-width: 520px;
    width: 100%;
    box-shadow: 0 12px 40px rgba(0,0,0,0.22);
    margin-bottom: 1rem;
}
.bk-search i { color: #94a3b8; font-size: 0.85rem; flex-shrink: 0; }
.bk-search input {
    border: none; outline: none; background: transparent;
    flex: 1; font-size: 0.9rem; color: #475569;
    font-family: inherit;
}
.bk-search button {
    background: var(--bk-accent);
    color: var(--bk-btn-text);
    border: none; border-radius: 50px;
    padding: 0.5rem 1.3rem;
    font-size: 0.82rem; font-weight: 800;
    cursor: pointer; white-space: nowrap;
    font-family: inherit; letter-spacing: 0.02em;
    transition: opacity 0.15s;
}
.bk-search button:hover { opacity: 0.88; }

.bk-geo {
    font-size: 0.8rem;
    opacity: 0.72;
    display: inline-flex; align-items: center; gap: 0.3rem;
    cursor: pointer; text-decoration: none;
    margin-bottom: 1.6rem;
    background: transparent;
    border: 0;
    font-family: inherit;
    color: inherit;
}
.bk-geo i { font-size: 0.75rem; }

.bk-cta-row {
    display: flex; gap: 0.8rem; flex-wrap: wrap; justify-content: center;
}
.bk-btn-primary {
    background: var(--bk-accent);
    color: var(--bk-btn-text);
    border: none; border-radius: 50px;
    padding: 0.75rem 2rem;
    font-size: 0.92rem; font-weight: 800; font-family: inherit;
    cursor: pointer; display: inline-flex; align-items: center; gap: 0.45rem;
    box-shadow: 0 6px 24px rgba(0,0,0,0.22);
    transition: all 0.15s; letter-spacing: 0.01em;
    text-decoration: none;
}
.bk-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.28);
    color: var(--bk-btn-text);
}
.bk-btn-outline {
    background: rgba(255,255,255,0.13);
    border: 1.5px solid rgba(255,255,255,0.32);
    border-radius: 50px;
    padding: 0.72rem 1.6rem;
    font-size: 0.88rem; font-weight: 700; font-family: inherit;
    cursor: pointer; display: inline-flex; align-items: center; gap: 0.4rem;
    backdrop-filter: blur(4px); transition: all 0.15s;
    text-decoration: none;
    color: inherit;
}
.bk-btn-outline:hover { background: rgba(255,255,255,0.22); color: inherit; }

/* ═══════════════════════════════════════
   TRUST BAR
═══════════════════════════════════════ */
.bk-trust {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 0.55rem 1.5rem;
    flex-wrap: wrap;
}
.bk-trust-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}
.bk-trust-item i { color: var(--bk-accent); font-size: 0.85rem; }

/* ═══════════════════════════════════════
   CONTENT BLOCK (image + text)
═══════════════════════════════════════ */
.bk-content-block { padding: 0; }
.bk-content-block .bk-cb-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}
.bk-cb-image-wrap { flex: 1 1 280px; }
.bk-cb-image {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
    max-height: 360px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
.bk-cb-text {
    flex: 1 1 320px;
    font-size: 1rem;
    line-height: 1.75;
}

/* ═══════════════════════════════════════
   HOW IT WORKS
═══════════════════════════════════════ */
.bk-hiw {
    padding: 4rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.bk-hiw--overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 0;
}
.bk-hiw--overlay > * { position: relative; z-index: 1; }
.bk-hiw h2 {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 0.3rem;
    letter-spacing: -0.02em;
}
.bk-section-sub {
    font-size: 0.9rem;
    opacity: 0.65;
    margin-bottom: 2.5rem;
}
.bk-steps {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 880px;
    margin: 0 auto;
}
.bk-step {
    background: #fff;
    border-radius: 22px;
    padding: 2rem 1.4rem 1.8rem;
    flex: 1;
    min-width: 210px;
    max-width: 270px;
    box-shadow: 0 4px 28px rgba(99,102,241,0.09);
    transition: transform 0.2s;
}
.bk-step:hover { transform: translateY(-3px); }
.bk-step-num {
    width: 38px; height: 38px; border-radius: 50%;
    background: var(--bk-accent);
    color: #fff;
    font-size: 0.82rem; font-weight: 900;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1rem;
}
.bk-step-icon {
    font-size: 1.7rem;
    color: var(--bk-accent);
    margin-bottom: 0.7rem;
}
.bk-step h3 {
    font-size: 0.95rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.4rem;
}
.bk-step p {
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.55;
}

/* ═══════════════════════════════════════
   FEATURE CALLOUTS
═══════════════════════════════════════ */
.bk-features {
    padding: 4rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.bk-features--overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 0;
}
.bk-features--overlay > * { position: relative; z-index: 1; }
.bk-feat-cards {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 880px;
    margin: 0 auto;
}
.bk-feat-card {
    background: rgba(255,255,255,0.10);
    border-radius: 22px;
    padding: 2rem 1.4rem;
    flex: 1;
    min-width: 210px;
    max-width: 270px;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.14);
    transition: transform 0.2s;
}
.bk-feat-card:hover { transform: translateY(-3px); }
.bk-feat-icon {
    width: 58px; height: 58px; border-radius: 50%;
    background: rgba(255,255,255,0.14);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1rem;
}
.bk-feat-icon i { font-size: 1.4rem; opacity: 0.9; }
.bk-feat-card h3 {
    font-size: 0.97rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
}
.bk-feat-card p {
    font-size: 0.82rem;
    opacity: 0.72;
    line-height: 1.55;
}

/* ═══════════════════════════════════════
   GALLERY STRIP
═══════════════════════════════════════ */
.bk-gallery {
    padding: 1.5rem 0;
    overflow: hidden;
}
.bk-gallery-track {
    display: flex;
    gap: 0.75rem;
    padding: 0 1.25rem;
    overflow-x: auto;
    scrollbar-width: none;
}
.bk-gallery-track::-webkit-scrollbar { display: none; }
.bk-gallery-thumb {
    width: 160px; height: 112px;
    border-radius: 14px;
    object-fit: cover;
    flex-shrink: 0;
    background: #cbd5e1;
}

/* ═══════════════════════════════════════
   MANAGE STRIP
═══════════════════════════════════════ */
.bk-manage {
    padding: 2rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    position: relative;
    overflow: hidden;
}
.bk-manage--overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.32);
    z-index: 0;
}
.bk-manage--overlay > * { position: relative; z-index: 1; }
.bk-manage-text h3 {
    font-size: 0.97rem;
    font-weight: 800;
    margin-bottom: 0.15rem;
}
.bk-manage-text p {
    font-size: 0.82rem;
    opacity: 0.68;
}
.bk-manage-btn {
    background: rgba(255,255,255,0.16);
    border: 1.5px solid rgba(255,255,255,0.3);
    border-radius: 50px;
    padding: 0.6rem 1.4rem;
    font-size: 0.86rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    backdrop-filter: blur(6px);
    white-space: nowrap;
    transition: all 0.15s;
    color: inherit;
    text-decoration: none;
}
.bk-manage-btn:hover {
    background: rgba(255,255,255,0.26);
    color: inherit;
}

/* ═══════════════════════════════════════
   PREVIEW FOOTER (admin preview only)
═══════════════════════════════════════ */
.bk-foot {
    background: #0f172a;
    color: rgba(255,255,255,0.38);
    text-align: center;
    padding: 1rem;
    font-size: 0.72rem;
}
.bk-foot a {
    color: var(--bk-accent);
    text-decoration: none;
}

/* ═══════════════════════════════════════
   PREVIEW — CLICK-TO-EDIT HOVER RING
═══════════════════════════════════════ */
.bk-preview [data-section] { cursor: pointer; transition: outline 0.12s; }
.bk-preview [data-section]:hover {
    outline: 2px dashed rgba(108,58,237,0.55);
    outline-offset: 2px;
}

/* ═══════════════════════════════════════
   SECTION HEADINGS (shared — locations etc.)
═══════════════════════════════════════ */
.bk-landing .bk-section-heading {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}
.bk-landing .bk-section-sub {
    color: #64748b;
    font-size: 1rem;
    margin: 0;
}

/* ═══════════════════════════════════════
   LOCATIONS SECTION (cheddar-dynamic — no static content in admin preview)
═══════════════════════════════════════ */
.bk-locations-section {
    padding: 4.5rem 0;
}

.bk-loc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
    max-width: 1100px;
    margin: 0 auto;
}
.bk-loc-grid--searchfirst {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.bk-loc-item { display: block; }

.bk-loc-card {
    display: block;
    height: 100%;
    background: #fff;
    border: 1.5px solid rgba(0,0,0,0.07);
    border-radius: 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}
.bk-loc-card--open { cursor: pointer; }
.bk-loc-card--open:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.1);
    border-color: var(--bk-accent);
    color: inherit;
}
.bk-loc-card--closed {
    opacity: 0.55;
    cursor: default;
}

.bk-loc-card-body {
    padding: 1.25rem 1.35rem 1.35rem;
}
.bk-loc-card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}
.bk-loc-name {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}
.bk-loc-addr,
.bk-loc-city {
    font-size: 0.85rem;
    color: #64748b;
    opacity: 0.7;
    margin-top: 0.2rem;
}
.bk-loc-dist {
    font-size: 0.78rem;
    font-weight: 700;
    color: #10b981;
    margin-top: 0.35rem;
}
.bk-loc-cta-wrap { margin-top: 0.75rem; }
.bk-loc-book-cta {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--bk-accent);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* ═══════════════════════════════════════
   STATUS BADGES (open / closed)
═══════════════════════════════════════ */
.bk-badge-open {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    font-weight: 700;
    background: rgba(16,185,129,0.12);
    color: #10b981;
    padding: 3px 10px;
    border-radius: 999px;
    white-space: nowrap;
    flex-shrink: 0;
}
.bk-badge-closed {
    font-size: 0.72rem;
    font-weight: 600;
    background: rgba(120,120,120,0.1);
    color: #64748b;
    opacity: 0.7;
    padding: 3px 10px;
    border-radius: 999px;
    white-space: nowrap;
    flex-shrink: 0;
}
.bk-dot-green {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #10b981;
    flex-shrink: 0;
    animation: bk-pulse-green 1.9s ease-in-out infinite;
}
@keyframes bk-pulse-green {
    0%,100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.4); }
    50%     { box-shadow: 0 0 0 6px rgba(16,185,129,0); }
}

/* ═══════════════════════════════════════
   SERVICE CARDS (single-location flow)
═══════════════════════════════════════ */
.bk-svc-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin: 0 auto 2rem;
    max-width: 960px;
}
.bk-svc-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0.75rem;
    border-radius: 16px;
    background: rgba(255,255,255,0.85);
    border: 1px solid rgba(0,0,0,0.06);
    min-width: 110px;
    max-width: 140px;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}
.bk-svc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    background: #fff;
    color: inherit;
}
.bk-svc-card-img,
.bk-svc-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 0.5rem;
}
.bk-svc-card-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.25;
}
.bk-svc-card-duration {
    font-size: 0.75rem;
    color: #64748b;
    opacity: 0.6;
    margin-top: 0.25rem;
}

/* ═══════════════════════════════════════
   HELP TEXT (below manage strip)
═══════════════════════════════════════ */
.bk-help-text {
    text-align: center;
    padding: 1.25rem 1.5rem;
    color: #64748b;
    font-size: 0.85rem;
    line-height: 1.5;
    background: #f8fafc;
}

/* ═══════════════════════════════════════
   DARK MODE OVERRIDES
═══════════════════════════════════════ */
.mode-dark .bk-landing {
    color: #cbd5e1;
    background-color: #0f172a;
}
.mode-dark .bk-landing h1,
.mode-dark .bk-landing h2,
.mode-dark .bk-landing h3,
.mode-dark .bk-landing h4,
.mode-dark .bk-landing h5,
.mode-dark .bk-landing h6 { color: #f1f5f9; }

.mode-dark .bk-landing .bk-hero h1,
.mode-dark .bk-landing .bk-hero-headline,
.mode-dark .bk-landing .bk-hero-subtext { color: #fff !important; }

.mode-dark .bk-landing .bk-step h3 { color: #1e293b; }
.mode-dark .bk-landing .bk-step p  { color: #64748b; }
.mode-dark .bk-landing .bk-cb-text { color: #cbd5e1; }

.mode-dark .bk-section-heading { color: #f1f5f9; }
.mode-dark .bk-section-sub     { color: #cbd5e1; }

.mode-dark .bk-loc-card {
    background: #1e293b;
    border-color: rgba(255,255,255,0.07);
}
.mode-dark .bk-loc-name           { color: #f1f5f9; }
.mode-dark .bk-loc-addr,
.mode-dark .bk-loc-city           { color: #cbd5e1; }

.mode-dark .bk-svc-card {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.08);
}
.mode-dark .bk-svc-card-label     { color: #f1f5f9; }

.mode-dark .bk-help-text {
    background: #1e293b;
    color: #cbd5e1;
}

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 640px) {
    .bk-hero h1,
    .bk-hero-headline { font-size: 2rem; }
    .bk-hero { padding: 3.5rem 1.25rem 4rem; min-height: 380px; }
    .bk-hiw,
    .bk-features { padding: 3rem 1rem; }
    .bk-manage { padding: 1.5rem; }
    .bk-locations-section { padding: 3rem 0; }
    .bk-loc-grid { gap: 0.75rem; padding: 0 1rem; }
    .bk-cb-inner { padding: 2rem 1.25rem; }
}
