/* ============================
   Z-INDEX
============================ */
.z-2000 { z-index: 2000 !important; }
.z-3000 { z-index: 3000 !important; }
.z-9999 { z-index: 9999 !important; }

body { background-color: #fff; }

/* ============================
   NAVBAR STATES
============================ */
.navbar-default {
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    color: white;
}

.navbar-scrolled {
    background: white;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    color: #222;
}
/* ============================
   BOOK BUTTON
============================ */
.navbar-default .book-btn {
    background: #6b5a4a;
    color: white;
}

.navbar-scrolled .book-btn {
    background: #5C4A36;
    color: white !important;
}

/* ============================
   LANGUAGE BUTTON (DESKTOP)
============================ */
.navbar-default #langBtn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: white;
}

.navbar-scrolled #langBtn {
    background: white;
    border: 1px solid #c7b8a8;
    color: #5C4A36;
}

/* ============================
   DESKTOP DROPDOWN
============================ */
#langDropdown {
    animation: fade 0.2s ease;
    margin-top: 12px;
}

@keyframes fade {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0); }
}

.lang-option {
    display: block;
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    color: #000 !important;
    font-size: 15px;
    text-align: left;
}

.lang-option:hover { background: #f0f0f0; }
.lang-option.active { background: #f6efe9; }

/* ============================
   MENU OVERLAY
============================ */
#menuOverlay,
#mobileMenuOverlay {
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease, transform .3s ease;
}

#mobileMenuOverlay { transform: translateX(100%); }

#menuOverlay.show {
    opacity: 1;
    pointer-events: auto;
}

#mobileMenuOverlay.show {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

/* ============================
   MENU CLOSE BUTTONS
============================ */
#menuClose { padding: 18px; top: 30px; left: 40px; }
#mobileMenuClose { top: 25px; right: 25px; padding: 12px; }

/* ============================
   RESPONSIVE ELEMENT VISIBILITY
============================ */
.desktop-only { display: none; }

.mobile-res {
    background: rgba(93, 75, 54, 1);
}

.mobile-menu { background: white; border: 1px solid #c7b8a8;}

/* language button default */
.lang-btn {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.4);
}

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

/* MOBILE: logo solda */
@media (max-width: 767px) {
    header .logo-link {
        position: relative !important;
        left: 0 !important;
        transform: none !important;
        margin-right: auto;
        display: flex;
        align-items: center;
        z-index: 50;
        --tw-translate-x: 0;
    }

    /* Mobile dropdown hidden because we use inline TR–EN */
    #langDropdown {
        display: none !important;
    }

    .lang-btn {
        display: none;
    }
}

/* DESKTOP: logo ortada */
@media (min-width: 768px) {
    header .logo-link {
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    #langDropdown {
        position: absolute !important;
        right: 0 !important;
        top: 80px !important;
        width: 12rem;
    }

    html[lang="ar"][dir="rtl"] #langDropdown {
        right: auto !important;
        left: 10px !important;
    }

    .mobile-lang-inline {
        display: none !important;
    }

    .desktop-only {
        display: inline-block !important;
    }

    .mobile-res,
    .mobile-menu,
    .mobile-menu-link {
        display: none !important;
    }

    .wp-res {
        background: rgba(93, 75, 54, 1);
    }

    .lang-btn {
        background: transparent;
        border-color: white;
    }
}

/* ============================
   MOBILE LANGUAGE SWITCHER
============================ */
.mobile-lang-inline {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

/* Phone numbers stay in normal digit order. In Arabic they align to the right. */
a[href^="tel:"],
.phone-num {
    unicode-bidi: isolate;
}

.phone-num,
a[href^="tel:"].phone-link {
    direction: ltr;
    unicode-bidi: isolate;
}

html[dir="rtl"] a[href^="tel:"],
html[dir="rtl"] .phone-num {
    text-align: right;
}

.mobile-lang-btn {
    padding: 8px 18px;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 999px;
    font-size: 18px;
    transition: .25s ease;
    color: white;
}

.mobile-lang-btn:hover {
    background: rgba(255,255,255,0.2);
}

#hero {
    height: 100vh;
}

#hero-bg {
    height: 100%;
}

#hero-bg .hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================
   HERO DARK / LIGHT SWITCH
============================ */
#hero-bg [data-hero-theme] {
    opacity: 0;
    transition: opacity .6s ease;
}

.hero-theme-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 12px;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1;
    color: rgba(255, 255, 255, .75);
    transition: background .25s ease, color .25s ease;
}

.hero-theme-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, .12);
}

.hero-theme-btn.is-active {
    background: #fff;
    color: #000;
}

@media (max-width: 767px) {
    #heroThemeSwitch {
        right: 1rem;
    }

    .hero-theme-btn span {
        display: none;
    }

    .hero-theme-btn {
        padding: 8px;
    }
}

/* Left-nav içindeki tüm link & button → siyah */
.navbar-scrolled .left-nav a,
.navbar-scrolled .left-nav button {
    color: #000 !important;
}

/* WP Rezervasyon butonu → beyaz */
.navbar-scrolled a .wp-res,
.navbar-scrolled button .wp-res,
.navbar-scrolled .wp-res,
.mobile-res {
    color: #fff !important;
}

/* ============================
   ARABIC: SLIDER CONTROLS + FORWARD ARROWS
   Slider buttons stay left-to-right: left chevron is previous,
   right chevron is next. Continue arrows point with the reading
   direction. Feature illustrations are not directional and stay as drawn.
============================ */
html[dir="rtl"] .slider-controls {
    direction: ltr;
}

html[dir="rtl"] .slider-controls > button svg {
    transform: none;
}

html[dir="rtl"] .dir-forward {
    direction: ltr;
    transform: scaleX(-1);
}

html[dir="rtl"] .group:hover .dir-forward {
    transform: scaleX(-1);
    translate: calc(var(--tw-translate-x) * -1) var(--tw-translate-y);
}

/* Highlights slider: server-rendered panels on a physical left-to-right
   track, so arrow direction stays the same in Arabic. Each panel owns its
   photo (cover, centered), its shade and its caption. */
.slider-container {
    min-height: 520px;
    max-height: 760px;
}

.slider-track {
    display: flex;
    flex-direction: row;
    direction: ltr;
    width: 100%;
    height: 100%;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

.slider-slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    isolation: isolate; /* shade + caption stack inside this panel only */
}

.slider-slide > .slider-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center center;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
    z-index: 0;
}

.slider-slide > .slider-shade {
    z-index: 1;
    pointer-events: none;
}

.slider-slide > .slider-content {
    position: relative;
    z-index: 2;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .55);
}

.slider-slide > .slider-content h2,
.slider-slide > .slider-content p,
.slider-slide > .slider-content a {
    color: #fff;
}

.slider-container > .slider-controls {
    z-index: 20;
}

#sliderDots .dot {
    height: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .slider-track {
        transition: none !important;
    }
}

/* Breakfast clips: one shared portrait frame. Cover crops; pixels are not stretched. */
.breakfast-clip {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    background: #000;
}

.breakfast-clip > video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

