/* ============================================================
   VITALIS WHITE SANDS — MAIN CSS
   Version: 1.0.0
   ============================================================ */

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */

.vws-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.vws-container--wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.vws-container--narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.vws-section {
    padding: var(--spacing-xxl) 0;
    background-color: #ffffff;
}

.vws-section--sm {
    padding: var(--spacing-xl) 0;
}

.vws-section--lg {
    padding: 120px 0;
}

.vws-section--dark {
    background-color: var(--color-dark);
    color: #cccccc;
}

.vws-section--dark h1,
.vws-section--dark h2,
.vws-section--dark h3,
.vws-section--dark h4,
.vws-section--dark h5,
.vws-section--dark h6 {
    color: #ffffff;
}

.vws-section--light-gray {
    background-color: #f8f8f8;
}

.vws-section--teal {
    background-color: var(--color-accent);
    color: var(--color-dark);
}

.vws-section--teal h1,
.vws-section--teal h2,
.vws-section--teal h3 {
    color: var(--color-dark);
}

/* Flexbox utilities */
.vws-flex         { display: flex; }
.vws-flex-center  { display: flex; align-items: center; justify-content: center; }
.vws-flex-between { display: flex; align-items: center; justify-content: space-between; }
.vws-flex-wrap    { flex-wrap: wrap; }
.vws-gap-sm       { gap: var(--spacing-sm); }
.vws-gap-md       { gap: var(--spacing-md); }
.vws-gap-lg       { gap: var(--spacing-lg); }

/* Grid utilities */
.vws-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--spacing-lg); }
.vws-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--spacing-lg); }
.vws-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--spacing-md); }

/* Text utilities */
.text-center    { text-align: center; }
.text-left      { text-align: left; }
.text-right     { text-align: right; }
.text-accent    { color: var(--color-accent); }
.text-dark      { color: var(--color-dark); }
.text-white     { color: #ffffff; }
.text-muted     { color: var(--color-body-text); }
.text-uppercase { text-transform: uppercase; }
.text-nowrap    { white-space: nowrap; }

/* Spacing utilities */
.mt-0  { margin-top: 0; }
.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mb-0  { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }

/* Visibility */
.hidden         { display: none !important; }
.visible        { display: block; }
.sr-only        { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ============================================================
   WAVE BUTTON ANIMATION
   ============================================================ */

/* Exact wave keyframe from reference (qodef-wave) */
@keyframes vws-wave {
    0%   { margin-left: 0; }
    100% { margin-left: -1600px; }
}

.btn-book,
.btn-primary {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.btn-book__text,
.btn-primary__text {
    position: relative;
    z-index: 1;
}

/* ── WAVE HOLDER — exact reference dimensions ── */
.vws-wave-holder {
    position: absolute;
    left: 0;
    bottom: 0;
    display: block;
    width: 2200px;
    height: 126px;
    /* Default: teal wave (for solid/filled buttons) — exact reference SVG */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' x='0px' y='0px' width='172px' height='126px' viewBox='0 0 172 125.7' enable-background='0 0 172 125.7' xml:space='preserve'%3E%3Cpath fill='%230de3d9' d='M173,22.7c-33.9,0-44.7-14.1-88.4-14.1c-43.6,0-54.5,14.1-86,14.1V126l174.4-0.3C173,125.7,173,28.7,173,22.7z'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    transform: translateY(100%);
    pointer-events: none;
    z-index: 0;
    will-change: transform;
    backface-visibility: hidden;
    transition: transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation: vws-wave 7.5s cubic-bezier(0.36, 0.45, 0.63, 0.53) infinite;
}

/* All buttons use the same primary color wave — no variant overrides needed */

/* On hover: wave rises from bottom — translateY(35%) matches reference exactly */
.btn-book:hover .vws-wave-holder,
.btn-primary:hover .vws-wave-holder {
    transform: translateY(35%);
}

/* Text color — delay .2s so text turns white AFTER wave starts rising */
.btn-book__text,
.btn-primary__text {
    transition: color 0.2s ease-in-out 0.2s;
}

.btn-book:hover .btn-book__text,
.btn-primary:hover .btn-primary__text {
    color: #ffffff;
}

/* Fallback: btn-primary without explicit wave holder — uses ::after with teal wave */
.btn-primary:not(:has(.vws-wave-holder)) {
    transition: color 0.2s ease-in-out 0.2s, background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

.btn-primary:not(:has(.vws-wave-holder))::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 2200px;
    height: 126px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' x='0px' y='0px' width='172px' height='126px' viewBox='0 0 172 125.7' enable-background='0 0 172 125.7' xml:space='preserve'%3E%3Cpath fill='%230de3d9' d='M173,22.7c-33.9,0-44.7-14.1-88.4-14.1c-43.6,0-54.5,14.1-86,14.1V126l174.4-0.3C173,125.7,173,28.7,173,22.7z'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    transform: translateY(100%);
    pointer-events: none;
    z-index: 0;
    will-change: transform;
    backface-visibility: hidden;
    transition: transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation: vws-wave 7.5s cubic-bezier(0.36, 0.45, 0.63, 0.53) infinite;
}

.btn-primary:not(:has(.vws-wave-holder)):hover::after {
    transform: translateY(35%);
}

.btn-primary:not(:has(.vws-wave-holder)):hover {
    color: #ffffff;
}

/* ============================================================
   TOP BAR
   ============================================================ */

.vws-topbar {
    background-color: var(--color-topbar-bg);
    color: var(--color-topbar-text);
    height: var(--topbar-height);
    z-index: 120;
    position: relative;
    border-bottom: 1px solid var(--color-border);
}

.vws-topbar__inner {
    max-width: 100%;
    margin: 0;
    padding: 0 10%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.vws-topbar__left {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.vws-topbar__right {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.vws-topbar__contact-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--fs-xs);
    color: var(--color-body-text);
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: color var(--transition-fast);
    white-space: nowrap;
}

.vws-topbar__contact-item:hover {
    color: var(--color-accent);
}

.vws-topbar__address {
    cursor: default;
}

.vws-topbar__social {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: 6px;
    padding-right: 14px;
    border-right: 1px solid var(--color-border);
}

.vws-topbar__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: var(--color-body-text);
    border-radius: 50%;
    transition: color var(--transition-fast), background-color var(--transition-fast);
}

.vws-topbar__social-link:hover {
    color: var(--color-accent);
    background-color: rgba(0,0,0,0.04);
}

/* ============================================================
   HEADER – MAIN
   ============================================================ */

.vws-header {
    position: fixed;
    top: var(--topbar-height);
    left: 0;
    right: 0;
    width: 100%;
    height: var(--header-height);
    background-color: #ffffff;
    box-shadow: var(--shadow-sm);
    z-index: 110;
    transition: background-color var(--transition-base),
                box-shadow var(--transition-base),
                height var(--transition-base),
                top var(--transition-base);
}

.vws-header--scrolled {
    background-color: #ffffff;
    box-shadow: var(--shadow-md);
    top: 0;
    height: 70px;
}

.vws-header--topbar-hidden {
    top: 0;
}

/* Keep white header on hero pages (override legacy transparent state) */
body.has-hero .vws-header:not(.vws-header--scrolled) {
    background-color: #ffffff;
}

body.has-hero .vws-header:not(.vws-header--scrolled) .vws-nav .vws-menu > li > a {
    color: var(--color-accent);
}

/* Book Now nav button is always consistent — no override for hero top state */

/* Offset for body so content isn't hidden under fixed header */
.vws-main {
    padding-top: 0;
}

/* Non-hero pages push content down */
body:not(.has-hero) .vws-main {
    padding-top: calc( var(--topbar-height) + var(--header-height) );
}

/* Inner pages with a page-banner: banner fills from top, no white gap */
body.has-page-banner .vws-main {
    padding-top: 0;
}

.vws-header__inner {
    max-width: 100%;
    margin: 0;
    padding: 0 10%;
    height: 100%;
    display: grid;
    /*
     * Keep the logo on the true horizontal center of the header. The outer
     * controls have very different widths, so content-sized outer columns
     * would otherwise pull the center column toward the Book Now button.
     */
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
    gap: 0;
}

/* ============================================================
   NAVIGATION – SPLIT STYLE
   ============================================================ */

.vws-nav {
    flex: 1;
    display: flex;
    align-items: center;
}

.vws-nav--left {
    justify-content: flex-end;
    padding-right: var(--spacing-sm);
    gap: 0;
}

.vws-nav--right {
    justify-content: flex-start;
    padding-left: var(--spacing-sm);
    gap: 0;
}

/* Menu lists */
.vws-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.vws-menu > li {
    position: relative;
}

.vws-menu > li > a {
    display: block;
    padding: 8px 12px;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition-fast);
    white-space: nowrap;
    position: relative;
}

.vws-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 12px;
    right: 12px;
    height: 2px;
    background-color: var(--color-accent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--transition-fast);
}

.vws-menu > li > a:hover,
.vws-menu > li.current-menu-item > a,
.vws-menu > li.current-menu-ancestor > a {
    color: var(--color-accent);
}

.vws-menu > li > a:hover::after,
.vws-menu > li.current-menu-item > a::after,
.vws-menu > li.current-menu-ancestor > a::after {
    transform: scaleX(1);
}

/* Dropdown arrow */
.dropdown-arrow {
    font-size: 8px;
    margin-left: 4px;
    display: inline-block;
    transition: transform var(--transition-fast);
    vertical-align: middle;
}

.vws-menu > li:hover .dropdown-arrow,
.vws-menu > li.has-dropdown:focus-within .dropdown-arrow {
    transform: rotate(180deg);
}

/* ============================================================
   DROPDOWN SUBMENUS
   ============================================================ */

.vws-menu .sub-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 200px;
    background-color: #ffffff;
    border-top: 3px solid var(--color-accent);
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
    list-style: none;
    margin: 0;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--transition-fast), visibility var(--transition-fast), transform var(--transition-fast);
    transform: translateX(-50%) translateY(-8px);
    z-index: 200;
}

.vws-menu > li:hover > .sub-menu,
.vws-menu > li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.vws-menu .sub-menu li {
    border-bottom: 1px solid #f0f0f0;
}

.vws-menu .sub-menu li:last-child {
    border-bottom: none;
}

.vws-menu .sub-menu a {
    display: block;
    padding: 10px 20px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: var(--fw-regular);
    color: var(--color-dark);
    text-decoration: none;
    white-space: nowrap;
    transition: color var(--transition-fast), background-color var(--transition-fast), padding-left var(--transition-fast);
}

.vws-menu .sub-menu a:hover {
    color: var(--color-accent);
    background-color: #f9f9f9;
    padding-left: 26px;
}

/* ============================================================
   HEADER SIDE ICON + BOOK BTN IN HEADER
   ============================================================ */

.vws-header__side-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: transparent;
    border-radius: 50%;
    border: 2px solid var(--color-accent);
    cursor: pointer;
    flex-shrink: 0;
    margin-left: 12px;
    color: var(--color-heading);
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: color 0.2s ease-in-out 0.2s;
}

.vws-header__side-btn svg {
    position: relative;
    z-index: 1;
    transition: color 0.2s ease-in-out 0.2s;
}

.vws-header__side-btn:hover {
    color: #ffffff;
    border-color: var(--color-accent);
}

.vws-header__side-btn .vws-wave-holder {
    left: -100%;
    width: 300%;
}

.vws-header__book-btn {
    margin-right: 8px;
    flex-shrink: 0;
    align-self: center;
    justify-self: start;
}

.vws-header__side-btn {
    align-self: center;
    justify-self: end;
}

/* ============================================================
   OFFCANVAS SIDE PANEL
   ============================================================ */

.vws-offcanvas {
    position: fixed;
    top: 0;
    right: 0;
    width: 380px;
    max-width: 92vw;
    height: 100%;
    background-color: #ffffff;
    z-index: 9999;
    padding: 50px 40px;
    overflow-y: auto;
    box-shadow: -4px 0 40px rgba(0,0,0,0.15);
    /* Use transform — GPU-accelerated, no layout shift */
    transform: translateX(100%);
    transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    will-change: transform;
}

.vws-offcanvas.is-open {
    transform: translateX(0);
}

/* Compensate scrollbar width when body is locked to prevent layout shift */
body.vws-body-locked {
    overflow: hidden;
    padding-right: var(--vws-scrollbar-w, 0px);
}

body.vws-body-locked .vws-header__inner {
    padding-right: calc(10% + var(--vws-scrollbar-w, 0px));
}
body.vws-body-locked .vws-topbar__inner {
    padding-right: calc(10% + var(--vws-scrollbar-w, 0px));
}

.vws-offcanvas__close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    color: var(--color-heading);
    font-size: 22px;
    line-height: 1;
    transition: color var(--transition-fast);
}

.vws-offcanvas__close:hover {
    color: var(--color-accent);
}

.vws-offcanvas__logo {
    display: block;
    max-width: 120px;
    height: auto;
    margin-bottom: 10px;
}

.vws-offcanvas__heading {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-heading);
    margin-bottom: 8px;
}

.vws-offcanvas__tagline {
    font-size: 15px;
    color: var(--color-body-text);
    line-height: 1.6;
    margin-bottom: 20px;
}

.vws-offcanvas__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--color-body-text);
    font-size: 15px;
    line-height: 1.5;
    text-decoration: none;
    transition: color var(--transition-fast);
    margin-bottom: 12px;
}

.vws-offcanvas__contact-item svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--color-accent);
}

.vws-offcanvas__contact-item:hover {
    color: var(--color-accent);
}

.vws-offcanvas__divider {
    border: none;
    border-top: 1px solid var(--color-border);
    margin: 4px 0;
}

.vws-offcanvas__social {
    display: flex;
    gap: 12px;
    margin-top: 4px;
}

.vws-offcanvas__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    color: var(--color-heading);
    transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.vws-offcanvas__social a:hover {
    background-color: var(--color-accent);
    color: var(--color-dark);
    border-color: var(--color-accent);
}

.vws-offcanvas-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.vws-offcanvas-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

/* Topbar FOLLOW US label */
.vws-topbar__follow-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-body-text);
    margin-right: 4px;
    white-space: nowrap;
}

/* ============================================================
   LOGO
   ============================================================ */

.vws-header__logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vws-header__logo-link {
    display: block;
    line-height: 1;
    transition: opacity var(--transition-fast);
}

.vws-header__logo-link:hover {
    opacity: 0.85;
}

.vws-logo-img {
    height: 100px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    transition: height var(--transition-base);
}

.vws-header--scrolled .vws-logo-img {
    height: 58px;
}

/* ============================================================
   BOOK NOW BUTTON VARIANTS
   ============================================================ */

.btn-book {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: var(--fw-bold);
    letter-spacing: 1.8px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    transition: all var(--transition-fast);
    white-space: nowrap;
    line-height: 1;
}

/* Topbar variant — small, stays accent-filled */
.btn-book--topbar {
    padding: 6px 14px;
    background-color: var(--color-accent);
    color: var(--color-dark);
    border-color: var(--color-accent);
}

.btn-book--topbar:hover {
    background-color: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
    color: var(--color-dark);
}

/* Nav BOOK NOW — matches unified primary style */
.btn-book--nav {
    padding: 13px 28px 9px 30px;
    background-color: transparent;
    color: var(--color-accent);
    border-color: var(--color-accent);
    font-size: 12px;
    letter-spacing: 0.2em;
    line-height: 2em;
    transition: color 0.2s ease-in-out 0.2s;
}

.btn-book--nav:hover {
    color: #ffffff;
    background-color: transparent;
    border-color: var(--color-accent);
}

/* Mobile controls variant */
.btn-book--mobile {
    display: none;
    padding: 7px 12px;
    font-size: 10px;
    background-color: var(--color-accent);
    color: var(--color-dark);
    border-color: var(--color-accent);
    border-radius: var(--border-radius);
}

.btn-book--mobile:hover {
    background-color: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
    color: var(--color-dark);
}

/* Full-width mobile menu variant */
.btn-book--mobile-full {
    display: block;
    width: 100%;
    padding: 14px 20px;
    text-align: center;
    background-color: transparent;
    color: var(--color-accent);
    border-color: var(--color-accent);
    margin-top: var(--spacing-md);
    border-radius: var(--border-radius);
    font-size: 12px;
    letter-spacing: 0.2em;
    transition: color 0.2s ease-in-out 0.2s;
}

.btn-book--mobile-full:hover {
    color: #ffffff;
    background-color: transparent;
    border-color: var(--color-accent);
}

/* ============================================================
   PRIMARY BUTTON STYLES
   ============================================================ */

/* ── UNIFIED PRIMARY BUTTON — matches About Us "DISCOVER MORE" style ── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 13px 32px 9px 35px;
    background-color: transparent;
    color: var(--color-accent);
    border: 2px solid var(--color-accent);
    border-radius: var(--border-radius);
    cursor: pointer;
    line-height: 2em;
    white-space: nowrap;
    transition: color 0.2s ease-in-out 0.2s;
}

.btn-primary:hover,
.btn-primary:focus {
    color: #ffffff;
    background-color: transparent;
    border-color: var(--color-accent);
}

/* Dark-background variant — starts white, stays white on hover */
.btn-primary--on-dark {
    color: #ffffff;
    border-color: var(--color-accent);
}

.btn-primary--on-dark:hover {
    color: #ffffff;
}

/* Size variants */
.btn-primary--sm {
    padding: 9px 24px 7px 26px;
    font-size: 11px;
}

.btn-primary--lg {
    padding: 16px 44px 12px 48px;
    font-size: 14px;
    letter-spacing: 0.2em;
}

/* ============================================================
   HAMBURGER BUTTON
   ============================================================ */

.vws-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: 2px solid var(--color-heading);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: border-color var(--transition-fast), background-color var(--transition-fast);
    padding: 6px;
}

.vws-hamburger:hover {
    border-color: var(--color-accent);
    background-color: rgba(13, 233, 223, 0.06);
}

.vws-hamburger[aria-expanded="true"] {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
}

.vws-hamburger[aria-expanded="true"] .vws-hamburger__bar {
    background-color: var(--color-dark);
}

.vws-hamburger[aria-expanded="true"] .vws-hamburger__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.vws-hamburger[aria-expanded="true"] .vws-hamburger__bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.vws-hamburger[aria-expanded="true"] .vws-hamburger__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.vws-hamburger__bar {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--color-heading);
    border-radius: 2px;
    transition: transform var(--transition-base), opacity var(--transition-fast), background-color var(--transition-fast);
    transform-origin: center;
}

/* Hero hamburger stays dark (header always white) */
body.has-hero .vws-header:not(.vws-header--scrolled) .vws-hamburger {
    border-color: var(--color-heading);
}

body.has-hero .vws-header:not(.vws-header--scrolled) .vws-hamburger__bar {
    background-color: var(--color-heading);
}

/* ============================================================
   MOBILE MENU DRAWER
   ============================================================ */

.vws-header__mobile-controls {
    display: none;
    align-items: center;
    gap: 8px;
}

.vws-mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 90vw;
    height: 100dvh;
    background-color: #ffffff;
    z-index: 10000;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform var(--transition-base);
    box-shadow: -4px 0 30px rgba(0,0,0,0.15);
}

.vws-mobile-menu.is-open {
    transform: translateX(0);
}

.vws-mobile-menu__inner {
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.vws-mobile-menu__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: 2px solid var(--color-border);
    border-radius: 50%;
    cursor: pointer;
    color: var(--color-heading);
    align-self: flex-end;
    margin-bottom: var(--spacing-md);
    transition: border-color var(--transition-fast), color var(--transition-fast);
}

.vws-mobile-menu__close:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.vws-mobile-menu__logo {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--color-border);
}

.vws-logo-img--mobile {
    height: 50px;
    margin: 0 auto;
}

.vws-mobile-menu__nav {
    flex: 1;
}

/* Mobile menu lists */
.vws-mobile-menu__list {
    list-style: none;
    margin: 0 0 var(--spacing-sm) 0;
    padding: 0;
}

.vws-mobile-menu__list li {
    border-bottom: 1px solid #f0f0f0;
}

.vws-mobile-menu__list > li > a {
    display: block;
    padding: 14px 4px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: var(--fw-semibold);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-heading);
    text-decoration: none;
    transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.vws-mobile-menu__list > li > a:hover,
.vws-mobile-menu__list > li.current-menu-item > a {
    color: var(--color-accent);
    padding-left: 8px;
}

/* Mobile sub-menu */
.vws-mobile-menu__list .sub-menu {
    list-style: none;
    margin: 0;
    padding: 0 0 0 16px;
    background: #f9f9f9;
    display: none;
}

.vws-mobile-menu__list .sub-menu.is-open {
    display: block;
}

.vws-mobile-menu__list .sub-menu a {
    display: block;
    padding: 10px 8px;
    font-size: 13px;
    color: var(--color-body-text);
    text-decoration: none;
    border-bottom: 1px solid #ebebeb;
    transition: color var(--transition-fast);
}

.vws-mobile-menu__list .sub-menu a:hover {
    color: var(--color-accent);
}

.vws-mobile-menu__contact {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: var(--spacing-md) 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    margin-top: var(--spacing-sm);
}

.vws-mobile-menu__contact a {
    font-size: var(--fs-small);
    color: var(--color-body-text);
    text-decoration: none;
}

.vws-mobile-menu__contact a:hover {
    color: var(--color-accent);
}

/* Overlay */
.vws-mobile-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-base), visibility var(--transition-base);
}

.vws-mobile-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

/* ============================================================
   PAGE BANNER (INNER PAGE HEADER)
   ============================================================ */

.vws-page-banner {
    position: relative;
    height: 500px;
    background-color: var(--color-dark);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 0;
    /* The desktop header overlays the banner. Reserve that space only at
       the top so the heading is centered in the visible banner area. */
    padding-top: calc( var(--topbar-height) + var(--header-height) );
    padding-bottom: 0;
    box-sizing: border-box;
}

.vws-page-banner__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.3) 0%,
        rgba(0,0,0,0.55) 100%
    );
}

.vws-page-banner__content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    padding: 0 var(--spacing-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.vws-page-banner__subtitle {
    font-family: var(--font-accent);
    font-size: 28px;
    color: var(--color-accent);
    margin-bottom: 8px;
    display: block;
}

.vws-page-banner__title {
    font-family: var(--font-heading);
    font-size: var(--fs-h1);
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.vws-page-banner__breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: var(--fs-small);
    color: rgba(255,255,255,0.8);
}

.vws-page-banner__breadcrumb a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.vws-page-banner__breadcrumb a:hover {
    color: var(--color-accent);
}

.vws-page-banner__breadcrumb span.sep {
    color: rgba(255,255,255,0.5);
}

/* Hide subtitle and breadcrumbs — title only */
.vws-page-banner__subtitle,
.vws-page-banner__breadcrumb { display: none; }

/* Title centered solo */
.vws-page-banner__content { text-align: center; }

/* Inner-page content boundaries: 100px after the hero and before the
   footer. The homepage uses a different hero and is intentionally excluded. */
.vws-main > .vws-page-banner + * {
    padding-top: 100px;
}

.vws-main:has(> .vws-page-banner) > .vws-content-area,
.vws-main:has(> .vws-page-banner) > .vws-contact-section,
.vws-main:has(> .vws-page-banner) > .vws-about-values,
.vws-main:has(> .vws-page-banner) > .vws-promo-cta,
.vws-main:has(> .vws-page-banner) > .vws-acc-cta-strip,
.vws-main:has(> .vws-page-banner) > .vws-dining-section:last-of-type,
.vws-main:has(> .vws-page-banner) > .vws-ev-venue-section:last-of-type,
.vws-main:has(> .vws-page-banner) > .vws-fac-section:last-of-type {
    padding-bottom: 100px;
}

body.has-page-banner .vws-sr-detail {
    padding-top: 100px;
    padding-bottom: 100px;
}

/* Preserve the semantic formatting selected in ACF WYSIWYG editors while
   allowing rich text to inherit the surrounding panel/card typography. */
.vws-rich-text > :first-child { margin-top: 0; }
.vws-rich-text > :last-child { margin-bottom: 0; }

.vws-rich-text p,
.vws-rich-text ul,
.vws-rich-text ol,
.vws-rich-text blockquote {
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    letter-spacing: inherit;
}

.vws-rich-text h1,
.vws-rich-text h2,
.vws-rich-text h3,
.vws-rich-text h4,
.vws-rich-text h5,
.vws-rich-text h6 {
    color: inherit;
    line-height: 1.3;
}

.vws-rich-text h1 { font-size: 2em; }
.vws-rich-text h2 { font-size: 1.75em; }
.vws-rich-text h3 { font-size: 1.5em; }
.vws-rich-text h4 { font-size: 1.3em; }
.vws-rich-text h5 { font-size: 1.15em; }
.vws-rich-text h6 { font-size: 1em; }
.vws-rich-text strong,
.vws-rich-text b { color: inherit; }
.vws-rich-text a { text-decoration: underline; }

/* Remove shadows from all inner-page split panels */
.vws-acc-room,
.vws-ev-venue,
.vws-dining-panel,
.vws-fac-panel,
.vws-promo-row { box-shadow: none !important; }

/* ============================================================
   SECTION TITLES
   ============================================================ */

.vws-section-title {
    text-align: center;
}

.vws-section-title__accent {
    display: block;
    font-family: var(--font-accent);
    font-size: 32px;
    color: var(--color-accent);
    margin-bottom: 30px;
    line-height: 1.2;
}

.vws-section-title__heading {
    font-family: var(--font-heading);
    font-size: 50px;
    font-weight: var(--fw-bold);
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-heading);
    margin-bottom: var(--spacing-sm);
}

.vws-section-title__desc {
    max-width: 600px;
    margin: 0 auto;
    font-size: var(--fs-body);
    color: var(--color-body-text);
    line-height: 1.8;
}

.vws-section-title__divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    margin: var(--spacing-sm) 0;
}

.vws-section-title__divider::before,
.vws-section-title__divider::after {
    content: '';
    display: block;
    width: 50px;
    height: 1px;
    background-color: var(--color-border);
}

.vws-section-title__divider-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-accent);
    border-radius: 50%;
    display: block;
}

/* ============================================================
   FOOTER
   ============================================================ */

.vws-footer {
    background-color: var(--color-footer-bg);
    color: var(--color-footer-text);
}

.vws-footer__container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.vws-footer__main {
    padding: var(--spacing-xxl) 0 var(--spacing-xl);
}

.vws-footer__grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1.1fr;
    gap: var(--spacing-xl);
    align-items: start;
}

/* All three footer columns are center-aligned */
.vws-footer__col--about,
.vws-footer__col--map {
    text-align: center;
}

/* Footer logo */
.vws-footer__logo {
    display: flex;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.vws-footer__logo a {
    display: inline-block;
    transition: opacity var(--transition-fast);
}

.vws-footer__logo a:hover {
    opacity: 0.85;
}

.vws-logo-img--footer {
    height: 100px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    /* Invert if logo is dark (for dark footer) — adjust as needed */
}

.vws-footer__accent-text {
    font-family: var(--font-accent);
    font-size: 22px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 12px;
    display: block;
}

.vws-footer__desc {
    font-size: var(--fs-small);
    color: rgba(255,255,255,0.6);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

/* Footer social */
.vws-footer__social {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.vws-footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background-color: rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.65);
    border-radius: 50%;
    text-decoration: none;
    transition: background-color var(--transition-fast), color var(--transition-fast);
    border: 1px solid rgba(255,255,255,0.1);
}

.vws-footer__social-link:hover {
    background-color: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.9);
    border-color: rgba(255,255,255,0.25);
}

/* Footer column titles */
.vws-footer__col-title {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: var(--fw-bold);
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: var(--spacing-md);
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(255,255,255,0.25);
    display: inline-block;
}

/* Footer contact (centered column) */
.vws-footer__col--contact {
    text-align: center;
}

.vws-footer__address {
    font-style: normal;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: var(--spacing-md);
}

.vws-footer__contact-item {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    font-size: var(--fs-small);
    color: rgba(255,255,255,0.6);
}

/* Footer map (right column) */
.vws-footer__map {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.12);
    line-height: 0;
}

.vws-footer__map iframe {
    width: 100%;
    filter: grayscale(0.4) contrast(1.05);
}

.vws-footer__contact-item svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: rgba(255,255,255,0.6);
}

.vws-footer__contact-item a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.vws-footer__contact-item a:hover {
    color: #ffffff;
}

/* Footer booking CTA */
.vws-footer__booking-cta {
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255,255,255,0.1);
}

.vws-footer__booking-cta p {
    font-size: var(--fs-small);
    color: rgba(255,255,255,0.6);
    margin-bottom: 12px;
}

/* Footer copyright bar */
.vws-footer__copyright {
    background-color: rgba(0,0,0,0.3);
    padding: var(--spacing-md) 0;
    border-top: 1px solid rgba(255,255,255,0.07);
}

.vws-footer__copyright-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.vws-footer__copyright-text {
    font-size: var(--fs-xs);
    color: rgba(255,255,255,0.45);
    margin-bottom: 0;
}

.vws-footer__copyright-text a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.vws-footer__copyright-text a:hover {
    color: #ffffff;
}

.vws-footer__credits {
    font-size: var(--fs-xs);
    color: rgba(255,255,255,0.3);
    margin-bottom: 0;
}

/* ============================================================
   BACK TO TOP
   ============================================================ */

.vws-back-to-top {
    position: fixed;
    bottom: var(--spacing-md);
    right: var(--spacing-md);
    width: 44px;
    height: 44px;
    background-color: transparent;
    border: 2px solid var(--color-accent);
    color: var(--color-heading);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transform: translateY(20px);
    transition: opacity var(--transition-base), visibility var(--transition-base),
                transform var(--transition-base), color 0.2s ease-in-out 0.2s;
    z-index: 500;
}

.vws-back-to-top svg {
    position: relative;
    z-index: 1;
    transition: color 0.2s ease-in-out 0.2s;
}

.vws-back-to-top.is-visible {
    position: fixed;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.vws-back-to-top:hover {
    color: #ffffff;
}

.vws-back-to-top .vws-wave-holder {
    left: -100%;
    width: 300%;
}

/* ============================================================
   THE LOOP / MAIN CONTENT AREA
   ============================================================ */

.vws-content-area {
    padding: var(--spacing-xxl) 0;
}

.vws-content-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: var(--spacing-xl);
    align-items: start;
}

.vws-content-container.no-sidebar {
    grid-template-columns: 1fr;
}

/* Entry / Post */
.entry-header {
    margin-bottom: var(--spacing-lg);
}

.entry-title {
    font-size: var(--fs-h2);
    margin-bottom: var(--spacing-sm);
}

.entry-meta {
    font-size: var(--fs-small);
    color: var(--color-body-text);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-md);
}

.entry-meta a {
    color: var(--color-accent);
    text-decoration: none;
}

.entry-meta a:hover {
    text-decoration: underline;
}

.entry-thumbnail {
    margin-bottom: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.entry-thumbnail img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.entry-content {
    font-size: var(--fs-body);
    line-height: 1.8;
    color: var(--color-body-text);
}

.entry-content > * + * {
    margin-top: 1.2em;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin-top: 1.8em;
}

.entry-footer {
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--color-border);
    font-size: var(--fs-small);
    color: var(--color-body-text);
}

/* Post navigation */
.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--color-border);
}

.nav-previous,
.nav-next {
    display: flex;
    flex-direction: column;
}

.nav-next {
    text-align: right;
    align-items: flex-end;
}

.nav-previous .nav-subtitle,
.nav-next .nav-subtitle {
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-body-text);
    margin-bottom: 4px;
}

.nav-previous a,
.nav-next a {
    font-family: var(--font-heading);
    font-size: var(--fs-small);
    font-weight: var(--fw-semibold);
    color: var(--color-heading);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.nav-previous a:hover,
.nav-next a:hover {
    color: var(--color-accent);
}

/* ============================================================
   SIDEBAR & WIDGETS
   ============================================================ */

.vws-sidebar {
    position: sticky;
    top: calc( var(--topbar-height) + var(--header-height) + var(--spacing-md) );
}

.widget {
    margin-bottom: var(--spacing-lg);
    background: #f9f9f9;
    padding: var(--spacing-md);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--color-border);
}

.widget-title {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: var(--fw-bold);
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-heading);
    margin-bottom: var(--spacing-md);
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-accent);
}

/* ============================================================
   404 PAGE
   ============================================================ */

.vws-404 {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--spacing-xxl) var(--spacing-md);
}

.vws-404__content {
    max-width: 600px;
}

.vws-404__number {
    font-family: var(--font-heading);
    font-size: 160px;
    font-weight: var(--fw-bold);
    line-height: 1;
    color: var(--color-accent);
    opacity: 0.4;
    margin-bottom: 0;
    letter-spacing: -4px;
    display: block;
}

.vws-404__title {
    font-size: var(--fs-h2);
    margin-bottom: var(--spacing-sm);
}

.vws-404__desc {
    color: var(--color-body-text);
    margin-bottom: var(--spacing-lg);
}

.vws-404__search {
    display: flex;
    gap: var(--spacing-xs);
    max-width: 400px;
    margin: 0 auto var(--spacing-md);
}

.vws-404__search input {
    flex: 1;
}

/* ============================================================
   ICON UTILITY
   ============================================================ */

.vws-icon {
    display: inline-flex;
    flex-shrink: 0;
    vertical-align: middle;
}

/* ============================================================
   CARD COMPONENT
   ============================================================ */

.vws-card {
    background: #ffffff;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.vws-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.vws-card__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/2;
}

.vws-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.vws-card:hover .vws-card__image img {
    transform: scale(1.06);
}

.vws-card__body {
    padding: var(--spacing-md);
}

.vws-card__tag {
    display: inline-block;
    font-size: var(--fs-xs);
    font-weight: var(--fw-bold);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 8px;
}

.vws-card__title {
    font-size: var(--fs-h5);
    margin-bottom: 8px;
}

.vws-card__desc {
    font-size: var(--fs-small);
    color: var(--color-body-text);
    line-height: 1.7;
    margin-bottom: var(--spacing-sm);
}

.vws-card__link {
    font-size: var(--fs-small);
    font-weight: var(--fw-semibold);
    color: var(--color-accent);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap var(--transition-fast);
}

.vws-card__link:hover {
    gap: 8px;
    color: var(--color-accent-dark);
}

.vws-card__link::after {
    content: '→';
    font-size: 14px;
}