/* ==========================================================================
   Tema 3 — "Cappadocia" (örnek: cappadociaairporttaxis.com)
   Gün doğumu paleti: kiremit, kayısı, krem zemin, koyu kahve metin; yumuşak köşeli kartlar, ince balon motifi.
   Başlık Fraunces, gövde Figtree. İşlevsel bileşenler tema1/css/base.css'ten gelir (önce yüklenir).
   ========================================================================== */

:root {
    --c-primary: #b04a25;          /* kiremit (beyaz metinle AA) */
    --c-primary-dark: #8a3a1d;
    --c-primary-soft: #f8e6dc;
    --c-accent: #f2a65a;           /* kayısı */
    --c-accent-dark: #9a3d1c;      /* fiyat / vurgu metni */
    --c-on-accent: #3b2418;
    --c-accent-soft: #fdf0e2;
    --c-accent-line: #f0cfae;
    --c-accent-tint: #fde7d3;
    --c-sun: #ffd29a;
    --c-sun-soft: #f2e4ec;
    --c-sun-ink: #7d3b5c;
    --c-ink: #3b2418;
    --c-text: #4a3226;
    --c-muted: #7a5e4f;
    --c-line: #eedfd0;
    --c-bg: #fbf4ea;               /* krem */
    --c-soft: #f6ead9;

    --font: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-heading: "Fraunces", Georgia, serif;
    --heading-weight: 600;
    --heading-spacing: -.005em;
    --radius-sm: 14px;
    --radius: 22px;
    --radius-lg: 32px;
    --btn-radius: 999px;
    --shadow-sm: 0 1px 2px rgba(59, 36, 24, .06), 0 4px 14px rgba(59, 36, 24, .06);
    --shadow: 0 12px 32px rgba(59, 36, 24, .11);
    --shadow-lg: 0 30px 64px rgba(59, 36, 24, .22);

    --pagehead-bg: linear-gradient(135deg, #5a2a35 0%, #8a3a1d 45%, #b04a25 100%);
    --band-bg: linear-gradient(120deg, #8a3a1d 0%, #b04a25 60%, #c2562f 100%);
    --contact-bg: linear-gradient(150deg, #5a2a35 0%, #8a3a1d 50%, #b04a25 100%);

    --cp-header-h: 76px;
}

.btn { font-weight: 700; }
.btn--accent:hover { background: #e8954a; }
.btn--ghost { background: #fff; }
::selection { background: var(--c-accent-tint); color: var(--c-ink); }

/* ── Dil / döviz seçicileri ────────────────────────────────────────────── */

.dropdown { position: relative; }
.dropdown summary {
    list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .3rem;
    padding: .4rem .7rem; border-radius: 999px; font-weight: 700; font-size: .9rem; color: var(--c-ink);
}
.dropdown summary::-webkit-details-marker { display: none; }
.dropdown summary:hover, .dropdown[open] summary { background: rgba(176, 74, 37, .08); }
.dropdown__menu {
    position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 170px;
    background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); padding: .4rem;
}
.dropdown__menu a { display: block; color: var(--c-text); padding: .55rem .8rem; border-radius: 10px; }
.dropdown__menu a:hover, .dropdown__menu a.is-active { background: var(--c-accent-soft); color: var(--c-primary-dark); }

/* ── Üst menü: tek satır; giriş alanının üstünde şeffaf ────────────────── */

.cp-header {
    position: sticky; top: 0; z-index: 50; background: rgba(251, 244, 234, .94); backdrop-filter: saturate(1.3) blur(10px);
    border-bottom: 1px solid var(--c-line); transition: background .25s, border-color .25s, box-shadow .25s;
}
/* Menü satırı içerikten geniş (1320px): uzun menüler tek satıra sığsın. */
.cp-header__inner { display: flex; align-items: center; gap: 1.25rem; min-height: var(--cp-header-h); max-width: 1320px; }
.cp-brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--c-ink); }
.cp-brand:hover { color: var(--c-ink); }
.cp-brand__logo { max-height: 48px; width: auto; }
.cp-brand__mark { color: var(--c-primary); display: grid; }
.cp-brand__name { font-family: var(--font-heading); font-weight: 700; font-size: 1.3rem; line-height: 1.1; }
.cp-brand--light, .cp-brand--light:hover { color: #fbe3c4; }
.cp-brand--light .cp-brand__mark { color: var(--c-accent); }

.cp-nav { margin-left: auto; }
.cp-nav ul { list-style: none; display: flex; gap: .1rem; margin: 0; padding: 0; }
.cp-nav ul a { display: block; padding: .5rem .7rem; border-radius: 999px; color: var(--c-ink); font-weight: 700; white-space: nowrap; }
.cp-nav ul a:hover { background: rgba(176, 74, 37, .08); color: var(--c-primary-dark); }
.cp-nav ul a.is-active { background: var(--c-primary); color: #fff; }
.cp-nav__extra { display: none; }

.cp-header__tools { display: flex; align-items: center; gap: .35rem; }
.cp-header__prefs { display: flex; align-items: center; }
.cp-iconlink { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: var(--c-ink); }
.cp-iconlink:hover { background: rgba(176, 74, 37, .08); color: var(--c-primary-dark); }
.cp-header__book { margin-left: .35rem; white-space: nowrap; }
.cp-header__prefs .dropdown summary { white-space: nowrap; }
.cp-header__toggle { display: none; background: #fff; border: 0; border-radius: 50%; width: 44px; height: 44px; cursor: pointer; color: var(--c-ink); box-shadow: var(--shadow-sm); }

/* Sayfa giriş alanıyla başlıyorsa menü görselin üstünde (desteklemeyen tarayıcıda dolu zeminli yapışkan menü kalır). */
.cp:has(#main > .blocks:first-child > .cp-hero:first-child) .cp-header,
.cp:has(#main > .cp-hero:first-child) .cp-header { position: fixed; left: 0; right: 0; top: 0; }
.cp:has(#main > .blocks:first-child > .cp-hero:first-child) .cp-header:not(.is-scrolled),
.cp:has(#main > .cp-hero:first-child) .cp-header:not(.is-scrolled) { background: transparent; border-color: transparent; backdrop-filter: none; }
.cp:has(#main > .blocks:first-child > .cp-hero:first-child):not(.nav-open) .cp-header:not(.is-scrolled) :is(.cp-brand, .cp-iconlink, .dropdown > summary),
.cp:has(#main > .cp-hero:first-child):not(.nav-open) .cp-header:not(.is-scrolled) :is(.cp-brand, .cp-iconlink, .dropdown > summary) { color: #fff; text-shadow: 0 1px 8px rgba(59, 36, 24, .35); }
/* Giriş görselinin üstündeki şeffaf menüde renkli logo okunmaz: menü yazıları gibi beyaz gösterilir. */
.cp:has(#main > .blocks:first-child > .cp-hero:first-child):not(.nav-open) .cp-header:not(.is-scrolled) .cp-brand__logo,
.cp:has(#main > .cp-hero:first-child):not(.nav-open) .cp-header:not(.is-scrolled) .cp-brand__logo { filter: brightness(0) invert(1) drop-shadow(0 1px 6px rgba(59, 36, 24, .35)); }
.cp:has(#main > .blocks:first-child > .cp-hero:first-child):not(.nav-open) .cp-header:not(.is-scrolled) .cp-brand__mark,
.cp:has(#main > .cp-hero:first-child):not(.nav-open) .cp-header:not(.is-scrolled) .cp-brand__mark { color: var(--c-accent); }
@media (min-width: 1101px) {
    .cp:has(#main > .blocks:first-child > .cp-hero:first-child) .cp-header:not(.is-scrolled) .cp-nav ul a:not(.is-active),
    .cp:has(#main > .cp-hero:first-child) .cp-header:not(.is-scrolled) .cp-nav ul a:not(.is-active) { color: #fff; text-shadow: 0 1px 8px rgba(59, 36, 24, .35); }
    .cp:has(#main > .blocks:first-child > .cp-hero:first-child) .cp-header:not(.is-scrolled) .cp-nav ul a:not(.is-active):hover,
    .cp:has(#main > .cp-hero:first-child) .cp-header:not(.is-scrolled) .cp-nav ul a:not(.is-active):hover { background: rgba(255, 255, 255, .14); }
}
.cp-header.is-scrolled { box-shadow: 0 8px 24px rgba(59, 36, 24, .08); }
.cp.nav-open .cp-header { background: var(--c-bg) !important; border-color: var(--c-line) !important; } /* şeffaf menü kuralını ezer */

/* ── Giriş alanı: gün doğumu, balonlar, yüzen arama kartı ──────────────── */

.cp-hero { --cp-overlap: 120px; position: relative; isolation: isolate; color: #fff; padding: clamp(56px, 9vw, 120px) 0 0; }
.blocks > .cp-hero:first-child, #main > .cp-hero:first-child { padding-top: calc(var(--cp-header-h) + clamp(48px, 8vw, 112px)); }
.cp-hero__bg, .cp-sky { position: absolute; left: 0; right: 0; top: 0; bottom: var(--cp-overlap); z-index: -1; }
.cp-hero__bg {
    background-color: #8a3a1d; background-size: cover; background-position: center;
    background-image:
        radial-gradient(ellipse 60% 45% at 50% 100%, rgba(255, 214, 150, .75), transparent 70%),
        linear-gradient(180deg, #3d2233 0%, #7a3240 30%, #b04a2a 58%, #e07f45 80%, #f2b077 100%);
}
.cp-hero--image .cp-hero__bg::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(61, 34, 51, .72) 0%, rgba(122, 50, 64, .55) 40%, rgba(176, 74, 42, .4) 70%, rgba(242, 166, 90, .25) 100%);
}
.cp-sky { overflow: hidden; pointer-events: none; }
.cp-balloon { position: absolute; height: auto; filter: drop-shadow(0 10px 18px rgba(59, 36, 24, .25)); animation: cp-float 9s ease-in-out infinite; }
.cp-balloon--1 { width: clamp(38px, 5vw, 64px); left: 7%; top: 22%; }
.cp-balloon--2 { width: clamp(52px, 7vw, 92px); right: 9%; top: 14%; animation-delay: -3s; animation-duration: 11s; }
.cp-balloon--3 { width: clamp(26px, 3.2vw, 42px); left: 16%; top: 58%; opacity: .85; animation-delay: -6s; }
@keyframes cp-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.cp-valley { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(60px, 9vw, 130px); }
.cp-valley__back { fill: rgba(90, 53, 36, .35); }
.cp-valley__front { fill: var(--c-bg); }

.cp-hero__inner { text-align: center; display: grid; justify-items: center; padding-bottom: clamp(36px, 5vw, 64px); }
.cp-eyebrow {
    display: inline-flex; align-items: center; gap: .4rem; margin: 0 0 1rem; padding: .35rem .9rem; border-radius: 999px;
    background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3); color: #fff; font-weight: 700; font-size: .85rem;
}
.cp-hero__title { color: #fff; font-size: clamp(2.1rem, 5vw, 3.8rem); line-height: 1.08; max-width: 20ch; margin-bottom: .35em; text-shadow: 0 2px 18px rgba(59, 36, 24, .35); }
.cp-hero__lead { color: rgba(255, 255, 255, .94); font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 58ch; margin: 0; text-shadow: 0 1px 10px rgba(59, 36, 24, .35); }
.cp-hero__float { position: relative; }
.cp-hero__card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: .4rem; color: var(--c-text); }
.cp-hero__card .search { box-shadow: none; border-radius: calc(var(--radius-lg) - 6px); }
.cp-hero__card .search__swap { background: var(--c-accent-soft); color: var(--c-primary); }
.cp-hero__card .search__swap:hover { background: var(--c-primary); color: #fff; }

.cp-trust { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; color: var(--c-text); }
.cp-trust__item { display: flex; gap: .8rem; align-items: center; background: #fff; border-radius: var(--radius); padding: 1rem 1.1rem; box-shadow: var(--shadow-sm); }
.cp-trust__item strong { display: block; color: var(--c-ink); }
.cp-trust__item > span:last-child > span { display: block; color: var(--c-muted); font-size: .9rem; line-height: 1.4; }
.cp-trust__icon { flex: none; width: 46px; height: 46px; display: grid; place-items: center; color: var(--c-primary-dark); background: var(--c-accent-tint); border-radius: 58% 42% 55% 45% / 50% 55% 45% 50%; }

.cp-hero--page { --cp-overlap: 0px; padding-bottom: clamp(48px, 7vw, 96px); }
.cp-hero--page .cp-hero__inner { padding-bottom: 0; }
.cp-hero--page .cp-hero__title { font-size: clamp(1.9rem, 4vw, 3rem); }
.cp-hero--page .cp-hero__lead { margin-bottom: 1.5rem; }
.cp-hero--page .cp-hero__lead:last-child { margin-bottom: 0; }
.cp-hero--page .cp-balloon--3 { display: none; }
.cp-hero--page .cp-balloon--1 { top: 38%; }
.cp-hero--page .cp-balloon--2 { top: 30%; }

/* ── Bölümler: yumuşak kartlar, balon süsü ─────────────────────────────── */

.blocks--padded { padding-top: 1.5rem; }
.section--soft { background: var(--c-soft); }
.section__head .section__title::before {
    content: ""; display: block; width: 22px; height: 30px; margin: 0 auto .7rem;
    background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 44'%3E%3Cpath d='M16 1C8 1 2 7 2 14.5c0 6 4.8 10.5 9 14h10c4.2-3.5 9-8 9-14C30 7 24 1 16 1z' fill='%23f2a65a'/%3E%3Cpath d='M16 1c-3 0-5.5 6-5.5 13.5 0 6 2.3 10.5 3.3 14h4.4c1-3.5 3.3-8 3.3-14C21.5 7 19 1 16 1z' fill='%23b04a25'/%3E%3Crect x='11.5' y='33' width='9' height='8' rx='2' fill='%235a3524'/%3E%3C/svg%3E");
}
.section__title { font-size: clamp(1.7rem, 3vw, 2.4rem); }

.feature { border: 0; box-shadow: var(--shadow-sm); border-radius: var(--radius); padding: 1.8rem; background: #fff; }
.feature:hover { box-shadow: var(--shadow); }
.feature__icon { border-radius: 58% 42% 55% 45% / 50% 55% 45% 50%; background: var(--c-primary-soft); color: var(--c-primary); }
.feature h3 { font-size: 1.25rem; }

.destination { border: 0; box-shadow: var(--shadow-sm); border-radius: 18px; }
.destination:hover { box-shadow: var(--shadow); }
.destination__icon { border-radius: 50%; background: var(--c-accent-tint); color: var(--c-primary-dark); }
.card { border: 0; box-shadow: var(--shadow-sm); }
.card__title { font-family: var(--font-heading); font-weight: 600; font-size: 1.2rem; }
.card__media { background: var(--c-accent-soft); }
.tile { border-radius: var(--radius-lg); }
.tile__name { font-family: var(--font-heading); font-weight: 600; }

.band { position: relative; overflow: hidden; }
.band::before {
    content: ""; position: absolute; right: -40px; top: -30px; width: 180px; height: 240px; opacity: .12; pointer-events: none;
    background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 44'%3E%3Cpath d='M16 1C8 1 2 7 2 14.5c0 6 4.8 10.5 9 14h10c4.2-3.5 9-8 9-14C30 7 24 1 16 1z' fill='%23fff'/%3E%3Crect x='11.5' y='33' width='9' height='8' rx='2' fill='%23fff'/%3E%3C/svg%3E");
}
.counter__value { font-family: var(--font-heading); font-weight: 700; }

.faq__item { border: 0; box-shadow: var(--shadow-sm); border-radius: var(--radius-sm); }
.faq__item[open] { box-shadow: var(--shadow); }
.faq__item summary .ms { color: var(--c-primary); }
.split__media img { border-radius: var(--radius-lg); }
.decor-card { background: linear-gradient(160deg, var(--c-accent-tint), var(--c-primary-soft)); }
.decor-card .ms { border-radius: var(--radius); }
.prose blockquote { background: #fff; border-left-color: var(--c-accent); }

/* ── Rezervasyon akışı ─────────────────────────────────────────────────── */

.pagehead { padding: 2.5rem 0 2.25rem; }
.pagehead .search { box-shadow: var(--shadow-lg); }
.vehicle, .summary__card, .details, .panel { border-color: var(--c-line); }
.vehicle { border: 0; box-shadow: var(--shadow-sm); }
.vehicle:hover { box-shadow: var(--shadow); }
.vehicle__name, .summary__card h2, .details__code { font-family: var(--font-heading); font-weight: 600; }
.offer { background: var(--c-accent-soft); }
.paybox { background: #fff; box-shadow: var(--shadow-sm); }
.paybox--action { background: var(--c-accent-soft); box-shadow: none; }
.paybox--ok { background: #e9f5ec; box-shadow: none; }
.paybox--danger { background: #fbeaea; box-shadow: none; }
.error-code { font-family: var(--font-heading); color: var(--c-accent-tint); }

/* ── Footer: vadi silüeti, koyu kahve ──────────────────────────────────── */

.cp-footer { position: relative; margin-top: clamp(32px, 5vw, 64px); }
.cp-footer__hills { display: block; width: 100%; height: clamp(40px, 6vw, 90px); }
.cp-footer__body { background: #3b2418; color: #ead7c6; margin-top: -1px; }
.cp-footer a { color: #fbe3c4; }
.cp-footer a:hover { color: #fff; }
.cp-footer__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(28px, 5vw, 64px); padding-top: 2.5rem; padding-bottom: 2.5rem; }
.cp-footer__brand p { margin: 1rem 0 1.25rem; max-width: 36ch; }
.cp-footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.cp-footer h3 { color: var(--c-accent); font-family: var(--font); font-size: .95rem; font-weight: 800; margin-bottom: .9rem; }
.cp-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.cp-footer__contact li { display: flex; gap: .5rem; align-items: flex-start; }
.cp-footer__contact .ms { color: var(--c-accent); }
.cp-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 1.1rem; padding-bottom: 1.25rem; border-top: 1px solid rgba(251, 227, 196, .14); font-size: .88rem; }
.cp-footer__secure { display: inline-flex; gap: .35rem; align-items: center; }

/* ── Duyarlı ───────────────────────────────────────────────────────────── */

/* Menü kademeli daralır: önce "Book now" gizlenir, 1100px altında açılır menüye geçer. */
@media (max-width: 1280px) {
    .cp-header__book { display: none; }
}

@media (max-width: 1100px) {
    :root { --cp-header-h: 66px; }
    .cp-header__toggle { display: grid; place-items: center; }
    .cp-iconlink { display: none; }
    .cp-nav {
        position: absolute; left: 0; right: 0; top: 100%; display: none; margin: 0;
        background: var(--c-bg); padding: .75rem var(--gutter) 1.25rem; border-bottom: 1px solid var(--c-line); box-shadow: var(--shadow);
    }
    .cp-nav.is-open { display: grid; gap: 1rem; }
    .cp-nav ul { flex-direction: column; }
    .cp-nav ul a { padding: .75rem 1rem; }
    .cp-nav__extra { display: grid; gap: .75rem; justify-items: center; }
    .cp-nav__phone { display: inline-flex; gap: .35rem; align-items: center; font-weight: 700; color: var(--c-ink); }
    .cp-header__tools { margin-left: auto; }
}

@media (max-width: 1080px) {
    .cp-footer__grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
    .cp-trust { grid-template-columns: 1fr; }
    .cp-balloon--3 { display: none; }
}

@media (max-width: 640px) {
    .cp-hero { --cp-overlap: 160px; }
    .cp-hero__card { border-radius: var(--radius); }
    .cp-brand__name { font-size: 1.1rem; }
    .cp-footer__cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 420px) {
    .cp-footer__cols { grid-template-columns: 1fr; }
    .cp-header__prefs .dropdown summary { padding: .35rem .45rem; }
}
