/* ==========================================================================
   VillaBiz — tasarım sistemi
   ========================================================================== */

:root {
    --teal-900: #0b3d43;
    --teal-800: #0f5057;
    --teal-700: #14666f;
    --teal-600: #1a808b;
    --teal-500: #22a2af;
    --teal-100: #e3f4f6;
    --teal-50:  #f2fafb;

    --sand-600: #b4823c;
    --sand-500: #d99a44;
    --sand-400: #eab464;
    --sand-100: #fdf3e2;

    --ink-900: #12211f;
    --ink-700: #33474a;
    --ink-500: #62787b;
    --ink-300: #9aabad;
    --line:    #e2e9ea;
    --bg:      #ffffff;
    --bg-soft: #f6f9f9;

    --ok:   #1f9d63;
    --warn: #d98324;
    --err:  #d1493f;
    --info: #2b7fbf;

    --radius-sm: 8px;
    --radius:    14px;
    --radius-lg: 22px;

    --shadow-sm: 0 1px 3px rgba(11, 61, 67, .07), 0 1px 2px rgba(11, 61, 67, .04);
    --shadow:    0 4px 16px rgba(11, 61, 67, .08);
    --shadow-lg: 0 18px 42px rgba(11, 61, 67, .14);

    --header-h: 86px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    color: var(--ink-900);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.22; font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p  { margin: 0 0 1rem; }

.container { width: min(1240px, 100% - 2.5rem); margin-inline: auto; }

/* --------------------------------------------------------------- Butonlar */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .75rem 1.4rem;
    border: 1px solid transparent; border-radius: 999px;
    font: inherit; font-weight: 600; font-size: .93rem;
    cursor: pointer; transition: .18s ease; white-space: nowrap;
}
.btn-primary  { background: var(--teal-700); color: #fff; }
.btn-primary:hover  { background: var(--teal-800); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-accent   { background: var(--sand-500); color: #3a2708; }
.btn-accent:hover   { background: var(--sand-400); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline  { border-color: var(--line); background: #fff; color: var(--ink-900); }
.btn-outline:hover  { border-color: var(--teal-600); color: var(--teal-700); }
.btn-ghost    { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.3); }
.btn-ghost:hover { background: rgba(255,255,255,.24); }
.btn-wa       { background: #25d366; color: #fff; padding: .55rem 1.1rem; font-size: .88rem; }
.btn-wa:hover { background: #1eb857; }
.btn-block    { width: 100%; }
.btn-lg       { padding: .95rem 1.9rem; font-size: 1rem; }
.btn-sm       { padding: .45rem .9rem; font-size: .82rem; }

/* ----------------------------------------------------------------- Header */

.site-header { position: sticky; top: 0; z-index: 900; background: #fff; box-shadow: var(--shadow-sm); }

.topbar { background: var(--teal-900); color: #cfe8ea; font-size: .82rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; height: 36px; }
.topbar-text { opacity: .85; }
.topbar-links { display: flex; gap: 1.2rem; }
.topbar-links a:hover { color: #fff; }

.header-inner { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }

.logo { display: flex; align-items: center; gap: .6rem; font-size: 1.32rem; font-weight: 700; letter-spacing: -.03em; }
/* Logo kare oranlı (381x306) — yüksekliği bol tut ki okunur olsun.
   Orijinal dosya açık gri/mavi tonlu; beyaz zeminde okunması için koyulaştırıyoruz. */
.logo-img {
    height: 62px; width: auto; object-fit: contain; display: block;
    filter: saturate(1.5) contrast(1.45) brightness(.82);
}
.logo-footer-img {
    height: 74px; margin-bottom: .9rem;
    /* Koyu zeminde beyaz logo zemini görünmesin (header filtresini ezer) */
    mix-blend-mode: screen;
    filter: brightness(1.75) contrast(1.08) saturate(1);
}
.logo-mark {
    width: 40px; height: 40px; border-radius: 11px;
    background: linear-gradient(135deg, var(--teal-600), var(--teal-800));
    color: #fff; display: grid; place-items: center;
    font-size: .95rem; font-weight: 800; letter-spacing: .02em;
}
.logo-text strong { color: var(--sand-600); font-weight: 800; }

.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; align-items: center; gap: .35rem; }
.main-nav > ul > li > a {
    display: block; padding: .6rem .85rem; border-radius: var(--radius-sm);
    font-size: .92rem; font-weight: 600; color: var(--ink-700);
}
.main-nav > ul > li > a:hover { background: var(--teal-50); color: var(--teal-800); }

.has-mega { position: relative; }
.mega {
    position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(-8px);
    width: 560px; padding: 1.1rem; background: #fff;
    border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transition: .18s ease;
}
.mega-sm { width: 320px; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .2rem; }
.mega-sm .mega-grid { grid-template-columns: 1fr; }
.mega-grid a { padding: .5rem .7rem; border-radius: var(--radius-sm); font-size: .88rem; color: var(--ink-700); }
.mega-grid a:hover { background: var(--teal-50); color: var(--teal-800); }

.header-actions { display: flex; align-items: center; gap: .6rem; }

.nav-toggle {
    display: none; margin-left: auto;
    width: 42px; height: 42px; padding: 10px;
    background: none; border: 1px solid var(--line); border-radius: 10px; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink-900); border-radius: 2px; margin: 3px 0; transition: .2s; }

/* ------------------------------------------------------------------- Hero */

.hero {
    position: relative; overflow: hidden;
    padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(5rem, 9vw, 7rem);
    background: var(--teal-900);
}

/* İçerik katmanı görselin üstünde kalsın */
.hero > * { position: relative; z-index: 2; }

/* Görselin üstünde okunabilirlik katmanı */
.hero::before {
    content: ''; position: absolute; inset: 0; z-index: 1;
    background:
        linear-gradient(105deg, rgba(11, 61, 67, .93) 0%, rgba(15, 80, 87, .82) 42%, rgba(11, 61, 67, .42) 100%),
        linear-gradient(to top, rgba(11, 61, 67, .75), transparent 45%);
}

/* Arka plandaki villa görselleri — .hero > * kuralını geçersiz kılar */
.hero > .hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
    position: absolute; inset: 0;
    opacity: 0; transition: opacity 1.1s ease;
}
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

.hero-promo {
    background: rgba(217, 154, 68, .22);
    border-color: rgba(234, 180, 100, .5);
    color: #ffeccd;
}
.hero-promo b { color: var(--sand-400); font-weight: 800; }

/* Slider içindeki büyük kampanya bloğu */
.hero-promo-big {
    display: inline-flex; flex-direction: column; align-items: flex-start; gap: .35rem;
    max-width: 100%;
    padding: .95rem 1.5rem 1.05rem; margin-bottom: 1.3rem;
    background: rgba(217, 154, 68, .2);
    border: 1px solid rgba(234, 180, 100, .55);
    border-left: 5px solid var(--sand-400);
    border-radius: 14px;
    backdrop-filter: blur(6px);
}
.hero-promo-label {
    display: inline-flex; align-items: center; gap: .4rem;
    font-size: .8rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
    color: #ffeccd;
}
.hero-promo-main {
    font-size: clamp(1.35rem, 3.4vw, 2.15rem);
    font-weight: 700; line-height: 1.15; color: #fff;
}
.hero-promo-main b {
    font-weight: 800; color: var(--sand-400);
    font-size: 1.22em;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.7rem; }

/* Slider noktaları */
.hero > .hero-dots {
    position: absolute; z-index: 3; left: 50%; bottom: 1.5rem;
    transform: translateX(-50%);
    display: flex; gap: .45rem;
}
.hero-dot {
    width: 30px; height: 4px; padding: 0; border: none; border-radius: 99px;
    background: rgba(255, 255, 255, .35); cursor: pointer; transition: .2s;
}
.hero-dot:hover { background: rgba(255, 255, 255, .6); }
.hero-dot.is-active { background: var(--sand-400); width: 44px; }

@media (prefers-reduced-motion: reduce) {
    .hero-slide { transition: none; }
}
.hero-content { max-width: 720px; color: #fff; }
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .38rem .9rem; margin-bottom: 1.1rem;
    background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px; font-size: .82rem; font-weight: 600;
    backdrop-filter: blur(6px);
}
.hero h1 { color: #fff; margin-bottom: .7rem; }
.hero h1 em { font-style: normal; color: var(--sand-400); }
.hero-sub { font-size: 1.06rem; color: rgba(255,255,255,.88); max-width: 560px; margin-bottom: 1.6rem; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 2.2rem; margin-top: 2rem; }
.hero-stat b { display: block; font-size: 1.7rem; font-weight: 800; color: #fff; line-height: 1.1; }
.hero-stat span { font-size: .84rem; color: rgba(255,255,255,.75); }

/* --------------------------------------------------------- Arama formu */

.search-card {
    position: relative; z-index: 5;
    margin-top: -3.6rem; margin-bottom: 3rem;
    padding: 1.1rem; background: #fff;
    border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.search-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr auto; gap: .7rem; align-items: end; }
.field { display: flex; flex-direction: column; gap: .32rem; min-width: 0; }
.field label { font-size: .76rem; font-weight: 700; color: var(--ink-500); text-transform: uppercase; letter-spacing: .04em; }
.field input, .field select, .field textarea {
    width: 100%; padding: .7rem .85rem;
    font: inherit; font-size: .93rem; color: var(--ink-900);
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
    transition: .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--teal-500); box-shadow: 0 0 0 3px var(--teal-100);
}
.field textarea { resize: vertical; min-height: 110px; }
.field .err { font-size: .8rem; color: var(--err); }
.field input.is-invalid, .field select.is-invalid, .field textarea.is-invalid { border-color: var(--err); }

/* ---------------------------------------------------------------- Bölümler */

.section { padding: clamp(2.6rem, 5vw, 4.2rem) 0; }
.section-soft { background: var(--bg-soft); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.8rem; }
.section-head p { color: var(--ink-500); margin: .25rem 0 0; font-size: .96rem; }
.section-head h2 { margin: 0; }
.section-link { font-weight: 600; font-size: .9rem; color: var(--teal-700); white-space: nowrap; }
.section-link:hover { color: var(--teal-500); }

/* ------------------------------------------------------------- Kategoriler */

.cat-scroll { display: grid; grid-template-columns: repeat(auto-fit, minmax(148px, 1fr)); gap: .8rem; }
.cat-tile {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .55rem;
    padding: 1.25rem .8rem; text-align: center;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    font-size: .87rem; font-weight: 600; color: var(--ink-700);
    transition: .18s;
}
.cat-tile:hover { border-color: var(--teal-500); color: var(--teal-800); transform: translateY(-3px); box-shadow: var(--shadow); }
.cat-icon {
    width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
    background: var(--teal-50); color: var(--teal-700);
}
.cat-tile:hover .cat-icon { background: var(--teal-100); }

/* ------------------------------------------------------------- Villa kartı */

.villa-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(272px, 1fr)); gap: 1.4rem; }

.villa-card {
    display: flex; flex-direction: column;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; transition: .2s;
}
.villa-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }

.villa-media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--teal-50); }
.villa-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.villa-card:hover .villa-media img { transform: scale(1.06); }

.villa-badges { position: absolute; top: .7rem; left: .7rem; display: flex; flex-wrap: wrap; gap: .35rem; max-width: calc(100% - 1.4rem); }
.badge {
    padding: .25rem .6rem; border-radius: 999px;
    background: rgba(255,255,255,.94); color: var(--teal-800);
    font-size: .71rem; font-weight: 700; letter-spacing: .01em;
    box-shadow: var(--shadow-sm);
}
.badge-accent { background: var(--sand-500); color: #3a2708; }

.villa-fav {
    position: absolute; top: .7rem; right: .7rem;
    width: 34px; height: 34px; border-radius: 50%; border: none;
    background: rgba(255,255,255,.94); color: var(--ink-500);
    display: grid; place-items: center; cursor: pointer; transition: .18s;
}
.villa-fav:hover, .villa-fav.is-active { color: var(--err); transform: scale(1.1); }

.villa-body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; flex: 1; }
.villa-loc { font-size: .8rem; color: var(--ink-500); font-weight: 600; display: flex; align-items: center; gap: .3rem; }
.villa-name {
    font-size: 1.02rem; font-weight: 700; margin: .3rem 0 .6rem;
    /* Uzun ilan başlıklarında kart yüksekliğini eşitle */
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; min-height: 2.5em; line-height: 1.25;
}
.villa-card:hover .villa-name { color: var(--teal-700); }

.villa-meta { display: flex; flex-wrap: wrap; gap: .9rem; padding: .7rem 0; margin-bottom: .7rem; border-block: 1px solid var(--line); font-size: .83rem; color: var(--ink-700); }
.villa-meta span { display: inline-flex; align-items: center; gap: .3rem; }
.villa-meta svg { color: var(--teal-600); flex-shrink: 0; }

.villa-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: .6rem; margin-top: auto; }
.villa-price small { display: block; font-size: .73rem; color: var(--ink-500); font-weight: 600; }
.villa-price b { font-size: 1.02rem; color: var(--teal-800); font-weight: 700; }

.villa-rating { display: inline-flex; align-items: center; gap: .25rem; font-size: .82rem; font-weight: 700; color: var(--ink-700); }
.villa-rating svg { color: var(--sand-500); }

/* --------------------------------------------------------- Liste / filtre */

.page-head { padding: 2.2rem 0 1.4rem; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .83rem; color: var(--ink-500); margin-bottom: .5rem; }
.breadcrumb a:hover { color: var(--teal-700); }

.listing { display: grid; grid-template-columns: 286px 1fr; gap: 1.9rem; padding: 2rem 0 3.5rem; align-items: start; }

.filters {
    position: sticky; top: calc(var(--header-h) + 1rem);
    padding: 1.25rem; background: #fff;
    border: 1px solid var(--line); border-radius: var(--radius);
}
.filters h3 { font-size: 1rem; margin-bottom: 1rem; }
.filter-block { padding-bottom: 1rem; margin-bottom: 1rem; border-bottom: 1px solid var(--line); }
.filter-block:last-of-type { border: none; margin-bottom: .5rem; }
.filter-block > label { display: block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-500); margin-bottom: .5rem; }
.check-list { display: flex; flex-direction: column; gap: .45rem; max-height: 218px; overflow-y: auto; }
.check-item { display: flex; align-items: center; gap: .5rem; font-size: .87rem; color: var(--ink-700); cursor: pointer; }
.check-item input { accent-color: var(--teal-600); width: 16px; height: 16px; }
.price-row { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }

.listing-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.3rem; }
.result-count { font-size: .92rem; color: var(--ink-500); }
.result-count b { color: var(--ink-900); }
.sort-form { display: flex; align-items: center; gap: .5rem; font-size: .87rem; color: var(--ink-500); }
.sort-form select { padding: .5rem .8rem; border: 1px solid var(--line); border-radius: var(--radius-sm); font: inherit; font-size: .87rem; }

.empty { padding: 3.5rem 1.5rem; text-align: center; background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); }
.empty h3 { color: var(--ink-700); }
.empty p { color: var(--ink-500); }

/* ------------------------------------------------------------- Sayfalama */

.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem; margin-top: 2.2rem; }
.pagination a, .pagination span {
    min-width: 40px; height: 40px; padding: 0 .7rem;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--line); border-radius: var(--radius-sm);
    font-size: .89rem; font-weight: 600; color: var(--ink-700); background: #fff;
}
.pagination a:hover { border-color: var(--teal-500); color: var(--teal-700); }
.pagination .active span { background: var(--teal-700); border-color: var(--teal-700); color: #fff; }
.pagination .disabled span { opacity: .45; }

/* ----------------------------------------------------------- Villa detay */

.detail { padding: 1.8rem 0 3.5rem; }
.gallery {
    display: grid; gap: .6rem; margin-bottom: 2rem;
    /* minmax(0,...) olmadan uzun görseller sütunu şişiriyor */
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    /* Satır yüksekliğini ana görsel belirler, yan sütun ona uyar */
    grid-auto-rows: minmax(0, auto);
    align-items: stretch;
    border-radius: var(--radius-lg); overflow: hidden;
}
/* Sabit yükseklik: dikey fotoğraflar düzeni bozmasın */
.gallery-main { height: clamp(300px, 42vw, 520px); min-height: 0; overflow: hidden; }
.gallery-main > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-side {
    display: grid; gap: .6rem;
    grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
    height: clamp(300px, 42vw, 520px); min-height: 0;
}
.gallery-side > div { position: relative; min-height: 0; height: 100%; overflow: hidden; }
.gallery-side img {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover; display: block;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery-side > div { position: relative; background: var(--teal-50); overflow: hidden; }
.gallery-more {
    position: absolute; inset: 0; display: grid; place-items: center;
    background: rgba(11, 61, 67, .55); color: #fff; font-weight: 700; font-size: .95rem;
}

.gallery img.gallery-open { cursor: zoom-in; transition: opacity .2s; }
.gallery img.gallery-open:hover { opacity: .92; }
.gallery-more { cursor: zoom-in; }

/* Küçük görsel şeridi */
.thumb-strip {
    display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .5rem; margin: -1.2rem 0 2rem;
    scrollbar-width: thin;
}
.thumb {
    flex: 0 0 auto; width: 108px; height: 74px; padding: 0; cursor: pointer;
    border: 2px solid transparent; border-radius: var(--radius-sm);
    background: var(--teal-50); overflow: hidden; transition: .16s;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { border-color: var(--teal-500); transform: translateY(-2px); }

/* Tam ekran görüntüleyici */
.lightbox {
    position: fixed; inset: 0; z-index: 1200;
    display: flex; align-items: center; justify-content: center; gap: 1rem;
    padding: 2.5rem 1rem; background: rgba(8, 32, 36, .94);
}
.lightbox[hidden] { display: none; }
.lightbox-figure { margin: 0; max-width: min(1100px, 92vw); text-align: center; }
.lightbox-figure img {
    max-width: 100%; max-height: 78vh; border-radius: var(--radius);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .5); margin-inline: auto;
}
.lightbox-figure figcaption { margin-top: .9rem; color: rgba(255, 255, 255, .82); font-size: .9rem; }
.lightbox-close {
    position: absolute; top: 1rem; right: 1.2rem;
    width: 44px; height: 44px; border: none; border-radius: 50%;
    background: rgba(255, 255, 255, .14); color: #fff; font-size: 1.9rem; line-height: 1;
    cursor: pointer; transition: .16s;
}
.lightbox-close:hover { background: rgba(255, 255, 255, .26); }
.lightbox-nav {
    flex: 0 0 auto; width: 50px; height: 50px; border: none; border-radius: 50%;
    background: rgba(255, 255, 255, .14); color: #fff; font-size: 2rem; line-height: 1;
    cursor: pointer; transition: .16s;
}
.lightbox-nav:hover { background: rgba(255, 255, 255, .26); }

@media (max-width: 620px) {
    .lightbox { padding: 1rem .5rem; gap: .4rem; }
    .lightbox-nav { width: 40px; height: 40px; font-size: 1.5rem; }
}

.detail-layout { display: grid; grid-template-columns: 1fr 372px; gap: 2.2rem; align-items: start; }

.detail-title { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; margin-bottom: .5rem; }
.detail-title h1 { margin: 0; }
.detail-loc { color: var(--ink-500); font-size: .95rem; margin-bottom: 1.2rem; }

.fact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(126px, 1fr)); gap: .8rem; margin: 1.5rem 0 2rem; }
.fact {
    padding: 1rem; text-align: center;
    background: var(--teal-50); border-radius: var(--radius);
}
.fact b { display: block; font-size: 1.35rem; color: var(--teal-800); line-height: 1.2; }
.fact span { font-size: .8rem; color: var(--ink-500); font-weight: 600; }

.detail-block { padding-bottom: 1.8rem; margin-bottom: 1.8rem; border-bottom: 1px solid var(--line); }
.detail-block h2 { font-size: 1.3rem; }
.detail-text { color: var(--ink-700); white-space: pre-line; }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .6rem; }
.feature-item { display: flex; align-items: center; gap: .55rem; padding: .6rem .8rem; background: var(--bg-soft); border-radius: var(--radius-sm); font-size: .89rem; color: var(--ink-700); }
.feature-item svg { color: var(--ok); flex-shrink: 0; }

.review { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.review:last-child { border: none; }
.review-head { display: flex; align-items: center; gap: .7rem; margin-bottom: .45rem; }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--teal-100); color: var(--teal-800); display: grid; place-items: center; font-weight: 700; }
.review-name { font-weight: 700; font-size: .93rem; }
.review-date { font-size: .78rem; color: var(--ink-500); }
.stars { display: inline-flex; gap: 1px; color: var(--sand-500); margin-left: auto; }
.review p { color: var(--ink-700); font-size: .92rem; margin: 0; }

/* Rezervasyon kutusu */
.booking-card {
    position: sticky; top: calc(var(--header-h) + 1rem);
    padding: 1.4rem; background: #fff;
    border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.booking-price { display: flex; align-items: baseline; gap: .4rem; margin-bottom: .2rem; }
.booking-price b { font-size: 1.55rem; color: var(--teal-800); }
.booking-price span { font-size: .87rem; color: var(--ink-500); }
.booking-note { font-size: .82rem; color: var(--ink-500); margin-bottom: 1.1rem; }
.booking-form { display: flex; flex-direction: column; gap: .8rem; }
.booking-row { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.booking-summary { padding: .9rem 0; margin-top: .3rem; border-top: 1px solid var(--line); font-size: .89rem; }
.booking-summary div { display: flex; justify-content: space-between; padding: .22rem 0; color: var(--ink-700); }
.booking-summary .total { padding-top: .5rem; margin-top: .3rem; border-top: 1px solid var(--line); font-weight: 700; color: var(--ink-900); font-size: 1rem; }
.booking-help { margin-top: .9rem; padding-top: .9rem; border-top: 1px solid var(--line); font-size: .84rem; color: var(--ink-500); text-align: center; }
.booking-help a { color: var(--teal-700); font-weight: 700; }

/* Erken rezervasyon indirim kutusu */
.promo-box {
    padding: .8rem .95rem; margin-bottom: 1.1rem;
    background: var(--sand-100);
    border: 1px solid rgba(217, 154, 68, .38);
    border-radius: var(--radius-sm);
}
.promo-box-head {
    display: flex; align-items: center; gap: .4rem;
    font-size: .84rem; font-weight: 800; color: var(--sand-600);
    text-transform: uppercase; letter-spacing: .02em;
}
.promo-box p { margin: .35rem 0 0; font-size: .87rem; color: var(--ink-700); }
.promo-box b { color: var(--teal-800); }

/* ------------------------------------------------------------ Yorum/CTA */

.cta {
    padding: clamp(2.4rem, 5vw, 3.6rem);
    background: linear-gradient(135deg, var(--teal-800), var(--teal-600));
    border-radius: var(--radius-lg); color: #fff; text-align: center;
}
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.85); max-width: 560px; margin-inline: auto; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; margin-top: 1.4rem; }

.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.2rem; }
.review-card { padding: 1.4rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.review-card p { font-size: .92rem; color: var(--ink-700); }

.faq-item { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: .7rem; background: #fff; overflow: hidden; }
.faq-q {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    width: 100%; padding: 1.05rem 1.2rem; text-align: left;
    background: none; border: none; font: inherit; font-weight: 600; font-size: .98rem; cursor: pointer; color: var(--ink-900);
}
.faq-q::after { content: '+'; font-size: 1.3rem; color: var(--teal-600); flex-shrink: 0; transition: .2s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { padding: 0 1.2rem; max-height: 0; overflow: hidden; transition: .25s ease; color: var(--ink-700); font-size: .93rem; }
.faq-item.open .faq-a { padding-bottom: 1.2rem; max-height: 420px; }

/* ------------------------------------------------------------- İletişim */

.office { padding: 2.5rem 0 3rem; }
.office-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }

.office-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.office-photo img { width: 100%; height: clamp(280px, 34vw, 420px); object-fit: cover; display: block; }

.office-eyebrow {
    display: inline-block; padding: .3rem .8rem; margin-bottom: .8rem;
    background: var(--teal-50); color: var(--teal-700);
    border-radius: 999px; font-size: .78rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: .05em;
}
.office-info h2 { margin-bottom: .6rem; }
.office-info > p { color: var(--ink-500); font-size: .96rem; }

.office-rows { display: flex; flex-direction: column; gap: 1rem; margin: 1.6rem 0; }
.office-row { display: flex; gap: .85rem; align-items: flex-start; }
.office-icon {
    flex: 0 0 auto; width: 40px; height: 40px; border-radius: 11px;
    display: grid; place-items: center;
    background: var(--teal-50); color: var(--teal-700);
}
.office-row b { display: block; font-size: .82rem; color: var(--ink-500); font-weight: 700; }
.office-row span, .office-row a { font-size: .95rem; color: var(--ink-900); }
.office-row a { color: var(--teal-700); font-weight: 600; }

.office-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; }
.office-social { display: flex; gap: 1rem; }
.office-social a {
    display: inline-flex; align-items: center; gap: .4rem;
    font-size: .9rem; font-weight: 600; color: var(--ink-700);
}
.office-social a:hover { color: var(--teal-700); }

.contact-layout { display: grid; grid-template-columns: 1fr 380px; gap: 2rem; align-items: start; }
.contact-form {
    padding: 1.6rem; background: #fff;
    border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}
.contact-side { padding: 1.4rem; background: var(--bg-soft); border-radius: var(--radius-lg); }

.map-embed {
    border-radius: var(--radius); overflow: hidden;
    border: 1px solid var(--line); background: var(--teal-50);
}
.map-embed iframe { display: block; width: 100%; height: 260px; border: 0; }

@media (max-width: 900px) {
    .office-grid { grid-template-columns: 1fr; gap: 1.6rem; }
    .contact-layout { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------- Footer */

.site-footer { margin-top: 3rem; background: var(--teal-900); color: #b9d6d9; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.2rem; padding: 3rem 0 2.2rem; }
.footer-grid h4 { color: #fff; font-size: .95rem; margin-bottom: .9rem; }
.footer-grid li { margin-bottom: .45rem; }
.footer-grid a:hover { color: #fff; }
.logo-footer { color: #fff; margin-bottom: .9rem; }
.footer-about { color: #9dc3c7; line-height: 1.65; }
.footer-social { display: flex; gap: 1.2rem; margin-top: 1.1rem; font-weight: 600; }
.footer-social a { display: inline-flex; align-items: center; gap: .4rem; }
.footer-contact { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; margin-top: 1rem; font-weight: 600; color: #fff; }
.footer-address { font-weight: 500; color: #9dc3c7; font-size: .87rem; }

.footer-promo {
    display: flex; flex-direction: column; gap: .15rem;
    margin-top: 1.2rem; padding: .85rem 1rem;
    background: rgba(217, 154, 68, .16);
    border: 1px solid rgba(234, 180, 100, .34);
    border-radius: var(--radius-sm);
}
.footer-promo strong { color: var(--sand-400); font-size: .93rem; }
.footer-promo span { font-size: .84rem; color: #9dc3c7; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); font-size: .83rem; }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; padding: 1.1rem 0; }

/* ----------------------------------------------------------- Bileşenler */

.alert { padding: .9rem 1.2rem; margin: 1rem 0; border-radius: var(--radius-sm); font-size: .92rem; font-weight: 500; }
.alert-success { background: #e6f6ee; color: #14663f; border: 1px solid #b9e3cd; }
.alert-danger  { background: #fdecea; color: #8f2d25; border: 1px solid #f5c6c1; }
.alert-info    { background: var(--teal-50); color: var(--teal-800); border: 1px solid var(--teal-100); }

.wa-float {
    position: fixed; right: 20px; bottom: 20px; z-index: 800;
    width: 54px; height: 54px; border-radius: 50%;
    background: #25d366; color: #fff; display: grid; place-items: center;
    box-shadow: 0 8px 22px rgba(37, 211, 102, .42); transition: .2s;
}
.wa-float:hover { transform: scale(1.08); }

/* --------------------------------------------------------------- Duyarlı */

@media (max-width: 1080px) {
    .listing { grid-template-columns: 1fr; }
    .filters { position: static; }
    .detail-layout { grid-template-columns: 1fr; }
    .booking-card { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
    .nav-toggle { display: block; }
    .main-nav {
        position: fixed; inset: calc(var(--header-h) + 36px) 0 auto; z-index: 890;
        max-height: 0; overflow: hidden; background: #fff; border-bottom: 1px solid var(--line);
        transition: max-height .28s ease;
    }
    .main-nav.open { max-height: 78vh; overflow-y: auto; box-shadow: var(--shadow-lg); }
    .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; padding: .6rem 1.25rem 1.2rem; }
    .main-nav > ul > li > a { padding: .85rem .4rem; border-bottom: 1px solid var(--line); border-radius: 0; }
    .mega { position: static; width: auto; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: none; padding: .3rem 0 .8rem; }
    .mega-grid { grid-template-columns: 1fr 1fr; }
    .header-actions { display: none; }
    .search-grid { grid-template-columns: 1fr 1fr; }
    .search-grid .field-submit { grid-column: 1 / -1; }
    .gallery { grid-template-columns: 1fr; }
    .gallery-side { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
    .topbar-text { display: none; }
    .topbar-inner { justify-content: center; }
    .search-grid { grid-template-columns: 1fr; }
    .hero-stats { gap: 1.4rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 1.6rem; }
    .section-head { flex-direction: column; align-items: flex-start; }
    .villa-grid { grid-template-columns: 1fr; }
}
