/* ==========================================================================
   Tur Sistemi — Premium Frontend Tasarım Sistemi
   Editoryal, sıcak, seyahat estetiği. Token tabanlı, mobil öncelikli.
   ========================================================================== */

/* ---------- Tasarım Token'ları ---------- */
:root {
    /* Renk paleti — sıcak, editoryal */
    --sand-50:  #faf6f0;
    --sand-100: #f3ebe0;
    --sand-200: #e7d8c6;
    --clay-400: #e0876a;
    --clay-500: #d16a4a;   /* ana aksan — terracotta */
    --clay-600: #b8543a;
    --ink-700:  #2f3145;
    --ink-800:  #22223b;   /* ana metin / koyu */
    --ink-900:  #17172a;
    --teal-500: #2a9d8f;   /* ikincil aksan */
    --gold-400: #e9c46a;
    --white:    #ffffff;

    --c-bg:        var(--sand-50);
    --c-surface:   var(--white);
    --c-text:      var(--ink-800);
    --c-muted:     #6b6b7b;
    --c-line:      rgba(34,34,59,.10);
    --c-primary:   var(--clay-500);
    --c-primary-d: var(--clay-600);
    --c-accent:    var(--teal-500);

    /* Tipografi */
    --font-display: "Fraunces", Georgia, "Times New Roman", serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

    /* Tip ölçeği (1.25 oran) */
    --fs-xs: .78rem;
    --fs-sm: .9rem;
    --fs-base: 1rem;
    --fs-lg: 1.2rem;
    --fs-xl: 1.5rem;
    --fs-2xl: 1.95rem;
    --fs-3xl: 2.55rem;
    --fs-4xl: 3.35rem;
    --fs-5xl: clamp(2.8rem, 6vw, 4.75rem);

    /* Boşluk (4/8 tabanlı) */
    --sp-1: .25rem; --sp-2: .5rem; --sp-3: .75rem; --sp-4: 1rem;
    --sp-5: 1.5rem; --sp-6: 2rem; --sp-7: 3rem; --sp-8: 4rem;
    --sp-9: 6rem; --sp-10: 8rem;

    /* Yarıçap & gölge */
    --r-sm: 8px; --r-md: 14px; --r-lg: 22px; --r-xl: 32px; --r-pill: 100px;
    --shadow-sm: 0 1px 2px rgba(34,34,59,.06), 0 2px 8px rgba(34,34,59,.05);
    --shadow-md: 0 10px 30px rgba(34,34,59,.10);
    --shadow-lg: 0 24px 60px rgba(34,34,59,.16);

    --container: 1240px;
    --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset & temel ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    font-size: var(--fs-base);
    line-height: 1.65;
    color: var(--c-text);
    background: var(--c-bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; letter-spacing: -.02em; color: var(--ink-900); }
:focus-visible { outline: 3px solid var(--clay-400); outline-offset: 3px; border-radius: 4px; }

/* ---------- Layout yardımcıları ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--sp-5); }
.section { padding-block: var(--sp-9); }
.section--tight { padding-block: var(--sp-7); }
.eyebrow { font-size: var(--fs-sm); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--c-primary); }
.section-title { font-size: var(--fs-3xl); margin-block: var(--sp-2) var(--sp-3); }
.section-lead { color: var(--c-muted); font-size: var(--fs-lg); max-width: 60ch; }
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }

/* ---------- Butonlar ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
    padding: .85rem 1.6rem; border-radius: var(--r-pill); font-weight: 600; font-size: var(--fs-base);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
    white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--c-primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--c-primary-d); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-dark { background: var(--ink-800); color: #fff; }
.btn-dark:hover { background: var(--ink-900); transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.28); }
.btn-ghost:hover { background: rgba(255,255,255,.24); }
.btn-outline { border: 1.5px solid var(--c-line); color: var(--c-text); background: var(--white); }
.btn-outline:hover { border-color: var(--c-primary); color: var(--c-primary); }
.btn-lg { padding: 1.05rem 2.1rem; font-size: var(--fs-lg); }
.btn-block { width: 100%; }

/* ---------- Header / Navigasyon ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(250,246,240,.82); backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent; transition: border-color .3s, background .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--c-line); box-shadow: var(--shadow-sm); background: rgba(250,246,240,.95); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.brand { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: -.02em; color: var(--ink-900); }
.brand span { color: var(--c-primary); }
.nav-links { display: flex; align-items: center; gap: var(--sp-6); }
.nav-links a { font-weight: 500; font-size: var(--fs-sm); color: var(--ink-700); position: relative; transition: color .2s; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--c-primary); transition: width .28s var(--ease); }
.nav-links a:hover { color: var(--c-primary); }
.nav-links a:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: var(--sp-3); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: var(--r-sm); }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink-800); margin: 4px auto; transition: .3s; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 88vh; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg svg, .hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(105deg, rgba(23,23,42,.72) 0%, rgba(23,23,42,.35) 55%, rgba(23,23,42,.15) 100%); }
.hero__inner { padding-block: var(--sp-9); max-width: 720px; }
.hero h1 { color: #fff; font-size: var(--fs-5xl); font-weight: 600; margin-bottom: var(--sp-4); }
.hero h1 em { font-style: italic; color: var(--gold-400); }
.hero p { font-size: var(--fs-lg); color: rgba(255,255,255,.9); max-width: 52ch; margin-bottom: var(--sp-6); }

/* ---------- Arama kutusu (hero) ---------- */
.search-bar {
    display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: var(--sp-2);
    background: rgba(255,255,255,.96); padding: var(--sp-3); border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg); align-items: end;
}
.search-field { display: flex; flex-direction: column; padding: var(--sp-2) var(--sp-3); text-align: left; }
.search-field label { font-size: var(--fs-xs); font-weight: 600; color: var(--c-muted); text-transform: uppercase; letter-spacing: .06em; }
.search-field select, .search-field input { border: none; background: none; font-size: var(--fs-base); color: var(--ink-800); font-weight: 500; padding: 4px 0; width: 100%; }
.search-field select:focus, .search-field input:focus { outline: none; }
.search-field + .search-field { border-left: 1px solid var(--c-line); }

/* ---------- Kartlar (tur) ---------- */
.grid { display: grid; gap: var(--sp-5); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.tour-card {
    background: var(--c-surface); border-radius: var(--r-lg); overflow: hidden;
    box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
    display: flex; flex-direction: column; height: 100%;
}
.tour-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.tour-card__media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.tour-card__media img, .tour-card__media svg { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tour-card:hover .tour-card__media img { transform: scale(1.06); }
.tour-card__badge { position: absolute; top: var(--sp-3); left: var(--sp-3); background: var(--c-primary); color: #fff; font-size: var(--fs-xs); font-weight: 600; padding: .35rem .8rem; border-radius: var(--r-pill); }
.tour-card__fav { position: absolute; top: var(--sp-3); right: var(--sp-3); width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.9); display: flex; align-items: center; justify-content: center; transition: .2s; }
.tour-card__fav:hover { background: #fff; transform: scale(1.1); }
.tour-card__body { padding: var(--sp-4); display: flex; flex-direction: column; flex: 1; }
.tour-card__cat { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--c-accent); }
.tour-card__title { font-size: var(--fs-lg); margin: var(--sp-2) 0 var(--sp-2); line-height: 1.25; }
.tour-card__title a:hover { color: var(--c-primary); }
.tour-card__meta { display: flex; gap: var(--sp-4); color: var(--c-muted); font-size: var(--fs-sm); margin-bottom: var(--sp-3); }
.tour-card__meta span { display: inline-flex; align-items: center; gap: 4px; }
.tour-card__footer { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; padding-top: var(--sp-3); border-top: 1px solid var(--c-line); }
.tour-card__price small { display: block; color: var(--c-muted); font-size: var(--fs-xs); }
.tour-card__price b { font-family: var(--font-display); font-size: var(--fs-xl); color: var(--ink-900); }
.rating { display: inline-flex; align-items: center; gap: 4px; font-size: var(--fs-sm); font-weight: 600; color: var(--ink-800); }
.rating .star { color: var(--gold-400); }

/* ---------- Kategori kutuları ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); }
.cat-tile { position: relative; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 3/4; display: flex; align-items: flex-end; padding: var(--sp-4); color: #fff; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease); }
.cat-tile:hover { transform: translateY(-4px); }
.cat-tile::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(to top, rgba(23,23,42,.75), transparent 65%); }
.cat-tile__bg { position: absolute; inset: 0; z-index: -1; background: var(--ink-700); }
.cat-tile__bg img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.cat-tile:hover .cat-tile__bg img { transform: scale(1.06); }
.cat-tile h3, .cat-tile span { position: relative; z-index: 1; color: #fff; }
.cat-tile h3 { font-size: var(--fs-lg); }
.cat-tile span { font-size: var(--fs-sm); opacity: .85; }

/* ---------- Şeritler / özellikler ---------- */
.feature-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); }
.feature { text-align: center; padding: var(--sp-4); }
.feature__icon { width: 62px; height: 62px; border-radius: var(--r-md); background: var(--sand-100); color: var(--c-primary); display: flex; align-items: center; justify-content: center; margin: 0 auto var(--sp-3); font-size: 1.6rem; }
.feature h4 { font-size: var(--fs-lg); margin-bottom: var(--sp-1); }
.feature p { color: var(--c-muted); font-size: var(--fs-sm); }

/* ---------- Testimonial ---------- */
.testimonial { background: var(--c-surface); border-radius: var(--r-lg); padding: var(--sp-6); box-shadow: var(--shadow-sm); }
.testimonial p { font-family: var(--font-display); font-size: var(--fs-lg); font-style: italic; color: var(--ink-800); margin-bottom: var(--sp-4); line-height: 1.5; }
.testimonial__author { display: flex; align-items: center; gap: var(--sp-3); }
.testimonial__avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--sand-200); object-fit: cover; display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--c-primary); flex-shrink: 0; }

/* ---------- Bülten CTA ---------- */
.newsletter { background: var(--ink-800); color: #fff; border-radius: var(--r-xl); padding: var(--sp-8); text-align: center; position: relative; overflow: hidden; }
.newsletter h2 { color: #fff; font-size: var(--fs-3xl); margin-bottom: var(--sp-3); }
.newsletter form { display: flex; gap: var(--sp-2); max-width: 480px; margin: var(--sp-5) auto 0; }
.newsletter input { flex: 1; padding: 1rem 1.3rem; border-radius: var(--r-pill); border: none; font-size: var(--fs-base); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-900); color: rgba(255,255,255,.72); padding-block: var(--sp-8) var(--sp-5); margin-top: var(--sp-8); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--sp-6); margin-bottom: var(--sp-7); }
.site-footer h5 { color: #fff; font-family: var(--font-body); font-weight: 600; font-size: var(--fs-base); margin-bottom: var(--sp-3); }
.site-footer a { display: block; padding: 5px 0; font-size: var(--fs-sm); transition: color .2s; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: var(--sp-4); display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--sp-3); font-size: var(--fs-sm); }

/* ---------- Rozet / etiket ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: .35rem .85rem; border-radius: var(--r-pill); font-size: var(--fs-sm); font-weight: 500; background: var(--sand-100); color: var(--ink-700); }
.chip--accent { background: color-mix(in srgb, var(--c-accent) 15%, white); color: var(--c-accent); }

/* ---------- WhatsApp float ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 200; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md); transition: transform .25s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Scroll-reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Mobil alt CTA bar ---------- */
.mobile-cta { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .grid-4, .cat-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .feature-band { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
    .nav-links, .nav-actions .btn-outline { display: none; }
    .nav-toggle { display: block; }
    .nav.open .nav-links { display: flex; position: absolute; top: 78px; left: 0; right: 0; flex-direction: column; background: var(--white); padding: var(--sp-4); box-shadow: var(--shadow-md); gap: var(--sp-2); }
    .search-bar { grid-template-columns: 1fr 1fr; }
    .search-field + .search-field { border-left: none; }
    .grid-3, .grid-4, .grid-2, .cat-grid { grid-template-columns: repeat(2, 1fr); }
    .hero { min-height: 80vh; }
    .newsletter form { flex-direction: column; }
}
@media (max-width: 560px) {
    .grid-3, .grid-4, .grid-2, .cat-grid, .feature-band { grid-template-columns: 1fr; }
    .search-bar { grid-template-columns: 1fr; }
    .section { padding-block: var(--sp-7); }
    .mobile-cta { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 150; background: var(--white); box-shadow: 0 -4px 20px rgba(0,0,0,.1); padding: var(--sp-3); gap: var(--sp-2); }
    .mobile-cta .btn { flex: 1; }
    .wa-float { bottom: 78px; }
}

/* ---------- Para birimi seçici ---------- */
.cur-switch select {
    appearance: none; -webkit-appearance: none;
    background: transparent; border: 1.5px solid var(--c-line); border-radius: var(--r-pill);
    padding: .45rem 1.6rem .45rem .8rem; font-weight: 600; font-size: var(--fs-sm); color: var(--ink-800);
    cursor: pointer; transition: border-color .2s;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23888' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right .55rem center;
}
.cur-switch select:hover { border-color: var(--c-primary); }
.cur-switch select:focus { outline: none; border-color: var(--c-primary); }
@media (max-width: 880px) { .cur-switch { order: -1; } }
