
@font-face {
    font-family: 'Barlow';
    src: url('./fonts/Barlow.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
}

.font-barlow {
    font-family: 'Barlow', sans-serif !important;
}

        *, *::before, *::after { box-sizing: border-box; }
        html { scroll-behavior: smooth; }
        body {
            font-family: 'DM Sans', system-ui, sans-serif;
            background-color: #FAFAF9;
            color: #212121;
            -webkit-font-smoothing: antialiased;
        }

        /* ── Buttons ── */
        .btn-copper {
            display: inline-flex; align-items: center; gap: 8px;
            background: #B87333; color: #fff;
            padding: 13px 30px; font-size: 11px; font-weight: 600;
            letter-spacing: 0.18em; text-transform: uppercase;
            border: 1px solid #B87333; transition: all 0.3s; cursor: pointer;
        }
        .btn-copper:hover { background: #9A5E28; border-color: #9A5E28; }

        .btn-charcoal {
            display: inline-flex; align-items: center; gap: 8px;
            background: #212121; color: #fff;
            padding: 13px 30px; font-size: 11px; font-weight: 600;
            letter-spacing: 0.18em; text-transform: uppercase;
            border: 1px solid #212121; transition: all 0.3s; cursor: pointer;
        }
        .btn-charcoal:hover { background: #424242; border-color: #424242; }

        .btn-outline-copper {
            display: inline-flex; align-items: center; gap: 8px;
            background: transparent; color: #B87333;
            padding: 13px 30px; font-size: 11px; font-weight: 600;
            letter-spacing: 0.18em; text-transform: uppercase;
            border: 1px solid #B87333; transition: all 0.3s; cursor: pointer;
        }
        .btn-outline-copper:hover { background: #B87333; color: #fff; }

        .btn-outline-white {
            display: inline-flex; align-items: center; gap: 8px;
            background: transparent; color: #fff;
            padding: 13px 30px; font-size: 11px; font-weight: 600;
            letter-spacing: 0.18em; text-transform: uppercase;
            border: 1px solid rgba(255,255,255,0.5); transition: all 0.3s; cursor: pointer;
        }
        .btn-outline-white:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

        .btn-text-copper {
            display: inline-flex; align-items: center; gap: 8px;
            color: #B87333; font-size: 11px; font-weight: 600;
            letter-spacing: 0.18em; text-transform: uppercase;
            background: none; border: none; cursor: pointer;
            position: relative; padding-bottom: 2px;
        }
        .btn-text-copper::after {
            content: ''; position: absolute; bottom: 0; left: 0;
            width: 0; height: 1px; background: #B87333; transition: width 0.35s;
        }
        .btn-text-copper:hover::after { width: 100%; }

        /* ── Cards ── */
        .card-blanc {
            background: #fff; border: 1px solid #EAE9E5;
            transition: border-color 0.3s, box-shadow 0.3s;
        }
        .card-blanc:hover { border-color: #D4944A; box-shadow: 0 8px 32px rgba(184,115,51,0.09); }

        /* ── Room card ── */
        .room-card { position: relative; overflow: hidden; }
        .room-card .room-img { transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
        .room-card:hover .room-img { transform: scale(1.07); }
        .room-card .room-overlay {
            position: absolute; inset: 0;
            background: linear-gradient(to top, rgba(13,13,13,0.88) 0%, rgba(13,13,13,0.2) 55%, transparent 100%);
            transition: opacity 0.4s;
        }
        .room-card:hover .room-overlay { opacity: 0.95; }

        /* ── Form inputs ── */
        .input-blanc {
            width: 100%; padding: 13px 16px;
            border: 1px solid #EAE9E5; background: #fff;
            font-family: 'DM Sans', sans-serif; font-size: 14px;
            color: #212121; outline: none; transition: border-color 0.25s;
        }
        .input-blanc:focus { border-color: #B87333; }
        .input-blanc::placeholder { color: #9E9E9E; }
        select.input-blanc { cursor: pointer; appearance: none; }

        /* ── Section labels ── */
        .label-copper {
            font-size: 10px; font-weight: 700;
            letter-spacing: 0.32em; text-transform: uppercase; color: #B87333;
        }

        /* ── Big background number ── */
        .bg-number {
            font-family: 'Playfair Display', serif;
            font-size: clamp(96px, 18vw, 200px);
            font-weight: 900; line-height: 0.8; color: #F0EEEB;
            position: absolute; pointer-events: none; user-select: none; z-index: 0;
        }

        /* ── Hairline divider ── */
        .line-copper { width: 40px; height: 1px; background: #B87333; display: inline-block; }
        .line-grey   { width: 40px; height: 1px; background: #EAE9E5; display: inline-block; }

        /* ── Img hover zoom wrapper ── */
        .img-zoom { overflow: hidden; }
        .img-zoom img { transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
        .img-zoom:hover img { transform: scale(1.06); }

        /* ── Swiper custom ── */
        .swiper-pagination-bullet { background: rgba(255,255,255,0.4) !important; opacity: 1 !important; width: 6px !important; height: 6px !important; }
        .swiper-pagination-bullet-active { background: #B87333 !important; width: 24px !important; border-radius: 3px !important; }

        /* ── Flatpickr ── */
        .flatpickr-calendar { font-family: 'DM Sans', sans-serif !important; border-radius: 0 !important; }
        .flatpickr-day.selected { background: #B87333 !important; border-color: #B87333 !important; }

        /* ── Page loader ── */
        #page-loader {
            position: fixed; inset: 0; z-index: 9999;
            background: #fff; display: flex; flex-direction: column;
            align-items: center; justify-content: center;
            transition: opacity 0.6s, visibility 0.6s;
        }
        #page-loader.loaded { opacity: 0; visibility: hidden; }
        .loader-hotel-name {
            font-family: 'Playfair Display', serif;
            font-size: clamp(20px, 4vw, 36px); font-style: italic;
            color: #212121; letter-spacing: 0.1em; margin-bottom: 20px;
        }
        .loader-progress {
            width: 120px; height: 1px; background: #EAE9E5; position: relative; overflow: hidden;
        }
        .loader-progress::after {
            content: ''; position: absolute; left: -100%; top: 0;
            height: 100%; width: 100%; background: #B87333;
            animation: loadProgress 1.4s ease forwards;
        }
        @keyframes loadProgress { to { left: 0; } }

        /* ── Scrollbar ── */
        ::-webkit-scrollbar { width: 3px; }
        ::-webkit-scrollbar-track { background: #F5F4F1; }
        ::-webkit-scrollbar-thumb { background: #B87333; }

        /* ── Alpine cloak ── */
        [x-cloak] { display: none !important; }

        /* ── Dark sections ── */
        .section-dark { background: #0D0D0D; }
        .section-charcoal { background: #212121; }
        .section-blanc { background: #FAFAF9; }
        .section-white { background: #fff; }
        .section-warm { background: #F5F4F1; }
    

@media (max-width: 767px) {
    /* Mobile slider is intentionally different from desktop: visual-first, compact content card. */
    section:has(.swiper[class*="hero"]),
    section[x-data^="heroVideo"] {
        height: 100svh !important;
        min-height: 600px !important;
        max-height: none !important;
        overflow: hidden !important;
    }

    section:has(.swiper[class*="hero"]) img,
    section[x-data^="heroVideo"] video {
        object-position: center center !important;
    }

    /* Stronger readable mobile overlay */
    section:has(.swiper[class*="hero"])::after,
    section[x-data^="heroVideo"]::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
        pointer-events: none;
        background:
            linear-gradient(180deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,.10) 34%, rgba(0,0,0,.62) 74%, rgba(0,0,0,.86) 100%),
            radial-gradient(circle at 20% 85%, rgba(201,168,76,.22), transparent 36%);
    }

    section:has(.swiper[class*="hero"]) > :not(.swiper):not(style),
    section[x-data^="heroVideo"] > :not(style) {
        position: relative;
        z-index: 2;
    }

    section:has(.swiper[class*="hero"]) .container,
    section[x-data^="heroVideo"] .container {
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
    }

    /* Mobile title should sit around the visual center, not at the bottom. */
    section:has(.swiper[class*="hero"]) .absolute.inset-0.flex.items-center,
    section:has(.swiper[class*="hero"]) .relative.h-full.flex.items-center,
    section[x-data^="heroVideo"] .relative.z-10.h-full.flex.items-center {
        align-items: center !important;
        padding-top: 6.5rem !important;
        padding-bottom: 4rem !important;
    }

    section:has(.swiper[class*="hero"]) .max-w-3xl,
    section:has(.swiper[class*="hero"]) .max-w-4xl,
    section:has(.swiper[class*="hero"]) .max-w-5xl,
    section[x-data^="heroVideo"] .max-w-3xl {
        max-width: min(92vw, 360px) !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    /* Hero headings were too large on mobile. */
    section:has(.swiper[class*="hero"]) h1,
    section[x-data^="heroVideo"] h1,
    .hero-title {
        font-size: clamp(1.85rem, 8vw, 2.75rem) !important;
        line-height: 1.08 !important;
        letter-spacing: -0.02em !important;
        margin-bottom: 0 !important;
        max-width: 92vw !important;
        text-shadow: 0 8px 26px rgba(0,0,0,.45) !important;
    }

    section:has(.swiper[class*="hero"]) .hero-subtitle,
    section:has(.swiper[class*="hero"]) span[class*="tracking"],
    section[x-data^="heroVideo"] span[class*="tracking"] {
        display: none !important;
    }

    section:has(.swiper[class*="hero"]) h1 + div,
    section[x-data^="heroVideo"] h1 + div {
        display: none !important;
    }

    section:has(.swiper[class*="hero"]) p,
    section[x-data^="heroVideo"] p {
        display: none !important;
    }

    /* Reservation is now in mobile navbar; mobile slider only shows one title. */
    section:has(.swiper[class*="hero"]) a[href*="reservation"],
    section:has(.swiper[class*="hero"]) a[href*="rooms"],
    section[x-data^="heroVideo"] a[href*="reservation"],
    section[x-data^="heroVideo"] a[href*="rooms"] {
        display: none !important;
    }

    section:has(.swiper[class*="hero"]) div:has(> a[href*="reservation"]),
    section:has(.swiper[class*="hero"]) div:has(> a[href*="rooms"]),
    section[x-data^="heroVideo"] div:has(> a[href*="reservation"]),
    section[x-data^="heroVideo"] div:has(> a[href*="rooms"]) {
        display: none !important;
    }

    /* Move slider controls away from content card on mobile */
    section:has(.swiper[class*="hero"]) .swiper-pagination {
        bottom: 1.05rem !important;
    }

    section:has(.swiper[class*="hero"]) .swiper-button-prev,
    section:has(.swiper[class*="hero"]) .swiper-button-next,
    section:has(.swiper[class*="hero"]) .hero-prev,
    section:has(.swiper[class*="hero"]) .hero-next {
        display: none !important;
    }
}

@media (max-width: 390px) {
    section:has(.swiper[class*="hero"]) h1,
    section[x-data^="heroVideo"] h1,
    .hero-title {
        font-size: clamp(1.65rem, 7.6vw, 2.35rem) !important;
    }

    section:has(.swiper[class*="hero"]) .max-w-3xl,
    section:has(.swiper[class*="hero"]) .max-w-4xl,
    section:has(.swiper[class*="hero"]) .max-w-5xl,
    section[x-data^="heroVideo"] .max-w-3xl {
        padding: 0 !important;
    }
}


@media (max-width: 767px) {
    html,
    body {
        overflow-x: hidden !important;
        width: 100% !important;
    }

    section:has(.v12-hero-swiper) {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }

    section:has(.v12-hero-swiper) .v12-hero-content {
        align-items: flex-end !important;
        padding: 0 0 16vh !important;
        overflow-x: hidden !important;
    }

    section:has(.v12-hero-swiper) .v12-hero-copy {
        width: 100% !important;
        max-width: 92vw !important;
        margin: 0 auto !important;
        text-align: center !important;
        transform: translateY(18vh) !important;
    }

    section:has(.v12-hero-swiper) .v12-hero-copy [data-aos] {
        transform: none !important;
    }

    section:has(.v12-hero-swiper) .v12-hero-copy > .flex.items-center {
        display: none !important;
    }

    section:has(.v12-hero-swiper) .v12-hero-copy h1 {
        margin-left: auto !important;
        margin-right: auto !important;
        margin-bottom: 0.85rem !important;
        text-align: center !important;
    }

    section:has(.v12-hero-swiper) .v12-hero-copy p {
        display: block !important;
        width: min(86vw, 340px) !important;
        max-width: 86vw !important;
        margin: 0 auto !important;
        color: rgba(255, 255, 255, 0.86) !important;
        font-size: 0.95rem !important;
        line-height: 1.55 !important;
        text-align: center !important;
        overflow-wrap: anywhere !important;
        text-shadow: 0 6px 18px rgba(0,0,0,.55) !important;
    }
}


    .mobile-navbar-reservation-btn {
        position: fixed;
        box-sizing: border-box;
        top: max(28px, env(safe-area-inset-top));
        right: 58px;
        z-index: 9997;
        display: none;
        align-items: center;
        justify-content: center;
        gap: 4px;
        width: 104px;
        min-height: 34px;
        padding: 0 8px;
        border-radius: 999px;
        background: linear-gradient(135deg, #C9A84C 0%, #A5792A 100%);
        color: #fff;
        font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        font-size: 9.5px;
        font-weight: 800;
        line-height: 1;
        letter-spacing: .04em;
        text-transform: uppercase;
        text-decoration: none;
        list-style: none;
        box-shadow: 0 7px 18px rgba(0, 0, 0, .18);
        border: 1px solid rgba(255, 255, 255, .22);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .mobile-navbar-reservation-btn::before,
    .mobile-navbar-reservation-btn::after,
    .mobile-navbar-reservation-btn span::before,
    .mobile-navbar-reservation-btn span::after {
        content: none !important;
        display: none !important;
    }

    .mobile-navbar-reservation-btn.is-in-navbar {
        position: static !important;
        top: auto !important;
        right: auto !important;
        left: auto !important;
        transform: none !important;
        margin-left: auto !important;
        margin-right: 0.55rem !important;
        flex-shrink: 0 !important;
    }

    html[dir="rtl"] .mobile-navbar-reservation-btn.is-in-navbar,
    body[dir="rtl"] .mobile-navbar-reservation-btn.is-in-navbar {
        margin-left: 0.55rem !important;
        margin-right: auto !important;
    }

    .mobile-navbar-reservation-btn:hover,
    .mobile-navbar-reservation-btn:focus {
        color: #fff;
        transform: translateY(-1px);
    }

    @media (max-width: 767px) {
        .mobile-navbar-reservation-btn {
            display: inline-flex;
        }

        html[dir="rtl"] .mobile-navbar-reservation-btn,
        body[dir="rtl"] .mobile-navbar-reservation-btn {
            right: auto;
            left: 58px;
        }
    }

    @media (max-width: 380px) {
        .mobile-navbar-reservation-btn {
            right: 52px;
            width: 94px;
            min-height: 32px;
            padding: 0 7px;
            font-size: 8.8px;
            letter-spacing: .02em;
        }

        html[dir="rtl"] .mobile-navbar-reservation-btn,
        body[dir="rtl"] .mobile-navbar-reservation-btn {
            right: auto;
            left: 52px;
        }
    }
