/* ===================================
   PMS - Main Stylesheet
   =================================== */

/* ===== VARIABLES ===== */
:root {
    /* 25.09.2026: tonlar panelde seçilen renkten türetilir. Önceden sabit kahverengiydi
       (#9B7455/#5C4230/#D4B87E); başka ana renk seçen otelde hero ve başlık bantlarının
       geçişi kahverengiye kayıyordu. */
    --iva-primary-light: color-mix(in srgb, var(--iva-primary) 75%, #fff);
    --iva-primary-dark: color-mix(in srgb, var(--iva-primary) 70%, #000);
    --iva-accent-light: color-mix(in srgb, var(--iva-accent) 75%, #fff);
    --iva-cream: var(--iva-bg);
    --iva-cream-dark: var(--iva-border);
    --color-primary: var(--iva-primary);
    --color-primary-light: var(--iva-primary-light);
    --color-primary-dark: var(--iva-primary-dark);
    --color-accent: var(--iva-accent);
    --color-accent-light: var(--iva-accent-light);
    --color-cream: var(--iva-bg);
    --color-cream-dark: var(--iva-border);
    --color-text: var(--iva-text);
    --color-text-light: var(--iva-text-muted);
    --color-text-muted: #A89880;
    --color-white: var(--iva-surface);
    /* Altbilgi zemini: ana rengin çok koyu tonu (sabit kahverengi-siyahtı). */
    --color-dark: color-mix(in srgb, var(--iva-primary) 22%, #0c0c0c);
    --font-heading: var(--iva-font-heading);
    --font-body: var(--iva-font-body);
    --shadow-sm: 0 2px 8px rgba(100,70,30,0.07);
    --shadow-md: 0 4px 20px rgba(100,70,30,0.10);
    --shadow-lg: 0 8px 40px rgba(100,70,30,0.14);
    --radius-sm: 8px;
    --radius-md: var(--iva-card-radius);
    --radius-lg: 20px;
    --radius-xl: 2rem;   /* tema: oda ve galeri kartları */
    --transition: all 0.3s ease;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--iva-bg);
    line-height: 1.6;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

/* ===== NAVBAR ===== */
#mainNavbar {
    padding: 1.1rem 0;
    transition: var(--transition);
    background: transparent;
}

    /* 25.09.2026: kaydırınca menü açık (krem) zemine geçiyordu; koyu zemin için
       hazırlanmış (çoğunlukla beyaz) logo görünmez oluyordu. Menü artık tema ana renginin
       koyu tonunda; logo, yazılar ve menü simgesi her durumda açık renk kalır. */
    #mainNavbar.scrolled {
        background: color-mix(in srgb, var(--iva-primary-dark) 94%, transparent);
        backdrop-filter: blur(12px);
        box-shadow: 0 2px 20px rgba(0,0,0,0.18);
        padding: 0.6rem 0;
    }

.brand-iva {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--iva-accent);
    letter-spacing: 3px;
}

.brand-hotel {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 300;
    letter-spacing: 5px;
    color: rgba(255,255,255,0.75);
    margin-left: 4px;
}

.nav-link {
    font-size: 0.88rem;
    font-weight: 400;
    color: rgba(255,255,255,0.85) !important;
    padding: 0.5rem 1rem !important;
    letter-spacing: 0.3px;
}

.nav-link:hover {
    color: var(--iva-accent) !important;
}

.btn-reservation {
    background: var(--iva-accent);
    color: #fff !important;
    padding: 0.5rem 1.5rem !important;
    border-radius: var(--iva-btn-radius);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    border: none;
}

    .btn-reservation:hover {
        background: var(--iva-accent-light);
        transform: translateY(-1px);
        box-shadow: 0 4px 14px color-mix(in srgb, var(--iva-accent) 35%, transparent);
    }

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

    .navbar-toggler:focus {
        box-shadow: none;
    }

.navbar-toggler-icon {
    filter: invert(1);
}

@media (max-width: 991px) {
 #navbarNav {
        background: rgba(250,247,242,0.98);
        backdrop-filter: blur(10px);
        border-radius: var(--iva-card-radius);
        padding: 1rem;
        margin-top: 0.5rem;
        border: 1px solid var(--iva-border);
    }

 #navbarNav .nav-link {
            color: var(--iva-text) !important;
        }
}

/* ===== TOP BAR ===== */
.top-bar {
    background-color: var(--iva-primary);
    color: rgba(255,255,255,0.9);
    font-size: 0.8rem;
    padding: 0.4rem 0;
    position: relative;
    z-index: 1100;
    box-shadow: inset 0 0 0 9999px rgba(0,0,0,0.15);
}

.top-bar-item {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    transition: color 0.2s;
}

    .top-bar-item:hover {
        color: var(--iva-accent);
    }

/* ===== HERO SECTION ===== */
/* 25.09.2026: Ana sayfa yenilendi — hero'da müsaitlik arama kartı, fotoğraf ağırlıklı oda
   kartları, zengin altbilgi. Renk/font paneldeki --iva-* değişkenlerinden gelir; yön için
   mantıksal özellikler (inset-inline-*, margin-inline-*) kullanılır, RTL ayrıca kural istemez. */
.hero-section {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 9rem 0 5rem;
    background: linear-gradient(160deg, var(--iva-primary-dark) 0%, var(--iva-primary) 55%, var(--iva-primary-light) 100%);
    overflow: hidden;
}

.hero-background-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.hero-section:not(.has-hero-image)::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(ellipse at 20% 60%, color-mix(in srgb, var(--iva-accent) 18%, transparent) 0%, transparent 60%), radial-gradient(ellipse at 80% 20%, rgba(255,255,255,0.06) 0%, transparent 50%);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-section.has-hero-image .hero-overlay::after {
    /* Alt kenarda koyulaşma: arama kartı açık fotoğraflarda da okunur kalır. */
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.25) 0%, transparent 35%, rgba(0,0,0,0.35) 100%);
}

.hero-content {
    position: relative;
    text-align: center;
    z-index: 2;
}

/* ----- Hero slider (25.09.2026) -----
   Slaytlar üst üste; etkin olan görünür, diğerleri çapraz geçişle söner. Başlık/alt başlık
   yok — yalnızca rezervasyon kutusu, fotoğrafın alt kısmında. */
.hero-slider {
    align-items: flex-end;
    padding: 9rem 0 6.5rem;
}

.hero-slide {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0;
    transition: opacity 1.2s ease;
}

    .hero-slide.is-active {
        opacity: 1;
    }

/* Yakınlaşma (Ken Burns) animasyonu kaldırıldı: fotoğrafı %8 büyütüyor, zaten kırpılan
   görüntüyü daha da yakın ve bulanık gösteriyordu. Geçiş yalnız çapraz solma. */

@media (prefers-reduced-motion: reduce) {
    .hero-slide { transition: none; }
}

.hero-nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 52px;
    height: 52px;
    margin-top: -26px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.45);
    background: rgba(0,0,0,0.18);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

    .hero-nav:hover,
    .hero-nav:focus-visible {
        background: var(--iva-accent);
        border-color: var(--iva-accent);
    }

.hero-nav-prev { inset-inline-start: 2rem; }
.hero-nav-next { inset-inline-end: 2rem; }

.hero-dots {
    position: absolute;
    bottom: 2.2rem;
    inset-inline: 0;
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.hero-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 5px;
    background: rgba(255,255,255,0.5);
    transition: width 0.3s ease, background 0.3s ease;
}

    .hero-dot.is-active {
        width: 32px;
        background: #fff;
    }

@media (max-width: 767px) {
    .hero-nav { display: none; }
    .hero-slider { padding-bottom: 5rem; }
    .hero-dots { bottom: 1.6rem; }
}

/* Müsaitlik arama — tema düzeni (25.09.2026): koyu yarı saydam hap kap, içinde beyaz hap
   alanlar ve simge alanın içinde; etiketler görsel olarak gizli. */
.hero-search {
    display: flex;
    align-items: stretch;
    gap: 0.6rem;
    max-width: 1040px;
    margin: 0 auto;
    padding: 0.75rem;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    border-radius: 999px;
    text-align: start;
}

.hero-search-field {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
}

.hero-search-icon {
    position: absolute;
    top: 50%;
    inset-inline-start: 1.2rem;
    transform: translateY(-50%);
    z-index: 1;
    color: var(--iva-text-muted);
    pointer-events: none;
}

/* flatpickr görünür alana "form-control" sınıfı ekliyor; genel .form-control kurallarını
   yenmek için form kapsamıyla yazıldı. */
.hero-search .hero-search-input,
.hero-search .hero-search-input:focus {
    width: 100%;
    height: 52px;
    padding: 0 1.2rem;
    padding-inline-start: 2.8rem;
    border: 0;
    border-radius: 999px;
    background: #fff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    color: #222;
    outline: none;
    cursor: pointer;
    box-shadow: none;
}

    .hero-search .hero-search-input:focus {
        box-shadow: 0 0 0 3px color-mix(in srgb, var(--iva-accent) 45%, transparent);
    }

select.hero-search-input {
    appearance: none;
    -webkit-appearance: none;
}

.hero-search-input::placeholder {
    color: #777;
    font-weight: 400;
}

.hero-search-btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    height: 52px;
    padding: 0 2rem;
    background: var(--iva-accent);
    color: #fff;
    border: none;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    transition: var(--transition);
}

    .hero-search-btn:hover,
    .hero-search-btn:focus-visible {
        background: var(--iva-primary);
        color: #fff;
    }

@media (max-width: 991px) {
    .hero-search {
        flex-wrap: wrap;
        border-radius: 1.8rem;
        padding: 0.9rem;
    }

    .hero-search-field {
        flex: 1 1 45%;
    }

    .hero-search-btn {
        flex: 1 1 100%;
    }
}

@media (max-width: 575px) {
    /* Alt boşluk slayt noktalarına yer bırakır. */
    .hero-section {
        padding: 7.5rem 0 4.5rem;
        align-items: flex-end;
    }

    .hero-search {
        gap: 0.5rem;
        padding: 0.7rem;
    }

    .hero-search .hero-search-input,
    .hero-search .hero-search-input:focus,
    .hero-search-btn {
        height: 46px;
        font-size: 0.9rem;
    }

    .hero-search .hero-search-input {
        padding-inline-start: 2.4rem;
    }

    .hero-search-icon {
        inset-inline-start: 0.95rem;
    }
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    background: var(--iva-accent);
    color: #fff;
    padding: 0.85rem 2.2rem;
    border-radius: var(--iva-btn-radius);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    border: none;
    transition: var(--transition);
}

    .btn-hero-primary:hover {
        background: var(--iva-primary);
        color: #fff;
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }

/* Sağdan sola dillerde yön oku ters döner. */
[dir="rtl"] .icon-flip-rtl {
    display: inline-block;
    transform: scaleX(-1);
}

/* ===== SECTION COMMON — tema başlık dili (25.09.2026) =====
   Ortalı başlık; üstte çerçeveli hap etiket, başlığın son kelimesi vurgu renginde
   (TitleAccent). Altta hap buton (metin + koyu yuvarlak ok). */
.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3.5rem;
}

.section-header-split {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    max-width: none;
    text-align: start;
    margin-bottom: 2.5rem;
}

    .section-header-split .section-title {
        margin-bottom: 0;
    }

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--iva-text);
    padding: 0.3rem 1rem;
    border: 1px solid color-mix(in srgb, var(--iva-text) 15%, transparent);
    border-radius: 999px;
    margin-bottom: 1.1rem;
}

.section-title {
    font-size: clamp(1.9rem, 3.6vw, 2.9rem);
    font-weight: 600;
    color: var(--iva-text);
    line-height: 1.2;
    margin-bottom: 0.8rem;
}

.title-accent {
    color: var(--iva-accent);
}

.section-subtitle {
    font-size: 0.98rem;
    color: var(--iva-text-muted);
    max-width: 500px;
    margin: 0 auto;
}

/* Bölüm arkasında büyük soluk yazı (otel adı). */
.section-watermark {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 22%);
    z-index: 0;
    font-family: var(--font-heading);
    font-size: clamp(4rem, 14vw, 12rem);
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    color: var(--iva-text);
    opacity: 0.05;
    pointer-events: none;
    user-select: none;
}

.rooms-section > .container {
    position: relative;
    z-index: 1;
}

.section-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Tema hap butonu: metin + koyu yuvarlak ok; üzerine gelince metin yukarı kayar. */
.btn-pill-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.35rem 0.4rem 0.35rem 1.6rem;
    border-radius: 999px;
    border: 0;
    background: var(--iva-accent);
    color: #fff;
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.3s ease;
}

[dir="rtl"] .btn-pill-icon {
    padding: 0.35rem 1.6rem 0.35rem 0.4rem;
}

    .btn-pill-icon:hover,
    .btn-pill-icon:focus-visible {
        background: var(--iva-primary);
        color: #fff;
    }

.btn-pill-text {
    display: inline-block;
    overflow: hidden;
    line-height: 1.5;
    height: 1.5em;
}

    .btn-pill-text span {
        display: block;
        text-shadow: 0 1.5em 0 currentColor;
        transition: transform 0.4s ease-in-out;
    }

.btn-pill-icon:hover .btn-pill-text span {
    transform: translateY(-1.5em);
}

.btn-pill-icon-circle {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: color-mix(in srgb, var(--iva-accent) 30%, #000);
    font-size: 0.9rem;
}

@media (prefers-reduced-motion: reduce) {
    .btn-pill-text span { transition: none; }
    .btn-pill-icon:hover .btn-pill-text span { transform: none; }
}

/* ===== ROOMS SECTION (Anasayfa) — tema düzeni (25.09.2026) =====
   Oda kartı: büyük köşe, altta koyu geçiş üzerinde küçük büyük harfli fiyat + ad; üzerine
   gelince yuvarlak ok aşağıdan kayarak belirir, fotoğraf büyür. Sol üstte hap rozet. */
.rooms-section {
    position: relative;
    padding: 6.5rem 0 7rem;
    background: var(--iva-surface);
    overflow: hidden;
}

.room-tile {
    position: relative;
    display: block;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-xl);
    overflow: hidden;
    color: #fff;
    background: var(--iva-primary-dark);
    isolation: isolate;
}

.room-tile-image,
.room-tile-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.room-tile-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: rgba(255,255,255,0.25);
    background: linear-gradient(135deg, var(--iva-primary-dark), var(--iva-primary));
}

.room-tile:hover .room-tile-image,
.room-tile:focus-visible .room-tile-image {
    transform: scale(1.08);
}

.room-tile-badge {
    position: absolute;
    top: 1.5rem;
    inset-inline-start: 1.5rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.2rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.5);
    background: rgba(0,0,0,0.15);
    backdrop-filter: blur(4px);
    font-size: 0.78rem;
    font-weight: 500;
}

.room-tile-badge-sep {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: currentColor;
    margin: 0 0.2rem;
}

.room-tile-body {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 5rem 1.8rem 1.8rem;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.8));
}

.room-tile-price {
    margin: 0 0 0.2rem;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
}

    .room-tile-price span {
        font-weight: 700;
        color: #fff;
    }

.room-tile-title {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 600;
    color: #fff;
}

.room-tile-arrow {
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--iva-accent);
    color: #fff;
    font-size: 1.1rem;
    opacity: 0;
    transform: translateY(2rem);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.room-tile:hover .room-tile-arrow,
.room-tile:focus-visible .room-tile-arrow {
    opacity: 1;
    transform: translateY(0);
}

/* Dokunmatik ekranda "üzerine gelme" yok: ok hep görünür. */
@media (hover: none) {
    .room-tile-arrow {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 767px) {
    .room-tile {
        aspect-ratio: 4 / 4.4;
    }

    .room-tile-body {
        padding: 4rem 1.3rem 1.3rem;
    }

    .room-tile-title {
        font-size: 1.35rem;
    }
}

/* ===== YATAY RAY: ana sayfa oda slider'ı (25.09.2026) =====
   Tüm odalar; sayfalama yerine yerel yatay kaydırma + scroll-snap (dokunmatikte doğal,
   klavyede odaklanıp oklarla kaydırılır). Yan oklar home.js'te bir kart kaydırır. */
.rail-wrap {
    position: relative;
}

.rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 2 * 1.5rem) / 3);
    column-gap: 1.5rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

    .rail::-webkit-scrollbar {
        display: none;
    }

    .rail:focus-visible {
        outline: 2px solid var(--iva-accent);
        outline-offset: 4px;
        border-radius: var(--radius-xl);
    }

.rail-item {
    scroll-snap-align: start;
    min-width: 0;
}

.rail-btn {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 52px;
    height: 52px;
    margin-top: -26px;
    border-radius: 50%;
    border: 0;
    background: var(--iva-surface);
    color: var(--iva-text);
    box-shadow: var(--shadow-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
}

.rail-btn-prev { inset-inline-start: -26px; }
.rail-btn-next { inset-inline-end: -26px; }

    .rail-btn:hover:not(:disabled) {
        background: var(--iva-accent);
        color: #fff;
    }

    .rail-btn:disabled {
        opacity: 0;
        pointer-events: none;
    }

/* 26.09.2026: Masaüstünde 3 satır × 3 oda ("sayfa"). Yerleşim sunucudan (--r satır, --c sütun),
   sayfa içi sıra soldan sağa. Kartlar 4:3 — dikey 4:5 ile üç satır ekrana sığmıyordu.
   Kaydırma sayfa sayfa: yalnız sayfanın ilk sütunu yapışma noktası. */
@media (min-width: 992px) {
    .rail.rail-rows-3 {
        row-gap: 1.5rem;
    }

        .rail.rail-rows-3 > .rail-item {
            grid-row: var(--r);
            grid-column: var(--c);
            scroll-snap-align: none;
        }

            .rail.rail-rows-3 > .rail-item.rail-page-start {
                scroll-snap-align: start;
            }

        .rail.rail-rows-3 .room-tile {
            aspect-ratio: 4 / 3;
        }
}

@media (max-width: 991px) {
    .rail {
        grid-auto-columns: calc((100% - 1.2rem) / 2);
        column-gap: 1.2rem;
    }

    .rail-btn-prev { inset-inline-start: 0.5rem; }
    .rail-btn-next { inset-inline-end: 0.5rem; }
}

@media (max-width: 575px) {
    /* 25.09.2026: Mobilde tek kart, tam genişlik ve ortada; yandaki kartın yarısı görünmez
       (önceden %84 genişlikti, sonraki kart kenardan taşıyordu). Kaydırılabildiği artık
       kartın üstündeki küçük oklardan ve otomatik kaymadan anlaşılır. */
    .rail {
        grid-auto-columns: 100%;
        column-gap: 1rem;
    }

    .rail-item {
        scroll-snap-align: center;
        scroll-snap-stop: always;
    }

    .rail-btn {
        width: 40px;
        height: 40px;
        margin-top: -20px;
        font-size: 0.95rem;
        background: rgba(255, 255, 255, 0.9);
    }

    .rail-btn-prev { inset-inline-start: 0.6rem; }
    .rail-btn-next { inset-inline-end: 0.6rem; }
}

/* ===== GALERİ IZGARASI (tema, 25.09.2026) =====
   _GalleryGrid: 12 sütunlu ızgarada 9'luk döngü — 4'lü (yatay), 3'lü (dikey), 2'li (geniş).
   Üzerine gelince koyu katman + yuvarlak "+", fotoğraf büyür. Ana sayfa ve galeri sayfası ortak. */
.gallery-section {
    padding: 6.5rem 0;
    background: var(--iva-bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1.5rem;
}

.gallery-card {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: var(--iva-border);
    cursor: zoom-in;
}

    /* Genişlik (--span) partial'da satırdaki fotoğraf sayısından hesaplanır; oran satır türünden. */
    .gallery-card { grid-column: span var(--span, 3); }
    .gallery-card.is-quarter { aspect-ratio: 4 / 3; }
    .gallery-card.is-third { aspect-ratio: 4 / 5; }
    .gallery-card.is-half { aspect-ratio: 16 / 10; }

    .gallery-card img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s linear;
    }

    .gallery-card::after {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,0.5);
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none;
    }

    .gallery-card:hover img {
        transform: scale(1.08);
    }

    .gallery-card:hover::after,
    .gallery-card:hover .gallery-card-plus {
        opacity: 1;
    }

    .gallery-card figcaption {
        position: absolute;
        inset-inline: 0;
        bottom: 0;
        z-index: 2;
        padding: 2.5rem 1.2rem 1rem;
        background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.65));
        color: #fff;
        font-size: 0.85rem;
        pointer-events: none;
    }

.gallery-card-plus {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    width: 60px;
    height: 60px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.7);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

@media (max-width: 991px) {
    /* Tablette 4-3-2 döngüsü boşluk bırakır; eşit 2 sütun. */
    .gallery-card.is-quarter,
    .gallery-card.is-third,
    .gallery-card.is-half {
        grid-column: span 6;
        aspect-ratio: 4 / 3;
    }

    .gallery-grid { gap: 1rem; }
}

@media (max-width: 575px) {
    .gallery-card.is-quarter,
    .gallery-card.is-third,
    .gallery-card.is-half {
        grid-column: span 12;
        aspect-ratio: 4 / 3;
    }
}

/* ===== CONTACT ===== */
.contact-section {
    padding: 6rem 0;
    background: var(--iva-surface);
}

.contact-card {
    display: block;
    height: 100%;
    text-align: center;
    padding: 2.2rem 1.5rem;
    background: var(--iva-bg);
    border-radius: var(--iva-card-radius);
    border: 1px solid var(--iva-border);
    transition: var(--transition);
}

.contact-card-link {
    color: inherit;
    text-decoration: none;
}

    .contact-card-link:hover {
        color: inherit;
        text-decoration: none;
        border-color: var(--iva-accent);
        box-shadow: var(--shadow-md);
    }

    .contact-card i {
        width: 56px;
        height: 56px;
        margin: 0 auto 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: color-mix(in srgb, var(--iva-accent) 14%, transparent);
        color: var(--iva-accent);
        font-size: 1.35rem;
    }

    .contact-card h6 {
        font-family: var(--font-heading);
        font-size: 1.05rem;
        margin-bottom: 0.4rem;
        color: var(--iva-text);
    }

    .contact-card p {
        font-size: 0.9rem;
        color: var(--iva-text-muted);
        margin-bottom: 0;
        overflow-wrap: anywhere;
    }

/* ----- İletişim formu (26.09.2026, YOL_HARITASI 2.5) ----- */
.contact-form-wrap {
    max-width: 820px;
    margin: 3rem auto 0;
}

.contact-form {
    background: var(--iva-surface);
    border: 1px solid var(--iva-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.contact-form-title {
    font-family: var(--iva-font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.35rem;
}

.contact-form-intro {
    color: var(--iva-text-muted);
    margin-bottom: 1.25rem;
}

.contact-form-alert {
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    font-size: 0.92rem;
}

    .contact-form-alert.is-success {
        background: color-mix(in srgb, #16a34a 12%, transparent);
        color: #166534;
    }

    .contact-form-alert.is-error {
        background: color-mix(in srgb, #dc2626 10%, transparent);
        color: #991b1b;
    }

.contact-field-error {
    color: #b91c1c;
    font-size: 0.82rem;
    margin-top: 0.25rem;
    min-height: 0;
}

.contact-form .form-check-label a {
    color: var(--iva-accent);
    text-decoration: underline;
}

/* Bot tuzağı: ekranda ve yardımcı teknolojide görünmez, ama DOM'da kalır. */
.contact-hp {
    position: absolute !important;
    inset-inline-start: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-form-submit {
    margin-top: 1.25rem;
    border: 0;
}

@media (max-width: 575px) {
    .contact-form {
        padding: 1.25rem;
    }
}

.contact-map-wrapper {
    margin-top: 3rem;
}

.contact-map-container {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--iva-border);
}

.contact-map-iframe {
    width: 100%;
    height: 400px;
    border: none;
    display: block;
    filter: grayscale(0.35) contrast(1.05);
    transition: filter 0.4s ease;
}

.contact-map-container:hover .contact-map-iframe {
    filter: none;
}

.contact-map-overlay {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    padding: 1rem 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
    display: flex;
    justify-content: flex-end;
    pointer-events: none;
}

.contact-map-link {
    pointer-events: all;
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,0.94);
    color: var(--iva-primary);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 500;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

    .contact-map-link:hover {
        background: #fff;
        color: var(--iva-accent);
    }

/* ===== FOOTER ===== */
.site-footer {
    background: var(--color-dark);
    color: rgba(255,255,255,0.65);
    padding: 5rem 0 2rem;
}

.footer-logo {
    display: block;
    height: 48px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-brand {
    margin-bottom: 1rem;
}

    .footer-brand .brand-iva {
        font-size: 1.5rem;
    }

    .footer-brand .brand-hotel {
        color: rgba(255,255,255,0.45);
    }

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.5);
    max-width: 360px;
}

.footer-social {
    display: flex;
    gap: 0.6rem;
    margin-top: 1.4rem;
}

    .footer-social a {
        width: 40px;
        height: 40px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        border: 1px solid rgba(255,255,255,0.15);
        color: rgba(255,255,255,0.75);
        font-size: 1rem;
    }

        .footer-social a:hover {
            background: var(--iva-accent);
            border-color: var(--iva-accent);
            color: #fff;
        }

.footer-title {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 1.05rem;
    margin-bottom: 1.3rem;
    letter-spacing: 0.3px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-links li {
        margin-bottom: 0.7rem;
        font-size: 0.9rem;
    }

    .footer-links a {
        color: rgba(255,255,255,0.55);
    }

        .footer-links a:hover {
            color: var(--iva-accent);
        }

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    color: rgba(255,255,255,0.55);
}

    .footer-contact li i {
        color: var(--iva-accent);
        margin-top: 0.15rem;
    }

.footer-divider {
    border-color: rgba(255,255,255,0.08);
    margin: 3rem 0 1.5rem;
}

.footer-copyright {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.35);
    margin-bottom: 0;
}

/* ===== PAGE HEADER ===== */
/* Tüm misafir alt sayfalarının başlık bandı. .page-header-image: arka planda fotoğraf
   (oda detayı). Yönetim paneli site.css'i yüklemez; oradaki .page-header'ı etkilemez. */
.page-header {
    position: relative;
    padding: 10rem 0 4rem;
    text-align: center;
    background: linear-gradient(135deg, var(--iva-primary-dark), var(--iva-primary));
    overflow: hidden;
    isolation: isolate;
}

    .page-header::before {
        content: '';
        position: absolute;
        inset: 0;
        z-index: -1;
        background: radial-gradient(ellipse at 50% 90%, color-mix(in srgb, var(--iva-accent) 16%, transparent) 0%, transparent 60%);
    }

.page-header-image {
    padding: 13rem 0 5rem;
}

    .page-header-image::before {
        background: linear-gradient(to bottom, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.6) 100%);
    }

.page-header-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.page-header-title {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    color: #fff;
    margin-bottom: 0.5rem;
}

.page-header-subtitle {
    color: rgba(255,255,255,0.75);
    font-size: 1rem;
    max-width: 520px;
    margin: 0 auto;
}

.page-header-meta {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    padding: 0;
    margin: 1.2rem 0 0;
}

    .page-header-meta li {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        padding: 0.4rem 1rem;
        border: 1px solid rgba(255,255,255,0.3);
        border-radius: 50px;
        background: rgba(255,255,255,0.08);
        backdrop-filter: blur(6px);
        color: #fff;
        font-size: 0.85rem;
    }

        .page-header-meta li i {
            color: var(--iva-accent);
        }

.page-breadcrumb {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 0.82rem;
    letter-spacing: 0.5px;
}

    .page-breadcrumb a {
        color: rgba(255,255,255,0.7);
    }

        .page-breadcrumb a:hover {
            color: var(--iva-accent);
        }

    .page-breadcrumb i {
        color: rgba(255,255,255,0.4);
        font-size: 0.65rem;
        margin: 0 0.6rem;
    }

    .page-breadcrumb span {
        color: var(--iva-accent);
    }

/* Fotoğraf üzerinde vurgu rengi (özellikle açık tonlar) okunmuyor. */
.page-header-image .page-breadcrumb span {
    color: #fff;
    font-weight: 500;
}

.page-header .section-tag {
    color: var(--iva-accent);
}

@media (max-width: 767px) {
    .page-header {
        padding: 8rem 0 3rem;
    }

    .page-header-image {
        padding: 10rem 0 3.5rem;
    }
}

/* ===== ROOM LIST PAGE ===== */
/* 25.09.2026: Büyük görselli, masaüstünde bir sağ bir sol dizilen kartlar. */
.room-list-section {
    padding: 5rem 0;
}

.room-list-card {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    background: var(--iva-surface);
    border-radius: var(--iva-card-radius);
    overflow: hidden;
    border: 1px solid var(--iva-border);
    margin-bottom: 2.5rem;
    transition: var(--transition);
}

    .room-list-card:hover {
        box-shadow: var(--shadow-lg);
        border-color: color-mix(in srgb, var(--iva-accent) 40%, var(--iva-border));
    }

    /* Çift sıradakiler görseli diğer tarafa alır (yalnızca geniş ekranda). */
    .room-list-card:nth-child(even) {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    }

        .room-list-card:nth-child(even) .room-list-image {
            order: 2;
        }

.room-list-image {
    position: relative;
    display: block;
    min-height: 380px;
    overflow: hidden;
    background: var(--iva-primary-dark);
}

    .room-list-image img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.8s cubic-bezier(.2,.7,.2,1);
    }

.room-list-card:hover .room-list-image img {
    transform: scale(1.05);
}

.room-list-image .photo-count-badge {
    top: 1rem;
    bottom: auto;
    inset-inline-start: 1rem;
    inset-inline-end: auto;
    z-index: 1;
}

.room-list-placeholder {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--iva-primary-dark), var(--iva-primary));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.35);
    gap: 0.5rem;
}

    .room-list-placeholder i {
        font-size: 2.5rem;
    }

    .room-list-placeholder span {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }

.room-list-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.5rem;
}

.room-list-code {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--iva-accent);
    margin-bottom: 0.5rem;
}

    .room-list-code::before {
        content: '';
        width: 24px;
        height: 1px;
        background: currentColor;
    }

.room-list-title {
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    margin-bottom: 0.9rem;
}

    .room-list-title a {
        color: var(--iva-text);
    }

        .room-list-title a:hover {
            color: var(--iva-accent);
        }

.room-list-meta {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.4rem;
    padding: 0;
    margin: 0 0 1.1rem;
    font-size: 0.88rem;
    color: var(--iva-text-muted);
}

    .room-list-meta li {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
    }

    .room-list-meta i {
        color: var(--iva-accent);
    }

.room-list-desc {
    font-size: 0.95rem;
    color: var(--iva-text-muted);
    line-height: 1.8;
    margin-bottom: 1.2rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.room-list-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.rl-feature {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    color: var(--iva-text-muted);
    background: var(--iva-bg);
    padding: 0.35rem 0.8rem;
    border-radius: 50px;
    border: 1px solid var(--iva-border);
}

    .rl-feature i {
        color: var(--iva-primary);
        font-size: 0.85rem;
    }

.rl-feature-more {
    font-weight: 600;
    color: var(--iva-primary);
}

.room-list-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    padding-top: 1.4rem;
    margin-top: auto;
    border-top: 1px solid var(--iva-border);
}

.room-list-price {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--iva-primary);
    line-height: 1.1;
}

.room-list-per-night {
    font-size: 0.8rem;
    color: var(--iva-text-muted);
    margin-inline-start: 0.2rem;
}

.room-list-price-box .price-includes {
    margin-top: 0.4rem;
}

.room-list-actions {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.btn-room-view {
    background: transparent;
    color: var(--iva-primary);
    padding: 0.65rem 1.3rem;
    border-radius: var(--iva-btn-radius);
    font-size: 0.88rem;
    font-weight: 500;
    border: 1px solid var(--iva-border);
    transition: var(--transition);
}

    .btn-room-view:hover {
        background: var(--iva-primary);
        color: #fff;
        border-color: var(--iva-primary);
    }

.btn-room-reserve {
    background: var(--iva-accent);
    color: #fff;
    padding: 0.65rem 1.4rem;
    border-radius: var(--iva-btn-radius);
    font-size: 0.88rem;
    font-weight: 500;
    border: 1px solid var(--iva-accent);
    transition: var(--transition);
}

    .btn-room-reserve:hover {
        background: var(--iva-primary);
        border-color: var(--iva-primary);
        color: #fff;
    }

@media (max-width: 991px) {
    .room-list-card,
    .room-list-card:nth-child(even) {
        grid-template-columns: 1fr;
    }

        .room-list-card:nth-child(even) .room-list-image {
            order: 0;
        }

    .room-list-image {
        min-height: 0;
        aspect-ratio: 16 / 10;
    }

    .room-list-body {
        padding: 1.6rem;
    }

    .room-list-actions {
        width: 100%;
    }

        .room-list-actions .btn {
            flex: 1 1 auto;
            text-align: center;
        }
}

/* ===== ROOM DETAIL PAGE ===== */
.room-detail-section {
    padding: 4.5rem 0 5rem;
}

.room-section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.45rem;
    color: var(--iva-text);
    margin-bottom: 1.2rem;
}

    .room-section-title::after {
        content: '';
        flex: 1;
        height: 1px;
        background: var(--iva-border);
    }

    .room-section-title i {
        color: var(--iva-accent);
        font-size: 1.1rem;
    }

.room-section-title-sm {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.room-detail-description {
    margin: 2.5rem 0;
}

    .room-detail-description p {
        font-size: 1rem;
        color: var(--iva-text-muted);
        line-height: 1.9;
        margin-bottom: 0.8rem;
        white-space: pre-line;
    }

.room-detail-amenities {
    margin-bottom: 2.5rem;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.88rem;
    color: var(--iva-text);
    padding: 0.8rem 1rem;
    background: var(--iva-surface);
    border-radius: var(--radius-sm);
    border: 1px solid var(--iva-border);
}

    .amenity-item i {
        flex: 0 0 34px;
        width: 34px;
        height: 34px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: color-mix(in srgb, var(--iva-accent) 14%, transparent);
        color: var(--iva-accent);
        font-size: 0.95rem;
    }

@media (max-width: 1199px) {
    .amenities-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .amenities-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== BOOKING CARD ===== */
.room-sidebar-sticky {
    position: sticky;
    top: 90px;
}

.room-booking-card {
    position: relative;
    background: var(--iva-surface);
    border: 1px solid var(--iva-border);
    border-radius: var(--iva-card-radius);
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

    .room-booking-card::before {
        content: '';
        position: absolute;
        inset-inline: 0;
        top: 0;
        height: 4px;
        background: var(--iva-accent);
    }

.booking-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.4rem;
    padding-bottom: 1.3rem;
    border-bottom: 1px solid var(--iva-border);
}

.room-code-badge {
    display: inline-block;
    background: var(--iva-bg);
    color: var(--iva-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1px;
    border: 1px solid var(--iva-border);
    white-space: nowrap;
}

.booking-price {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    font-weight: 700;
    color: var(--iva-primary);
    line-height: 1.1;
}

.booking-per-night {
    font-size: 0.88rem;
    color: var(--iva-text-muted);
    margin-inline-start: 0.2rem;
}

.booking-card-info {
    margin-bottom: 1.5rem;
}

.booking-info-row {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.9rem;
    color: var(--iva-text-muted);
    padding: 0.55rem 0;
}

    .booking-info-row + .booking-info-row {
        border-top: 1px dashed var(--iva-border);
    }

    .booking-info-row i {
        color: var(--iva-accent);
        width: 20px;
        text-align: center;
    }

.btn-book-now {
    display: block;
    width: 100%;
    background: var(--iva-accent);
    color: #fff;
    padding: 0.95rem;
    border-radius: var(--iva-btn-radius);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1rem;
    border: none;
    transition: var(--transition);
}

    .btn-book-now:hover {
        background: var(--iva-primary);
        color: #fff;
        transform: translateY(-1px);
        box-shadow: var(--shadow-md);
    }

.booking-note {
    font-size: 0.8rem;
    color: var(--iva-text-muted);
    text-align: center;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ===== AVAILABILITY CALENDAR ===== */
.room-availability-card {
    background: var(--iva-surface);
    border: 1px solid var(--iva-border);
    border-radius: var(--iva-card-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

    .room-availability-card h5 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
        color: var(--iva-text);
    }

.cal-nav-public {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    padding: 0.3rem 0;
}

.cal-month {
    margin-bottom: 1rem;
}

    .cal-month:last-child {
        margin-bottom: 0;
    }

.cal-month-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 0.8rem;
    color: var(--iva-text);
}

.cal-days-header {
    display: grid;
    grid-template-columns: repeat(7,1fr);
    text-align: center;
    margin-bottom: 3px;
}

    .cal-days-header span {
        font-size: 0.68rem;
        font-weight: 600;
        color: var(--iva-text-muted);
        padding: 4px 0;
        text-transform: uppercase;
        letter-spacing: 0.03em;
    }

.cal-days-grid {
    display: grid;
    grid-template-columns: repeat(7,1fr);
    text-align: center;
    gap: 3px;
}

.cal-day {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    padding: 6px 2px 5px;
    min-height: 48px;
    transition: var(--transition);
    line-height: 1;
    gap: 3px;
    font-size: 0.82rem;
    cursor: default;
}

    .cal-day.empty {
        visibility: hidden;
        min-height: 0;
        padding: 0;
    }

    .cal-day .day-num {
        font-weight: 600;
        font-size: 0.85rem;
        line-height: 1;
    }

.cal-day-price {
    display: block;
    font-size: 0.58rem;
    font-weight: 500;
    line-height: 1;
    opacity: 0.8;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.cal-seasonal-dot {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #8b5cf6;
}

.cal-day.today {
    box-shadow: inset 0 0 0 2px var(--iva-primary);
}

.cal-day.available {
    background: rgba(34,197,94,0.1);
    color: #166534;
}

.cal-day.reserved,
.cal-day.occupied {
    background: rgba(239,68,68,0.12);
    color: #991b1b;
}

.cal-day.checkin {
    background: #fef3c7;
    color: #92400e;
    border: 2px solid #f59e0b;
}

.cal-day.checkout {
    background: #dbeafe;
    color: #1e40af;
    border: 2px solid #3b82f6;
}

.cal-day.checkin-checkout {
    background: linear-gradient(135deg,#dbeafe 50%,#fef3c7 50%);
    color: #374151;
    border: 2px solid #8b5cf6;
}

.cal-day.past {
    background: #f9fafb;
    color: #c0c0c0;
}

.cal-day.blocked {
    background: rgba(168,85,247,0.1);
    color: #6b21a8;
}

.cal-day.past .cal-day-price,
.cal-day.past .cal-seasonal-dot {
    display: none;
}

.availability-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem 1.2rem;
    margin-top: 1rem;
    padding-top: 0.8rem;
    border-top: 1px solid var(--iva-border);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    color: var(--iva-text-muted);
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    display: inline-block;
}

    .legend-dot.available {
        background: rgba(34,197,94,0.25);
    }

    .legend-dot.reserved {
        background: rgba(239,68,68,0.25);
    }

    .legend-dot.checkin {
        background: #f59e0b;
    }

    .legend-dot.checkout {
        background: #3b82f6;
    }

/* ===== GALLERY ===== */
.room-gallery {
    margin-bottom: 2rem;
}

.gallery-main {
    position: relative;
    border-radius: var(--iva-card-radius);
    overflow: hidden;
    background: var(--iva-bg);
}

.gallery-main-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease, transform 0.3s ease;
    cursor: zoom-in;
}

    .gallery-main-img:hover {
        transform: scale(1.01);
        filter: brightness(1.03);
    }

.gallery-placeholder {
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.35);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1.1rem;
}

    .gallery-nav:hover {
        background: rgba(0,0,0,0.65);
    }

    .gallery-nav.prev {
        left: 1rem;
    }

    .gallery-nav.next {
        right: 1rem;
    }

.gallery-counter {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(0,0,0,0.5);
    color: #fff;
    padding: 0.2rem 0.7rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 500;
}

.gallery-thumbs {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.8rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.gallery-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
    opacity: 0.6;
}

    .gallery-thumb.active,
    .gallery-thumb:hover {
        border-color: var(--iva-primary);
        opacity: 1;
    }

    .gallery-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.photo-count-badge {
    position: absolute;
    bottom: 0.5rem;
    left: 0.5rem;
    background: rgba(0,0,0,0.55);
    color: #fff;
    padding: 0.15rem 0.5rem;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 500;
}

/* ===== LIGHTBOX ===== */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(4px);
}

    .lightbox-overlay.active {
        opacity: 1;
        visibility: visible;
    }

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 82vh;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
    user-select: none;
    -webkit-user-drag: none;
}

.lightbox-overlay.active .lightbox-img {
    animation: lightboxZoomIn 0.3s ease forwards;
}

@keyframes lightboxZoomIn {
    from {
        transform: scale(0.85);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 3;
}

    .lightbox-close:hover {
        background: rgba(255,255,255,0.25);
        transform: scale(1.1);
    }

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 3;
}

    .lightbox-nav:hover {
        background: rgba(255,255,255,0.2);
        transform: translateY(-50%) scale(1.1);
    }

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.8);
    font-size: 0.85rem;
    background: rgba(0,0,0,0.5);
    padding: 8px 18px;
    border-radius: 50px;
    backdrop-filter: blur(8px);
    white-space: nowrap;
}

.lightbox-counter {
    opacity: 0.6;
    font-size: 0.78rem;
}

/* ===== RESERVATION FORM ===== */
/* 25.09.2026: tasarım diline taşındı; renkler --iva-* değişkenlerinden, yön mantıksal
   özelliklerle (text-align: start/end, border-inline-start…) — RTL ayrıca kural istemez. */
.reservation-form-section {
    padding: 4.5rem 0 5rem;
}

.reservation-form-card {
    background: var(--iva-surface);
    border: 1px solid var(--iva-border);
    border-radius: var(--iva-card-radius);
    padding: 2.2rem;
    box-shadow: var(--shadow-sm);
}

@media (max-width: 575px) {
    .reservation-form-card {
        padding: 1.3rem;
    }
}

.form-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--iva-border);
}

    .form-section:last-of-type {
        border-bottom: none;
        margin-bottom: 1rem;
    }

.form-section-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--iva-text);
    margin-bottom: 1.2rem;
    font-family: var(--font-body);
}

    .form-section-title > i {
        color: var(--iva-accent);
    }

.form-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--iva-text);
    margin-bottom: 0.3rem;
}

.form-control,
.form-select {
    border: 1px solid var(--iva-border);
    border-radius: var(--radius-sm);
    padding: 0.6rem 0.9rem;
    font-size: 0.9rem;
    background: var(--iva-surface);
    color: var(--iva-text);
    transition: var(--transition);
}

    .form-control:focus,
    .form-select:focus {
        border-color: var(--iva-accent);
        box-shadow: 0 0 0 3px color-mix(in srgb, var(--iva-accent) 18%, transparent);
        background: var(--iva-surface);
    }

.reservation-alert {
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
}

    /* FIX: Boş validation alert gizle.
       26.09.2026: Rezervasyon formunun genel hata kutusu (#generalErrorBox) liste içermez; bu kural
       onu da her zaman gizliyordu — sunucunun genel hataları (oda doldu, fiyat değişti…) misafire
       hiç görünmüyordu (tarayıcı testinde yakalandı). Görünürlüğünü JS yönetir. */
    .reservation-alert.validation-summary-valid,
    .reservation-alert:not(:has(li)):not(#generalErrorBox) {
        display: none !important;
    }

.availability-result {
    margin-top: 1rem;
    padding: 0.8rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    display: flex;
    align-items: center;
}

    .availability-result.available {
        background: #e8f5e9;
        color: var(--iva-text);
        border: 1px solid #a5d6a7;
    }

    .availability-result.unavailable {
        background: #fce4ec;
        color: #c62828;
        border: 1px solid #ef9a9a;
    }

/* Koşul onayı (26.09.2026): gönder düğmesinin hemen üstünde. */
.res-terms {
    margin: 1.25rem 0 0.75rem;
    padding: 0.9rem 1rem;
    border: 1px solid var(--iva-border);
    border-radius: var(--radius-md, 12px);
    background: var(--iva-surface);
    font-size: 0.9rem;
    line-height: 1.55;
}

    .res-terms .form-check-input {
        margin-top: 0.3rem;
    }

    .res-terms .form-check-input.is-invalid + .form-check-label {
        color: inherit;
    }

.res-terms-links a {
    color: var(--iva-accent);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.btn-submit-reservation {
    display: block;
    width: 100%;
    background: var(--iva-accent);
    color: #fff;
    padding: 0.85rem;
    border: none;
    border-radius: var(--iva-btn-radius);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

    .btn-submit-reservation:hover {
        background: var(--iva-primary);
        color: #fff;
        transform: translateY(-1px);
        box-shadow: var(--shadow-md);
    }

    .btn-submit-reservation:disabled {
        background: #ccc;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }

/* ===== PAYMENT INFO ===== */
.payment-info-box {
    margin-top: 1rem;
    border-radius: var(--iva-card-radius);
    border: 1px solid var(--iva-border);
    overflow: hidden;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }

    to {
        opacity: 1;
        max-height: 300px;
    }
}

.payment-info-header {
    background: var(--iva-bg);
    padding: 0.7rem 1rem;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--iva-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.payment-info-body {
    padding: 0.8rem 1rem;
}

.payment-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.45rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    font-size: 0.88rem;
}

    .payment-info-row:last-child {
        border-bottom: none;
    }

.payment-info-label {
    color: var(--iva-text-muted);
    font-size: 0.82rem;
    flex-shrink: 0;
}

.payment-info-value {
    font-weight: 500;
    text-align: end;
    color: var(--iva-text);
}

.iban-value {
    cursor: pointer;
    font-family: 'Courier New', monospace;
    font-size: 0.82rem;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
}

    .iban-value i {
        opacity: 0.4;
        font-size: 0.78rem;
        transition: all 0.2s;
    }

    .iban-value:hover {
        color: var(--iva-accent);
    }

        .iban-value:hover i {
            opacity: 0.8;
        }

.payment-notice {
    margin-top: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: color-mix(in srgb, var(--iva-primary) 7%, transparent);
    border-radius: var(--iva-card-radius);
    border-inline-start: 3px solid var(--iva-primary);
}

.payment-notice-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--iva-primary) 12%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--iva-primary);
    font-size: 0.95rem;
}

.payment-notice-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.4;
}

    .payment-notice-text strong {
        font-size: 0.8rem;
        color: var(--iva-primary);
        font-weight: 600;
    }

    .payment-notice-text span {
        font-size: 0.75rem;
        color: var(--iva-text-muted);
    }

/* ===== PRICE SUMMARY ===== */
.price-summary-card {
    background: var(--iva-surface) !important;
    border: 1px solid var(--iva-border);
    border-radius: var(--iva-card-radius);
    padding: 1.7rem;
    margin-bottom: 1.5rem;
    position: sticky;
    top: 100px;
    box-shadow: var(--shadow-md);
    z-index: 10;
    overflow: hidden;
}

    /* Oda detayındaki rezervasyon kartıyla aynı vurgu şeridi */
    .price-summary-card::before {
        content: '';
        position: absolute;
        inset-inline: 0;
        top: 0;
        height: 4px;
        background: var(--iva-accent);
    }

.price-summary-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--iva-text);
    margin-bottom: 1.2rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid var(--iva-border);
    font-family: var(--font-heading);
}

    .price-summary-title i {
        color: var(--iva-accent);
    }

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.summary-label {
    color: var(--iva-text-muted);
}

.summary-value {
    font-weight: 500;
    color: var(--iva-text);
}

.summary-divider {
    height: 1px;
    background: var(--iva-border);
    margin: 0.5rem 0;
}

.summary-row.total {
    padding-top: 0.8rem;
}

    .summary-row.total .summary-label {
        font-weight: 600;
        color: var(--iva-text);
    }

    .summary-row.total .summary-value {
        font-family: var(--font-heading);
        font-size: 1.3rem;
        font-weight: 700;
        color: var(--iva-primary);
    }

.summary-empty {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--iva-text-muted);
}

    .summary-empty i {
        width: 60px;
        height: 60px;
        margin: 0 auto 0.8rem;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: color-mix(in srgb, var(--iva-accent) 14%, transparent);
        color: var(--iva-accent);
        font-size: 1.6rem;
    }

    .summary-empty p {
        font-size: 0.85rem;
        margin-bottom: 0;
    }

.info-box {
    background: var(--iva-bg);
    border-radius: var(--iva-card-radius);
    padding: 1.5rem;
    border: 1px solid var(--iva-border);
    position: relative;
    z-index: 9;
}

    .info-box h6 {
        font-family: var(--font-body);
        font-size: 0.9rem;
        font-weight: 600;
        color: var(--iva-primary);
        margin-bottom: 0.8rem;
    }

    .info-box ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .info-box li {
        font-size: 0.83rem;
        color: var(--iva-text-muted);
        padding-block: 0.3rem;
        padding-inline-start: 1rem;
        position: relative;
    }

        .info-box li::before {
            content: '•';
            position: absolute;
            inset-inline-start: 0;
            color: var(--iva-accent);
        }

/* ===== MOBILE SUMMARY BAR ===== */
.mobile-summary-bar {
    background: var(--iva-surface);
    border: 1px solid var(--iva-border);
    border-radius: var(--iva-card-radius);
    padding: 0.75rem 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* ===== CONFIRMATION PAGE ===== */
.confirmation-section {
    padding: 0 0 5rem;
}

/* Kart başlık bandının üstüne biner (ilk bakışta durum ikonu görünür); bant, alt yazısı
   kartın altında kalmasın diye o kadar uzar. */
.page-header:has(+ .confirmation-section) {
    padding-bottom: 7rem;
}

.confirmation-card {
    position: relative;
    margin-top: -3rem;
    background: var(--iva-surface);
    border: 1px solid var(--iva-border);
    border-radius: var(--iva-card-radius);
    padding: 3rem 2.5rem 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

    .confirmation-card::before {
        content: '';
        position: absolute;
        inset-inline: 0;
        top: 0;
        height: 4px;
        background: var(--iva-accent);
    }

    .confirmation-card.is-cancelled::before {
        background: #dc3545;
    }

.confirmation-icon {
    width: 84px;
    height: 84px;
    margin: 0 auto 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: color-mix(in srgb, var(--iva-accent) 14%, transparent);
    color: var(--iva-accent);
    font-size: 2.6rem;
}

.confirmation-card.is-cancelled .confirmation-icon {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.confirmation-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 0.5rem;
    color: var(--iva-text);
}

@media (max-width: 575px) {
    .confirmation-card {
        padding: 2.4rem 1.2rem 1.6rem;
    }

    .confirmation-actions .btn {
        flex: 1 1 0;
    }
}

.confirmation-subtitle {
    font-size: 0.95rem;
    color: var(--iva-text-muted);
    margin-bottom: 2rem;
}

.confirmation-ref {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: color-mix(in srgb, var(--iva-accent) 7%, var(--iva-surface));
    padding: 1rem 2.2rem;
    border-radius: var(--radius-sm);
    margin-bottom: 2rem;
    border: 1px dashed color-mix(in srgb, var(--iva-accent) 60%, var(--iva-border));
}

.ref-label {
    font-size: 0.75rem;
    color: var(--iva-text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.ref-number {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--iva-primary);
}

.confirmation-details {
    text-align: start;
    background: var(--iva-bg);
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--iva-border);
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--iva-border);
    font-size: 0.9rem;
}

    .detail-row:last-child {
        border-bottom: none;
    }

.detail-label {
    color: var(--iva-text-muted);
    flex-shrink: 0;
}

    .detail-label i {
        color: var(--iva-accent);
    }

.detail-value {
    font-weight: 500;
    color: var(--iva-text);
    text-align: end;
}

.detail-row.total {
    padding-top: 1rem;
    margin-top: 0.5rem;
    border-top: 2px solid var(--iva-border);
    border-bottom: none;
}

    .detail-row.total .detail-value {
        font-family: var(--font-heading);
        font-size: 1.3rem;
        font-weight: 700;
        color: var(--iva-primary);
    }

.confirmation-note {
    font-size: 0.85rem;
    color: var(--iva-text-muted);
    margin-bottom: 2rem;
    padding: 1rem;
    background: color-mix(in srgb, var(--iva-accent) 8%, transparent);
    border-radius: var(--radius-sm);
    border-inline-start: 3px solid var(--iva-accent);
    text-align: start;
}

/* Onay sayfası eylem butonları — eskiden satır içi sabit renkliydi (lacivert/yeşil). */
.confirmation-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    margin: 1.5rem 0;
}

.btn-conf-pay,
.btn-conf-secondary,
.btn-conf-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: min(100%, 320px);
    padding: 0.85rem 1.6rem;
    border-radius: var(--iva-btn-radius);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.btn-conf-pay {
    background: var(--iva-accent);
    color: #fff;
    border: 1px solid var(--iva-accent);
}

    .btn-conf-pay:hover {
        background: var(--iva-primary);
        border-color: var(--iva-primary);
        color: #fff;
    }

.btn-conf-secondary {
    background: transparent;
    color: var(--iva-primary);
    border: 1px solid var(--iva-primary);
}

    .btn-conf-secondary:hover {
        background: var(--iva-primary);
        color: #fff;
    }

/* WhatsApp marka rengi bilerek sabit. */
.btn-conf-wa {
    background: #25D366;
    color: #fff;
    border: 1px solid #25D366;
}

    .btn-conf-wa:hover {
        background: #1ebe5a;
        color: #fff;
    }

.confirmation-alt-pay {
    font-size: 0.82rem;
    color: var(--iva-text-muted);
}

    .confirmation-alt-pay a {
        font-weight: 600;
    }

.confirmation-deposit {
    width: 100%;
    margin-top: 0.4rem;
    padding-top: 0.9rem;
    border-top: 1px dashed var(--iva-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.confirmation-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-conf-home {
    background: var(--iva-primary);
    color: #fff;
    padding: 0.65rem 1.5rem;
    border-radius: var(--iva-btn-radius);
    font-size: 0.88rem;
    font-weight: 500;
    transition: var(--transition);
}

    .btn-conf-home:hover {
        background: var(--iva-primary-light);
        color: #fff;
    }

.btn-conf-rooms {
    background: var(--iva-bg);
    color: var(--iva-primary);
    padding: 0.65rem 1.5rem;
    border-radius: var(--iva-btn-radius);
    font-size: 0.88rem;
    font-weight: 500;
    border: 1px solid var(--iva-border);
    transition: var(--transition);
}

    .btn-conf-rooms:hover {
        background: var(--iva-primary);
        color: #fff;
        border-color: var(--iva-primary);
    }

/* ===== REZERVASYON TAKİP (25.09.2026) =====
   Detay satırları onay sayfasıyla ortak (.confirmation-details / .detail-row). */
.track-section {
    padding: 3.5rem 0 5rem;
}

.track-container {
    max-width: 760px;
}

.track-card {
    position: relative;
    background: var(--iva-surface);
    border: 1px solid var(--iva-border);
    border-radius: var(--iva-card-radius);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

    .track-card::before {
        content: '';
        position: absolute;
        inset-inline: 0;
        top: 0;
        height: 4px;
        background: var(--iva-accent);
    }

.track-card-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: color-mix(in srgb, var(--iva-accent) 14%, transparent);
    color: var(--iva-accent);
    font-size: 1.6rem;
}

.track-result-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.4rem;
}

    .track-result-head .ref-label,
    .track-result-head .ref-number {
        display: block;
    }

/* Durum rengi: şerit + rozet aynı tondan. */
.track-result {
    --track-status: var(--iva-accent);
}

    .track-result.is-pending { --track-status: #b45309; }
    .track-result.is-confirmed { --track-status: #15803d; }
    .track-result.is-checkedin { --track-status: #7c3aed; }
    .track-result.is-checkedout { --track-status: #475569; }
    .track-result.is-cancelled { --track-status: #b91c1c; }

    .track-result::before {
        background: var(--track-status);
    }

.track-status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--track-status);
    background: color-mix(in srgb, var(--track-status) 12%, transparent);
}

    .track-status::before {
        content: '';
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: currentColor;
    }

.track-room-line {
    font-size: 0.82rem;
    font-weight: 400;
    color: var(--iva-text-muted);
    margin-top: 0.2rem;
}

.track-remaining {
    color: #b45309;
}

.track-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

    .track-actions .btn-conf-wa {
        min-width: 0;
        padding: 0.65rem 1.3rem;
        font-size: 0.9rem;
    }

.btn-track-cancel {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 1.3rem;
    border-radius: var(--iva-btn-radius);
    font-size: 0.9rem;
    font-weight: 500;
    color: #b91c1c;
    background: transparent;
    border: 1px solid color-mix(in srgb, #b91c1c 45%, transparent);
}

    .btn-track-cancel:hover {
        background: #b91c1c;
        color: #fff;
    }

.track-cancel-box {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid color-mix(in srgb, #b91c1c 30%, transparent);
    background: color-mix(in srgb, #b91c1c 6%, var(--iva-surface));
}

    .track-cancel-box p {
        font-size: 0.85rem;
        color: #7f1d1d;
        margin-bottom: 0.8rem;
    }

@media (max-width: 575px) {
    .track-card {
        padding: 1.4rem;
    }
}

/* ===== SEASONAL BADGE ===== */
.seasonal-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(201,169,110,0.12);
    color: var(--iva-accent);
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* ===== DİL SEÇİCİ ===== */
.lang-selector {
    font-size: 0.85rem !important;
    font-weight: 500;
    padding: 6px 12px !important;
    border-radius: 6px;
    transition: all 0.2s;
}

    .lang-selector:hover {
        background: rgba(255,255,255,0.1);
    }

.lang-dropdown {
    min-width: 160px;
    border: 1px solid var(--iva-border);
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    padding: 6px;
    overflow: hidden;
    background: var(--iva-surface);
}

    .lang-dropdown .dropdown-item {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 8px 14px;
        border-radius: 6px;
        font-size: 0.85rem;
        transition: all 0.15s;
        color: var(--iva-text);
    }

        .lang-dropdown .dropdown-item:hover {
            background: rgba(124,92,62,0.06);
        }

        .lang-dropdown .dropdown-item.active {
            background: rgba(124,92,62,0.1);
            color: var(--iva-primary);
            font-weight: 600;
        }

.lang-flag {
    font-size: 1.2rem;
    line-height: 1;
}

/* ===== STICKY CONTACT BUTTONS ===== */
.sticky-contact-buttons {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 9990;
}

.sticky-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    transition: transform 0.2s, box-shadow 0.2s;
}

    .sticky-btn:hover {
        transform: scale(1.1);
        box-shadow: 0 6px 20px rgba(0,0,0,0.35);
        color: #fff;
    }

.sticky-whatsapp {
    background-color: #25D366;
}

.sticky-call {
    background-color: var(--iva-primary);
}

.sticky-top-btn {
    background-color: var(--iva-accent);
    border: none;
    cursor: pointer;
}

/* ===== RESERVATION STEPS ===== */
.reservation-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--iva-border);
}

.res-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
}

.res-step-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--iva-border);
    color: var(--iva-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    transition: background 0.3s, color 0.3s;
}

.res-step.completed .res-step-circle {
    background: var(--iva-primary);
    color: #fff;
}

/* Açık adım vurgu renginde ve halkalı: tamamlananlardan ayrışır. */
.res-step.active .res-step-circle {
    background: var(--iva-accent);
    color: #fff;
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--iva-accent) 22%, transparent);
}

    .res-step.completed .res-step-circle::before {
        content: '✓';
    }

.res-step-label {
    font-size: 0.7rem;
    color: var(--iva-text-muted);
    white-space: nowrap;
    font-weight: 500;
}

.res-step.active .res-step-label,
.res-step.completed .res-step-label {
    color: var(--iva-primary);
}

.res-step-line {
    flex: 1;
    height: 2px;
    background: var(--iva-border);
    margin: 0 0.4rem;
    margin-bottom: 1.4rem;
    min-width: 20px;
    transition: background 0.3s;
}

.res-step.completed + .res-step-line {
    background: var(--iva-primary);
}

/* ===== FORM STEP BADGE ===== */
.form-step-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--iva-primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    margin-inline-end: 0.5rem;
    flex-shrink: 0;
}

.accordion-step.step-open .form-step-badge {
    background: var(--iva-accent);
}

/* ===== SUGGESTION PLACEHOLDER ===== */
.suggestion-placeholder {
    text-align: center;
    padding: 2rem;
    color: var(--iva-text-muted);
    border: 2px dashed var(--iva-border);
    border-radius: var(--iva-card-radius);
}

    .suggestion-placeholder i {
        font-size: 2rem;
        display: block;
        margin-bottom: 0.5rem;
    }

/* ===== SINGLE ROOM CARDS ===== */
.room-suggestion-cards {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.room-suggest-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    border: 2px solid var(--iva-border);
    border-radius: var(--iva-card-radius);
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: var(--iva-surface);
}

    .room-suggest-card:hover {
        border-color: var(--iva-accent);
        box-shadow: var(--shadow-md);
    }

    .room-suggest-card.selected {
        border: 2px solid var(--iva-accent) !important;
        background: color-mix(in srgb, var(--iva-accent) 9%, var(--iva-surface)) !important;
        box-shadow: 0 0 0 3px color-mix(in srgb, var(--iva-accent) 22%, transparent) !important;
    }

        .room-suggest-card.selected .rsc-name {
            color: var(--iva-accent);
            font-weight: 700;
        }

        .room-suggest-card.selected .rsc-select-btn::before {
            content: '✓ ';
            color: #22c55e;
        }

.rsc-left {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
}

.room-suggest-card {
    gap: 0.75rem;
}

.rsc-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--iva-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Kapak görseli olan odada ikon yerine küçük fotoğraf */
.rsc-thumb {
    width: 84px;
    height: 63px;
    padding: 0;
    overflow: hidden;
    background: var(--iva-bg);
}

    .rsc-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

@media (max-width: 400px) {
    .rsc-thumb {
        width: 64px;
        height: 48px;
    }
}

.rsc-name {
    font-weight: 600;
    color: var(--iva-text);
    font-size: 0.95rem;
}

.rsc-cap {
    font-size: 0.78rem;
    color: var(--iva-text-muted);
    margin-top: 0.15rem;
}

.rsc-right {
    text-align: end;
    flex-shrink: 0;
}

.rsc-price {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--iva-primary);
}

.rsc-nights {
    font-size: 0.75rem;
    color: var(--iva-text-muted);
}

.rsc-select-btn {
    margin-top: 0.35rem;
    font-size: 0.78rem;
    color: var(--iva-accent);
    font-weight: 600;
}

/* ===== MULTI ROOM SUGGESTION ===== */
.multi-room-suggestion {
    margin-top: 1rem;
    background: color-mix(in srgb, var(--iva-accent) 7%, var(--iva-surface));
    border: 1.5px solid var(--iva-accent);
    border-radius: var(--iva-card-radius);
    padding: 1.25rem;
}

.mrs-header {
    color: var(--iva-accent);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.mrs-header-alt {
    color: var(--iva-text-muted);
    font-size: 0.82rem;
    border-top: 1px solid var(--iva-border);
    margin-top: 0.5rem;
    padding-top: 0.75rem;
}

.mrs-combo {
    background: var(--iva-surface);
    border: 1px solid var(--iva-border);
    border-radius: 8px;
    padding: 0.85rem 1rem;
    margin-bottom: 0.75rem;
}

.mrs-rooms {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.mrs-room-badge {
    background: var(--iva-primary);
    color: #fff;
    padding: 0.25rem 0.65rem;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

    .mrs-room-badge small {
        opacity: 0.8;
        font-size: 0.75rem;
    }

.mrs-plus {
    color: var(--iva-text-muted);
    font-size: 0.75rem;
}

.mrs-total {
    font-size: 0.85rem;
    color: var(--iva-text-muted);
}

    .mrs-total strong {
        color: var(--iva-primary);
        font-size: 1rem;
    }

.mrs-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.mrs-btn-select {
    background: var(--iva-primary);
    color: #fff !important;
    font-size: 0.82rem;
    padding: 0.4rem 1rem;
    border-radius: var(--iva-btn-radius);
    font-weight: 500;
    width: 100%;
}

    .mrs-btn-select:hover {
        opacity: 0.9;
        color: #fff !important;
        background: var(--iva-primary) !important;
    }

.mrs-btn-select-active {
    background: #22c55e !important;
}

    .mrs-btn-select-active:hover {
        background: #1aab52 !important;
        color: #fff !important;
    }

/* ===== PAGE TRANSITIONS ===== */
main {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991.98px) {
    .mobile-summary-bar {
        position: fixed;
        left: 1rem;
        right: 1rem;
        bottom: calc(1rem + env(safe-area-inset-bottom));
        top: auto;
        z-index: 1050;
        margin-bottom: 0;
    }

    .price-summary-card {
        position: static;
        top: auto;
    }

    .reservation-form-section {
        padding-bottom: 6rem;
    }

    .sticky-contact-buttons {
        bottom: 6rem;
    }
}

@media (max-width: 991px) {
    .room-features-grid {
        grid-template-columns: 1fr;
    }

    .room-booking-card {
        position: static;
    }

    .room-sidebar-sticky {
        position: static;
    }

    /* ===== MOBİL SIRALAMA (06.07.2026) =====
       İstenen sıra: Galeri+Açıklama+Olanaklar+Özellikler → Müsaitlik Takvimi → Rezervasyon Kartı.
       Sadece .room-detail-section altında scope'landı — .col-lg-7/.col-lg-5 çok genel
       Bootstrap grid class'ları olduğu için site genelini etkilememesi gerekiyor.
       display:contents, sütun kutularını "eritip" içindeki elemanları .row'un doğrudan
       flex öğesi yapıyor, böylece iki farklı sütundaki kartlar birbirine göre sıralanabiliyor.
       Masaüstünde (≥992px) bu kural hiç devreye girmiyor, mevcut iki-sütunlu düzen aynen kalıyor. */

    /* ⚠️ İlk denemede eksikti: .row.g-5 sütunlara kompanse ettirdiği bir NEGATİF
       margin (gutter) uyguluyor. Sütunların kendisi display:contents ile "eriyince"
       bu kompanse edici padding de kayboluyor ama negatif margin kalıyor — bu yüzden
       width:100% verilen elemanlar container'dan taşıyordu. Gutter'ı burada sıfırlıyoruz. */
    .room-detail-section .row {
        --bs-gutter-x: 0;
        margin-left: 0;
        margin-right: 0;
    }

    .room-detail-section .col-lg-7,
    .room-detail-section .col-lg-5,
    .room-detail-section .room-sidebar-sticky {
        display: contents;
    }

    .room-detail-section .room-gallery { order: 1; flex: 0 0 100%; width: 100%; margin-bottom: 1.5rem; }
    .room-detail-section .room-detail-description { order: 2; flex: 0 0 100%; width: 100%; margin-bottom: 1.5rem; }
    .room-detail-section .room-detail-amenities { order: 3; flex: 0 0 100%; width: 100%; margin-bottom: 1.5rem; }
    .room-detail-section .room-features-section { order: 4; flex: 0 0 100%; width: 100%; margin-bottom: 1.5rem; }
    .room-detail-section .room-availability-card { order: 5; flex: 0 0 100%; width: 100%; margin-bottom: 1.5rem; }
    .room-detail-section .room-booking-card { order: 6; flex: 0 0 100%; width: 100%; }
}

@media (max-width: 768px) {
    .gallery-main-img {
        height: 280px;
    }

    .contact-map-iframe {
        height: 260px;
    }

    .confirmation-card {
        padding: 2rem 1.2rem;
    }

    .footer-desc {
        margin-bottom: 1.5rem;
    }

    .room-detail-section .col-lg-5 {
        order: -1;
    }

    .room-booking-card {
        position: static;
        margin-bottom: 1.5rem;
    }

    .gallery-thumb {
        width: 60px;
        height: 45px;
    }

    .contact-map-overlay {
        justify-content: center;
    }

    .detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.2rem;
    }

    .detail-value {
        text-align: start;
    }

    .contact-card {
        padding: 1.5rem 1rem;
    }

    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .lightbox-prev {
        left: 8px;
    }

    .lightbox-next {
        right: 8px;
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 38px;
        height: 38px;
    }

    .lightbox-caption {
        font-size: 0.75rem;
        padding: 6px 14px;
        bottom: 12px;
    }
}

@media (max-width: 576px) {
    .room-card-features {
        gap: 0.5rem;
    }

    .page-header-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 400px) {
    .room-card-features {
        font-size: 0.75rem;
    }

    .price-amount {
        font-size: 1.1rem;
    }

    .booking-price {
        font-size: 1.6rem;
    }
}

/* ===== MOBILE FIX: Floating buttons + reservation steps ===== */
@media (max-width: 576px) {

    /* Back to top / WhatsApp / Arama butonlarını aşağı indir */
    .sticky-contact-buttons {
        bottom: calc(4rem + env(safe-area-inset-bottom)) !important;
        right: 0.9rem;
        gap: 0.55rem;
    }

    .sticky-btn {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    /* Reservation kartın mobilde iç boşluğunu biraz azalt */
    .reservation-form-card {
        padding: 1.4rem 0.85rem;
        overflow: hidden;
    }

    /* Step alanını mobilde taşmayacak grid yap */
    .reservation-steps {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 16px minmax(0, 1fr) 16px minmax(0, 1fr) 16px minmax(0, 1fr);
        align-items: start;
        width: 100%;
        margin-bottom: 1.5rem;
        padding: 0 0 1rem;
    }

    .res-step {
        min-width: 0;
        width: 100%;
    }

    .res-step-circle {
        width: 34px;
        height: 34px;
        font-size: 0.8rem;
    }

    .res-step-label {
        white-space: normal;
        text-align: center;
        font-size: 0.62rem;
        line-height: 1.15;
        max-width: 68px;
        overflow-wrap: break-word;
    }

    .res-step-line {
        width: 16px;
        min-width: 16px;
        height: 2px;
        margin: 17px 0 0 0;
        flex: none;
    }
}

html[dir="rtl"] .flatpickr-calendar {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .flatpickr-months .flatpickr-prev-month {
    right: auto;
    left: 0;
}

html[dir="rtl"] .flatpickr-months .flatpickr-next-month {
    left: auto;
    right: 0;
}

/* iOS Safari input focus zoom fix */
@media (max-width: 767.98px) {
    .reservation-form-section input,
    .reservation-form-section select,
    .reservation-form-section textarea,
    .reservation-form-section .form-control,
    .reservation-form-section .form-select,
    .reservation-form-section .flatpickr-input {
        font-size: 16px !important;
    }

        /* Flatpickr altInput oluştuğu için görünür input'u da garantiye al */
        .reservation-form-section input.flatpickr-input,
        .reservation-form-section input.js-date-picker {
            font-size: 16px !important;
        }
}

/* ===== ODA ÖZELLİKLERİ (Room Features) =====
   krem kart zemini, lacivert ikon, ortak radius & border token'ları */
.room-features-section {
    margin-bottom: 2rem;
}

/* Başlık — .room-detail-amenities h4 ile birebir aynı */
.room-features-section h4 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
        color: var(--iva-text);
    }

.room-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.room-feature-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: var(--iva-text-muted);
    padding: 0.7rem 1rem;
    background: var(--iva-bg);
    border: 1px solid var(--iva-border);
    border-radius: var(--radius-sm);
}

.room-feature-icon {
    color: var(--iva-primary);
    font-size: 1rem;
    flex-shrink: 0;
    display: inline-flex;
}

.room-feature-qty {
    font-weight: 700;
    color: var(--iva-primary);
    flex-shrink: 0;
}

.room-feature-name {
    color: var(--iva-text-muted);
}


/* ===== DÖVİZ FİYAT ETİKETİ ===== */
.price-fx {
    font-size: 0.78em;
    opacity: 0.7;
    font-weight: 400;
    white-space: nowrap;
}

@media (min-width: 992px) {
    #summaryContent {
        min-height: 380px;
    }
}

/* ===== FİYATA DAHİL ETİKETLERİ (24.09.2026) =====
   Oda kartında ve oda detayında fiyatın altında görünür. Yalnızca bilgi amaçlıdır;
   fiyat hesabını etkilemez. */
.price-includes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    justify-content: flex-end;
    margin-top: 0.25rem;
}

.price-include-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.7rem;
    line-height: 1.3;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    background: rgba(var(--iva-primary-rgb, 27, 42, 74), 0.08);
    color: var(--iva-text-muted, #6b7280);
    white-space: nowrap;
}

/* ===== SERBEST METİN İÇERİĞİ (SimpleMarkup çıktısı) =====
   24.09.2026: Yasal sayfalar ve CMS sayfaları aynı çeviriciyi kullanıyor; biçim burada.
   Başlıklar h2/h3/h4 olarak basılıyor ama sayfa başlığıyla yarışmasın diye ölçüleri sabit. */
/* 25.09.2026: renk sabit #333'tü — koyu temada koyu zemin üstünde okunmuyordu. */
.markup-content {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--iva-text);
}

.markup-content .markup-heading {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--iva-text);
    margin: 2rem 0 0.7rem;
    line-height: 1.35;
}

.markup-content h2.markup-heading { font-size: 1.5rem; }
.markup-content h3.markup-heading { font-size: 1.22rem; }
.markup-content h4.markup-heading { font-size: 1.05rem; }

.markup-content > *:first-child {
    margin-top: 0;
}

.markup-content p {
    margin-bottom: 0.9rem;
}

.markup-content ul,
.markup-content ol {
    margin-bottom: 1rem;
    padding-inline-start: 1.4rem;
}

.markup-content li {
    margin-bottom: 0.35rem;
}

.markup-content li::marker {
    color: var(--iva-accent);
}

.markup-content .markup-rule {
    margin: 2rem 0;
    border: 0;
    border-top: 1px solid var(--iva-border);
    opacity: 1;
}

.markup-content a {
    color: var(--iva-primary);
    text-decoration: underline;
    text-decoration-color: var(--iva-accent);
    text-underline-offset: 3px;
}

    .markup-content a:hover {
        color: var(--iva-accent);
    }

/* ===== CMS SAYFALARI (24.09.2026) ===== */
/* İçerik ve yasal sayfalar ortak okuma genişliği. Kapak görseli 25.09.2026'dan beri
   başlık bandının arka planı (.page-header-image); ayrı .cms-cover yok. */
.cms-page {
    max-width: 860px;
    padding: 3.5rem 1rem 5rem;
}

/* Galeri sayfasında metin, ızgaranın üstünde ortalı kısa bir giriş olarak durur.
   Izgara stilleri: "GALERİ IZGARASI" (.gallery-grid / .gallery-card, _GalleryGrid). */
.cms-page-intro {
    padding-bottom: 0;
    text-align: center;
}

    .cms-page-intro + .gallery-section {
        padding-top: 3.5rem;
    }

/* Galeri sayfasında ara başlık yok; ızgara başlık bandının hemen altından başlar. */
.gallery-section-page {
    padding-top: 3.5rem;
}

/* ===== GALERİ BÜYÜTME ===== */
.cms-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
    padding: 2.5rem 1rem;
}

.cms-lightbox[hidden] {
    display: none;
}

.cms-lightbox img {
    max-width: 94vw;
    max-height: 82vh;
    object-fit: contain;
    border-radius: 8px;
}

.cms-lightbox-caption {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    text-align: center;
    max-width: 800px;
}

.cms-lightbox-close,
.cms-lightbox-nav {
    position: absolute;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 0;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 1.05rem;
    cursor: pointer;
}

.cms-lightbox-close:hover,
.cms-lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.25);
}

.cms-lightbox-close {
    top: 1rem;
    inset-inline-end: 1rem;
}

.cms-lightbox-nav.prev {
    inset-inline-start: 1rem;
}

.cms-lightbox-nav.next {
    inset-inline-end: 1rem;
}

/* ===== İPTAL / ÖN ÖDEME KOŞULU KUTUSU (24.09.2026) =====
   Rezervasyon formunda özet kartının altında; içeriği sunucudan misafirin dilinde gelir. */
.policy-box {
    background: var(--iva-surface, #fff);
    border: 1px solid var(--iva-border, #e8ddd0);
    border-radius: var(--iva-card-radius, 12px);
    padding: 1rem 1.1rem;
    margin-top: 1rem;
}

.policy-box h6 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--iva-primary, #7C5C3E);
}

.policy-box p {
    font-size: 0.82rem;
    line-height: 1.65;
    margin-bottom: 0.4rem;
    color: var(--iva-text, #2C2411);
}

.policy-box p:last-child {
    margin-bottom: 0;
}

/* Ücretsiz iptal hakkı doğmayan (son dakika) rezervasyonlarda dikkat çeker */
.policy-box.policy-box-warning {
    border-color: #e6b800;
    background: #fffdf3;
}

/* Yasal metin dil notu — metin istenen dilde yoksa Türkçesi gösterilir (24.09.2026) */
.legal-lang-note {
    background: color-mix(in srgb, var(--iva-accent) 10%, var(--iva-surface));
    border: 1px solid color-mix(in srgb, var(--iva-accent) 40%, var(--iva-border));
    border-inline-start: 3px solid var(--iva-accent);
    border-radius: var(--radius-sm);
    padding: 0.7rem 0.95rem;
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--iva-text);
    margin-bottom: 1.8rem;
}
