/*
 * Wild West Boat Tours theme (loaded after Bootstrap 5.3)
 * Brand blue #2A6375 is the dominant colour; everything else is a tint/shade of it,
 * plus the existing brand black (#231F20) and grey (#58595B).
 */

/* ---------- Tokens ---------- */
:root {
    color-scheme: light;

    --wwbt-blue: #2A6375;
    --wwbt-blue-rgb: 42, 99, 117;
    --wwbt-blue-600: #22525F;
    --wwbt-blue-700: #1B424D;
    --wwbt-blue-900: #102A31;
    --wwbt-blue-100: #D3E3E8;
    --wwbt-blue-50: #E6EFF2;
    --wwbt-blue-25: #F3F7F8;
    --wwbt-sand: #F4EBDD;
    --wwbt-ink: #231F20;
    --wwbt-grey: #58595B;
    --wwbt-border: #D6E1E5;
    --wwbt-white: #FFFFFF;

    --wwbt-radius: 14px;
    --wwbt-radius-sm: 10px;
    --wwbt-radius-lg: 20px;
    --wwbt-shadow-sm: 0 1px 2px rgba(16, 42, 49, .06), 0 2px 8px rgba(16, 42, 49, .06);
    --wwbt-shadow: 0 4px 12px rgba(16, 42, 49, .08), 0 12px 32px rgba(16, 42, 49, .08);
    --wwbt-shadow-lg: 0 20px 50px rgba(16, 42, 49, .22);
    --wwbt-ease: cubic-bezier(.2, .7, .2, 1);

    --wwbt-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;

    /* Bootstrap overrides */
    --bs-primary: var(--wwbt-blue);
    --bs-primary-rgb: var(--wwbt-blue-rgb);
    --bs-body-font-family: var(--wwbt-font);
    --bs-body-color: var(--wwbt-ink);
    --bs-body-bg: var(--wwbt-white);
    --bs-body-line-height: 1.65;
    --bs-link-color: var(--wwbt-blue);
    --bs-link-color-rgb: var(--wwbt-blue-rgb);
    --bs-link-hover-color: var(--wwbt-blue-700);
    --bs-link-hover-color-rgb: 27, 66, 77;
    --bs-border-color: var(--wwbt-border);
    --bs-border-radius: var(--wwbt-radius-sm);
    --bs-border-radius-lg: var(--wwbt-radius);
    --bs-focus-ring-color: rgba(var(--wwbt-blue-rgb), .35);
    --bs-secondary-color: var(--wwbt-grey);
}

/* Hero titles: closest free match to the logo's wordmark (self-hosted, latin subset, SIL OFL) */
@font-face {
    font-family: "Stint Ultra Condensed";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/fonts/stint-ultra-condensed-latin.woff2") format("woff2");
}

/* ---------- Base ---------- */
html { scroll-padding-top: 88px; }

body {
    font-family: var(--wwbt-font);
    color: var(--wwbt-ink);
    background: var(--wwbt-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; }

a { color: var(--wwbt-blue); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--wwbt-blue-700); text-decoration-thickness: 2px; }

h1, h2, h3, h4, h5, h6 {
    color: var(--wwbt-blue-700);
    font-weight: 700;
    letter-spacing: -.01em;
    line-height: 1.2;
    overflow-wrap: break-word;
}
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 1.25rem + 1.4vw, 2.3rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.55rem); }
h4 { font-size: 1.15rem; }

p, li { max-width: 72ch; overflow-wrap: break-word; }

::selection { background: var(--wwbt-blue-100); color: var(--wwbt-ink); }

/* Clear, consistent keyboard focus */
:focus-visible {
    outline: 3px solid var(--wwbt-blue);
    outline-offset: 2px;
    border-radius: 6px;
}
.site-nav :focus-visible,
.site-footer :focus-visible,
.hero :focus-visible,
.bg-brand :focus-visible {
    outline-color: var(--wwbt-white);
}

/* Skip link: hidden until focused */
.skip-link {
    position: absolute;
    left: 16px;
    top: -100px;
    z-index: 2000;
    padding: .75rem 1.25rem;
    background: var(--wwbt-white);
    color: var(--wwbt-blue-700);
    font-weight: 700;
    border-radius: var(--wwbt-radius-sm);
    box-shadow: var(--wwbt-shadow);
    transition: top .2s var(--wwbt-ease);
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
    --bs-btn-padding-x: 1.25rem;
    --bs-btn-padding-y: .65rem;
    --bs-btn-font-weight: 600;
    --bs-btn-border-radius: 999px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    transition: background-color .2s var(--wwbt-ease), color .2s var(--wwbt-ease), border-color .2s var(--wwbt-ease), box-shadow .2s var(--wwbt-ease), transform .2s var(--wwbt-ease);
}
.btn-lg { --bs-btn-padding-x: 1.75rem; --bs-btn-padding-y: .8rem; --bs-btn-font-size: 1.05rem; }
.btn-primary {
    --bs-btn-bg: var(--wwbt-blue);
    --bs-btn-border-color: var(--wwbt-blue);
    --bs-btn-hover-bg: var(--wwbt-blue-600);
    --bs-btn-hover-border-color: var(--wwbt-blue-600);
    --bs-btn-active-bg: var(--wwbt-blue-700);
    --bs-btn-active-border-color: var(--wwbt-blue-700);
    --bs-btn-disabled-bg: var(--wwbt-grey);
    --bs-btn-disabled-border-color: var(--wwbt-grey);
    --bs-btn-focus-shadow-rgb: var(--wwbt-blue-rgb);
    box-shadow: 0 6px 16px rgba(var(--wwbt-blue-rgb), .25);
}
.btn-primary:hover { transform: translateY(-1px); }
.btn-outline-primary {
    --bs-btn-color: var(--wwbt-blue);
    --bs-btn-border-color: var(--wwbt-blue);
    --bs-btn-hover-bg: var(--wwbt-blue);
    --bs-btn-hover-border-color: var(--wwbt-blue);
    --bs-btn-active-bg: var(--wwbt-blue-700);
    --bs-btn-active-border-color: var(--wwbt-blue-700);
    --bs-btn-focus-shadow-rgb: var(--wwbt-blue-rgb);
}
.btn-outline-secondary {
    --bs-btn-color: var(--wwbt-grey);
    --bs-btn-border-color: #B8C2C6;
    --bs-btn-hover-bg: var(--wwbt-grey);
    --bs-btn-hover-border-color: var(--wwbt-grey);
    --bs-btn-disabled-color: var(--wwbt-grey);
    --bs-btn-disabled-border-color: #CBD4D8;
}
.btn-light {
    --bs-btn-bg: var(--wwbt-white);
    --bs-btn-color: var(--wwbt-blue-700);
    --bs-btn-hover-bg: var(--wwbt-blue-50);
    --bs-btn-hover-color: var(--wwbt-blue-700);
}

/* ---------- Forms ---------- */
.form-label { font-weight: 600; color: var(--wwbt-ink); margin-bottom: .35rem; }
.form-control,
.form-select {
    min-height: 48px;
    border-radius: var(--wwbt-radius-sm);
    border-color: #BFCDD2;
    font-size: 1rem;
}
.form-control:focus,
.form-select:focus {
    border-color: var(--wwbt-blue);
    box-shadow: 0 0 0 .25rem rgba(var(--wwbt-blue-rgb), .2);
}
.form-check-input { width: 1.35em; height: 1.35em; margin-top: .15em; border-color: #8FA5AC; }
.form-check-input:checked { background-color: var(--wwbt-blue); border-color: var(--wwbt-blue); }
.form-check-input:focus { box-shadow: 0 0 0 .25rem rgba(var(--wwbt-blue-rgb), .2); border-color: var(--wwbt-blue); }
.form-check-label { padding-left: .35rem; }
.required { color: #B42318; margin-left: 2px; }

/* ---------- Navbar ---------- */
.site-nav {
    box-shadow: 0 1px 0 rgba(255, 255, 255, .08), 0 6px 20px rgba(16, 42, 49, .15);
    padding-block: .4rem;
}
/* The frosted background sits on a pseudo-element: backdrop-filter on the nav itself would make it
   the containing block for the fixed offcanvas menu, which then widens the page on phones/tablets */
.site-nav::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(var(--wwbt-blue-rgb), .94);
    -webkit-backdrop-filter: saturate(140%) blur(10px);
    backdrop-filter: saturate(140%) blur(10px);
}
.site-nav .navbar-brand img { height: 52px; width: auto; display: block; }
.site-nav .navbar-toggler {
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 12px;
    padding: .5rem .65rem;
    min-width: 48px;
    min-height: 44px;
}
.site-nav .navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(255, 255, 255, .5); }
.site-nav .nav-link {
    color: rgba(255, 255, 255, .92);
    font-weight: 600;
    letter-spacing: .02em;
    padding: .6rem 1rem !important;
    border-radius: 999px;
    min-height: 44px;
    display: flex;
    align-items: center;
    transition: background-color .2s var(--wwbt-ease), color .2s var(--wwbt-ease);
}
.site-nav .nav-link:hover,
.site-nav .nav-link:focus-visible,
.site-nav .nav-link.show { color: #fff; background: rgba(255, 255, 255, .12); }
.site-nav .nav-link.active { color: #fff; background: rgba(255, 255, 255, .2); }
.site-nav .dropdown-menu {
    --bs-dropdown-link-active-bg: var(--wwbt-blue);
    border: 0;
    border-radius: var(--wwbt-radius);
    box-shadow: var(--wwbt-shadow);
    padding: .5rem;
}
.site-nav .dropdown-item { border-radius: 8px; padding: .6rem .9rem; font-weight: 500; }
.site-nav .dropdown-item:hover { background: var(--wwbt-blue-50); color: var(--wwbt-blue-700); }

/* The sticky nav (z-index 1020) is the stacking context for the menu, so lift it above the
   floating Book Now button while the menu is open */
.site-nav:has(.offcanvas.show, .offcanvas.showing) { z-index: 1045; }
.site-offcanvas { background: var(--wwbt-blue); color: #fff; max-width: 86vw; }
.site-offcanvas .offcanvas-header { border-bottom: 1px solid rgba(255, 255, 255, .15); }
.site-offcanvas .offcanvas-header img { height: 44px; width: auto; }
@media (max-width: 991.98px) {
    .site-offcanvas .nav-link { font-size: 1.1rem; border-radius: 12px; }
    .site-offcanvas .dropdown-menu { background: rgba(255, 255, 255, .08); box-shadow: none; }
    .site-offcanvas .dropdown-item { color: #fff; }
    .site-offcanvas .dropdown-item:hover { background: rgba(255, 255, 255, .15); color: #fff; }
    .site-offcanvas .dropdown-divider { border-color: rgba(255, 255, 255, .2); }
}
@media (min-width: 992px) {
    .site-offcanvas { background: transparent; }
    .site-offcanvas .navbar-nav { gap: .25rem; }
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    isolation: isolate;
    min-height: clamp(360px, 68vh, 680px);
    display: grid;
    place-items: center;
    overflow: hidden;
    background: var(--wwbt-blue-700);
    color: #fff;
}
.hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(16, 42, 49, .25) 0%, rgba(16, 42, 49, .15) 40%, rgba(27, 66, 77, .7) 100%),
        radial-gradient(ellipse at center, rgba(var(--wwbt-blue-rgb), .25), transparent 70%);
}
.hero__content {
    text-align: center;
    padding: 6rem 16px 4rem;
    max-width: 960px;
}
.hero__logo {
    width: clamp(170px, 26vw, 300px);
    height: auto;
    filter: drop-shadow(0 6px 24px rgba(0, 0, 0, .35));
}
.hero__title {
    color: #fff;
    margin: 1rem auto 0;
    /* Same lettering style as the logo's "WILD WEST BOAT TOURS" */
    font-family: "Stint Ultra Condensed", var(--wwbt-font);
    font-size: clamp(2rem, 1.4rem + 2.6vw, 3.6rem);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: .03em;
    line-height: 1.1;
    text-shadow: 0 2px 16px rgba(0, 0, 0, .45);
    max-width: 32ch;
    text-wrap: balance;
}

/* ---------- Sections & cards ---------- */
.section { padding-block: clamp(3rem, 2rem + 4vw, 6rem); }
.section-tight { padding-block: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section-alt { background: var(--wwbt-blue-25); }

.section-heading {
    position: relative;
    margin-bottom: 1.25rem;
    padding-bottom: .75rem;
}
.section-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 56px;
    height: 4px;
    border-radius: 4px;
    background: var(--wwbt-blue);
}
.text-center .section-heading::after,
.section-heading.text-center::after { left: 50%; transform: translateX(-50%); }

.lead-text { font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); color: #3B3F42; }

.card-soft {
    height: 100%;
    background: var(--wwbt-white);
    border: 1px solid var(--wwbt-border);
    border-radius: var(--wwbt-radius);
    box-shadow: var(--wwbt-shadow-sm);
    padding: clamp(1.25rem, 1rem + 1vw, 2rem);
    transition: box-shadow .25s var(--wwbt-ease), transform .25s var(--wwbt-ease);
}
.card-soft:hover { box-shadow: var(--wwbt-shadow); }
.card-soft > :last-child { margin-bottom: 0; }

/* Card whose heading link makes the whole card clickable */
.card-soft:has(.stretched-heading-link) { position: relative; }
.card-soft:has(.stretched-heading-link):hover { transform: translateY(-3px); border-color: rgba(var(--wwbt-blue-rgb), .4); }
.stretched-heading-link { color: inherit; text-decoration: none; }
.stretched-heading-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.stretched-heading-link:hover { color: var(--wwbt-blue); text-decoration: underline; }
.card-soft:has(.stretched-heading-link:focus-visible) { outline: 3px solid var(--wwbt-blue); outline-offset: 3px; }
.stretched-heading-link:focus-visible { outline: none; }

.card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: inline-grid;
    place-items: center;
    background: var(--wwbt-blue-50);
    color: var(--wwbt-blue);
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.bg-brand {
    background: linear-gradient(135deg, var(--wwbt-blue) 0%, var(--wwbt-blue-600) 100%);
    color: #fff;
}
.bg-brand h1, .bg-brand h2, .bg-brand h3, .bg-brand h4 { color: #fff; }
.bg-brand a { color: #fff; font-weight: 700; }

.media-rounded {
    width: 100%;
    height: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: var(--wwbt-radius-lg);
    box-shadow: var(--wwbt-shadow);
}

/* Bulleted highlights */
.tick-list { list-style: none; padding: 0; margin: 1rem 0 0; }
.tick-list li { position: relative; padding-left: 2rem; margin-bottom: .6rem; }
.tick-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .3em;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    background: var(--wwbt-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M4 8.5l2.5 2.5L12 5.5'/%3E%3C/svg%3E") center / 75% no-repeat;
}

/* Numbered checklists ("What do I need to know...", boat specs) */
.gradient-list {
    list-style: none;
    counter-reset: wwbt-item;
    padding: 0;
    margin: 1.25rem 0 0;
    display: grid;
    gap: .65rem;
}
.gradient-list li {
    counter-increment: wwbt-item;
    position: relative;
    max-width: none;
    background: var(--wwbt-white);
    border: 1px solid var(--wwbt-border);
    border-radius: var(--wwbt-radius-sm);
    padding: .8rem 1rem .8rem 3.4rem;
    box-shadow: var(--wwbt-shadow-sm);
}
.gradient-list li::before {
    content: counter(wwbt-item);
    position: absolute;
    left: .8rem;
    top: .7rem;
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--wwbt-blue-50);
    color: var(--wwbt-blue-700);
    font-weight: 700;
    font-size: .85rem;
}
.checklist-panel {
    background: var(--wwbt-blue-25);
    border: 1px solid var(--wwbt-border);
    border-radius: var(--wwbt-radius-lg);
    padding: clamp(1.25rem, 1rem + 1.5vw, 2.5rem);
}
.checklist-panel + .checklist-panel { margin-top: 1.5rem; }

/* Fleet cards */
.fleet-card h3 {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin-bottom: 0;
}
.fleet-card h3 :is(i, svg) { color: var(--wwbt-blue); }
.fleet-card .gradient-list li { box-shadow: none; background: var(--wwbt-blue-25); }

/* Quote (Angling) */
.blockquote {
    position: relative;
    margin: 0;
    padding: 2rem 1.5rem 2rem 4.5rem;
    background: var(--wwbt-blue-25);
    border-left: 6px solid var(--wwbt-blue);
    border-radius: var(--wwbt-radius);
}
.blockquote::before {
    content: "\201C";
    position: absolute;
    left: 1rem;
    top: -.25rem;
    font-size: 5.5rem;
    line-height: 1;
    font-family: Georgia, serif;
    color: var(--wwbt-blue);
    opacity: .5;
}
.blockquote p {
    font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.3rem);
    font-weight: 700;
    color: var(--wwbt-blue-700);
    margin: 0;
    line-height: 1.25;
}

/* Porthole photo (Angling) */
.porthole {
    width: min(320px, 80vw);
    aspect-ratio: 1;
    border-radius: 50%;
    border: 14px solid var(--wwbt-blue-100);
    outline: 4px solid var(--wwbt-blue);
    outline-offset: -2px;
    overflow: hidden;
    box-shadow: var(--wwbt-shadow);
    margin-inline: auto;
}
.porthole-img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Map */
.map-card {
    border-radius: var(--wwbt-radius-lg);
    overflow: hidden;
    box-shadow: var(--wwbt-shadow);
    border: 1px solid var(--wwbt-border);
    line-height: 0;
}
.map-card iframe { width: 100%; height: clamp(320px, 50vw, 460px); border: 0; }

/* ---------- Gallery / slideshow ---------- */
.slideshow-container {
    position: relative;
    border-radius: var(--wwbt-radius-lg);
    overflow: hidden;
    background: var(--wwbt-blue-900);
    box-shadow: var(--wwbt-shadow);
}
.slideshow-container .pageSlideshow { display: none; place-items: center; }
.slideshow-container .pageSlideshow img {
    width: 100%;
    height: clamp(260px, 52vw, 560px);
    object-fit: contain;
    display: block;
}
.slideshow-container .prevSlideshow,
.slideshow-container .nextSlideshow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .9);
    color: var(--wwbt-blue-700);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: var(--wwbt-shadow-sm);
    transition: background-color .2s var(--wwbt-ease), transform .2s var(--wwbt-ease);
}
.slideshow-container .prevSlideshow { left: 14px; }
.slideshow-container .nextSlideshow { right: 14px; }
.slideshow-container .prevSlideshow:hover,
.slideshow-container .nextSlideshow:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.slideshow-container :focus-visible { outline-color: #fff; }

.thumbnail-container {
    display: flex;
    gap: .6rem;
    overflow-x: auto;
    padding: .9rem .1rem .6rem;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: rgba(var(--wwbt-blue-rgb), .6) transparent;
}
.thumbnail-container .thumb {
    flex: 0 0 auto;
    padding: 0;
    border: 3px solid transparent;
    border-radius: 12px;
    overflow: hidden;
    background: none;
    cursor: pointer;
    scroll-snap-align: start;
    opacity: .7;
    transition: opacity .2s var(--wwbt-ease), border-color .2s var(--wwbt-ease);
}
.thumbnail-container .thumb:hover,
.thumbnail-container .thumb[aria-current="true"] { opacity: 1; border-color: var(--wwbt-blue); }
.thumbnail-container .thumb img { height: 76px; width: 110px; object-fit: cover; display: block; }

/* ---------- Booking area ---------- */
.booking-callout {
    height: 100%;
    border-radius: var(--wwbt-radius-lg);
    padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
    box-shadow: var(--wwbt-shadow);
}
.booking-callout h2 { margin-bottom: 1rem; }
.booking-callout p { margin: 0; font-size: 1.05rem; line-height: 1.8; }
.booking-callout .callout-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .15);
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

/* Calendar, event slots and "Full"/"Book" buttons */
.availabilityCalendar h2 {
    text-align: center;
    margin: 2rem 0 1rem;
    font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem);
}
.calendar-container {
    display: flex;
    align-items: center;
    gap: .5rem;
    background: var(--wwbt-white);
    border: 1px solid var(--wwbt-border);
    border-radius: var(--wwbt-radius-lg);
    padding: .75rem;
    box-shadow: var(--wwbt-shadow-sm);
}
.calendar-wrapper {
    flex: 1;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: rgba(var(--wwbt-blue-rgb), .5) transparent;
    padding: .35rem .15rem .6rem;
}
.calendar-scroll { display: flex; }
.horizontal-calendar {
    list-style: none;
    display: flex;
    gap: .5rem;
    margin: 0;
    padding: 0;
}
.horizontal-calendar li { max-width: none; }
.horizontal-calendar-empty-cell { display: none; }
.day-container {
    position: relative;
    flex: 0 0 auto;
    min-width: 92px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .15rem;
    padding: .7rem .5rem;
    border: 1px solid var(--wwbt-border);
    border-radius: var(--wwbt-radius);
    background: var(--wwbt-white);
    color: #6B7378;
    scroll-snap-align: start;
    transition: background-color .2s var(--wwbt-ease), border-color .2s var(--wwbt-ease), transform .2s var(--wwbt-ease), box-shadow .2s var(--wwbt-ease);
}
.day-header { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.day-number { font-size: 1.5rem; font-weight: 700; line-height: 1.1; }
.day-container.past-day { opacity: .45; background: #F5F6F7; }

/* Days that can be booked (they contain the availability link) */
.day-container:has(.availabilityCalendarEvent) {
    background: var(--wwbt-blue-50);
    border-color: rgba(var(--wwbt-blue-rgb), .35);
    color: var(--wwbt-blue-700);
    cursor: pointer;
}
.day-container:has(.availabilityCalendarEvent):hover {
    transform: translateY(-2px);
    box-shadow: var(--wwbt-shadow-sm);
    border-color: var(--wwbt-blue);
}
.availabilityCalendarEvent { display: flex; justify-content: center; margin-top: .25rem; }
.availabilityCalendarEvent br { display: none; }
.availabilityCalendarEvent a { color: var(--wwbt-blue); font-size: 1.15rem; line-height: 1; text-decoration: none; }
/* Stretch the link over the whole day so the full tile is clickable */
.availabilityCalendarEvent a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.availabilityCalendarEvent a:focus-visible { outline: none; }
.day-container:has(a:focus-visible) { outline: 3px solid var(--wwbt-blue); outline-offset: 2px; }

.day-container.selected-day {
    background: var(--wwbt-blue);
    border-color: var(--wwbt-blue);
    color: #fff;
    box-shadow: 0 8px 20px rgba(var(--wwbt-blue-rgb), .35);
}
.day-container.selected-day .availabilityCalendarEvent a,
.selected-day .far.fa-calendar-check { color: #fff; }

.scroll-button {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: var(--wwbt-blue);
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background-color .2s var(--wwbt-ease);
}
.scroll-button:hover { background: var(--wwbt-blue-600); }
/* Phones: narrower day tiles so more of the week fits between the arrows */
@media (max-width: 575.98px) {
    .calendar-container { padding: .5rem; gap: .35rem; }
    .horizontal-calendar { gap: .4rem; }
    .day-container { min-width: 64px; padding: .55rem .25rem; }
    .day-header { font-size: .62rem; letter-spacing: .03em; }
    .day-number { font-size: 1.25rem; }
    .scroll-button { width: 36px; height: 36px; font-size: 1.15rem; }
}

#eventDetails { margin-top: 1.5rem; }
.event-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr));
    gap: 1rem;
}
.event-block {
    background: var(--wwbt-white);
    border: 1px solid var(--wwbt-border);
    border-top: 4px solid var(--wwbt-blue);
    border-radius: var(--wwbt-radius);
    box-shadow: var(--wwbt-shadow-sm);
    padding: 1.25rem;
    transition: box-shadow .2s var(--wwbt-ease), transform .2s var(--wwbt-ease);
}
.event-block:hover { box-shadow: var(--wwbt-shadow); transform: translateY(-2px); }
.event-info { display: flex; flex-direction: column; gap: .45rem; height: 100%; }
.event-info > div { display: flex; justify-content: space-between; gap: 1rem; font-size: .95rem; }
.event-info > div:first-child { font-size: 1.15rem; color: var(--wwbt-blue-700); padding-bottom: .4rem; border-bottom: 1px solid var(--wwbt-border); margin-bottom: .2rem; }
.event-info > div strong { color: var(--wwbt-grey); font-weight: 600; }
.event-info > div:first-child strong { color: var(--wwbt-blue-700); font-weight: 700; }
.seats-badge {
    display: inline-block;
    min-width: 2rem;
    text-align: center;
    padding: .1rem .55rem;
    border-radius: 999px;
    background: #E3F4EA;
    color: #146C43;
    font-weight: 700;
}
.seats-badge.is-full { background: #F1F2F3; color: var(--wwbt-grey); }
.event-info .bookSlotButton { margin-top: auto; width: 100%; }
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem 1.25rem;
    border: 1px dashed #B8C8CE;
    border-radius: var(--wwbt-radius);
    background: var(--wwbt-blue-25);
    color: var(--wwbt-blue-700);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 auto;
    max-width: none;
}

/* ---------- Floating "Book Now" ---------- */
#bookButton {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1030;
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    min-height: 52px;
    padding: .8rem 1.5rem;
    border: 0;
    border-radius: 999px;
    background: var(--wwbt-blue);
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
    box-shadow: 0 10px 30px rgba(var(--wwbt-blue-rgb), .45);
    cursor: pointer;
    transition: background-color .2s var(--wwbt-ease), transform .2s var(--wwbt-ease);
}
#bookButton:hover { background: var(--wwbt-blue-600); transform: translateY(-2px); }
#bookButton:focus-visible { outline: 3px solid var(--wwbt-blue-700); outline-offset: 3px; }
#bookOptions {
    display: none;
    position: fixed;
    right: 20px;
    bottom: 86px;
    z-index: 1031;
    width: min(340px, calc(100vw - 32px));
    padding: 1.25rem;
    background: #fff;
    border-radius: var(--wwbt-radius-lg);
    box-shadow: var(--wwbt-shadow-lg);
    border: 1px solid var(--wwbt-border);
}
#bookOptions h2 { font-size: 1.1rem; margin-bottom: 1rem; }
#bookOptions .btn { width: 100%; margin-bottom: .6rem; }
#bookOptions p { margin: .75rem 0 0; text-align: center; font-weight: 600; color: var(--wwbt-ink); font-size: .95rem; }
#bookOptions p a { font-weight: 700; }
@media (max-width: 575.98px) {
    #bookButton { left: 16px; right: 16px; bottom: 16px; justify-content: center; }
    #bookOptions { left: 16px; right: 16px; width: auto; bottom: 80px; }
    .site-footer { padding-bottom: 6rem; }
}

/* ---------- Booking modal (opened by openModal() in main.js) ---------- */
.booking-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1055;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: rgba(16, 42, 49, .62);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    padding: clamp(0px, 4vh, 48px) 16px;
}
.booking-modal__dialog {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
    background: #fff;
    border-radius: var(--wwbt-radius-lg);
    box-shadow: var(--wwbt-shadow-lg);
    padding: clamp(1.25rem, 1rem + 2vw, 2.5rem);
    animation: wwbt-pop .25s var(--wwbt-ease);
}
.booking-modal__close {
    position: sticky;
    top: 0;
    float: right;
    z-index: 3;
    width: 44px;
    height: 44px;
    margin: -.5rem -.5rem 0 0;
    border: 0;
    border-radius: 50%;
    background: var(--wwbt-blue-50);
    color: var(--wwbt-blue-700);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}
.booking-modal__close:hover { background: var(--wwbt-blue-100); }
#modalContent:empty { display: none; }
body.wwbt-modal-open { overflow: hidden; }
@media (max-width: 575.98px) {
    .booking-modal { padding: 0; }
    .booking-modal__dialog { min-height: 100%; border-radius: 0; }
}
@keyframes wwbt-pop {
    from { opacity: 0; transform: translateY(12px) scale(.98); }
    to { opacity: 1; transform: none; }
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--wwbt-blue-700);
    color: rgba(255, 255, 255, .85);
    padding-top: clamp(3rem, 2rem + 3vw, 4.5rem);
    margin-top: clamp(3rem, 2rem + 4vw, 6rem);
}
.site-footer .footer-heading {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .5rem; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .social-links { display: flex; gap: .6rem; }
.site-footer .social-links a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 1.1rem;
    transition: background-color .2s var(--wwbt-ease), color .2s var(--wwbt-ease);
}
.site-footer .social-links a:hover { background: #fff; color: var(--wwbt-blue-700); text-decoration: none; }
.site-footer .footer-logo { width: clamp(140px, 18vw, 200px); height: auto; }
.site-footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
    margin-top: 2.5rem;
    padding-block: 1.25rem;
    font-size: .9rem;
    color: rgba(255, 255, 255, .7);
}
.site-footer .footer-bottom p { margin: 0; max-width: none; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}
