/* ===========================
   TETA LOCANDA — STYLE SHEET
   =========================== */

:root {
    /* Brand colors — preserved exactly */
    --color-utopia: #E8906A;
    --color-haven:  #7CC85A;
    --color-bliss:  #F5D84A;
    --color-dark:   #2C3E50;
    --color-light:  #F4F6F4;
    --color-white:  #FFFFFF;
    --color-gray:   #777;

    /* Gradients */
    --gradient-hero:    linear-gradient(135deg, #1a6b3c 0%, #4caf7d 50%, #a8e063 100%);
    --gradient-green:   linear-gradient(135deg, #4B953F 0%, #7FBB4C 100%);
    --gradient-yellow:  linear-gradient(135deg, #FFF176, #FFDD36);
    --gradient-utopia:  linear-gradient(135deg, #b84e28, #E8906A);
    --gradient-haven:   linear-gradient(135deg, #3b8826, #7CC85A);
    --gradient-bliss:   linear-gradient(135deg, #c49010, #F5D84A);

    /* Shadows — multi-layer soft */
    --shadow-card:  0 2px 4px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.07);
    --shadow-hover: 0 4px 8px rgba(0,0,0,0.06), 0 20px 48px rgba(0,0,0,0.13);

    /* Tokens */
    --radius:     16px;
    --radius-sm:  8px;
    --transition: 0.3s ease;

    /* Spacing scale */
    --sp-1: 4px;
    --sp-2: 8px;
    --sp-3: 16px;
    --sp-4: 24px;
    --sp-5: 32px;
    --sp-6: 48px;
    --sp-7: 64px;
    --sp-8: 96px;
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', sans-serif;
    color: var(--color-dark);
    background: var(--color-light);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* ===== SCROLL REVEAL ===== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(28px);
        filter: blur(6px);
        transition:
            opacity   0.65s cubic-bezier(0.16, 1, 0.3, 1),
            transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
            filter    0.65s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .reveal.in-view {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
    .stagger-children .reveal:nth-child(1) { transition-delay: 0.00s; }
    .stagger-children .reveal:nth-child(2) { transition-delay: 0.10s; }
    .stagger-children .reveal:nth-child(3) { transition-delay: 0.20s; }
    .stagger-children .reveal:nth-child(4)  { transition-delay: 0.30s; }
    .stagger-children .reveal:nth-child(5)  { transition-delay: 0.40s; }
    .stagger-children .reveal:nth-child(6)  { transition-delay: 0.50s; }
    .stagger-children .reveal:nth-child(7)  { transition-delay: 0.60s; }
    .stagger-children .reveal:nth-child(8)  { transition-delay: 0.70s; }
    .stagger-children .reveal:nth-child(9)  { transition-delay: 0.80s; }
    .stagger-children .reveal:nth-child(10) { transition-delay: 0.90s; }
    .stagger-children .reveal:nth-child(11) { transition-delay: 1.00s; }
    .stagger-children .reveal:nth-child(12) { transition-delay: 1.05s; }
    .stagger-children .reveal.stagger-done { transition-delay: 0s !important; }
}

/* ===== FOCUS STATES ===== */
a:focus-visible, button:focus-visible {
    outline: 2px solid #4B953F;
    outline-offset: 3px;
}

/* ===== NAVBAR ===== */
#navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 40px;
    transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
    background: transparent;
}

#navbar.scrolled {
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.06), 0 4px 24px rgba(0,0,0,0.07);
}

.nav-brand { display: flex; align-items: center; }

.nav-logo {
    height: 80px;
    width: auto;
    display: block;
    transition: height var(--transition);
}

#navbar.scrolled .nav-logo { height: 80px; }

.nav-links {
    display: flex;
    list-style: none;
    gap: 36px;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-white);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    position: relative;
    transition: var(--transition);
}

#navbar.scrolled .nav-links a {
    background: var(--gradient-green);
    background-attachment: fixed;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Mobile dropdown nav links always gradient */
.nav-links.open a {
    background: var(--gradient-green);
    background-attachment: fixed;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 3px;
    border-radius: 2px;
    background: var(--gradient-yellow);
    transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }

.nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--color-white);
    transition: color var(--transition);
}
#navbar.scrolled .nav-toggle { color: var(--color-dark); }

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--gradient-hero);
    overflow: hidden;
}

/* Decorative blobs */
.hero::before {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.07) 0%, transparent 70%);
    top: -150px; left: -150px;
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(168,224,99,0.15) 0%, transparent 70%);
    bottom: -80px; right: -80px;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(26,107,60,0.35) 0%, transparent 55%),
        radial-gradient(circle at 80% 30%, rgba(168,224,99,0.2) 0%, transparent 50%),
        radial-gradient(circle at 50% 90%, rgba(76,175,125,0.15) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 0 24px;
    max-width: 760px;
}

.hero-overline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
    margin-bottom: 28px;
    padding: 8px 20px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50px;
}
.pin-icon {
    width: 1.1em;
    height: 1.1em;
    flex-shrink: 0;
    vertical-align: middle;
}

.hero-content h1 {
    font-size: clamp(2.6rem, 7vw, 4.8rem);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 24px;
    line-height: 1.1;
    text-shadow: 0 2px 24px rgba(0,0,0,0.18);
    letter-spacing: -0.01em;
}
.hero-welcome {
    font-size: 0.55em;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.brand-highlight {
    background: var(--gradient-yellow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mobile-br { display: none; }
.hero-content p {
    font-size: clamp(1.05rem, 2.5vw, 1.3rem);
    color: rgba(255,255,255,0.82);
    margin-bottom: 44px;
    font-weight: 300;
    max-width: 48ch;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    letter-spacing: 0.01em;
}

/* Hero stats strip */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-top: 52px;
    flex-wrap: wrap;
}
.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 28px;
    position: relative;
}
.hero-stat + .hero-stat::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background: rgba(255,255,255,0.25);
}
.hero-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1;
    margin-bottom: 4px;
}
.hero-stat-label {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
}

/* Hero bottom fade */
.hero-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent, rgba(26,107,60,0.25));
    pointer-events: none;
    z-index: 1;
}

/* Hero scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.55);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    text-decoration: none;
    animation: hero-bounce 2.2s ease-in-out infinite;
    transition: color 0.2s;
    z-index: 2;
}
.hero-scroll:hover { color: rgba(255,255,255,0.9); }
.hero-scroll svg { width: 18px; height: 18px; }
@keyframes hero-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(9px); }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    border: none;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: var(--color-white);
    color: #1a6b3c;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15), 0 1px 4px rgba(0,0,0,0.1);
    animation: btn-pulse 2.8s ease-in-out infinite;
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2), 0 2px 8px rgba(0,0,0,0.1);
    animation: none;
}
@keyframes btn-pulse {
    0%, 100% { box-shadow: 0 4px 16px rgba(0,0,0,0.15), 0 0 0 0 rgba(255,255,255,0.35); }
    60%       { box-shadow: 0 4px 16px rgba(0,0,0,0.15), 0 0 0 14px rgba(255,255,255,0); }
}

.btn-small  { padding: 7px 18px; font-size: 0.82rem; }

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--color-dark);
    color: var(--color-dark);
    cursor: pointer;
}
.btn-outline:hover {
    background: var(--color-dark);
    color: var(--color-white);
}

/* ===== SECTION LAYOUT ===== */
.section {
    padding: clamp(64px, 10vw, 110px) 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-alt {
    background: var(--color-white);
    max-width: 100%;
    padding-left: 40px;
    padding-right: 40px;
}
.section-alt > * {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Subtle divider between sections */
.section-alt { border-top: 1px solid rgba(0,0,0,0.05); }

.section-title {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    margin-bottom: 10px;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    padding-bottom: 4px;
}
.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 5px;
    border-radius: 3px;
    background: linear-gradient(90deg, #F5C800 0%, #FFD900 50%, #F5C800 100%);
    margin: 16px auto 0;
}

.section-subtitle {
    text-align: center;
    color: var(--color-gray);
    font-size: 1rem;
    margin-bottom: 56px;
    font-weight: 300;
    max-width: 52ch;
    margin-left: auto;
    margin-right: auto;
}

/* ===== HOUSES GRID ===== */
.houses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.house-card {
    background: var(--color-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.house-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.house-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}
.house-img-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 55%;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.22));
    pointer-events: none;
    z-index: 1;
}

.house-img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    pointer-events: none;
}
.house-card:hover .house-img { transform: scale(1.06); }
.house-card:has(.house-body--haven) .house-img { transform: scale(1.15); object-position: center 60%; }
.house-card:has(.house-body--haven):hover .house-img { transform: scale(1.2); }

.house-body {
    padding: 22px 24px 26px;
    border-top: 7px solid transparent;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.house-body--utopia { border-top-color: var(--color-utopia); }
.house-body--haven  { border-top-color: var(--color-haven); }
.house-body--bliss  { border-top-color: var(--color-bliss); }

.house-body h3 {
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}
.house-body--utopia h3 {
    background: var(--gradient-utopia);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.house-body--haven h3 {
    background: var(--gradient-haven);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.house-body--bliss h3 {
    background: var(--gradient-bliss);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.house-body p {
    color: var(--color-gray);
    font-size: 0.9rem;
    line-height: 1.65;
    flex: 1;
}

.house-checkinout {
    display: flex;
    gap: 16px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(0,0,0,0.07);
    font-size: 0.82rem;
    color: var(--color-gray);
}
.house-checkinout span { display: flex; align-items: center; gap: 5px; }
.checkinout-label {
    font-weight: 600;
    color: var(--color-dark);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ===== MENUS GRID ===== */
.menus-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.menu-card {
    background: var(--color-light);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow-card);
    position: relative;
    transition: box-shadow var(--transition);
}
.menu-card:hover { box-shadow: var(--shadow-hover); }
.menu-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 7px;
    border-radius: var(--radius) var(--radius) 0 0;
}
.menu-card--utopia::before { background: var(--gradient-utopia); }
.menu-card--haven::before  { background: var(--gradient-haven); }
.menu-card--bliss::before  { background: var(--gradient-bliss); }

.menu-card-title {
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    letter-spacing: -0.01em;
}
.menu-card--utopia .menu-card-title {
    background: var(--gradient-utopia);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.menu-card--haven .menu-card-title {
    background: var(--gradient-haven);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.menu-card--bliss .menu-card-title {
    background: var(--gradient-bliss);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.menu-upload-area { margin-bottom: 16px; }

.upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 28px 16px;
    border: 2px dashed #d0d8d0;
    border-radius: var(--radius-sm);
    text-align: center;
    transition: var(--transition);
    background: rgba(255,255,255,0.5);
}
.upload-placeholder:hover {
    border-color: #4B953F;
    background: rgba(75,149,63,0.04);
}
.upload-icon { font-size: 2rem; margin-bottom: 8px; }
.upload-placeholder p { color: var(--color-gray); margin-bottom: 12px; font-size: 0.88rem; }

.upload-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px;
    border: 1.5px solid #e8eee8;
    border-radius: var(--radius-sm);
    background: #fff;
}
.pdf-preview { display: flex; flex-direction: column; align-items: center; text-align: center; }
.pdf-preview p { font-size: 0.85rem; color: var(--color-gray); margin-top: 4px; word-break: break-all; }

/* ===== MULTI-MENU UI ===== */
.multi-menu-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

.multi-menu-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 28px;
    margin-bottom: 28px;
}

.menu-item {
    background: var(--color-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.menu-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

.menu-item-preview img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: contain;
    display: block;
}
.menu-item-pdf {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 3 / 4;
    font-size: 3rem;
    background: var(--color-light);
}
.menu-item-info {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 12px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(0,0,0,0.05);
}
.menu-item-name {
    flex: 1;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.menu-item-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0,0,0,0.55);
    border: none;
    color: #fff;
    font-size: 1rem;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
    transition: background 0.2s;
}
.menu-item-remove:hover { background: rgba(200,50,50,0.85); }

.menu-edit-name-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-gray);
    padding: 2px;
    flex-shrink: 0;
    transition: color 0.2s;
}
.menu-edit-name-btn:hover { color: var(--color-haven); }
body.admin-mode .menu-edit-name-btn { display: inline-flex; align-items: center; }

.menu-name-confirm,
.menu-name-cancel {
    background: none;
    border: none;
    cursor: pointer;
    padding: 2px 4px;
    border-radius: 4px;
    font-size: 0.9rem;
    line-height: 1;
    flex-shrink: 0;
}
.menu-name-confirm { color: var(--color-haven); }
.menu-name-confirm:hover { background: rgba(124,200,90,0.15); }
.menu-name-cancel { color: var(--color-gray); }
.menu-name-cancel:hover { color: var(--color-utopia); }

.menu-name-input {
    flex: 1;
    font-size: 0.82rem;
    font-weight: 600;
    font-family: inherit;
    border: 1.5px solid var(--color-haven);
    border-radius: 6px;
    padding: 2px 6px;
    outline: none;
    min-width: 0;
}

/* ===== MENU PAGE COUNT BADGE ===== */
.menu-page-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 20px;
    pointer-events: none;
}
.menu-item-preview { position: relative; }

/* ===== MENU PAGES STRIP (admin) ===== */
.menu-pages-strip {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 6px;
    padding: 8px 10px;
    border-top: 1px solid rgba(0,0,0,0.05);
    scrollbar-width: thin;
}
.menu-page-thumb {
    position: relative;
    flex-shrink: 0;
    width: 60px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
}
.menu-page-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.menu-page-remove {
    position: absolute;
    top: 2px;
    right: 2px;
    background: rgba(0,0,0,0.6);
    border: none;
    color: #fff;
    font-size: 0.75rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
}
.menu-page-remove:hover { background: rgba(200,50,50,0.85); }

.menu-item-wa-wrap {
    padding: 10px 12px;
    border-top: 1px solid rgba(0,0,0,0.05);
}
.menu-item-wa {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    padding: 8px 0;
    background: #25D366;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s;
}
.menu-item-wa:hover { background: #1ebe5d; }

.multi-menu-add {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    padding: 20px;
    background: var(--color-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    border: 1.5px dashed #d0d8d0;
}
.multi-menu-add .amenity-input { flex: 1; min-width: 180px; }

/* ===== AMENITIES UI ===== */
/* ===== AMENITY VIEWS ===== */
.amenity-guest-view { display: block; }
.amenity-admin-view { display: none; }
body.admin-mode .amenity-guest-view { display: none; }
body.admin-mode .amenity-admin-view { display: block; padding-right: 4px; }

.amenity-cat-group { margin-bottom: 14px; }
.amenity-cat-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-gray);
    padding: 6px 0 4px;
    border-bottom: 1px solid rgba(0,0,0,0.07);
    margin-bottom: 4px;
}

/* Guest view — clean list */
.amenity-tag {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-dark);
    background: none;
    box-shadow: none;
    border-radius: 0;
}
.amenity-tag:last-of-type { border-bottom: none; }

/* Admin view — checkboxes */
.amenity-check-item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 6px 0;
    font-size: 0.84rem;
    color: var(--color-dark);
    cursor: pointer;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}
.amenity-check-item:last-of-type { border-bottom: none; }
.amenity-check-item input[type="checkbox"] {
    width: 15px; height: 15px;
    flex-shrink: 0;
    accent-color: var(--color-haven);
    cursor: pointer;
}

.amenity-empty {
    color: var(--color-gray);
    font-size: 0.82rem;
    font-style: italic;
    padding: 8px 0;
}

/* Icon sizing and colors */
.amenity-icon {
    width: 20px; height: 20px;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
}
.amenity-icon svg { width: 18px; height: 18px; }
.amenity-icon i { font-size: 15px; line-height: 1; }
.amenity-tag--utopia .amenity-icon,
.amenity-icon--utopia { color: var(--color-utopia); -webkit-text-fill-color: var(--color-utopia); }
.amenity-tag--haven .amenity-icon,
.amenity-icon--haven { color: var(--color-haven); -webkit-text-fill-color: var(--color-haven); }
.amenity-tag--bliss .amenity-icon,
.amenity-icon--bliss { color: #b09000; -webkit-text-fill-color: #b09000; }

.amenity-tag--utopia {
    background: var(--gradient-utopia);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}
.amenity-tag--haven {
    background: var(--gradient-haven);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}
.amenity-tag--bliss {
    background: var(--gradient-bliss);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}


.amenity-input {
    flex: 1;
    padding: 8px 16px;
    border: 1.5px solid #dde5dd;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: var(--color-white);
}
.amenity-input:focus {
    border-color: #4B953F;
    box-shadow: 0 0 0 3px rgba(75,149,63,0.12);
}

/* ===== HOUSE RULES ===== */
.rules-label {
    max-width: 680px;
    margin: 0 auto 14px;
    width: 100%;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-gray);
}

.rules-container {
    max-width: 680px;
    margin: 0 auto 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rules-per-house {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.rules-house-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rules-house-header {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 7px 14px;
    border-radius: 8px;
    display: inline-block;
    align-self: flex-start;
}
.rules-house-header--utopia { background: rgba(232,144,106,0.12); color: var(--color-utopia); }
.rules-house-header--haven  { background: rgba(124,200,90,0.12);  color: var(--color-haven); }
.rules-house-header--bliss  { background: rgba(245,216,74,0.18);  color: #b89a00; }

.rule-item--house {
    border-image: none;
    border-left-width: 4px;
    border-left-style: solid;
}
.rules-house-col:nth-child(1) .rule-item--house { border-left-color: var(--color-utopia); }
.rules-house-col:nth-child(2) .rule-item--house { border-left-color: var(--color-haven); }
.rules-house-col:nth-child(3) .rule-item--house { border-left-color: var(--color-bliss); }

@media (max-width: 900px) {
    .rules-per-house { grid-template-columns: 1fr; }
}

.rule-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--color-white);
    padding: 22px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    border-left: 4px solid #4B953F;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.rule-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}
.rule-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
    line-height: 1;
    width: 52px; height: 52px;
    background: var(--color-light);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.25s ease;
}
.rule-item:hover .rule-icon { background: rgba(75,149,63,0.08); }
.rule-item strong { display: block; font-size: 1rem; margin-bottom: 4px; font-weight: 600; }
.rule-item p { color: var(--color-gray); font-size: 0.88rem; line-height: 1.6; }
.rule-item ul { color: var(--color-gray); font-size: 0.88rem; line-height: 1.6; margin: 4px 0 0 1.1rem; padding: 0; }

/* ===== EXTRA SERVICES ===== */
.extras-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}
.extra-card {
    background: var(--color-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    padding: 32px 24px;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.extra-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}
.extra-icon {
    font-size: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px; height: 64px;
    background: var(--color-light);
    border-radius: 14px;
    margin: 0 auto 16px;
}
.extra-card:hover .extra-icon {
    background: rgba(75,149,63,0.08);
}
.extra-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 8px;
    background: var(--gradient-green);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.extra-price {
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 8px;
}
.extra-price small {
    font-size: 0.78rem;
    font-weight: 400;
    color: var(--color-gray);
}
.extra-card p {
    color: var(--color-gray);
    font-size: 0.88rem;
    line-height: 1.6;
}
@media (max-width: 900px) {
    .extras-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
    .extras-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

/* ===== CONTACT ===== */
.contact-groups {
    display: flex;
    flex-direction: column;
    gap: 28px;
    max-width: 500px;
    margin: 0 auto 24px;
}

.contact-group-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    background: var(--gradient-green);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 7px;
}
.contact-group-label i {
    font-size: 0.8rem;
    background: var(--gradient-green);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.contact-group-label svg {
    fill: #4B953F;
    flex-shrink: 0;
}

.contact-group-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.contact-location {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    margin: 0 auto;
}
.contact-location .contact-card { max-width: 500px; width: 100%; }

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 12px 20px;
    background: var(--color-light);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    border: 1.5px solid rgba(0,0,0,0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    text-decoration: none;
    color: var(--color-dark);
}
.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(75,149,63,0.2);
}

.contact-icon {
    width: 52px; height: 52px;
    background: rgba(75,149,63,0.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 14px;
    color: #4B953F;
    transition: background 0.3s ease, transform 0.3s ease;
    flex-shrink: 0;
}
.contact-card:hover .contact-icon {
    background: rgba(75,149,63,0.18);
    transform: scale(1.1) translateY(-2px);
}
.contact-icon svg { width: 24px; height: 24px; }
.contact-icon i { font-size: 20px; }

.contact-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; }
.contact-card p,
.contact-card a { color: var(--color-gray); font-size: 0.78rem; text-decoration: none; }

/* ===== ADMIN MODE ===== */

/* Hide all management controls by default */
.multi-menu-add,
.menu-item-remove,
.menu-item-info,
.menu-pages-strip {
    display: none !important;
}

/* Show them only in admin mode */
body.admin-mode .multi-menu-add,
body.admin-mode .menu-item-info {
    display: flex !important;
}
body.admin-mode .menu-item-remove {
    display: inline-flex !important;
}
body.admin-mode .menu-item-info .btn {
    display: inline-flex !important;
}
body.admin-mode .menu-pages-strip {
    display: flex !important;
}

/* ===== LIGHTBOX ===== */
#lightbox {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.92);
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
    backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
#lightbox.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

#lightbox img {
    max-width: 88vw;
    max-height: 92vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 24px 80px rgba(0,0,0,0.6);
    cursor: default;
}
#lightbox img.lb-entering {
    animation: lb-scale 0.3s cubic-bezier(0.16,1,0.3,1);
}
#lightbox img.lb-slide-next {
    animation: lb-slide-next 0.28s cubic-bezier(0.16,1,0.3,1);
}
#lightbox img.lb-slide-prev {
    animation: lb-slide-prev 0.28s cubic-bezier(0.16,1,0.3,1);
}

@keyframes lb-scale {
    from { transform: scale(0.92); opacity: 0; }
    to   { transform: scale(1);    opacity: 1; }
}
@keyframes lb-slide-next {
    from { transform: translateX(60px) scale(0.96); opacity: 0; }
    to   { transform: translateX(0)    scale(1);    opacity: 1; }
}
@keyframes lb-slide-prev {
    from { transform: translateX(-60px) scale(0.96); opacity: 0; }
    to   { transform: translateX(0)     scale(1);    opacity: 1; }
}

#lightbox-close {
    position: absolute;
    top: 20px; right: 24px;
    background: rgba(255,255,255,0.12);
    border: none;
    color: #fff;
    font-size: 1.6rem;
    line-height: 1;
    width: 44px; height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
    z-index: 1;
}
#lightbox-close:hover { background: rgba(255,255,255,0.25); }

.lb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: 1.5px solid rgba(255,255,255,0.2);
    color: #fff;
    width: 48px; height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
    z-index: 1;
    backdrop-filter: blur(4px);
}
.lb-nav:hover { background: rgba(255,255,255,0.22); border-color: rgba(255,255,255,0.45); transform: translateY(-50%) scale(1.08); }
.lb-nav:disabled { opacity: 0.2; cursor: default; }
.lb-nav:disabled:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); transform: translateY(-50%); }
#lb-prev { left: 24px; }
#lb-next { right: 24px; }

/* ===== CARD NAV ARROWS ===== */
.card-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.45);
    border: none;
    color: #fff;
    width: 28px; height: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s, opacity 0.2s;
    z-index: 2;
    opacity: 0;
    padding: 0;
}
.menu-item-preview:hover .card-nav { opacity: 1; }
.card-nav:hover { background: rgba(0,0,0,0.7); }
.card-nav:disabled { display: none; }
.card-nav-prev { left: 6px; }
.card-nav-next { right: 6px; }

#lb-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.75);
    font-size: 0.85rem;
    font-family: var(--font-main);
    background: rgba(0,0,0,0.45);
    padding: 4px 16px;
    border-radius: 20px;
    pointer-events: none;
}

/* Menu images show pointer cursor */
.menu-item-preview img { cursor: zoom-in; }

/* ===== LOGIN MODAL ===== */
#login-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
}
#login-modal.open { display: flex; }

#login-box {
    background: var(--color-white);
    border-radius: var(--radius);
    padding: 32px 28px;
    width: 100%;
    max-width: 360px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.25);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
#login-box h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
#login-box input {
    padding: 10px 16px;
    border: 1.5px solid #dde5dd;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
#login-box input:focus {
    border-color: #4B953F;
    box-shadow: 0 0 0 3px rgba(75,149,63,0.12);
}
#login-error {
    font-size: 0.8rem;
    color: var(--color-utopia);
    min-height: 18px;
}

/* Lock button — subtle, bottom-right corner */
#admin-lock-btn {
    background: none;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    opacity: 0.2;
    transition: opacity 0.2s;
    padding: 4px;
    color: inherit;
}
#admin-lock-btn:hover { opacity: 0.6; }

/* Admin mode badge */
#admin-badge {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    background: #1a6b3c;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
#admin-badge button {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    padding: 0;
    opacity: 0.8;
}
#admin-badge button:hover { opacity: 1; }

body.admin-mode #admin-lock-btn { display: none; }
body.admin-mode #admin-badge    { display: flex; }

/* ===== FOOTER ===== */
.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 48px 40px;
    background: var(--color-dark);
    color: rgba(255,255,255,0.45);
    font-size: 0.82rem;
    border-top: 3px solid transparent;
    border-image: var(--gradient-hero) 1;
    position: relative;
}
.footer-address {
    font-style: normal;
    font-size: 0.75rem;
    color: rgba(44,62,80,0.45);
    letter-spacing: 0.02em;
}
.footer #admin-lock-btn {
    position: absolute;
    right: 24px;
    bottom: 50%;
    transform: translateY(50%);
}

.footer-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}
.footer-dots span {
    width: 8px; height: 8px;
    border-radius: 50%;
    opacity: 0.8;
}
.footer-dots span:nth-child(1) { background: var(--color-utopia); }
.footer-dots span:nth-child(2) { background: var(--color-haven); }
.footer-dots span:nth-child(3) { background: var(--color-bliss); }

/* ===== PERFORMANCE: content-visibility for below-fold sections ===== */
#menus, #amenities, #extras, #rules, #contact, .footer {
    content-visibility: auto;
    contain-intrinsic-size: auto 600px;
}

/* ===== RESPONSIVE ===== */

/* Large tablet */
@media (max-width: 1100px) {
    .houses-grid, .menus-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .section { padding: 80px 32px; }
}

/* Tablet portrait */
@media (max-width: 900px) {
    .houses-grid, .menus-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .contact-groups { gap: 16px; }
    .contact-group-cards { gap: 10px; }

    .hero-content h1 { font-size: 2.4rem; }
    .hero-content p { font-size: 1.05rem; }
    .section { padding: 64px 24px; }
    .section-alt { padding-left: 24px; padding-right: 24px; }
}

/* Mobile performance: reduce GPU-heavy effects */
@media (max-width: 700px) {
    #navbar.scrolled {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(255,255,255,0.98);
    }
    .lang-toggle {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .hero-scroll { animation: none; }
    .house-card:hover { transform: none; }
    .extra-card:hover { transform: none; }
    .rule-item:hover { transform: none; }
    .contact-card:hover { transform: none; }
}

/* Mobile */
@media (max-width: 600px) {
    .houses-grid, .menus-grid { grid-template-columns: 1fr; gap: 20px; }
    #amenities { padding-left: 16px; padding-right: 16px; }
    #amenities .menus-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
    #amenities .menu-card { padding: 10px 6px; }
    #amenities .menu-card-title { font-size: 0.82rem; margin-bottom: 8px; }
    body.admin-mode #amenities .amenity-admin-view { max-height: unset; overflow: visible; }
    body.admin-mode #amenities .amenity-check-item { font-size: 0.62rem; gap: 3px; padding: 3px 0; }
    body.admin-mode #amenities .amenity-check-item input[type="checkbox"] { width: 10px; height: 10px; flex-shrink: 0; }
    body.admin-mode #amenities .amenity-icon { width: 12px; height: 12px; }
    body.admin-mode #amenities .amenity-icon svg { width: 10px; height: 10px; }
    body.admin-mode #amenities .amenity-icon i { font-size: 10px; }
    body.admin-mode #amenities .amenity-cat-label { font-size: 0.58rem; }
}

@media (max-width: 700px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: var(--color-white);
        flex-direction: column;
        padding: 16px 24px;
        gap: 12px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    .nav-links.open { display: flex; }

    .nav-toggle { display: block; }

    #navbar { padding: 0 20px; height: 68px; }
    #navbar.scrolled { padding: 0 20px; }

    .nav-logo { height: 58px; }
    #navbar.scrolled .nav-logo { height: 58px; }

    .hero { min-height: unset; height: auto; align-items: flex-start; padding: 0 0 48px; }
    .hero-content { padding-top: 120px; }
    .hero-content h1 { font-size: clamp(2.2rem, 9vw, 3rem); }
    .hero-content p { font-size: 0.95rem; margin-bottom: 24px; }
    .mobile-br { display: inline; }
    .hero-content .btn { padding: 10px 24px; font-size: 0.82rem; }
    .hero-stats { flex-wrap: nowrap; gap: 0; margin-top: 36px; }
    .hero-stat { padding: 0 16px; }

    .house-card { max-width: 100%; }

    .contact-card { padding: 18px 10px 16px; }
    .contact-icon { width: 44px; height: 44px; }
    .contact-icon svg { width: 20px; height: 20px; }
    .contact-icon i { font-size: 18px; }

    .section-title { font-size: 1.7rem; }
    .section-subtitle { margin-bottom: 36px; }

    .amenity-input { width: 100%; }

    .footer { padding: 36px 20px; gap: 10px; }
    .hero-scroll { display: none; }

    .multi-menu-add { padding: 14px; }
}

/* ===== LANGUAGE TOGGLE BUTTON ===== */
.lang-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s, color 0.3s;
    flex-shrink: 0;
}
.lang-toggle-label {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    color: var(--color-white);
    transition: color 0.3s;
    pointer-events: none;
}
.lang-toggle:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.8);
}
#navbar.scrolled .lang-toggle {
    border-color: rgba(75,149,63,0.4);
    background: rgba(75,149,63,0.08);
}
#navbar.scrolled .lang-toggle:hover {
    background: rgba(75,149,63,0.15);
    border-color: rgba(75,149,63,0.7);
}
#navbar.scrolled .lang-toggle-label {
    color: #4B953F;
}

@media (max-width: 700px) {
    .lang-toggle {
        width: auto;
        height: 32px;
        font-size: 0.7rem;
        border-radius: 8px;
        padding: 0 12px;
    }
}

/* ===== ARABIC / RTL ===== */
body.lang-ar {
    font-family: 'Cairo', 'Poppins', sans-serif;
    font-weight: 700;
}
body.lang-ar .btn,
body.lang-ar .nav-links a,
body.lang-ar .checkinout-label,
body.lang-ar .section-title,
body.lang-ar .section-subtitle,
body.lang-ar .house-body h3,
body.lang-ar .menu-card-title,
body.lang-ar .extra-card h3,
body.lang-ar .extra-price,
body.lang-ar .hero-stat-value,
body.lang-ar .hero-stat-label,
body.lang-ar .contact-group-label,
body.lang-ar .contact-card h3,
body.lang-ar .lang-toggle-label {
    font-family: 'Cairo', 'Poppins', sans-serif;
    font-weight: 700;
}
body.lang-ar .hero-content h1,
body.lang-ar .section-title { font-weight: 800; }
body.lang-ar .house-body p,
body.lang-ar .section-subtitle,
body.lang-ar .hero-content p,
body.lang-ar .rule-item p,
body.lang-ar .rule-item li,
body.lang-ar .rule-item strong,
body.lang-ar .extra-card p,
body.lang-ar .amenity-tag,
body.lang-ar .amenity-cat-label,
body.lang-ar .amenity-check-item,
body.lang-ar .contact-card p,
body.lang-ar .footer-address,
body.lang-ar .footer p { font-weight: 700; }

/* Flip gradients for RTL so visual direction matches LTR */
body.lang-ar {
    --gradient-hero:    linear-gradient(225deg, #1a6b3c 0%, #4caf7d 50%, #a8e063 100%);
    --gradient-green:   linear-gradient(225deg, #4B953F 0%, #7FBB4C 100%);
    --gradient-yellow:  linear-gradient(225deg, #FFF176, #FFDD36);
    --gradient-utopia:  linear-gradient(225deg, #b84e28, #E8906A);
    --gradient-haven:   linear-gradient(225deg, #3b8826, #7CC85A);
    --gradient-bliss:   linear-gradient(225deg, #c49010, #F5D84A);
}

/* RTL layout adjustments */
[dir="rtl"] .nav-links a::after {
    left: auto;
    right: 0;
}

[dir="rtl"] .hero-stat + .hero-stat::before {
    left: auto;
    right: 0;
}

[dir="rtl"] .house-checkinout {
    direction: rtl;
    justify-content: flex-start;
}

[dir="rtl"] .house-checkinout span {
    direction: rtl;
}

[dir="rtl"] .rule-item {
    direction: rtl;
    text-align: right;
    border-left: none;
    border-image: none;
    border-right: 4px solid #4B953F;
}

[dir="rtl"] .rule-item--house {
    border-right-width: 4px;
    border-right-style: solid;
}

[dir="rtl"] .rule-item:hover {
    transform: translateY(-5px);
}

[dir="rtl"] .rule-item ul {
    margin: 4px 0 0 0;
    padding: 0 1.2rem 0 0;
    list-style-position: outside;
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .rule-item li {
    text-align: right;
    direction: rtl;
}

[dir="rtl"] .rule-item strong {
    text-align: right;
    display: block;
}

[dir="rtl"] .rule-item p {
    text-align: right;
    direction: rtl;
}

[dir="rtl"] .rule-icon {
    flex-shrink: 0;
}

[dir="rtl"] .rules-container {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .menu-item-remove {
    right: auto;
    left: 8px;
}

[dir="rtl"] .menu-page-badge {
    left: auto;
    right: 8px;
}

[dir="rtl"] .footer #admin-lock-btn {
    right: auto;
    left: 24px;
}

[dir="rtl"] .nav-right {
    flex-direction: row;
}

[dir="rtl"] .contact-card {
    text-align: center;
}

[dir="rtl"] #login-box div[style] {
    direction: rtl;
}

[dir="rtl"] .amenity-tag {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .amenity-cat-label {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .amenity-cat-group {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .amenity-check-item {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .menu-card {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .menu-card-title {
    text-align: center;
}

[dir="rtl"] .amenity-admin-view {
    padding-right: 4px;
    padding-left: 0;
}

[dir="rtl"] .extra-card {
    text-align: center;
}
