/* ============================================
   TRAVERA - Luxury Hospitality Design System
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600&family=Cairo:wght@300;400;500;600;700&display=swap');

/* ─── CSS Variables ─── */
:root {
    /* ── Light content theme ── */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8F5F0;
    --bg-card: #FFFFFF;
    --bg-card-solid: #FFFFFF;
    /* ── Dark hero/footer theme ── */
    --dark-bg: #07070F;
    --dark-surface: #0E0E1C;
    /* ── Gold ── */
    --gold: #B8934E;
    --gold-light: #D4A85A;
    --gold-dark: #8C6A2E;
    --gold-muted: rgba(184, 147, 78, 0.10);
    /* ── Content text (on white) ── */
    --text-primary: #1A1410;
    --text-secondary: #5C4E3A;
    --text-muted: #9A8E7E;
    /* ── Borders ── */
    --border: rgba(26, 20, 16, 0.09);
    --border-hover: rgba(184, 147, 78, 0.55);
    /* ── Glass (light) ── */
    --glass: rgba(0, 0, 0, 0.02);
    --glass-hover: rgba(0, 0, 0, 0.04);
    --shadow-gold: 0 0 40px rgba(184, 147, 78, 0.10);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.08);
    --radius: 16px;
    --radius-sm: 8px;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --font-en: 'Playfair Display', 'Inter', serif;
    --font-body: 'Inter', sans-serif;
    --font-ar: 'Cairo', sans-serif;
}

/* ─── Reset & Base ─── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Scrollbar adapts to light bg */
::-webkit-scrollbar-track {
    background: #F0EBE4;
}

body.lang-ar {
    font-family: var(--font-ar);
    direction: rtl;
}

body.lang-ar .navbar-brand,
body.lang-ar h1,
body.lang-ar h2,
body.lang-ar h3 {
    font-family: var(--font-ar);
    letter-spacing: 0;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 3px;
}

/* ─── Typography ─── */
.heading-display {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

body.lang-ar .heading-display {
    font-family: var(--font-ar);
}

.section-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-label::before {
    content: '';
    display: inline-block;
    width: 28px;
    height: 1px;
    background: var(--gold);
    flex-shrink: 0;
}

body.lang-ar .section-label::before {
    display: none;
}

body.lang-ar .section-label::after {
    content: '';
    display: inline-block;
    width: 28px;
    height: 1px;
    background: var(--gold);
    flex-shrink: 0;
}

/* ─── Gold Divider ─── */
.gold-line {
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent);
    margin: 16px 0 24px;
}

body.lang-ar .gold-line {
    background: linear-gradient(270deg, var(--gold), transparent);
    margin-left: auto;
    margin-right: 0;
}

/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    letter-spacing: 0.04em;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #06060E;
    font-weight: 600;
    box-shadow: 0 4px 24px rgba(201, 169, 110, 0.25);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(201, 169, 110, 0.4);
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

.btn-outline {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--border-hover);
}

.btn-outline:hover {
    background: var(--gold-muted);
    border-color: var(--gold);
    transform: translateY(-2px);
}

/* ─── Navbar — always solid white, separated from the hero ─── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 14px 0;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(26, 20, 16, 0.08);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

/* Keep .scrolled identical so the JS class doesn't break anything */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(26, 20, 16, 0.08);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    padding: 14px 0;
}

.navbar-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

/* ─── Shared Logo (used on all pages) ─── */
.logo-mark {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
}

.navbar.scrolled .logo-mark {
    width: 30px;
    height: 30px;
}

.logo-text-wrap {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.16em;
}

.navbar.scrolled .logo-name {
    font-size: 1.1rem;
}

.logo-tagline {
    font-size: 0.55rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Arabic logo — Cairo renders smaller than Playfair, so compensate */
body.lang-ar .logo-name {
    letter-spacing: 0;
    font-family: var(--font-ar);
    font-size: 2.3rem !important;
    /* Maximum clarity for Cairo font */
    font-weight: 700;
    color: var(--gold);
    line-height: 1.0;
}

body.lang-ar .logo-tagline {
    font-size: 0.9rem !important;
    /* Larger tagline */
    letter-spacing: 0;
    color: var(--text-muted);
    text-transform: none;
    font-weight: 500;
}





.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.12em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand span {
    color: var(--text-primary);
    font-weight: 300;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    /* always dark on white navbar */
    letter-spacing: 0.05em;
    transition: var(--transition);
    position: relative;
}

/* .scrolled rule becomes a no-op but keep it harmless */
.navbar.scrolled .nav-links a {
    color: var(--text-secondary);
}

.navbar.scrolled .btn-login {
    color: var(--text-secondary);
    border-color: rgba(26, 20, 16, 0.15);
    background: transparent;
}

.navbar.scrolled .lang-switcher {
    border-color: rgba(26, 20, 16, 0.15);
    background: rgba(0, 0, 0, 0.03);
}

.navbar.scrolled .lang-btn {
    color: var(--text-muted);
}

/* Always keep active button white text on gold regardless of scroll state */
.navbar.scrolled .lang-btn.active,
.lang-btn.active {
    background: var(--gold);
    color: #fff !important;
    font-weight: 700;
}


.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-links a:hover::after {
    transform: scaleX(1);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-switcher {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(26, 20, 16, 0.14);
    border-radius: 50px;
    padding: 4px;
    gap: 2px;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    padding: 6px 14px;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.lang-btn.active {
    background: var(--gold);
    color: #fff;
    font-weight: 700;
}


.btn-login {
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(26, 20, 16, 0.15);
    color: var(--text-secondary);
    padding: 9px 20px;
    border-radius: 50px;
    font-size: 0.83rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-login:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.4rem;
    cursor: pointer;
}

/* ─── Mobile Nav ─── */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(7, 7, 15, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.mobile-nav.open {
    display: flex;
}

.mobile-nav a {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--text-primary);
    transition: var(--transition);
}

.mobile-nav a:hover {
    color: var(--gold);
}

.mobile-nav-close {
    position: absolute;
    top: 24px;
    right: 40px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.6rem;
    cursor: pointer;
}

/* ─── Hero ─── */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding-bottom: 80px;
    overflow: visible;
}

/* Force all hero text to be light (hero is always dark) */
.hero h1,
.hero-eyebrow,
.hero-sub,
.hero .section-label {
    color: inherit;
}

.hero h1 {
    color: #F0EBE0;
}

.hero-eyebrow {
    color: var(--gold);
}

.hero-sub {
    color: rgba(240, 235, 224, 0.72);
}

.hero-scroll-cue {
    color: rgba(240, 235, 224, 0.45);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(7, 7, 15, 0.3) 0%, rgba(7, 7, 15, 0.15) 40%, rgba(7, 7, 15, 0.75) 80%, rgba(7, 7, 15, 1) 100%),
        url('https://images.unsplash.com/photo-1571896349842-33c89424de2d?w=1800&q=80') center/cover no-repeat;
    transform: scale(1.05);
    animation: heroZoom 12s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from {
        transform: scale(1.05);
    }

    to {
        transform: scale(1.12);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

.hero-eyebrow {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-eyebrow::before {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--gold);
}

.hero h1 {
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 20px;
    max-width: 700px;
}

.hero h1 em {
    font-style: italic;
    color: var(--gold);
}

.hero-sub {
    color: rgba(240, 235, 224, 0.80);
    font-size: 1.05rem;
    max-width: 480px;
    margin-bottom: 44px;
    line-height: 1.7;
}

/* ─── Booking Widget ─── */
.booking-widget {
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 20px;
    padding: 8px;
    display: flex;
    align-items: stretch;
    gap: 0;
    max-width: 900px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    position: relative;
    z-index: 10;
}

.booking-field {
    flex: 1;
    padding: 14px 20px;
    position: relative;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
    cursor: pointer;
    transition: var(--transition);
    border-radius: 14px;
    overflow: visible;
}

.booking-field:last-of-type {
    border-right: none;
}

.booking-field:hover {
    background: rgba(255, 255, 255, 0.10);
}

.booking-field label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 5px;
}

.booking-field-value {
    font-size: 0.92rem;
    color: #F0EBE0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.booking-field-value.placeholder {
    color: rgba(240, 235, 224, 0.45);
}

.booking-field .field-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(240, 235, 224, 0.35);
    font-size: 0.9rem;
}

body.lang-ar .booking-field .field-icon {
    right: auto;
    left: 16px;
}

.booking-search-btn {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border: none;
    border-radius: 14px;
    color: #06060E;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 0 30px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    letter-spacing: 0.04em;
    flex-shrink: 0;
}

.booking-search-btn:hover {
    box-shadow: 0 8px 30px rgba(201, 169, 110, 0.4);
    transform: translateY(-1px);
}

/* Dropdown panels for booking */
.booking-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    min-width: 280px;
    background: #FFFFFF;
    border: 1px solid rgba(26, 20, 16, 0.10);
    border-radius: var(--radius);
    padding: 20px;
    z-index: 700;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.16);
    display: none;
    color: var(--text-primary);
}

.booking-dropdown.open {
    display: block;
}

/* Dropdown text colors (on white popup) */
.booking-dropdown .location-option {
    color: var(--text-secondary);
}

.booking-dropdown .date-grid-header {
    color: var(--text-muted);
}

.booking-dropdown .date-cell {
    color: var(--text-secondary);
}

.booking-dropdown .calendar-month {
    color: var(--text-primary);
}

.booking-dropdown .guest-type {
    color: var(--text-primary);
}

.booking-dropdown .guest-desc {
    color: var(--text-muted);
}

.booking-field {
    position: relative;
}

.location-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.location-option {
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.location-option:hover {
    background: var(--glass-hover);
    color: var(--gold);
}

.location-option i {
    color: var(--gold);
    width: 16px;
}

/* Date picker mini */
.date-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.date-grid-header {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    text-align: center;
    padding: 6px 0;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.date-cell {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    border-radius: 8px;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.15s ease;
    font-weight: 400;
    position: relative;
}

.date-cell.empty {
    pointer-events: none;
}

.date-cell:not(.disabled):not(.empty):not(.selected):hover {
    background: var(--gold-muted);
    color: var(--gold);
    font-weight: 500;
}

.date-cell.selected {
    background: var(--gold);
    color: #06060E;
    font-weight: 600;
    border-radius: 8px;
}

.date-cell.today {
    font-weight: 600;
    color: var(--gold);
    position: relative;
}

.date-cell.today::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gold);
}

.date-cell.disabled {
    color: var(--text-muted);
    opacity: 0.3;
    pointer-events: none;
    cursor: not-allowed;
}

.date-cell.in-range {
    background: rgba(184, 147, 78, 0.12);
    color: var(--gold-dark);
    border-radius: 0;
}

.date-cell.range-start {
    border-radius: 0 8px 8px 0;
}

.date-cell.range-end {
    border-radius: 8px 0 0 8px;
}

.calendar-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    padding: 0 2px;
}

.calendar-nav button,
.cal-nav-btn {
    background: none;
    border: 1px solid transparent;
    color: var(--gold);
    cursor: pointer;
    font-size: 1.1rem;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.15s ease;
}

.calendar-nav button:hover:not(:disabled),
.cal-nav-btn:hover:not(:disabled):not(.cal-nav-disabled) {
    background: var(--gold-muted);
    border-color: rgba(184, 147, 78, 0.2);
}

.cal-nav-disabled,
.calendar-nav button:disabled {
    opacity: 0.25;
    cursor: not-allowed;
    pointer-events: none;
}

.calendar-month {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.02em;
}

/* Guests picker */
.guest-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.guest-row:last-child {
    border-bottom: none;
}

.guest-label .guest-type {
    font-size: 0.88rem;
    color: var(--text-primary);
}

.guest-label .guest-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.guest-counter {
    display: flex;
    align-items: center;
    gap: 14px;
}

.guest-counter button {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--border-hover);
    background: none;
    color: var(--gold);
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.guest-counter button:hover {
    background: var(--gold-muted);
}

.guest-count {
    font-size: 0.9rem;
    min-width: 20px;
    text-align: center;
}

/* ─── Stats Bar ─── */
.stats-bar {
    background: #1A1410;
    border-top: none;
    border-bottom: none;
    padding: 28px 0;
}

.stats-bar .stat-num {
    color: var(--gold);
}

.stats-bar .stat-label {
    color: rgba(255, 255, 255, 0.45);
}

.stats-bar .stat-item {
    border-right-color: rgba(255, 255, 255, 0.08);
}

.stats-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.stat-item {
    text-align: center;
    padding: 0 20px;
    border-right: 1px solid var(--border);
}

.stat-item:last-child {
    border-right: none;
}

.stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ─── Section Base ─── */
.section {
    padding: 110px 0;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 400;
    margin: 12px 0 8px;
    line-height: 1.2;
}

body.lang-ar .section-header h2 {
    font-family: var(--font-ar);
}

.section-header p {
    color: var(--text-secondary);
    max-width: 500px;
    font-size: 0.97rem;
}

/* ─── Properties Section ─── */
.properties-section {
    background: #FFFFFF;
}

/* Card light style */
.prop-card {
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.prop-card:hover {
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(184, 147, 78, 0.15);
}

.properties-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 44px;
    flex-wrap: wrap;
}

.prop-tab {
    padding: 9px 22px;
    border-radius: 50px;
    border: 1px solid rgba(26, 20, 16, 0.12);
    background: #FAFAFA;
    color: var(--text-muted);
    font-size: 0.83rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.04em;
}

.prop-tab.active,
.prop-tab:hover {
    background: var(--gold-muted);
    border-color: var(--gold);
    color: var(--gold);
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.prop-card {
    background: var(--bg-card-solid);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}

.prop-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(201, 169, 110, 0.08);
}

.prop-card-img {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.prop-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.prop-card:hover .prop-card-img img {
    transform: scale(1.07);
}

.prop-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(7, 7, 15, 0.75);
    backdrop-filter: blur(6px);
    border: 1px solid var(--border);
    color: var(--gold);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 50px;
}

body.lang-ar .prop-badge {
    left: auto;
    right: 14px;
}

.prop-wishlist {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    background: rgba(7, 7, 15, 0.6);
    backdrop-filter: blur(6px);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.85rem;
}

.prop-wishlist:hover,
.prop-wishlist.active {
    color: #E05050;
    border-color: #E05050;
}

body.lang-ar .prop-wishlist {
    right: auto;
    left: 14px;
}

.prop-card-body {
    padding: 22px;
}

.prop-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.prop-stars {
    color: var(--gold);
    font-size: 0.78rem;
    letter-spacing: 2px;
}

.prop-rating-num {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: inline;
}

.prop-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 6px;
    line-height: 1.3;
}

body.lang-ar .prop-name {
    font-family: var(--font-ar);
}

.prop-location {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.prop-location i {
    color: var(--gold);
    font-size: 0.85rem;
}

.prop-features {
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.prop-feat {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.prop-feat i {
    color: var(--gold);
    font-size: 0.85rem;
}

.prop-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.prop-price .price-from {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.prop-price .price-amount {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--gold);
    font-family: 'Playfair Display', serif;
}

.prop-price .price-unit {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.prop-book-btn {
    background: var(--gold-muted);
    border: 1px solid var(--border-hover);
    color: var(--gold);
    padding: 9px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.prop-book-btn:hover {
    background: var(--gold);
    color: #06060E;
}

/* ─── Why Travera ─── */
.why-section {
    background: #F8F5F0;
    position: relative;
    overflow: hidden;
}

.why-section::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(184, 147, 78, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.why-feat {
    background: #FFFFFF !important;
    border-color: rgba(26, 20, 16, 0.08) !important;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-left h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 3.5vw, 2.9rem);
    font-weight: 400;
    margin: 12px 0 20px;
    line-height: 1.2;
}

body.lang-ar .why-left h2 {
    font-family: var(--font-ar);
}

.why-left p {
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-size: 0.97rem;
}

.why-features {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.why-feat {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--glass);
    transition: var(--transition);
}

.why-feat:hover {
    border-color: var(--border-hover);
    background: var(--glass-hover);
}

.why-feat-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--gold-muted);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.why-feat-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.why-feat-desc {
    font-size: 0.83rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.why-right {
    position: relative;
}

.why-img-wrap {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/5;
}

.why-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.why-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7, 7, 15, 0.7) 0%, transparent 60%);
}

.why-img-badge {
    position: absolute;
    bottom: 28px;
    left: 28px;
    background: rgba(13, 13, 26, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px 20px;
}

body.lang-ar .why-img-badge {
    left: auto;
    right: 28px;
}

.why-img-badge .badge-num {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--gold);
    font-weight: 600;
    line-height: 1;
}

.why-img-badge .badge-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ─── Destinations ─── */
.destinations-section {
    background: var(--bg-primary);
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.dest-card {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    height: 480px;
    /* Fixed uniform height for all cards */
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.dest-card:first-child {
    grid-row: auto;
    height: 480px;
    aspect-ratio: unset;
}


.dest-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.dest-card:hover img {
    transform: scale(1.08);
}

.dest-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7, 7, 15, 0.95) 0%, rgba(7, 7, 15, 0.1) 70%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    transition: var(--transition);
}

.dest-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #FFFFFF;
    /* White text for contrast on overlay */
    margin-bottom: 6px;
    font-weight: 500;
}

body.lang-ar .dest-name {
    font-family: var(--font-ar);
    font-size: 1.5rem;
    font-weight: 700;
}

.dest-count {
    font-size: 0.82rem;
    color: var(--gold);
    font-weight: 500;
}

/* ─── Testimonials ─── */
.testimonials-section {
    background: #F8F5F0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.testimonial-card {
    background: #FFFFFF;
    border: 1px solid rgba(26, 20, 16, 0.07);
    border-radius: 20px;
    padding: 32px;
    transition: var(--transition);
    position: relative;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.testimonial-card:hover {
    border-color: rgba(184, 147, 78, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 20px;
    right: 28px;
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    color: var(--gold);
    opacity: 0.2;
    line-height: 1;
}

body.lang-ar .testimonial-card::before {
    right: auto;
    left: 28px;
}

.test-stars {
    color: var(--gold);
    font-size: 0.85rem;
    letter-spacing: 3px;
    margin-bottom: 16px;
}

.test-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 24px;
    font-style: italic;
}

.test-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.test-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-muted));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid var(--border);
    overflow: hidden;
}

.test-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.test-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
}

.test-location {
    font-size: 0.76rem;
    color: var(--text-muted);
}

/* ─── Partner CTA ─── */
.partner-section {
    background: #EEE8DF;
    padding: 110px 0;
}

.partner-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

.partner-card {
    background: linear-gradient(135deg, #1E1B15 0%, #2A2318 100%);
    border: 1px solid rgba(184, 147, 78, 0.25);
    border-radius: 28px;
    padding: 70px 80px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Partner card text overrides (on dark bg) */
.partner-card .section-label {
    color: var(--gold);
}

.partner-card h2 {
    color: #F0EBE0;
}

.partner-card p {
    color: rgba(240, 235, 224, 0.6);
}

.partner-card::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.partner-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 400;
    margin: 12px 0 16px;
}

body.lang-ar .partner-card h2 {
    font-family: var(--font-ar);
}

.partner-card p {
    color: var(--text-secondary);
    font-size: 0.97rem;
    max-width: 480px;
}

/* ─── Footer ─── */
.footer {
    background: #050509;
    border-top: none;
    padding: 64px 0 30px;
}

.footer-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand {}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.12em;
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 280px;
    margin-bottom: 28px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--glass);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
}

.social-link:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: var(--gold-muted);
}

.footer-col h4 {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--gold);
    padding-left: 4px;
}

body.lang-ar .footer-col ul li a:hover {
    padding-left: 0;
    padding-right: 4px;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-copyright {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--gold);
}

/* ─── Floating Button ─── */
.scroll-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--gold);
    border: none;
    color: #06060E;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(201, 169, 110, 0.3);
    transition: var(--transition);
    opacity: 0;
    pointer-events: none;
    z-index: 500;
}

.scroll-top.visible {
    opacity: 1;
    pointer-events: all;
}

.scroll-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(201, 169, 110, 0.5);
}

body.lang-ar .scroll-top {
    right: auto;
    left: 32px;
}

/* ─── Animations ─── */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay-1 {
    transition-delay: 0.1s;
}

.fade-in-delay-2 {
    transition-delay: 0.2s;
}

.fade-in-delay-3 {
    transition-delay: 0.3s;
}

.fade-in-delay-4 {
    transition-delay: 0.4s;
}

/* ─── Responsive ─── */
@media (max-width: 1100px) {
    .properties-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .destinations-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dest-card:first-child {
        grid-row: span 1;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .why-right {
        display: none;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media (max-width: 900px) {
    .stats-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 20px 0;
    }

    .stat-item:nth-child(3),
    .stat-item:nth-child(4) {
        border-bottom: none;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .partner-card {
        grid-template-columns: 1fr;
        padding: 44px;
    }

    .partner-card p {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .navbar-inner {
        padding: 0 24px;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-content {
        padding: 0 24px;
    }

    .booking-widget {
        flex-direction: column;
        padding: 14px;
        gap: 4px;
    }

    .booking-field {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .booking-field:last-of-type {
        border-bottom: none;
    }

    .booking-search-btn {
        width: 100%;
        justify-content: center;
        padding: 15px;
    }

    .container {
        padding: 0 24px;
    }

    .section {
        padding: 70px 0;
    }

    .properties-grid {
        grid-template-columns: 1fr;
    }

    .destinations-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-legal {
        flex-direction: column;
        gap: 10px;
    }

    .partner-card {
        padding: 32px 24px;
    }

    .partner-inner {
        padding: 0 24px;
    }
}

/* ─── Properties Listing Page ─── */
.pg-header {
    background: #F8F5F0;
    padding: 140px 0 60px;
    border-bottom: 1px solid var(--border);
}

.pg-header-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

.properties-main {
    padding: 60px 0 100px;
    background: var(--bg-primary);
}

.properties-layout {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Horizontal Listing Filter Bar */
.listing-filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    background: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: 20px;
    gap: 24px;
    margin-bottom: 20px;
}

.filter-main-controls {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.search-input-wrap {
    flex: 1;
    position: relative;
}

.search-input-wrap i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.search-input-wrap input {
    width: 100%;
    padding: 14px 16px 14px 44px;
    border-radius: 14px;
    border: 1px solid var(--border);
    font-size: 0.95rem;
    transition: var(--transition);
}

.search-input-wrap input:focus {
    border-color: var(--gold);
    outline: none;
}

.filter-trigger-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: #F8F5F0;
    border: 1px solid var(--border);
    border-radius: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.filter-trigger-btn:hover {
    border-color: var(--gold);
    background: #FFFFFF;
}

.listing-sort {
    display: flex;
    align-items: center;
    gap: 12px;
}

.listing-sort label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.listing-sort select {
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid var(--border);
    font-size: 0.9rem;
    background: #FFFFFF;
    cursor: pointer;
}

/* Active Filter Tags */
.active-filters-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.filter-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #F0EBE0;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
}

.filter-tag .clear-tag {
    cursor: pointer;
    font-size: 1rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.filter-tag .clear-tag:hover {
    color: var(--text-primary);
}

.clear-all-filters {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold);
    text-decoration: underline;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: 10px;
}

/* Advanced Filter Drawer/Modal */
.filter-modal {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 420px;
    height: 100%;
    background: #FFFFFF;
    z-index: 2100;
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.1);
    flex-direction: column;
}

.filter-modal.open {
    display: flex;
}

.filter-modal-header {
    padding: 30px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 30px;
}

.filter-modal-footer {
    padding: 30px;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 16px;
}

.price-range-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.price-field input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 12px;
}

/* Load More Area */
.load-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

/* ─── Lightbox Overhaul ─── */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 3000;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lightbox-modal.open {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 80%;
}

.lightbox-img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 8px;
    object-fit: contain;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
    left: -80px;
}

.lightbox-next {
    right: -80px;
}

.lightbox-close {
    position: absolute;
    top: -60px;
    right: 0;
    color: white;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
}

.lightbox-counter {
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Map Actual */
.interactive-map {
    width: 100%;
    height: 500px;
    border-radius: 28px;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

/* ─── Property Details Page (Refined) ─── */
.details-page {
    padding-top: 100px;
    background: #FFFFFF;
}

/* Gallery & Floating Button */
.gallery-container {
    max-width: 1400px;
    margin: 30px auto;
    padding: 0 40px;
    position: relative;
}

.details-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: repeat(2, 300px);
    gap: 12px;
}

.gallery-main {
    grid-row: span 2;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.gallery-item {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.gallery-item img,
.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.gallery-item:hover img,
.gallery-main:hover img {
    transform: scale(1.05);
}

.view-all-photos {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: #FFFFFF;
    border: 1px solid var(--border);
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.view-all-photos:hover {
    transform: translateY(-2px);
    background: #F8F5F0;
}

/* Sticky Sub-nav */
.details-subnav {
    background: #FFFFFF;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 90px;
    /* Just below navbar */
    z-index: 100;
}

.subnav-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    gap: 32px;
}

.subnav-link {
    padding: 20px 0;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    position: relative;
    transition: var(--transition);
    cursor: pointer;
}

.subnav-link.active {
    color: var(--gold);
}

.subnav-link::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gold);
    transition: var(--transition);
}

.subnav-link.active::after {
    width: 100%;
}

/* Main Layout */
.details-content-wrap {
    max-width: 1400px;
    margin: 0 auto 100px;
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 70px;
    align-items: flex-start;
}

.details-section {
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
}

.details-section:last-child {
    border-bottom: none;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 24px;
}

/* Booking Sidebar (Bird-inspired) */
.booking-sidebar {
    position: sticky;
    top: 170px;
}

.booking-card {
    background: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.booking-prop-info {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.booking-prop-thumb {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.booking-prop-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.booking-prop-details h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.booking-prop-details p {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.booking-grid-input {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.booking-input-box {
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 12px 16px;
    cursor: pointer;
    transition: var(--transition);
}

.booking-input-box:hover {
    border-color: var(--gold);
}

.booking-input-box label {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    text-transform: uppercase;
    display: block;
    margin-bottom: 4px;
}

.booking-input-box .value {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-primary);
}

.booking-guest-picker {
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 24px;
}

.guest-row-inline {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.guest-info h5 {
    font-size: 0.88rem;
    font-weight: 500;
}

.guest-info p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.guest-controls {
    display: flex;
    align-items: center;
    gap: 14px;
}

.guest-ctrl-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.guest-ctrl-btn:hover {
    border-color: var(--gold);
    background: var(--gold-muted);
}

.whatsapp-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
    padding: 14px;
    border-radius: 16px;
    border: 1px solid #25D366;
    color: #25D366;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    width: 100%;
    background: transparent;
}

.whatsapp-contact:hover {
    background: rgba(37, 211, 102, 0.05);
}

/* Overview Section Improvements */
.overview-specs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
    padding: 24px;
    background: #F8F5F0;
    border-radius: 20px;
}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.spec-item i {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.spec-item strong {
    color: var(--text-primary);
    font-size: 1rem;
}

.overview-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    
}

/* Amenities Groups (2-column layout) */
.amenities-group {
    margin-bottom: 40px;
}

.amenity-cat-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    display: block;
    color: var(--text-primary);
}

.amenities-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 40px;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.amenity-item i {
    color: var(--gold);
    width: 20px;
    text-align: center;
}

/* Rules List */
.rules-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rule-item {
    display: flex;
    gap: 16px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    align-items: flex-start;
}

.rule-item i {
    color: var(--gold);
    font-size: 1.1rem;
    padding-top: 4px;
}

/* Project Section */
.project-card {
    background: var(--bg-secondary);
    border-radius: 24px;
    padding: 32px;
    display: flex;
    gap: 32px;
    align-items: center;
}

.project-img {
    width: 200px;
    height: 140px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-info h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.project-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Map Section */
.map-placeholder {
    width: 100%;
    height: 400px;
    border-radius: 24px;
    background: #F0EBE0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    overflow: hidden;
    position: relative;
}

.map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.map-overlay-btn {
    position: absolute;
    background: #FFFFFF;
    padding: 12px 24px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-weight: 500;
}

/* ─── Lightbox Overhaul (FIXED) ─── */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.98);
    z-index: 9999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lightbox-modal.open {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 80%;
    max-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
    object-fit: contain;
    user-select: none;
}

.lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}

.lightbox-nav:hover {
    background: var(--gold);
    border-color: var(--gold);
}

.lightbox-prev {
    left: 40px;
}

.lightbox-next {
    right: 40px;
}

.lightbox-close {
    position: fixed;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 2.2rem;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10001;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--gold);
}

.lightbox-counter {
    position: fixed;
    bottom: 40px;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    background: rgba(0, 0, 0, 0.5);
    padding: 6px 16px;
    border-radius: 20px;
}

/* ─── Advanced Filter UI Components (Birds-style) ─── */

/* Neighborhood Chips */
.chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chip-btn {
    padding: 10px 18px;
    border-radius: 30px;
    border: 1px solid var(--border);
    background: #FFFFFF;
    font-size: 0.88rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.chip-btn:hover {
    border-color: var(--gold);
    background: #F8F5F0;
}

.chip-btn.active {
    background: var(--gold);
    border-color: var(--gold);
    color: #FFFFFF;
}

/* Bedroom Pills */
.pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.pill-btn {
    flex: 1;
    min-width: 100px;
    padding: 12px;
    border-radius: 40px;
    border: 1px solid var(--border);
    background: #FFFFFF;
    font-size: 0.9rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.pill-btn:hover {
    border-color: var(--gold);
}

.pill-btn.active {
    background: var(--gold);
    border-color: var(--gold);
    color: #FFFFFF;
}

/* Price Slider (Double handle simulation) */
.price-slider-wrap {
    padding: 20px 0;
}

.slider-track-wrap {
    position: relative;
    height: 6px;
    background: #F0EBE0;
    border-radius: 3px;
    margin-bottom: 30px;
}

.slider-track {
    position: absolute;
    height: 100%;
    background: var(--gold);
    border-radius: 3px;
}

.price-inputs-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.price-input-box {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.price-input-box label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.price-input-box input {
    height: 48px;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0 16px;
    font-size: 0.95rem;
    width: 100%;
}

/* Custom Sort Dropdown Radio Style */
.sort-radio-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px;
    min-width: 200px;
}

.sort-radio-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.sort-radio-item:hover {
    background: #F8F5F0;
}

.sort-radio-item input[type="radio"] {
    accent-color: var(--gold);
    width: 18px;
    height: 18px;
}

.sort-radio-item span {
    font-size: 0.95rem;
    color: var(--text-primary);
}

/* ─── Guests Counter ─── */
.guests-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-top: 1px solid var(--border);
    margin-top: 16px;
}

.guests-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
}

.guests-label i {
    color: var(--gold);
    font-size: 1rem;
}

.guests-label small {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.guests-counter {
    display: flex;
    align-items: center;
    gap: 16px;
}

.counter-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: #FFF;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.counter-btn:hover {
    border-color: var(--gold);
    background: #F8F5F0;
}

#guestCount {
    font-size: 1.1rem;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

.guest-error {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #fff5f5;
    border: 1px solid #fecaca;
    border-radius: 10px;
    font-size: 0.85rem;
    color: #dc2626;
    margin-bottom: 16px;
}

.guest-error i {
    flex-shrink: 0;
}

/* Clickable booking input (no dropdown) */
.booking-input-box.clickable {
    cursor: pointer;
}

.booking-input-box.clickable:hover {
    border-color: var(--gold);
}

/* ─── Date Picker Modal ─── */
.date-picker-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5000;
    align-items: center;
    justify-content: center;
}

.date-picker-modal.open {
    display: flex;
}

.date-picker-card {
    background: #FFFFFF;
    border-radius: 24px;
    width: 440px;
    max-width: 95vw;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
    z-index: 5001;
    overflow: hidden;
}

.date-picker-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 28px 28px 20px;
    border-bottom: 1px solid var(--border);
}

.step-label {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.step-indicator {
    display: flex;
    gap: 8px;
}

.step-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    transition: var(--transition);
}

.step-dot.active {
    background: var(--gold);
    width: 24px;
    border-radius: 4px;
}

.step-dot.done {
    background: var(--gold);
}

.date-picker-body {
    padding: 20px 28px;
}

.mini-cal-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    font-size: 1rem;
    font-weight: 600;
}

.cal-nav-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: #FFF;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.cal-nav-btn:hover {
    border-color: var(--gold);
}

.mini-cal-grid,
.mini-cal-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    text-align: center;
}

.cal-day-header {
    font-size: 0.75rem;
    color: var(--text-muted);
    padding: 6px 0;
    font-weight: 600;
}

.cal-day {
    width: 100%;
    aspect-ratio: 1;
    border: none;
    background: none;
    border-radius: 50%;
    font-size: 0.88rem;
    cursor: pointer;
    transition: var(--transition);
}

.cal-day:hover:not(.disabled) {
    background: #F0EBE0;
}

.cal-day.disabled {
    color: var(--border);
    cursor: not-allowed;
}

.cal-day.selected {
    background: var(--gold);
    color: #FFF;
    font-weight: 600;
}

.cal-day.in-range {
    background: #F0EBE0;
    border-radius: 0;
}

.cal-day.checkin-day {
    border-radius: 50% 0 0 50%;
}

.cal-day.checkout-day {
    border-radius: 0 50% 50% 0;
}

.date-picker-footer {
    padding: 20px 28px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.selected-dates-summary {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.85rem;
}

.selected-dates-summary small {
    display: block;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.selected-dates-summary strong {
    font-size: 0.9rem;
}

/* ─── Checkout Page ─── */

.checkout-main {
    padding: 140px 0 100px;
    background: #FFFFFF;
}

.checkout-layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 80px;
    align-items: flex-start;
}

.checkout-section {
    margin-bottom: 60px;
}

.checkout-section h2 {
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.checkout-subtext {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.checkout-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field label {
    font-size: 0.85rem;
    font-weight: 500;
}

.form-field input {
    height: 54px;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0 16px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-field input:focus {
    border-color: var(--gold);
    outline: none;
    box-shadow: 0 0 0 3px var(--gold-muted);
}

.phone-input-wrap {
    display: flex;
    gap: 12px;
}

.phone-prefix {
    width: 80px;
    height: 54px;
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #F8F5F0;
    font-weight: 500;
}

.policy-box {
    margin-top: 30px;
}

.policy-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.checkout-sidebar {
    position: sticky;
    top: 120px;
}

.checkout-card {
    background: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.checkout-card-header {
    display: flex;
    gap: 20px;
    padding: 24px;
    border-bottom: 1px solid var(--border);
}

.checkout-card-thumb {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.checkout-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.checkout-card-title h4 {
    margin-bottom: 4px;
    font-size: 1.1rem;
}

.checkout-card-body {
    padding: 24px;
}

.trip-detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.trip-detail-row span:first-child {
    font-weight: 600;
}

.price-details-wrap {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

/* Responsive checkout */
@media (max-width: 1000px) {
    .checkout-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .checkout-form-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive fixes */
@media (max-width: 1100px) {
    .details-content-wrap {
        grid-template-columns: 1fr;
    }

    .booking-sidebar {
        position: static;
        margin-top: 40px;
    }

    .subnav-inner {
        padding: 0 24px;
        overflow-x: auto;
        gap: 20px;
    }

    .subnav-link {
        white-space: nowrap;
    }
}

/* ─────────────────────────────────────────────────────────
   TABLET  ≤ 960px
───────────────────────────────────────────────────────── */
@media (max-width: 960px) {

    /* Navbar — hide desktop links, show hamburger */
    .nav-links {
        display: none;
    }

    .btn-login {
        display: none;
    }

    .mobile-menu-btn {
        display: flex !important;
    }

    /* Book Now stays visible on tablet */
    .nav-right .btn-gold {
        padding: 8px 16px;
        font-size: 0.78rem;
    }

    /* Hero */
    .hero {
        min-height: 90vh;
        padding-bottom: 60px;
    }

    .hero h1 {
        font-size: clamp(2.2rem, 5vw, 3.6rem);
    }

    .hero-sub {
        font-size: 0.95rem;
    }

    /* Booking widget stacks */
    .booking-widget {
        flex-direction: column;
        border-radius: 16px;
        padding: 12px;
        gap: 2px;
        max-width: 100%;
    }

    .booking-field {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, .14);
        border-radius: 10px;
    }

    .booking-field:last-of-type {
        border-bottom: none;
    }

    .booking-search-btn {
        width: 100%;
        justify-content: center;
        padding: 14px;
        border-radius: 10px;
    }

    /* Properties grid */
    .properties-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Destinations grid */
    .destinations-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Why section */
    .why-grid {
        grid-template-columns: 1fr;
    }

    .why-right {
        display: none;
    }

    /* Footer */
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

/* ─────────────────────────────────────────────────────────
   MOBILE  ≤ 640px
───────────────────────────────────────────────────────── */
@media (max-width: 640px) {

    /* Navbar */
    .navbar-inner {
        padding: 0 20px;
    }

    .nav-right .btn-gold {
        display: none;
    }

    /* hide Book Now on tiny screens */

    /* Mobile nav text must be light on dark overlay */
    .mobile-nav a {
        color: #F0EBE0 !important;
        font-size: 1.5rem;
    }

    .mobile-nav a:hover {
        color: var(--gold) !important;
    }

    .mobile-nav .btn-outline {
        color: #F0EBE0;
        border-color: rgba(255, 255, 255, .35);
    }

    .mobile-nav-close {
        color: rgba(240, 235, 224, .6);
    }

    /* Page heroes (inner pages) */
    .auth-hero,
    .page-hero,
    .pg-header {
        min-height: 32vh;
    }

    .auth-hero-inner,
    .page-hero-inner,
    .pg-header-inner {
        padding: 40px 20px 32px;
    }

    .auth-hero h1,
    .page-hero h1,
    .pg-header-inner h1 {
        font-size: clamp(1.6rem, 6vw, 2.4rem);
    }

    /* Auth pages */
    .auth-wrap {
        padding: 32px 16px 60px;
    }

    .auth-card {
        padding: 28px 20px;
        border-radius: 20px;
    }

    .auth-form-grid {
        grid-template-columns: 1fr !important;
    }

    .auth-perks {
        grid-template-columns: 1fr !important;
    }

    /* Section spacing */
    .section {
        padding: 60px 0;
    }

    .container {
        padding: 0 20px;
    }

    /* Hero */
    .hero {
        min-height: 100svh;
        padding-bottom: 40px;
    }

    .hero-content {
        padding: 0 20px;
    }

    .hero h1 {
        font-size: clamp(2rem, 8vw, 3rem);
        max-width: 100%;
    }

    .hero-sub {
        font-size: 0.9rem;
        margin-bottom: 28px;
    }

    /* Stats bar */
    .stats-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 24px;
    }

    /* Properties */
    .properties-grid {
        grid-template-columns: 1fr !important;
    }

    .properties-tabs {
        gap: 8px;
        flex-wrap: wrap;
    }

    /* Destinations */
    .destinations-grid {
        grid-template-columns: 1fr;
    }

    .dest-card {
        height: 200px;
    }

    /* Properties listing layout */
    .properties-layout {
        flex-direction: column;
    }

    .listing-filter-bar {
        flex-direction: column;
        gap: 12px;
        padding: 16px;
    }

    .filter-main-controls {
        flex-direction: column;
        gap: 10px;
    }

    /* Partner section */
    .partner-card {
        flex-direction: column;
        gap: 24px;
        padding: 32px 20px;
    }

    /* Footer */
    .footer-inner {
        padding: 48px 20px 24px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
    }

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    /* Scroll to top */
    .scroll-top {
        right: 16px;
        bottom: 16px;
        width: 40px;
        height: 40px;
        font-size: 0.8rem;
    }

    /* Filter modal full-screen on mobile */
    .filter-modal {
        width: 100%;
        left: 0;
        right: 0;
        border-radius: 24px 24px 0 0;
        bottom: 0;
        top: auto;
        max-height: 90vh;
    }
}

/* ─────────────────────────────────────────────────────────
   VERY SMALL  ≤ 400px
───────────────────────────────────────────────────────── */
@media (max-width: 400px) {
    .stats-inner {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 1.9rem;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }
}


/* ═══════════════════════════════════════════
   ACCOUNT MENU RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 768px) {
    .booking-dropdown {
        left: auto !important;
        right: 0 !important;
        min-width: 220px;
        max-width: calc(100vw - 40px);
    }
    
    #accountDropdown {
        right: 0 !important;
        left: auto !important;
    }
}

@media (max-width: 480px) {
    .booking-dropdown {
        min-width: 200px;
        right: -10px !important;
    }
    
    #accountDropdown {
        right: -10px !important;
    }
}

/* ═══════════════════════════════════════════
   ARABIC (RTL) SPECIFIC OVERRIDES
   Applied when body has class="lang-ar"
   ═══════════════════════════════════════════ */

/* Force RTL direction and Cairo font for Arabic */
body.lang-ar {
    font-family: 'Cairo', sans-serif !important;
    direction: rtl;
}

body.lang-ar *:not(.fa):not(.fas):not(.far):not(.fab):not([class*="fa-"]) {
    font-family: 'Cairo', sans-serif !important;
}

/* Logo - Arabic specific sizing */
body.lang-ar .logo-name {
    letter-spacing: 0;
    font-family: 'Cairo', sans-serif !important;
    font-size: 1.8rem !important;
    font-weight: 700;
    color: var(--gold);
    line-height: 1.0;
}

body.lang-ar .logo-tagline {
    font-size: 0.75rem !important;
    letter-spacing: 0;
    font-weight: 500;
}

/* Headings - use Cairo for Arabic */
body.lang-ar .navbar-brand,
body.lang-ar h1,
body.lang-ar h2,
body.lang-ar h3,
body.lang-ar .heading-display,
body.lang-ar .section-header h2,
body.lang-ar .prop-name,
body.lang-ar .dest-name,
body.lang-ar .why-left h2,
body.lang-ar .partner-card h2 {
    font-family: 'Cairo', sans-serif !important;
    letter-spacing: 0;
  /*  font-weight: 700;*/
}

/* Section Labels - flip decorative line */
body.lang-ar .section-label::before {
    display: none;
}

body.lang-ar .section-label::after {
    content: '';
    display: inline-block;
    width: 28px;
    height: 1px;
    background: var(--gold);
    flex-shrink: 0;
}

/* Gold Line - flip gradient direction */
body.lang-ar .gold-line {
    background: linear-gradient(270deg, var(--gold), transparent);
    margin-left: auto;
    margin-right: 0;
}

/* Hero Eyebrow - flip decorative line */
body.lang-ar .hero-eyebrow::before {
    display: none;
}

body.lang-ar .hero-eyebrow::after {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--gold);
}

/* Booking Widget - flip field icons */
body.lang-ar .booking-field .field-icon {
    right: auto;
    left: 16px;
}

/* Property Cards - flip badges and wishlist */
body.lang-ar .prop-badge {
    left: auto;
    right: 14px;
}

body.lang-ar .prop-wishlist {
    right: auto;
    left: 14px;
}

/* Why Section - flip badge position */
body.lang-ar .why-img-badge {
    left: auto;
    right: 28px;
}

/* Testimonials - flip quote mark */
body.lang-ar .testimonial-card::before {
    right: auto;
    left: 28px;
}

/* Footer - flip hover padding */
body.lang-ar .footer-col ul li a:hover {
    padding-left: 0;
    padding-right: 4px;
}

/* Scroll to Top - flip position */
body.lang-ar .scroll-top {
    right: auto;
    left: 32px;
}

/* Lightbox - flip navigation */
body.lang-ar .lightbox-prev {
    left: auto;
    right: 40px;
}

body.lang-ar .lightbox-next {
    right: auto;
    left: 40px;
}

body.lang-ar .lightbox-close {
    right: auto;
    left: 40px;
}

/* View All Photos - flip position */
body.lang-ar .view-all-photos {
    right: auto;
    left: 24px;
}

/* Partner Card - flip decoration */
body.lang-ar .partner-card::before {
    right: auto;
    left: -100px;
}

/* Why Section - flip decoration */
body.lang-ar .why-section::before {
    right: auto;
    left: -200px;
}

/* Account Dropdown - flip position */
body.lang-ar #accountDropdown {
    right: auto !important;
    left: 0 !important;
}

/* Booking Dropdown - flip position */
body.lang-ar .booking-dropdown {
    right: auto;
    left: 0;
}

/* Nav Links - flip underline */
body.lang-ar .nav-links a::after {
    left: auto;
    right: 0;
}

/* Subnav Links - flip underline */
body.lang-ar .subnav-link::after {
    left: auto;
    right: 0;
}

/* Date Picker - flip border radius */
body.lang-ar .cal-day.checkin-day {
    border-radius: 0 50% 50% 0;
}

body.lang-ar .cal-day.checkout-day {
    border-radius: 50% 0 0 50%;
}

/* Filter Modal - flip position */
body.lang-ar .filter-modal {
    right: auto;
    left: 0;
}

/* Search Input - flip icon */
body.lang-ar .search-input-wrap i {
    left: auto;
    right: 16px;
}

body.lang-ar .search-input-wrap input {
    padding: 14px 44px 14px 16px;
}

/* Icon Flipping - flip directional icons */
body.lang-ar .fa-chevron-left,
body.lang-ar .fa-chevron-right,
body.lang-ar .fa-arrow-left,
body.lang-ar .fa-arrow-right {
    transform: scaleX(-1);
}

/* Ensure icons display correctly */
body.lang-ar i.fa,
body.lang-ar i.fas,
body.lang-ar i.far,
body.lang-ar i.fab {
    display: inline-block;
}

/* Mobile Responsive RTL */
@media (max-width: 768px) {
    body.lang-ar .booking-dropdown {
        left: 0 !important;
        right: auto !important;
    }
    
    body.lang-ar #accountDropdown {
        left: 0 !important;
        right: auto !important;
    }
}

@media (max-width: 480px) {
    body.lang-ar .booking-dropdown {
        left: -10px !important;
        right: auto !important;
    }
    
    body.lang-ar #accountDropdown {
        left: -10px !important;
        right: auto !important;
    }
    
    body.lang-ar .scroll-top {
        left: 16px;
        right: auto;
    }
}
