/*
Theme Name: Beach House Backpackers Theme
Theme URI: https://beachhousewilderness.co.za
Author: KM Digital Solutions
Author URI: https://km-digitalsolutions.com
Description: Custom WordPress theme for Beach House Wilderness Backpackers. Retro-surf aesthetic, mobile-first, SEO-optimized for Garden Route tourism. GSAP ScrollTrigger animations, LodgingBusiness + Restaurant schema.
Version: 1.3.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
License URI: https://km-digitalsolutions.com/license
Text Domain: beachhouse
*/

/* ============================================================
   CSS Custom Properties
   ============================================================ */
:root {
    /* Brand Palette */
    --ocean: #4C66B0;
    --ocean-light: #738EC8;
    --sky: #738EC8;
    --grey: #9EACAC;
    --pink: #E7A7CB;
    --green: #D3D73F;
    --sand: #D7C9AE;
    --navy: #1B2A4A;
    --white: #FEFEFE;

    /* Semantic */
    --primary: var(--ocean);
    --accent: var(--green);
    --bg: var(--white);
    --bg-sand: #F5F0EB;
    --bg-dark: var(--navy);
    --text: var(--navy);
    --text-light: var(--white);
    --text-muted: #5A6B7A;
    --border: #D4CCC3;

    /* Typography */
    --font-heading: 'Righteous', cursive;
    --font-body: 'DM Sans', sans-serif;

    /* Spacing */
    --section-pad: clamp(4rem, 8vw, 7rem);
    --container-max: 1200px;
    --container-wide: 1400px;

    /* Transitions */
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================================
   Reset & Base
   ============================================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;
    color: var(--text);
    background-color: var(--bg);
    overflow-x: hidden;
}

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
    color: var(--text);
}

h1 { font-size: clamp(2.25rem, 5.5vw, 4rem); letter-spacing: 0.01em; }
h2 { font-size: clamp(1.75rem, 4vw, 3rem); }
h3 { font-size: clamp(1.375rem, 2.5vw, 1.75rem); }
h4 { font-size: clamp(1.125rem, 2vw, 1.375rem); }

p {
    font-size: clamp(1rem, 1.1vw, 1.0625rem);
    color: var(--text-muted);
    max-width: 65ch;
}

a {
    color: var(--ocean);
    text-decoration: none;
    transition: color 0.3s var(--ease);
}

a:hover {
    color: var(--navy);
}

/* ============================================================
   Layout
   ============================================================ */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.container--wide {
    max-width: var(--container-wide);
}

section {
    padding: var(--section-pad) 0;
    position: relative;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 3rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    border: none;
    transition: all 0.4s var(--ease);
    text-decoration: none;
}

.btn--primary {
    background: var(--accent);
    color: var(--navy);
    box-shadow: 0 4px 20px rgba(211, 215, 63, 0.3);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(211, 215, 63, 0.45);
    color: var(--navy);
}

.btn--ocean {
    background: var(--ocean);
    color: var(--white);
}

.btn--ocean:hover {
    background: var(--navy);
    transform: translateY(-2px);
    color: var(--white);
}

.btn--outline {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--border);
}

.btn--outline:hover {
    border-color: var(--ocean);
    color: var(--ocean);
}

.btn--outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.3);
}

.btn--outline-light:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.1);
    color: var(--white);
}

/* ============================================================
   Cards
   ============================================================ */
.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.4s var(--ease);
}

.card:hover {
    box-shadow: 0 12px 40px rgba(27, 42, 74, 0.1);
    transform: translateY(-4px);
}

.card__image {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--bg-sand);
}

.card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease), opacity 0.4s ease;
}

/* Image load-in effect */
.bento-img img,
.card__image img,
.activity-hero-card__img img {
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.6s var(--ease);
}

.bento-img img.loaded,
.card__image img.loaded,
.activity-hero-card__img img.loaded {
    opacity: 1;
}

/* Fallback: ensure images show even if JS fails */
@media (scripting: none) {
    .bento-img img,
    .card__image img {
        opacity: 1;
    }
}

.card:hover .card__image img {
    transform: scale(1.05);
}

.accom-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #D7C9AE;
}

.accom-placeholder span {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #1B2A4A;
    opacity: 0.6;
    letter-spacing: 0.05em;
}

.card__body {
    padding: 1.5rem;
}

/* ============================================================
   Navigation
   ============================================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: all 0.4s var(--ease);
}

.site-header--scrolled {
    background: rgba(254, 254, 254, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.site-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.site-logo-img {
    height: 4.5rem;
    width: auto;
    max-width: 240px;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.site-logo-img:hover {
    opacity: 0.85;
}

img.custom-logo {
    height: 4.5rem;
    width: auto;
    max-width: 240px;
    object-fit: contain;
}

.custom-logo-link {
    display: flex;
    align-items: center;
}

.footer-brand img.custom-logo,
.footer-brand .site-logo-img {
    height: 3rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: color 0.3s var(--ease);
}

.site-header--scrolled .nav-menu a {
    color: var(--text-muted);
}

.nav-menu a:hover {
    color: var(--accent);
}

.site-header--scrolled .nav-menu a:hover {
    color: var(--ocean);
}

.nav-cta {
    padding: 0.625rem 1.5rem;
    background: var(--accent);
    border-radius: 3rem;
    color: var(--navy) !important;
    font-weight: 600;
}

/* Mobile Nav */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 1.5rem;
    height: 2px;
    background: var(--white);
    margin: 5px 0;
    transition: all 0.3s var(--ease);
}

.site-header--scrolled .nav-toggle span {
    background: var(--navy);
}

@media (max-width: 768px) {
    .nav-toggle { display: block; }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: 1.5rem;
        transition: right 0.4s var(--ease);
        border-left: 1px solid var(--border);
        z-index: 1001;
    }

    .nav-menu a { color: var(--text) !important; }
    .nav-menu.is-open { right: 0; }

    .nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(27, 42, 74, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
        z-index: 999;
    }

    .nav-overlay.is-open {
        opacity: 1;
        visibility: visible;
    }

    .site-logo-img {
        height: 3.5rem;
        max-width: 180px;
    }
}

/* ============================================================
   Hero Section
   ============================================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: var(--navy);
    color: var(--white);
}

.hero__bg-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.6;
}

.hero__bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(27,42,74,0.3) 0%, rgba(27,42,74,0.7) 100%);
}

.hero__wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 2;
}

.hero__content {
    position: relative;
    z-index: 3;
    max-width: 48rem;
    padding: 0 2rem;
}

.hero__eyebrow {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: rgba(211, 215, 63, 0.2);
    border: 1px solid rgba(211, 215, 63, 0.4);
    border-radius: 3rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero h1 {
    color: var(--white);
    margin-bottom: 1.25rem;
}

.hero__subtitle {
    font-size: clamp(1.0625rem, 1.3vw, 1.25rem);
    color: rgba(254,254,254,0.8);
    margin: 0 auto 2.5rem;
    max-width: 36rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

/* ============================================================
   Accommodation Section
   ============================================================ */
.accommodation {
    background: var(--bg-sand);
}

.section-header {
    text-align: center;
    max-width: 40rem;
    margin: 0 auto 3.5rem;
}

.section-header p {
    margin: 1rem auto 0;
}

.accommodation-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1200px) {
    .accommodation-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .accommodation-grid { grid-template-columns: 1fr; }
}

.accom-card__tier {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ocean);
    margin-bottom: 0.375rem;
}

.accom-card h3 {
    font-size: 1.375rem;
    margin-bottom: 0.5rem;
}

.accom-card__price {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--ocean);
    margin-bottom: 0.75rem;
}

.accom-card__price span {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-weight: 400;
}

.accom-card__features {
    list-style: none;
    margin: 0.75rem 0 1.25rem;
}

.accom-card__features li {
    font-size: 0.875rem;
    color: var(--text-muted);
    padding: 0.25rem 0;
    padding-left: 1.25rem;
    position: relative;
}

.accom-card__features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.625rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

/* ============================================================
   Gallery / Bento Grid Section
   ============================================================ */
.gallery {
    background: var(--bg);
}

.bento-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 1.25rem;
}

.bento-item {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    min-height: 16rem;
}

.bento-item--tall {
    grid-row: span 2;
}

.bento-item--wide {
    grid-column: span 2;
}

.bento-item--stat {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy);
    padding: 2rem;
}

.bento-img {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.bento-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
    /* Extra height for parallax travel room */
    min-height: 110%;
}

.bento-item:hover .bento-img img {
    transform: scale(1.04);
}

/* Floating badges */
.bento-badge {
    position: absolute;
    bottom: 1.25rem;
    left: 1.25rem;
    padding: 0.75rem 1.25rem;
    border-radius: 0.75rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.bento-badge--green {
    background: rgba(211, 215, 63, 0.9);
    color: var(--navy);
}

.bento-badge--ocean {
    background: rgba(76, 102, 176, 0.9);
    color: var(--white);
}

.bento-badge__number {
    font-family: var(--font-heading);
    font-size: 2rem;
    line-height: 1;
    display: block;
}

.bento-badge__label {
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.3;
    display: block;
}

/* Caption overlay */
.bento-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.25rem;
    background: linear-gradient(0deg, rgba(27,42,74,0.8) 0%, transparent 100%);
    color: var(--white);
    font-size: 0.875rem;
}

.bento-caption span {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.125rem;
    margin-bottom: 0.125rem;
}

/* Stat card inside bento */
.bento-stat {
    text-align: center;
    color: var(--white);
}

.bento-stat__number {
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 6vw, 5rem);
    line-height: 1;
    color: var(--accent);
}

.bento-stat__unit {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3vw, 2.5rem);
    color: var(--accent);
}

.bento-stat__label {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.9375rem;
    color: rgba(254,254,254,0.7);
}

/* Bento responsive */
@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-item--tall {
        grid-row: span 1;
    }

    .bento-item--wide {
        grid-column: span 1;
    }

    .bento-item {
        min-height: 14rem;
    }
}

/* ============================================================
   Bar & Kitchen Section (Dark)
   ============================================================ */
.bar-section {
    background: var(--navy);
    color: var(--white);
}

.bar-section h2 {
    color: var(--white);
}

.bar-section .section-header p {
    color: rgba(254,254,254,0.7);
}

.bar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .bar-grid { grid-template-columns: 1fr; }
}

.bar-card {
    background: rgba(254,254,254,0.05);
    border: 1px solid rgba(254,254,254,0.1);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s var(--ease);
}

.bar-card:hover {
    background: rgba(254,254,254,0.08);
    border-color: rgba(211, 215, 63, 0.3);
    transform: translateY(-4px);
}

.bar-card__icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.bar-card h3 {
    color: var(--white);
    margin-bottom: 0.75rem;
}

.bar-card p {
    color: rgba(254,254,254,0.6);
    font-size: 0.9375rem;
}

.bar-highlight {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    color: var(--accent);
    margin-top: 0.75rem;
}

/* ============================================================
   Activities Section
   ============================================================ */
.activities {
    background: var(--bg);
}

/* Hero photo cards - two side-by-side */
.activities-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .activities-hero-grid { grid-template-columns: 1fr; }
}

.activity-hero-card {
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
    min-height: 24rem;
    display: flex;
    align-items: flex-end;
}

.activity-hero-card__img {
    position: absolute;
    inset: 0;
}

.activity-hero-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.activity-hero-card:hover .activity-hero-card__img img {
    transform: scale(1.05);
}

.activity-hero-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(27,42,74,0) 30%, rgba(27,42,74,0.85) 100%);
}

.activity-hero-card__content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    color: var(--white);
}

.activity-hero-card__content h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.375rem, 2.5vw, 1.75rem);
    color: var(--white);
    margin-bottom: 0.5rem;
}

.activity-hero-card__content p {
    font-size: 0.9375rem;
    color: rgba(254,254,254,0.8);
    max-width: 28rem;
}

/* Compact activity list */
.activities-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

@media (max-width: 1024px) {
    .activities-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .activities-list { grid-template-columns: 1fr; }
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 1rem;
    transition: all 0.3s var(--ease);
}

.activity-item:hover {
    border-color: var(--ocean-light);
    box-shadow: 0 4px 16px rgba(27, 42, 74, 0.08);
    transform: translateY(-2px);
}

.activity-item__icon {
    font-size: 1.75rem;
    flex-shrink: 0;
}

.activity-item h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--navy);
    margin-bottom: 0.125rem;
}

.activity-item p {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.activity-item--link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.activity-item--link:hover h4 {
    color: var(--ocean);
}

.activity-item--link::after {
    content: '\2192';
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-left: auto;
    flex-shrink: 0;
    transition: transform 0.3s var(--ease), color 0.3s var(--ease);
}

.activity-item--link:hover::after {
    transform: translateX(4px);
    color: var(--ocean);
}

.activity-item__distance {
    display: none;
}

.activity-item:hover .activity-item__location {
    display: none;
}

.activity-item:hover .activity-item__distance {
    display: inline;
}

/* Legacy grid (kept for backward compat) */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1024px) {
    .activities-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .activities-grid { grid-template-columns: 1fr; }
}

.activity-card {
    text-align: center;
    padding: 2rem 1.5rem;
}

.activity-card__icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.activity-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* ============================================================
   Location / Map Section
   ============================================================ */
.location {
    background: var(--bg-sand);
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

@media (max-width: 768px) {
    .location-grid { grid-template-columns: 1fr; }
}

.location-map {
    border-radius: 1rem;
    overflow: hidden;
    aspect-ratio: 4/3;
    border: 1px solid var(--border);
}

.location-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.location-intro {
    margin: 1.25rem 0;
}

.location-list {
    list-style: none;
    margin: 1.5rem 0;
}

.location-list li {
    padding: 0.5rem 0;
    font-size: 0.9375rem;
    padding-left: 1.5rem;
    position: relative;
}

.location-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.875rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
}

/* ============================================================
   Reviews Section
   ============================================================ */
.reviews {
    background: var(--bg);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1024px) {
    .reviews-grid { grid-template-columns: 1fr; }
}

.review-card {
    padding: 2rem;
}

.review-card__stars {
    color: var(--accent);
    font-size: 1.125rem;
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
}

.review-card__quote {
    font-size: 1rem;
    font-style: italic;
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.review-card__author {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--navy);
}

.review-card__source {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* ============================================================
   CTA Section
   ============================================================ */
.cta-section {
    background: var(--ocean);
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
}

.cta-section p {
    color: rgba(254,254,254,0.8);
    margin: 1rem auto 2rem;
}

.cta-inner {
    max-width: 40rem;
    margin: 0 auto;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
    background: var(--navy);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand p {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: rgba(254,254,254,0.6);
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--accent);
    margin-bottom: 1.25rem;
}

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 0.75rem; }

.footer-col a {
    color: rgba(254,254,254,0.6);
    font-size: 0.9375rem;
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(254,254,254,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8125rem;
    color: rgba(254,254,254,0.4);
}

@media (max-width: 640px) {
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

/* ============================================================
   Blog
   ============================================================ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1024px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } }

.blog-card__category {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ocean);
    margin-bottom: 0.375rem;
}

.blog-card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.blog-card h3 a { color: var(--text); }
.blog-card h3 a:hover { color: var(--ocean); }
.blog-card__excerpt { font-size: 0.875rem; }

/* Single Post */
.single-post__header { max-width: 48rem; margin: 0 auto 3rem; text-align: center; padding-top: 8rem; }
.single-post__content { max-width: 48rem; margin: 0 auto; }
.single-post__content p { margin-bottom: 1.5rem; max-width: 100%; }
.single-post__content h2 { margin: 3rem 0 1rem; }
.single-post__content img { max-width: 100%; height: auto; border-radius: 0.75rem; margin: 2rem 0; }

/* ============================================================
   Page Header
   ============================================================ */
.page-header {
    padding: 10rem 0 4rem;
    text-align: center;
    background: var(--bg-sand);
}

.page-header p { margin: 1rem auto 0; }

/* ============================================================
   Landing Page
   ============================================================ */
.landing-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bg-sand);
    padding: 2rem;
}

.landing-hero__inner { max-width: 36rem; }

.landing-form input,
.landing-form textarea {
    width: 100%;
    padding: 0.875rem 1.25rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    margin-bottom: 0.75rem;
}

.landing-form input:focus,
.landing-form textarea:focus {
    outline: none;
    border-color: var(--ocean);
}

/* ============================================================
   404
   ============================================================ */
.error-404 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.error-404__code {
    font-family: var(--font-heading);
    font-size: clamp(6rem, 15vw, 12rem);
    color: var(--ocean-light);
    line-height: 1;
}

/* ============================================================
   Accessibility
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ============================================================
   Utilities
   ============================================================ */
.text-ocean { color: var(--ocean); }
.text-accent { color: var(--accent); }
.text-center { text-align: center; }
.bg-sand { background: var(--bg-sand); }
.bg-dark { background: var(--navy); color: var(--white); }

/* ============================================================
   Accommodation Card Links
   ============================================================ */
.accom-card--link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.accom-card--link:hover {
    color: inherit;
}

.accom-card--link .btn {
    pointer-events: none;
}

.accommodation-cta {
    text-align: center;
    margin-top: 2.5rem;
}

.btn--lg {
    padding: 1.125rem 2.5rem;
    font-size: 1.0625rem;
}

/* ============================================================
   Bar Cards with Photos
   ============================================================ */
.bar-card--has-img {
    padding: 0;
    overflow: hidden;
    text-align: left;
}

.bar-card__photo {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.bar-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.bar-card--has-img:hover .bar-card__photo img {
    transform: scale(1.05);
}

.bar-card__content {
    padding: 1.5rem;
}

.bar-card__content h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.bar-card__content p {
    color: rgba(254,254,254,0.6);
    font-size: 0.9375rem;
}

/* ============================================================
   Room Category Pages
   ============================================================ */
.room-hero {
    min-height: 50vh;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 0 0 3rem;
}

.room-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(27,42,74,0.2) 0%, rgba(27,42,74,0.85) 100%);
}

.room-hero__content {
    position: relative;
    z-index: 2;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 2.5rem);
    color: var(--white);
}

.room-hero__back {
    display: inline-block;
    color: var(--accent);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-decoration: none;
}

.room-hero__back:hover {
    color: var(--white);
}

.room-hero__content h1 {
    color: var(--white);
    margin-bottom: 0.75rem;
}

.room-hero__content p {
    color: rgba(254,254,254,0.8);
    max-width: 40rem;
}

/* Room List */
.room-list {
    padding: var(--section-pad) 0;
}

.room-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid var(--border);
}

.room-detail:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.room-detail--reverse {
    direction: rtl;
}

.room-detail--reverse > * {
    direction: ltr;
}

@media (max-width: 768px) {
    .room-detail,
    .room-detail--reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }
}

.room-detail__gallery {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: 1fr 1fr;
}

.room-detail__gallery--1 {
    grid-template-columns: 1fr;
}

.room-detail__gallery--3 {
    grid-template-columns: 1fr 1fr;
}

.room-detail__gallery--3 > :first-child {
    grid-column: span 2;
}

.room-detail__gallery--4,
.room-detail__gallery--5 {
    grid-template-columns: 1fr 1fr;
}

.room-detail__gallery--4 > :first-child,
.room-detail__gallery--5 > :first-child {
    grid-column: span 2;
}

.room-detail__img-wrap {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
}

.room-detail__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
}

.room-detail__placeholder-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.75rem 1rem;
    background: rgba(211, 215, 63, 0.9);
    color: var(--navy);
    font-size: 0.8125rem;
    font-weight: 600;
    text-align: center;
}

.room-detail__info h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 0.25rem;
}

.room-detail__label {
    display: block;
    font-size: 0.9rem;
    color: var(--ocean);
    font-weight: 500;
    margin-bottom: 0.75rem;
    letter-spacing: 0.02em;
}

.room-detail__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    margin-bottom: 1rem;
}

.room-detail__meta span {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.room-detail__price {
    margin-bottom: 0.5rem;
}

.room-detail__price-amount {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--ocean);
}

.room-detail__price-unit {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-left: 0.25rem;
}

.room-detail__price-tiers {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    padding: 0.5rem 0.75rem;
    background: var(--bg-sand);
    border-radius: 0.5rem;
    display: inline-block;
}

.room-detail__bathroom {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.room-detail__features {
    list-style: none;
    margin: 0 0 1.5rem;
}

.room-detail__features li {
    font-size: 0.9375rem;
    color: var(--text-muted);
    padding: 0.25rem 0;
    padding-left: 1.25rem;
    position: relative;
}

.room-detail__features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.625rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

/* NightsBridge Widget */
.nb-widget-section {
    background: var(--bg-sand);
    padding: var(--section-pad) 0;
}

.nb-widget-wrap {
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--white);
}

.nb-iframe {
    width: 100%;
    height: 600px;
    border: 0;
}

@media (max-width: 768px) {
    .nb-iframe {
        height: 500px;
    }
}

/* ============================================================
   Accommodation Carousel (replaces grid)
   ============================================================ */
.accom-carousel-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.accom-carousel {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex: 1;
}

.accom-carousel::-webkit-scrollbar {
    display: none;
}

.accom-carousel__track {
    display: flex;
    gap: 1.5rem;
}

.accom-slide {
    flex: 0 0 calc(50% - 0.75rem);
    scroll-snap-align: start;
    display: flex;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 1rem;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s var(--ease);
    min-height: 22rem;
}

.accom-slide:hover {
    box-shadow: 0 12px 40px rgba(27, 42, 74, 0.12);
    transform: translateY(-4px);
    color: inherit;
}

.accom-slide__image {
    flex: 0 0 45%;
    overflow: hidden;
    position: relative;
}

.accom-slide__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 60%;
    transition: transform 0.6s var(--ease), opacity 0.4s ease;
    opacity: 0;
}

.accom-slide__image img.loaded {
    opacity: 1;
}

@media (scripting: none) {
    .accom-slide__image img { opacity: 1; }
}

.accom-slide:hover .accom-slide__image img {
    transform: scale(1.05);
}

.accom-slide__body {
    flex: 1;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
}

.accom-slide__tier {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ocean);
    margin-bottom: 0.375rem;
}

.accom-slide h3 {
    font-size: 1.375rem;
    margin-bottom: 0.5rem;
}

.accom-slide__price {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--ocean);
    margin-bottom: 0.75rem;
}

.accom-slide__price span {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-weight: 400;
}

.accom-slide__features {
    list-style: none;
    margin: 0 0 1.25rem;
    flex: 1;
}

.accom-slide__features li {
    font-size: 0.8125rem;
    color: var(--text-muted);
    padding: 0.2rem 0;
    padding-left: 1.125rem;
    position: relative;
}

.accom-slide__features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
}

.accom-slide .btn {
    align-self: flex-start;
    pointer-events: none;
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
    margin-top: auto;
}

/* Carousel Arrows */
.accom-carousel__arrow {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: var(--white);
    color: var(--navy);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease);
    z-index: 2;
}

.accom-carousel__arrow:hover {
    border-color: var(--ocean);
    color: var(--ocean);
    box-shadow: 0 4px 16px rgba(76, 102, 176, 0.15);
}

/* Carousel Dots */
.accom-carousel__dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.accom-carousel__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s var(--ease);
}

.accom-carousel__dot.is-active {
    background: var(--ocean);
    border-color: var(--ocean);
    transform: scale(1.2);
}

.accom-carousel__dot:hover {
    border-color: var(--ocean);
}

/* Booking Policy */
.accom-booking-policy {
    margin-top: 2rem;
}

.accom-booking-policy__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 1rem 1.5rem;
    background: rgba(76, 102, 176, 0.08);
    border: 1px solid rgba(76, 102, 176, 0.15);
    border-radius: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.accom-booking-policy__inner strong {
    color: var(--navy);
}

.accom-booking-policy__divider {
    width: 1px;
    height: 1.5rem;
    background: var(--border);
}

/* Room subpage booking policy */
.room-booking-policy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 1rem 1.5rem;
    background: rgba(76, 102, 176, 0.08);
    border: 1px solid rgba(76, 102, 176, 0.15);
    border-radius: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.room-booking-policy strong {
    color: var(--navy);
}

.room-booking-policy__divider {
    width: 1px;
    height: 1.5rem;
    background: var(--border);
}

/* Carousel responsive */
@media (max-width: 1024px) {
    .accom-slide {
        flex: 0 0 calc(75% - 0.75rem);
    }
}

@media (max-width: 768px) {
    .accom-slide {
        flex: 0 0 90%;
        flex-direction: column;
        min-height: auto;
    }

    .accom-slide__image {
        flex: 0 0 auto;
        aspect-ratio: 16/10;
    }

    .accom-carousel__arrow {
        display: none;
    }

    .accom-carousel-wrap {
        gap: 0;
    }

    .accom-booking-policy__inner {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .accom-booking-policy__divider {
        width: 3rem;
        height: 1px;
    }

    .room-booking-policy {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .room-booking-policy__divider {
        width: 3rem;
        height: 1px;
    }
}

/* ============================================================
   Bar & Kitchen Split Panel
   ============================================================ */
.bk-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 1.25rem;
    overflow: hidden;
    border: 1px solid rgba(254, 254, 254, 0.1);
}

.bk-panel {
    position: relative;
    min-height: 24rem;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.bk-panel__image {
    position: absolute;
    inset: 0;
}

.bk-panel__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease), filter 0.5s var(--ease), opacity 0.4s ease;
    opacity: 0;
}

.bk-panel__image img.loaded {
    opacity: 1;
}

@media (scripting: none) {
    .bk-panel__image img { opacity: 1; }
}

.bk-panel__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(27,42,74,0.1) 0%, rgba(27,42,74,0.75) 100%);
    transition: opacity 0.5s var(--ease);
}

.bk-panel__content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    color: var(--white);
    transition: transform 0.4s var(--ease);
}

.bk-panel__content h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: var(--white);
    margin-bottom: 0.375rem;
}

.bk-panel__content p {
    color: rgba(254,254,254,0.8);
    font-size: 1rem;
}

.bk-panel__hint {
    display: inline-block;
    font-size: 0.8125rem;
    color: var(--accent);
    font-weight: 600;
    margin-top: 0.75rem;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.4s var(--ease);
}

/* Hover effects */
.bk-panel:hover .bk-panel__image img {
    transform: scale(1.05);
}

.bk-panel:hover .bk-panel__hint {
    opacity: 1;
    transform: translateY(0);
}

.bk-panel--active .bk-panel__image img {
    filter: brightness(1.1);
}

.bk-panel--faded .bk-panel__image img {
    filter: brightness(0.6);
    transform: scale(0.98);
}

.bk-panel--faded .bk-panel__overlay {
    opacity: 1.3;
}

/* Menu Dropdowns */
.bk-menu {
    overflow: hidden;
    height: 0;
    opacity: 0;
}

.bk-menu__inner {
    padding: 2.5rem 0;
}

.bk-menu__header {
    margin-bottom: 2rem;
}

.bk-menu__header h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.bk-menu__header p {
    color: var(--accent);
    font-size: 0.9375rem;
}

.bk-menu__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.bk-menu__category h4 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    color: var(--accent);
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(254,254,254,0.1);
}

.bk-menu__list {
    list-style: none;
}

.bk-menu__list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.5rem 0;
    font-size: 0.9375rem;
    color: rgba(254,254,254,0.7);
    border-bottom: 1px dotted rgba(254,254,254,0.1);
}

.bk-menu__list li:last-child {
    border-bottom: none;
}

.bk-menu__list li span:last-child {
    font-family: var(--font-heading);
    color: var(--white);
    font-size: 1rem;
    flex-shrink: 0;
    margin-left: 1rem;
}

.bk-menu__note {
    margin-top: 1.5rem;
    font-size: 0.8125rem;
    color: rgba(254,254,254,0.4);
    font-style: italic;
    text-align: center;
}

/* Live Music Callout */
.bk-callout {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding: 1rem 1.5rem;
    background: rgba(211, 215, 63, 0.1);
    border: 1px solid rgba(211, 215, 63, 0.25);
    border-radius: 0.75rem;
}

.bk-callout__icon {
    font-size: 1.75rem;
    flex-shrink: 0;
}

.bk-callout__text {
    font-size: 0.9375rem;
    color: rgba(254,254,254,0.8);
}

.bk-callout__text strong {
    color: var(--accent);
}

@media (max-width: 768px) {
    .bk-split {
        grid-template-columns: 1fr;
    }

    .bk-panel {
        min-height: 18rem;
    }

    .bk-menu__grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   Live Events Section
   ============================================================ */
.events-section {
    background: var(--navy);
    padding: 0;
}

.events-section .container {
    padding-top: 0;
    padding-bottom: 0;
}

.events-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0;
    cursor: pointer;
    border-top: 1px solid rgba(254,254,254,0.08);
    transition: all 0.3s var(--ease);
}

.events-trigger:hover {
    opacity: 0.85;
}

.events-trigger__left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.events-trigger__icon {
    font-size: 1.75rem;
    flex-shrink: 0;
}

.events-trigger h3 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    color: var(--white);
    margin-bottom: 0.125rem;
}

.events-trigger p {
    font-size: 0.8125rem;
    color: rgba(254,254,254,0.5);
    margin: 0;
}

.events-trigger__arrow {
    color: var(--accent);
    transition: transform 0.4s var(--ease);
    flex-shrink: 0;
}

.events-trigger.is-open .events-trigger__arrow {
    transform: rotate(180deg);
}

/* Events Dropdown */
.events-dropdown {
    overflow: hidden;
    height: 0;
    opacity: 0;
}

.events-dropdown__inner {
    padding: 0 0 2rem;
}

.events-group {
    margin-bottom: 2rem;
}

.events-group:last-child {
    margin-bottom: 0;
}

.events-group__label {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(254,254,254,0.08);
}

.events-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.event-card {
    display: flex;
    gap: 1.25rem;
    padding: 1.25rem;
    background: rgba(254,254,254,0.04);
    border: 1px solid rgba(254,254,254,0.08);
    border-radius: 0.75rem;
    transition: all 0.3s var(--ease);
}

.event-card:hover {
    background: rgba(254,254,254,0.07);
    border-color: rgba(211, 215, 63, 0.2);
}

.event-card--past {
    opacity: 0.6;
}

.event-card__date {
    flex-shrink: 0;
    width: 3.5rem;
    text-align: center;
    padding-top: 0.25rem;
}

.event-card__day {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--accent);
    line-height: 1;
}

.event-card__month {
    display: block;
    font-size: 0.8125rem;
    color: rgba(254,254,254,0.5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.event-card__info h5 {
    font-family: var(--font-heading);
    font-size: 1.0625rem;
    color: var(--white);
    margin-bottom: 0.375rem;
}

.event-card__info p {
    font-size: 0.875rem;
    color: rgba(254,254,254,0.6);
    margin-bottom: 0.5rem;
}

.event-card__meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8125rem;
}

.event-card__meta span {
    color: rgba(254,254,254,0.4);
}

.event-card__meta span:first-child {
    color: var(--accent);
    font-weight: 600;
}

@media (max-width: 768px) {
    .event-card {
        flex-direction: column;
        gap: 0.75rem;
    }

    .event-card__date {
        display: flex;
        gap: 0.5rem;
        align-items: baseline;
        width: auto;
        text-align: left;
    }
}

/* ============================================================
   NightsBridge Booking Widget
   ============================================================ */
.nb-booking {
    scroll-margin-top: 5rem;
}

.nb-booking__header {
    text-align: center;
    max-width: 40rem;
    margin: 0 auto 2.5rem;
}

.nb-booking__header h2 {
    margin-bottom: 0.75rem;
}

.nb-booking__header p {
    margin: 0 auto 1.25rem;
    color: var(--text-muted);
}

.nb-booking__policy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
    padding: 0.75rem 1.25rem;
    background: rgba(76, 102, 176, 0.06);
    border: 1px solid rgba(76, 102, 176, 0.12);
    border-radius: 0.5rem;
    display: inline-flex;
}

.nb-booking__policy strong {
    color: var(--navy);
}

.nb-booking__policy-sep {
    width: 1px;
    height: 1rem;
    background: var(--border);
}

.nb-booking__widget {
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--white);
    box-shadow: 0 8px 40px rgba(27, 42, 74, 0.08);
}

.nb-booking__iframe {
    width: 100%;
    height: 700px;
    border: 0;
    display: block;
}

.nb-booking__fallback {
    padding: 2rem;
    text-align: center;
    font-size: 0.9375rem;
    color: var(--text-muted);
}

.nb-booking__fallback a {
    color: var(--ocean);
    font-weight: 600;
}

@media (max-width: 768px) {
    .nb-booking__iframe {
        height: 550px;
    }

    .nb-booking__policy {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .nb-booking__policy-sep {
        width: 2rem;
        height: 1px;
    }
}

/* ============================================================
   Floating Book Now Button
   ============================================================ */
.floating-book-btn {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 900;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: var(--accent);
    color: var(--navy);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.9375rem;
    border-radius: 3rem;
    text-decoration: none;
    box-shadow: 0 6px 24px rgba(211, 215, 63, 0.4), 0 2px 8px rgba(0,0,0,0.15);
    transition: all 0.4s var(--ease);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.floating-book-btn.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.floating-book-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 36px rgba(211, 215, 63, 0.5), 0 4px 12px rgba(0,0,0,0.2);
    color: var(--navy);
}

.floating-book-btn svg {
    flex-shrink: 0;
}

@media (max-width: 480px) {
    .floating-book-btn {
        bottom: 1rem;
        right: 1rem;
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }
}

/* ============================================================
   Chatbot Widget
   ============================================================ */
.bh-chat-toggle {
    position: fixed;
    bottom: 5rem;
    right: 1.5rem;
    z-index: 1000;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--ocean);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(76, 102, 176, 0.4);
    transition: transform 0.3s ease, background 0.3s ease;
}
.bh-chat-toggle:hover {
    transform: scale(1.08);
    background: var(--navy);
}
.bh-chat-toggle--active {
    background: var(--navy);
}

.bh-chat-window {
    position: fixed;
    bottom: 8rem;
    right: 1.5rem;
    z-index: 999;
    width: 380px;
    height: 500px;
    background: var(--white);
    border-radius: 1rem;
    box-shadow: 0 8px 32px rgba(27, 42, 74, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}
.bh-chat-window--open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.bh-chat-header {
    background: var(--ocean);
    color: var(--white);
    padding: 0.875rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}
.bh-chat-header-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.bh-chat-header-title {
    font-family: 'Righteous', cursive;
    font-size: 1rem;
}
.bh-chat-header-status {
    font-size: 0.7rem;
    opacity: 0.8;
}
.bh-chat-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0 0.25rem;
    line-height: 1;
    opacity: 0.8;
    transition: opacity 0.2s;
}
.bh-chat-close:hover {
    opacity: 1;
}

.bh-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background: #f7f5f2;
}

.bh-chat-msg {
    display: flex;
}
.bh-chat-msg--user {
    justify-content: flex-end;
}
.bh-chat-msg--bot {
    justify-content: flex-start;
}

.bh-chat-bubble {
    max-width: 85%;
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    line-height: 1.5;
    word-wrap: break-word;
}
.bh-chat-bubble--user {
    background: var(--ocean);
    color: var(--white);
    border-bottom-right-radius: 4px;
}
.bh-chat-bubble--bot {
    background: var(--sand);
    color: var(--navy);
    border-bottom-left-radius: 4px;
}
.bh-chat-bubble--bot a {
    color: var(--ocean);
    text-decoration: underline;
    font-weight: 600;
}
.bh-chat-bubble--bot a:hover {
    color: var(--navy);
}

.bh-chat-quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.25rem 0;
}

.bh-chat-chip {
    background: var(--white);
    color: var(--ocean);
    border: 1.5px solid var(--ocean);
    border-radius: 2rem;
    padding: 0.375rem 0.875rem;
    font-size: 0.8rem;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.bh-chat-chip:hover {
    background: var(--ocean);
    color: var(--white);
}

.bh-chat-input-wrap {
    display: flex;
    border-top: 1px solid #e8e4df;
    flex-shrink: 0;
    background: var(--white);
}
.bh-chat-input {
    flex: 1;
    border: none;
    padding: 0.875rem 1rem;
    font-size: 0.875rem;
    font-family: 'DM Sans', sans-serif;
    outline: none;
    background: transparent;
}
.bh-chat-input::placeholder {
    color: var(--grey);
}
.bh-chat-send {
    background: none;
    border: none;
    padding: 0 1rem;
    cursor: pointer;
    color: var(--ocean);
    transition: color 0.2s;
    display: flex;
    align-items: center;
}
.bh-chat-send:hover {
    color: var(--navy);
}

/* Chatbot responsive */
@media (max-width: 480px) {
    .bh-chat-toggle {
        bottom: 4.5rem;
        right: 1rem;
        width: 48px;
        height: 48px;
    }
    .bh-chat-window {
        bottom: 0;
        right: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
}
