/* NOT: Yazı tipleri artık includes/header.php içinde <link> ile yüklenir.
   @import, tarayıcının önce bu dosyayı indirip sonra font isteğini
   başlatmasına yol açtığı için açılışta yedek fontla titreme (FOUT)
   oluşturuyordu. preconnect + link ile ikisi paralel indiriliyor. */

:root {
    --primary-dark: #111111;
    --bg-off-white: #FBFBFA;
    --border-color: #E5E5E0;
    --text-muted: #777777;
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Outfit', sans-serif;

    /* Tour Card Custom Palette */
    --card-dark-bg: #222935;
    --accent-orange: #FF8F50;
    --light-badge-bg: rgba(255, 255, 255, 0.1);
}

html {
    /* clip destekleyen tarayıcılarda kaydırma kutusu oluşturmaz */
    overflow-x: hidden;
    overflow-x: clip;
    /* Sabit navbar çapa linklerinin üstünü kapatmasın */
    scroll-padding-top: calc(var(--nav-h, 88px) + 16px);
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-off-white);
    color: var(--primary-dark);
    /* DİKKAT: body'ye overflow-x:hidden VERİLMEZ.
       Verilirse body kendi kaydırma kutusuna dönüşür ve
       position:sticky olan navbar sayfa kaydırılınca yukarı kaçar. */
    overflow-x: clip;
}

/* ============================================================
   SERİF İTALİK VURGU
   ============================================================
   Başlıklarda tek bir kelime/öbek serif italikle vurgulanır.
   Üç sorun düzeltilir:
   1) Ana başlıklar text-transform:uppercase; miras alınınca serif italik
      BÜYÜK HARFE dönüyor ve bozuk görünüyordu → miras iptal edilir.
   2) Cormorant Garamond'un x-yüksekliği Outfit'ten belirgin küçük;
      aynı font-size ile yanındaki yazıdan ufak duruyordu → em bazlı büyütülür.
   3) Başlıklardan gelen letter-spacing serif italikte harfleri dağıtıyordu. */
.serif-italic {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 500;

    /* Büyük harf zorlamasını kır — vurgu Baş Harf Düzeninde kalsın */
    text-transform: none;

    /* Optik denge: serifin küçük x-yüksekliğini telafi et */
    font-size: 1.16em;
    letter-spacing: 0;

    /* Taban çizgisi kaymasını engelle */
    line-height: inherit;
    vertical-align: baseline;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-sans);
    font-weight: 500;
}

/* ============================================================
   SABİT (STICKY) NAVBAR — mobil ve masaüstü
   ============================================================ */
:root {
    --nav-h: 116px;      /* navbar toplam yüksekliği */
    --nav-logo-h: 92px;  /* logo yüksekliği (absolute konumlandırılır) */
    --nav-side: 110px;   /* logonun yan sütunlara girmemesi için ayrılan pay */
}

.site-navbar {
    position: sticky;
    top: 0;
    z-index: 1035;
    width: 100%;
    min-height: var(--nav-h);
    padding: 0.7rem 0;
    background-color: #fff;
    border-bottom: 1px solid var(--border-color);
    transition: box-shadow 0.3s ease, padding 0.3s ease;
}

.site-navbar.is-scrolled {
    padding: 0.45rem 0;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.08);
}

/* Konteyner konumlandırma bağlamıdır; logo buna göre absolute merkezlenir.
   Böylece logo büyütüldüğünde yan sütunları itmez ve satır yatayda taşmaz. */
.site-navbar > .container {
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    min-height: calc(var(--nav-h) - 1rem);
}

.site-navbar-left,
.site-navbar-right {
    flex: 0 0 auto;
    flex-wrap: nowrap;
    /* Logonun altında kalmasınlar; tıklanabilirlikleri korunur */
    position: relative;
    z-index: 2;
}

/* Logo — konteynerin tam ortasında, akıştan bağımsız */
.site-navbar-mid {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    line-height: 0;
    /* Yan sütunlara taşmaz: her iki yanda --nav-side kadar pay bırakılır */
    max-width: calc(100% - 2 * var(--nav-side));
    pointer-events: none; /* boş alan yandaki butonların tıklamasını engellemesin */
}

.site-navbar-mid .site-navbar-brand {
    pointer-events: auto;
}

/* Menü butonu — yazısız, sağdaki ikon butonlarıyla aynı daire */
.site-navbar-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: var(--nav-icon-size);
    height: var(--nav-icon-size);
    padding: 0;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    background: transparent;
    color: var(--primary-dark);
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.25s ease, border-color 0.25s ease,
                color 0.25s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Hamburger ikonu — butondan belirgin şekilde büyük */
.site-navbar-toggle i {
    font-size: 1.55rem;
    line-height: 1;
}

.site-navbar-toggle:hover,
.site-navbar-toggle:focus-visible {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
}

/* Logo — orijinal renkleriyle, filtresiz */
.site-navbar-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    max-width: 100%;
}

.navbar-logo-img {
    display: block;
    height: var(--nav-logo-h);
    width: auto;
    max-width: 100%;
    object-fit: contain;
    background: none;   /* logo şeffaf PNG — arka plan kutusu yok */
    transition: height 0.3s ease;
}

/* Kaydırınca hafifçe küçülür. Mobilde hiç küçülmez; 0.78 oranı
   logoyu okunmaz hâle getiriyordu. */
.site-navbar.is-scrolled .navbar-logo-img {
    height: calc(var(--nav-logo-h) * 0.88);
}

/* ── Sağ taraf: çerçeveli ikon butonları ────────────────────── */
:root {
    --nav-icon-size: 42px;
}

.nav-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: var(--nav-icon-size);
    height: var(--nav-icon-size);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    background: transparent;
    color: var(--primary-dark);
    font-size: 1.05rem;
    line-height: 1;
    text-decoration: none;
    transition: background-color 0.25s ease, border-color 0.25s ease,
                color 0.25s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-icon-btn i {
    line-height: 1;
}

.nav-icon-btn:hover,
.nav-icon-btn:focus-visible {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
}

/* Özel logo yüklendiğinde koyu zeminler için yedek: logoyu beyaza çevirir.
   Varsayılan logo kullanılıyorsa bunun yerine public/logo-light.png gösterilir. */
.logo-invert {
    filter: brightness(0) invert(1);
}

/* Yan menü logosu — arka plan kutusu yok, logo doğrudan zemine oturur */
.logo-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border-radius: 0;
    padding: 0;
    line-height: 0;
}

.logo-chip img {
    display: block;
    height: 76px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

/* Dar telefonlarda yan menü de daralıyor; logo orantılı küçülür */
@media (max-width: 575px) {
    .logo-chip img {
        height: 58px;
    }
}

/* Footer marka plakası — logonun yazısı koyu olduğu için açık zemin şart.
   Küçük bir kutu yerine kasıtlı, ferah bir plaka olarak kurgulandı. */
/* Not: transition, dosyanın ilerisindeki genel footer link kuralı
   tarafından ezilmesin diye `footer a.footer-brand` ile yazılır. */
footer a.footer-brand {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    max-width: 100%;
    background: none;
    border-radius: 0;
    padding: 0;
    margin-bottom: 1.5rem;
    line-height: 0;
    box-shadow: none;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}

.footer-brand img {
    display: block;
    height: 84px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.footer-brand:hover,
.footer-brand:focus-visible {
    opacity: 1;
    transform: translateY(-3px);
    box-shadow: none;
}

/* 992-1199px arası sütun daralıyor; logo orantılı küçülsün. */
@media (min-width: 992px) and (max-width: 1199px) {
    .footer-brand img {
        height: 72px;
    }
}

@media (max-width: 575px) {
    footer a.footer-brand {
        padding: 0;
        border-radius: 0;
    }

    .footer-brand img {
        height: 64px;
    }
}

@media (prefers-reduced-motion: reduce) {
    footer a.footer-brand {
        transition: none !important;
        transform: none !important;
    }
}

/* Yan bloklar her boyutta ikon butonlarından oluşur; pay sabit kalır */
@media (max-width: 1199px) {
    :root {
        --nav-h: 106px;
        --nav-logo-h: 84px;
        --nav-side: 100px;
    }
}

@media (max-width: 991px) {
    :root {
        --nav-h: 96px;
        --nav-logo-h: 74px;
        --nav-side: 90px;
    }
}

@media (max-width: 767px) {
    :root {
        --nav-h: 88px;
        --nav-logo-h: 66px;
        --nav-side: 70px;
    }

    /* Küçük ekranda logo zaten sınırda; kaydırınca daha da küçülmesin */
    .site-navbar.is-scrolled .navbar-logo-img {
        height: var(--nav-logo-h);
    }
}

@media (max-width: 575px) {
    :root {
        --nav-h: 78px;
        --nav-logo-h: 58px;
        --nav-side: 58px;
    }

    .site-navbar { padding: 0.5rem 0; }
}

/* Çok dar telefonlar (≤400px) — ikonlar ve logo bir tık küçülür */
@media (max-width: 400px) {
    :root {
        --nav-h: 70px;
        --nav-logo-h: 50px;
        --nav-icon-size: 36px;
        --nav-side: 50px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-navbar,
    .site-navbar-toggle,
    .nav-icon-btn,
    .site-navbar-account,
    .navbar-logo-img {
        transition: none !important;
        transform: none !important;
    }
}

/* Hero Section - Fixed to 100vh with no bottom gap */
.hero-section {
    position: relative;
    z-index: 5; /* arama çubuğunun açılır listesi alttaki bölümlerin altında kalmasın */
    height: calc(100vh - var(--nav-h, 88px));
    min-height: 560px;
    margin-bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.5) 100%),
        url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?q=80&w=1600&auto=format&fit=crop') no-repeat center center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: white;
    padding-bottom: 2.5rem;
}

.hero-content {
    margin-top: auto;
    margin-bottom: auto;
    text-align: center;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 400;
    line-height: 1.1;
    max-width: 900px;
    margin: 0 auto 1.5rem auto;
}

.hero-subtitle {
    font-size: 1.1rem;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* Search Bar Floating */
/* Arama çubuğu: fotoğraf ne olursa olsun okunur kalsın diye
   yarı saydam cam yerine beyaz katı panel + koyu yazı. */
.search-bar-container {
    position: relative;
    z-index: 20; /* açılır listeler her zaman üstte kalsın */
    background: #fff;
    border-radius: 100px;
    padding: 8px;
    /* Gidiş + Dönüş ayrı alan olduğu için altı sütun var; biraz daha geniş */
    max-width: 1080px;
    margin: 0 auto;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
}

.search-field {
    position: relative;
    border-right: 1px solid var(--border-color);
    padding: 10px 16px;
    color: var(--primary-dark);
    min-width: 0;
}

/* 992px altında alanlar satırlara bölünür; dikey ayraç yerine yatay ayraç */
@media (max-width: 991.98px) {
    .search-field {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .search-field:nth-last-of-type(2) {
        border-bottom: none;
    }
}

/* Rezervasyon formundaki gece rozeti */
.reserve-nights {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #666;
    background: var(--bg-off-white);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    padding: 4px 11px;
    white-space: nowrap;
}

.reserve-nights[hidden] {
    display: none;
}

/* "3 gece" bilgisi — dönüş tarihi seçilince JS ile görünür olur */
.search-nights {
    position: absolute;
    right: 16px;
    bottom: 10px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #666;
    background: var(--bg-off-white, #f6f4f1);
    border-radius: 999px;
    padding: 1px 7px;
    pointer-events: none;
}

.search-nights[hidden] {
    display: none;
}

/* Açık olan alanın açılır listesi diğerlerinin üstünde kalsın */
.search-field:has(.custom-select.open) {
    z-index: 30;
}

/* Son alan (Uygula butonundan önceki) sağ ayraç almasın.
   :last-of-type sınıfı değil eleman tipini baz aldığı için işe yaramıyordu. */
.search-field:nth-last-of-type(2) {
    border-right: none;
}

.search-field label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    /* #777 beyaz üzerinde 4.48:1 ile WCAG AA'yı kıl payı kaçırıyor */
    color: #666;
    font-weight: 600;
    margin-bottom: 3px;
    display: block;
}

.search-field input {
    background: transparent;
    border: none;
    color: var(--primary-dark);
    font-size: 0.95rem;
    font-weight: 500;
    width: 100%;
    cursor: pointer;
}

/* Klavyeyle gelindiğinde odak görünsün */
.search-field input:focus-visible {
    outline: 2px solid var(--primary-dark);
    outline-offset: 3px;
    border-radius: 4px;
}

.search-field input::placeholder {
    color: #666;
    opacity: 1;
}

.search-field input[type="date"] {
    color-scheme: light;
    font-family: var(--font-sans);
}

.search-field input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0.55;
    cursor: pointer;
}

.search-field input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

.search-field input[type="date"]::-webkit-datetime-edit-text {
    color: #666;
}

.search-field input[type="date"]::-webkit-datetime-edit-month-field:focus,
.search-field input[type="date"]::-webkit-datetime-edit-day-field:focus,
.search-field input[type="date"]::-webkit-datetime-edit-year-field:focus {
    background: var(--bg-off-white);
    border-radius: 3px;
    outline: none;
}

/* Custom Select Dropdown */
.custom-select {
    position: relative;
    width: 100%;
}

.custom-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    color: var(--primary-dark);
    font-size: 0.95rem;
    font-weight: 500;
    gap: 6px;
    user-select: none;
}

/* Uzun seçenek adları satırı bölmesin */
.custom-select-trigger > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.custom-select-trigger i {
    font-size: 0.72rem;
    color: var(--text-muted);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.custom-select.open .custom-select-trigger i {
    transform: rotate(180deg);
}

.custom-select-menu {
    position: absolute;
    top: calc(100% + 20px);
    left: -22px;
    min-width: 230px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 6px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.custom-select.open .custom-select-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-select-option {
    padding: 10px 16px;
    border-radius: 12px;
    cursor: pointer;
    color: var(--primary-dark);
    font-size: 0.9rem;
    transition: background 0.15s, color 0.15s;
}

.custom-select-option:hover {
    background: var(--bg-off-white);
}

.custom-select-option.selected:hover {
    background: #000;
}

/* Klavyeyle gezerken odak her zaman görünür kalsın.
   Turuncu, açık zeminde 3:1 kontrastı tutturamadığı için koyu kontur. */
.custom-select-option:focus-visible {
    outline: 2px solid var(--primary-dark);
    outline-offset: -2px;
    background: var(--bg-off-white);
}

.custom-select-option.selected:focus-visible {
    outline-color: var(--accent-orange);
}

.custom-select-trigger:focus-visible {
    outline: 2px solid var(--accent-orange);
    outline-offset: 4px;
    border-radius: 6px;
}

.custom-select-option.selected {
    background: var(--primary-dark);
    color: #fff;
    font-weight: 600;
}

.search-apply-btn {
    background-color: var(--primary-dark);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 13px 34px;
    font-weight: 600;
}

/* Kalkma, gölge ve parlama "GENEL HOVER" bölümünde tanımlıdır */
.search-apply-btn:hover {
    background-color: #000;
    color: #fff;
}

/* Section Styling */
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.1;
}

.section-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Tour Cards */
.tour-card-custom {
    background-color: var(--card-dark-bg);
    border-radius: 32px;
    overflow: hidden;
    border: none;
    color: white;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tour-card-custom:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.tour-img-wrapper {
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
    flex-shrink: 0;
}

.tour-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.tour-card-custom:hover .tour-card-img,
.tour-card-compact:hover .tour-card-img {
    transform: scale(1.05);
}

.tour-bookmark-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: none;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    cursor: pointer;
    z-index: 2;
}

.tour-bookmark-btn:hover {
    background: rgba(255, 255, 255, 0.45);
}

.tour-card-body {
    padding: 1.6rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.tour-price-badge {
    background: var(--light-badge-bg);
    border-radius: 30px;
    padding: 6px 14px;
    font-size: 0.9rem;
    font-weight: 600;
}

.tour-card-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
}

.tour-card-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.tour-badge-pill {
    background: var(--light-badge-bg);
    border: none;
    border-radius: 30px;
    padding: 5px 12px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
}

.tour-rating-pill {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border-radius: 30px;
    padding: 5px 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.tour-card-btn {
    position: relative;
    background-color: white;
    color: var(--primary-dark);
    border: none;
    border-radius: 50px;
    padding: 12px 18px;
    font-weight: 600;
    width: 100%;
    margin-top: auto;
    text-decoration: none;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    overflow: hidden;
    isolation: isolate;
    transition: color 0.32s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.32s ease,
                transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Soldan sağa dolan turuncu arka plan */
.tour-card-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--accent-orange);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Kayan ok */
.tour-card-btn .btn-arrow {
    display: inline-flex;
    align-items: center;
    font-size: 0.95rem;
    max-width: 0;
    opacity: 0;
    transform: translateX(-8px);
    transition: max-width 0.32s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.24s ease,
                transform 0.32s ease;
}

/* Turuncu üzerinde beyaz yazı 2.1:1 ile okunmuyordu; koyu yazı 8.5:1.
   Ayrıca dolgu ilerlerken yazı bir an kaybolmuyor. */
.tour-card-btn:hover,
.tour-card-btn:focus-visible {
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(255, 143, 80, 0.35);
}

.tour-card-btn:hover::before,
.tour-card-btn:focus-visible::before {
    transform: scaleX(1);
}

.tour-card-btn:hover .btn-arrow,
.tour-card-btn:focus-visible .btn-arrow {
    max-width: 24px;
    opacity: 1;
    transform: translateX(0);
}

.tour-card-btn:active {
    transform: translateY(0) scale(0.985);
}

/* Kart üzerine gelindiğinde buton da tepki versin */
.tour-card-custom:hover .tour-card-btn::before,
.tour-card-compact:hover .tour-card-btn::before {
    transform: scaleX(1);
}

/* Turuncu dolgu üzerinde koyu yazı (8.4:1); beyaz yazı 2.3:1 ile okunmuyordu */
.tour-card-custom:hover .tour-card-btn,
.tour-card-compact:hover .tour-card-btn {
    color: var(--primary-dark);
}

.tour-card-custom:hover .tour-card-btn .btn-arrow,
.tour-card-compact:hover .tour-card-btn .btn-arrow {
    max-width: 24px;
    opacity: 1;
    transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {
    .tour-card-btn,
    .tour-card-btn::before,
    .tour-card-btn .btn-arrow {
        transition: none !important;
    }

    .tour-card-btn:hover,
    .tour-card-btn:active {
        transform: none !important;
    }
}

/* Tour Card COMPACT — 4-column grid variant */
.tour-card-compact {
    background-color: var(--card-dark-bg);
    border-radius: 24px;
    overflow: hidden;
    border: none;
    color: white;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tour-card-compact:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.tour-card-compact .tour-img-wrapper {
    position: relative;
    width: 100%;
    height: 190px;
    flex-shrink: 0;
}

.tour-card-compact .tour-card-body {
    padding: 1.2rem 1.4rem 1.4rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tour-card-compact .tour-card-title {
    font-size: 1.1rem;
}

.tour-card-compact .tour-card-desc {
    font-size: 0.82rem;
    margin-bottom: 1rem;
}

.tour-card-compact .tour-card-btn {
    padding: 10px;
    font-size: 0.9rem;
    border-radius: 40px;
}

/* Section Tab Navigation */
.tour-section-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tour-section-tab {
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 8px 22px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    background: transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s;
}

.tour-section-tab:hover,
.tour-section-tab.active {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
}

/* Tour Detail Page (tour.php) Styles */
.tour-hero-banner {
    position: relative;
    height: auto;
    min-height: 60vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    color: white;
    padding-top: 3.5rem;
    padding-bottom: 3rem;
}

.tour-hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.tour-hero-content {
    position: relative;
    z-index: 2;
}

.tour-detail-card {
    background-color: white;
    border-radius: 32px;
    border: 1px solid var(--border-color);
    padding: 2.5rem;
}

/* Rezervasyon kutusu (sağ sütun) */
.tour-booking-box {
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 28px;
    padding: 1.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: calc(var(--nav-h, 88px) + 16px);
    z-index: 1;
}

.tour-booking-box .form-input-custom,
.tour-booking-box .form-select-custom {
    border-radius: 14px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
}

.tour-booking-box textarea.form-input-custom {
    min-height: 74px;
}

.tour-booking-box .btn-consultation {
    border-radius: 14px;
}

@media (max-width: 991px) {
    .tour-booking-box {
        position: static;
        padding: 1.5rem;
        border-radius: 22px;
    }

    .tour-detail-card {
        padding: 1.6rem;
        border-radius: 22px;
    }
}

@media (max-width: 575px) {
    .tour-detail-card {
        padding: 1.3rem;
    }

    .timeline-wrapper {
        padding-left: 1.9rem;
    }

    .timeline-bullet {
        left: -1.9rem;
    }
}

/* Timeline/Itinerary Styling (Image 3 style) */
.timeline-wrapper {
    position: relative;
    padding-left: 2.5rem;
}

.timeline-wrapper::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    border-left: 2px dashed #D2D6DC;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-bullet {
    position: absolute;
    left: -2.5rem;
    top: 4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: var(--bg-off-white);
    border: 3px solid var(--accent-orange);
    z-index: 2;
}

.timeline-item.active .timeline-bullet {
    background-color: var(--accent-orange);
}

.timeline-time {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    background-color: var(--border-color);
    padding: 3px 10px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 6px;
}

.timeline-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.timeline-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.facility-badge {
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 8px 18px;
    font-size: 0.9rem;
    color: var(--primary-dark);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: white;
}

/* Custom Reasons Grid System */
.reasons-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr;
    grid-template-rows: auto auto auto;
    border-collapse: collapse;
}

.reason-box {
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: var(--bg-off-white);
    min-height: 180px;
}

.reason-top-left {
    border-top-left-radius: 36px;
}

.reason-top-right {
    border-top-right-radius: 36px;
}

.reason-bottom-right-dark {
    border-bottom-right-radius: 36px;
    background-color: var(--primary-dark);
    color: white;
    border-color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
    text-decoration: none;
}

.reason-bottom-right-dark:hover {
    opacity: 0.95;
    color: white;
}

.reason-number {
    font-size: 3.5rem;
    font-weight: 500;
    line-height: 1;
}

.reason-unit {
    font-family: var(--font-serif);
    font-style: italic;
    text-transform: none;
    letter-spacing: 0;
    font-size: 1.8rem;
    margin-left: 5px;
}

.reason-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 1.5rem;
    line-height: 1.5;
}

/* FAQ Accordion Styling */
.faq-accordion .accordion-item {
    background-color: transparent;
    border: 1px solid var(--border-color);
    border-radius: 20px !important;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-accordion .accordion-button {
    background-color: transparent;
    color: var(--primary-dark);
    font-size: 1.15rem;
    font-weight: 500;
    padding: 1.5rem 2rem;
    box-shadow: none;
    border: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
    color: var(--primary-dark);
    border-bottom: 1px solid var(--border-color);
}

.faq-accordion .accordion-button::after {
    background-size: 1.25rem;
    transition: transform 0.3s;
}

.faq-accordion .accordion-body {
    padding: 1.5rem 2rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Testimonials Carousel */
.reviews-container {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 1rem 0;
}

.reviews-container::-webkit-scrollbar {
    display: none;
}

.review-card {
    min-width: 350px;
    max-width: 350px;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2rem;
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.review-username {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.review-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.review-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.carousel-control-btn {
    width: 48px;
    height: 48px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    background-color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-control-btn:hover {
    background-color: var(--primary-dark);
    color: white;
    border-color: var(--primary-dark);
}

/* Consultation Form */
.consultation-form-container {
    background-color: var(--bg-off-white);
}

.form-input-custom {
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.1rem 1.5rem;
    font-size: 1rem;
    width: 100%;
    outline: none;
    transition: border-color 0.3s;
}

.form-input-custom:focus {
    border-color: var(--primary-dark);
}

.btn-consultation {
    background-color: var(--primary-dark);
    color: white;
    border: none;
    border-radius: 20px;
    padding: 1.1rem;
    font-weight: 500;
    width: 100%;
}

/* :hover ve geçiş tanımları "GENEL HOVER" bölümündedir */

.form-note {
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Footer styling */
footer {
    --footer-muted: rgba(255, 255, 255, 0.58);
    background-color: var(--primary-dark);
    color: white;
    font-size: 0.9rem;
}

/* Bootstrap'in .text-secondary rengi koyu zeminde okunmuyor;
   footer içinde tek bir soluk tona sabitliyoruz. */
footer .text-secondary {
    color: var(--footer-muted) !important;
}

footer a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

footer a:hover {
    opacity: 0.7;
}

.footer-social-icon {
    font-size: 1.25rem;
}

/* İletişim & konum listeleri — ikonlar ve yazılar aynı hizada */
.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin: 0;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact-item > i {
    flex: 0 0 20px;
    width: 20px;
    font-size: 0.95rem;
    /* Yazının ilk satırıyla aynı hizada dursun */
    line-height: 1.6;
    text-align: center;
    color: var(--footer-muted);
}

.footer-contact-item > a,
.footer-contact-item > p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--footer-muted);
    text-decoration: none;
}

.footer-contact-item > a:hover,
.footer-contact-item > a:focus-visible {
    opacity: 1;
    color: #fff;
}

/* Footer alt satırı */
.footer-bottom-links a,
.footer-copy {
    font-size: 0.82rem;
    color: var(--footer-muted);
    text-decoration: none;
}

.footer-bottom-links a:hover,
.footer-bottom-links a:focus-visible {
    opacity: 1;
    color: #fff;
}

/* ============================================================
   GENEL HOVER / ETKİLEŞİM TUTARLILIĞI
   ============================================================ */

/* Bootstrap pill butonları (btn-dark / btn-outline-dark / btn-outline-success) */
.btn.rounded-pill {
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.25s ease,
                background-color 0.25s ease,
                border-color 0.25s ease,
                color 0.25s ease;
}

.btn.rounded-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.btn.rounded-pill:active {
    transform: translateY(0);
}

/* Koyu CTA butonları */
.btn-consultation,
.search-apply-btn,
.btn-light-pill,
.btn-outline-pill {
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.25s ease,
                opacity 0.25s ease,
                background-color 0.25s ease,
                border-color 0.25s ease,
                color 0.25s ease;
}

.btn-consultation:hover {
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(17, 17, 17, 0.22);
}

.btn-light-pill:hover,
.btn-outline-pill:hover,
.search-apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

/* NOT: :active bastırma efekti dosyanın sonundaki
   "BUTON HOVER EFEKTİ" bölümünde tanımlıdır. */

/* "Tümünü Gör" tarzı ok linkleri — ok kayarak ilerler */
a .bi-arrow-right,
a .bi-arrow-up-right {
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

a:hover > .bi-arrow-right,
a:hover .bi-arrow-right {
    transform: translateX(4px);
}

a:hover > .bi-arrow-up-right,
a:hover .bi-arrow-up-right {
    transform: translate(3px, -3px);
}

/* Kategori sekmeleri */
.tour-section-tab {
    transition: background-color 0.25s ease, border-color 0.25s ease,
                color 0.25s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.tour-section-tab:hover {
    transform: translateY(-2px);
}

/* Footer linkleri */
footer a:not(.footer-social-icon) {
    transition: opacity 0.25s ease, color 0.25s ease, padding-left 0.25s ease;
}

/* Yalnızca hızlı linkler kaysın; ikonlu iletişim satırları sabit kalsın.
   .text-secondary utility'si !important taşıdığı için burada da gerekiyor. */
footer .footer-quick-links a:hover {
    opacity: 1;
    color: #fff !important;
    padding-left: 4px;
}

.footer-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: background-color 0.28s ease, border-color 0.28s ease,
                transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
}

.footer-social-icon:hover {
    opacity: 1;
    background-color: #fff;
    border-color: #fff;
    color: var(--primary-dark) !important;
    transform: translateY(-3px);
}

/* Kenar menü linkleri */
.offcanvas .nav-link {
    border-radius: 10px;
    transition: background-color 0.22s ease, padding-left 0.22s ease;
}

.offcanvas .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.08);
    padding-left: 1.1rem;
}

/* Karusel okları */
.carousel-control-btn {
    transition: background-color 0.28s ease, border-color 0.28s ease,
                color 0.28s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.carousel-control-btn:hover {
    transform: scale(1.08);
}

/* Yer imi / favori butonu */
.tour-bookmark-btn {
    transition: background-color 0.28s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
                color 0.28s ease;
}

.tour-bookmark-btn:hover {
    transform: scale(1.12);
}

/* Odak görünürlüğü (erişilebilirlik) */
a:focus-visible,
button:focus-visible,
.tour-card-btn:focus-visible,
.btn-light-pill:focus-visible,
.btn-outline-pill:focus-visible {
    outline: 2px solid var(--accent-orange);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .btn.rounded-pill,
    .btn-consultation,
    .btn-light-pill,
    .btn-outline-pill,
    .search-apply-btn,
    .tour-section-tab,
    .footer-social-icon,
    .carousel-control-btn,
    .tour-bookmark-btn,
    a .bi-arrow-right,
    a .bi-arrow-up-right {
        transition: none !important;
        transform: none !important;
    }
}

/* ============================================================
   YARDIMCI SINIFLAR
   ============================================================ */
/* Bootstrap yalnızca fs-1..fs-6 sağlar; şablonlarda fs-8 kullanılıyor */
.fs-7 { font-size: 0.875rem !important; }
.fs-8 { font-size: 0.78rem !important; }

/* ============================================================
   KAYDIRMA ANİMASYONU (scroll reveal)
   ============================================================ */
/* Giriş efekti "transition" yerine "animation" ile yapılır; böylece animasyon
   bittiğinde öğe kendi stillerine döner ve kartların :hover transform'u bozulmaz. */
.reveal:not(.is-visible) {
    opacity: 0;
}

.reveal.is-visible {
    animation: revealIn 0.65s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

/* Aynı satırdaki kartlar sırayla belirsin */
.reveal.is-visible[data-reveal-delay="1"] { animation-delay: 0.07s; }
.reveal.is-visible[data-reveal-delay="2"] { animation-delay: 0.14s; }
.reveal.is-visible[data-reveal-delay="3"] { animation-delay: 0.21s; }

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

@media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal:not(.is-visible) {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
}

/* ============================================================
   KAYAN LOGO ŞERİDİ (İŞ ORTAKLARI)
   ============================================================ */
.partner-strip-section {
    overflow: hidden;
}

.logo-marquee {
    position: relative;
    overflow: hidden;
    padding: 1.25rem 0;
    /* Kenarlarda yumuşak geçiş */
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.logo-marquee-track {
    display: flex;
    align-items: center;
    gap: 0; /* boşluk item padding'inde — gap, -50% kaydırmayı bozar */
    width: max-content;
    animation: logoScroll calc(var(--marquee-count, 8) * 2.6s) linear infinite;
}

.logo-marquee:hover .logo-marquee-track,
.logo-marquee:focus-within .logo-marquee-track {
    animation-play-state: paused;
}

.logo-marquee-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 62px;
    padding: 0 1.75rem; /* iki yanda 1.75rem = aralarda 3.5rem boşluk */
}

.logo-marquee-item img {
    max-height: 52px;
    max-width: 160px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.55;
    transition: filter 0.35s ease, opacity 0.35s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.logo-marquee-item:hover img,
.logo-marquee-item a:focus-visible img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.07);
}

@keyframes logoScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@media (max-width: 575px) {
    .logo-marquee-item  { height: 50px; padding: 0 1.1rem; }
    .logo-marquee-item img { max-height: 40px; max-width: 120px; }
}

@media (prefers-reduced-motion: reduce) {
    .logo-marquee-track {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        row-gap: 1rem;
    }
    .logo-marquee {
        -webkit-mask-image: none;
                mask-image: none;
    }
    /* Animasyon kapalıyken kopya logolar tekrar görünmesin */
    .logo-marquee-item[aria-hidden="true"] {
        display: none;
    }
}

/* ── Ortak kartı (İş Ortaklarımız / B2B sayfaları) ─────────── */
.partner-card {
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 22px;
    padding: 1.75rem 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: var(--primary-dark);
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.32s ease,
                border-color 0.32s ease;
}

.partner-card:hover,
.partner-card:focus-visible {
    transform: translateY(-5px);
    border-color: var(--primary-dark);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.08);
    color: var(--primary-dark);
}

.partner-card-logo {
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.partner-card-logo img {
    max-height: 66px;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.32s ease, opacity 0.32s ease;
}

.partner-card:hover .partner-card-logo img {
    filter: grayscale(0%);
    opacity: 1;
}

.partner-card-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.partner-card-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 0;
}

/* ── Ödeme & hesap bilgileri (tur detay sayfası) ───────────── */
.payment-box {
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 32px;
    padding: 2.75rem;
}

.payment-account {
    background-color: var(--bg-off-white);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 1.25rem 1.4rem;
    height: 100%;
}

.payment-account-head {
    font-weight: 600;
    font-size: 0.98rem;
    margin-bottom: 0.5rem;
    line-height: 1.35;
}

.payment-currency {
    flex-shrink: 0;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 2px 10px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.4px;
}

.payment-account-line {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}

.payment-iban {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 0.6rem;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.55rem 0.75rem;
}

.payment-iban code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.86rem;
    color: var(--primary-dark);
    letter-spacing: 0.3px;
    word-break: break-all;
    flex: 1;
}

.payment-copy {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    border: 1px solid var(--border-color);
    background: #fff;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.22s ease, color 0.22s ease,
                border-color 0.22s ease, transform 0.22s ease;
}

.payment-copy:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
    transform: translateY(-1px);
}

.payment-copy.is-copied {
    background-color: #1B7F3B;
    border-color: #1B7F3B;
    color: #fff;
}

.payment-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background-color: #FEF7E8;
    border: 1px solid #F3DFB4;
    border-radius: 16px;
    padding: 1rem 1.2rem;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #6B4E12;
}

.payment-note i {
    font-size: 1.05rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.payment-image {
    width: 100%;
    border-radius: 22px;
    border: 1px solid var(--border-color);
    object-fit: cover;
    display: block;
}

@media (max-width: 767px) {
    .payment-box {
        padding: 1.5rem;
        border-radius: 22px;
    }
}

/* ── B2B teklif formu kutusu ───────────────────────────────── */
.quote-box {
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 28px;
    padding: 2.25rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.quote-box-head {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.25rem;
    margin-bottom: 1.5rem;
}

.quote-step-label {
    font-size: 0.72rem;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: block;
}

.quote-check {
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 0.9rem 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    cursor: pointer;
    transition: border-color 0.25s ease, background-color 0.25s ease;
    margin: 0;
    height: 100%;
}

.quote-check:hover {
    border-color: var(--primary-dark);
    background-color: var(--bg-off-white);
}

.quote-check input {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    accent-color: var(--primary-dark);
}

.quote-check span {
    font-size: 0.9rem;
    line-height: 1.35;
}

@media (max-width: 575px) {
    .quote-box {
        padding: 1.5rem;
        border-radius: 22px;
    }
}

/* ============================================================
   ARAMA ÖNERİLERİ (AUTOCOMPLETE)
   ============================================================ */
.tour-search-wrap {
    position: relative;
}

.tour-suggest {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.1);
    padding: 6px;
    z-index: 50;
    display: none;
    max-height: 320px;
    overflow-y: auto;
}

.tour-suggest.open {
    display: block;
}

.tour-suggest-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--primary-dark);
    transition: background 0.15s;
}

.tour-suggest-item:hover {
    background: var(--bg-off-white);
    color: var(--primary-dark);
}

.tour-suggest-item i {
    color: var(--text-muted);
    flex-shrink: 0;
}

.tour-suggest-item span {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
    min-width: 0;
}

.tour-suggest-item strong {
    font-size: 0.92rem;
    font-weight: 600;
}

.tour-suggest-item small {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ============================================================
   FAVORİ (KALP) BUTONU
   ============================================================ */
.tour-bookmark-btn {
    width: 44px;
    height: 44px;
    font-size: 1.15rem;
}

.tour-bookmark-btn.is-fav {
    background: #fff;
    color: #E23D3D;
}

.tour-bookmark-btn.is-fav:hover {
    background: #fff;
}

.tour-bookmark-btn.is-busy {
    opacity: 0.5;
    pointer-events: none;
}

/* ============================================================
   ÜYELİK — favori butonu (tur detayı), bildirim, hesap sayfası
   ============================================================ */

/* Tur detay sayfasındaki metinli favori butonu */
.tour-fav-inline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 500;
    backdrop-filter: blur(6px);
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.tour-fav-inline:hover {
    background: #fff;
    color: var(--text-dark, #111);
    border-color: #fff;
}

.tour-fav-inline.is-fav {
    background: #fff;
    border-color: #fff;
    color: #E23D3D;
}

.tour-fav-inline.is-busy {
    opacity: 0.55;
    pointer-events: none;
}

/* Favorideyken buton metni "Favorilerimde" olur */
.tour-fav-inline.is-fav span {
    font-size: 0;
}

.tour-fav-inline.is-fav span::before {
    content: 'Favorilerimde';
    font-size: 0.88rem;
}

/* Kısa bildirim balonu */
.fav-toast {
    position: fixed;
    left: 50%;
    bottom: 26px;
    transform: translate(-50%, 16px);
    z-index: 1080;
    max-width: min(90vw, 420px);
    padding: 0.75rem 1.25rem;
    border-radius: 999px;
    background: #1c1c1c;
    color: #fff;
    font-size: 0.88rem;
    text-align: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.fav-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

.fav-toast.is-error {
    background: #A32B2B;
}

/* Navbar üyelik butonu — soldaki menü butonuyla birebir aynı daire.
   İki yanın genişliği eşit olmazsa logo ortada duruyor ama gözle
   kaymış görünüyor; bu yüzden metin konulmaz. */
.site-navbar-account {
    position: relative;   /* favori rozeti köşeye oturur */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: var(--nav-icon-size);
    height: var(--nav-icon-size);
    padding: 0;
    border: 1px solid var(--border-color, #e5e5e5);
    border-radius: 50%;
    background: transparent;
    color: var(--primary-dark, #111);
    font-size: 1.05rem;
    line-height: 1;
    text-decoration: none;
    transition: background-color 0.25s ease, border-color 0.25s ease,
                color 0.25s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-navbar-account:hover,
.site-navbar-account:focus-visible {
    background: var(--primary-dark, #111);
    border-color: var(--primary-dark, #111);
    color: #fff;
    transform: translateY(-2px);
}

/* Favori sayısı — butonun köşesinde bildirim noktası.
   DİKKAT: akışta durursa dar ekranda butonun dışına taşıp navbar'ı
   şişiriyordu. Absolute olduğu için artık genişliğe hiç katkısı yok. */
.site-navbar-account .fav-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border: 2px solid #fff;
    border-radius: 999px;
    background: #E23D3D;
    color: #fff;
    font-size: 0.66rem;
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
}

/* Üye giriş / kayıt kartı */
.auth-card {
    background: #fff;
    border: 1px solid var(--border-color, #e5e5e5);
    border-radius: 28px;
    padding: 2.5rem;
    max-width: 520px;
    margin: 0 auto;
}

.auth-card .form-input-custom,
.auth-card .form-select-custom {
    margin-bottom: 0;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted, #777);
    font-size: 0.8rem;
    margin: 1.75rem 0 1.25rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color, #e5e5e5);
}

/* Hesap sayfası sekmeleri */
.account-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-bottom: 1px solid var(--border-color, #e5e5e5);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.account-tabs a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    border: 1px solid var(--border-color, #e5e5e5);
    background: #fff;
    color: var(--text-muted, #777);
    font-size: 0.88rem;
    text-decoration: none;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.account-tabs a:hover {
    color: var(--text-dark, #111);
    border-color: #bdbdbd;
}

.account-tabs a.active {
    background: var(--text-dark, #111);
    border-color: var(--text-dark, #111);
    color: #fff;
}

.account-tabs .count {
    font-size: 0.75rem;
    opacity: 0.7;
}

/* Boş durum kutusu */
.account-empty {
    text-align: center;
    padding: 3.5rem 1.5rem;
    border: 1px dashed var(--border-color, #e5e5e5);
    border-radius: 24px;
    background: var(--bg-off-white, #faf9f7);
}

.account-empty i {
    font-size: 2.2rem;
    color: var(--text-muted, #999);
    display: block;
    margin-bottom: 0.9rem;
}

@media (max-width: 575px) {
    .auth-card {
        padding: 1.75rem 1.35rem;
        border-radius: 22px;
    }
}

/* ============================================================
   YUKARI ÇIK BUTONU (sol alt)
   ============================================================ */
.scroll-top-btn {
    position: fixed;
    left: 22px;
    bottom: 22px;
    z-index: 1040;

    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background-color: #fff;
    color: var(--primary-dark);
    font-size: 1.15rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;

    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
    transition: opacity 0.3s ease, visibility 0.3s ease,
                transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
                background-color 0.25s ease, color 0.25s ease;
}

.scroll-top-btn.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover,
.scroll-top-btn:focus-visible {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
    transform: translateY(-3px);
}

.scroll-top-btn:active {
    transform: translateY(0) scale(0.95);
}

@media (max-width: 575px) {
    .scroll-top-btn {
        left: 14px;
        bottom: 14px;
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .scroll-top-btn {
        transition: opacity 0.2s ease, visibility 0.2s ease;
        transform: none !important;
    }
}

/* ============================================================
   SABİT WHATSAPP BUTONU
   ============================================================ */
.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1040;

    display: flex;
    align-items: center;
    gap: 0;

    height: 58px;
    padding: 0;
    border-radius: 40px;
    background-color: #25D366;
    color: #fff !important;
    text-decoration: none !important;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1;
    white-space: nowrap;

    box-shadow: 0 10px 26px rgba(37, 211, 102, 0.38), 0 2px 6px rgba(0, 0, 0, 0.12);
    transition: padding-right 0.3s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.3s ease,
                transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    overflow: hidden;
    /* "backwards": animasyon bitince öğe kendi stillerine döner.
       "both" olsaydı transform sabitlenir, hover'dan çıkınca giriş animasyonu
       yeniden tetiklenip buton kaybolup geri gelirdi. */
    animation: waPopIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.6s backwards;
}

.whatsapp-float--left {
    right: auto;
    left: 22px;
}

/* İkon: sabit genişlikte daire */
.whatsapp-float-icon {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.whatsapp-float-icon i {
    font-size: 1.65rem;
    line-height: 1;
}

/* Dikkat çekmek için nabız halkası */
.whatsapp-float-icon::after {
    content: '';
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.85);
    opacity: 0;
    animation: waPulse 2.6s ease-out infinite 1.4s;
    pointer-events: none;
}

/* Etiket: normalde gizli, hover'da açılır */
.whatsapp-float-text {
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateX(-6px);
    transition: max-width 0.3s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.22s ease,
                transform 0.3s ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
    color: #fff !important;
    padding-right: 20px;
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(37, 211, 102, 0.5), 0 3px 8px rgba(0, 0, 0, 0.14);
}

.whatsapp-float:hover .whatsapp-float-text,
.whatsapp-float:focus-visible .whatsapp-float-text {
    max-width: 180px;
    opacity: 1;
    transform: translateX(0);
}

/* Hover'da nabız halkasını tamamen kaldır.
   animation-name: none kullanılır; "animation: none" kısayolu diğer
   animasyon özelliklerini de sıfırlayıp titremeye yol açabiliyor. */
.whatsapp-float:hover .whatsapp-float-icon::after,
.whatsapp-float:focus-visible .whatsapp-float-icon::after {
    animation-name: none;
    opacity: 0;
}

.whatsapp-float:active {
    transform: translateY(0) scale(0.97);
}

@keyframes waPopIn {
    from { opacity: 0; transform: translateY(18px) scale(0.85); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes waPulse {
    0%   { opacity: 0.9; transform: scale(0.85); }
    70%  { opacity: 0;   transform: scale(1.45); }
    100% { opacity: 0;   transform: scale(1.45); }
}

/* Mobilde etiket her zaman açık dursun (hover yok) */
@media (hover: none) {
    .whatsapp-float {
        padding-right: 18px;
    }
    .whatsapp-float .whatsapp-float-text {
        max-width: 180px;
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 575px) {
    .whatsapp-float {
        right: 14px;
        bottom: 14px;
        height: 52px;
        font-size: 0.88rem;
    }
    .whatsapp-float--left { left: 14px; right: auto; }
    .whatsapp-float-icon {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
    }
    .whatsapp-float-icon i { font-size: 1.45rem; }
}

@media (prefers-reduced-motion: reduce) {
    .whatsapp-float,
    .whatsapp-float-icon::after {
        animation: none !important;
    }
}

/* ============================================================
   İNDİRİM / GERİ SAYIM ROZETLERİ
   ============================================================ */
.tour-discount-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    background-color: #E23D3D;
    color: #fff;
    border-radius: 30px;
    padding: 5px 13px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.tour-old-price {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: line-through;
    margin-right: 6px;
}

.tour-countdown {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(226, 61, 61, 0.15);
    border: 1px solid rgba(226, 61, 61, 0.35);
    color: #FF9E9E;
    border-radius: 30px;
    padding: 5px 12px;
    font-size: 0.76rem;
    font-weight: 600;
}

/* ============================================================
   İÇ SAYFA ORTAK BİLEŞENLERİ (hakkimizda / iletisim / turlar)
   ============================================================ */

/* Reusable inner-page hero */
.page-hero {
    position: relative;
    min-height: 460px;
    height: auto;
    display: flex;
    align-items: flex-end;
    color: white;
    padding-top: 4.5rem;
    padding-bottom: 3.5rem;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.25) 45%, rgba(0, 0, 0, 0.7) 100%);
}

.page-hero-content {
    position: relative;
    z-index: 2;
}

.page-hero-eyebrow {
    font-size: 0.78rem;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    opacity: 0.75;
    margin-bottom: 0.75rem;
}

.page-hero-title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.page-hero-desc {
    font-size: 1.05rem;
    line-height: 1.7;
    opacity: 0.9;
    max-width: 620px;
    margin-bottom: 0;
}

.page-breadcrumb {
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
}

.page-breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: opacity 0.25s;
}

.page-breadcrumb a:hover {
    color: white;
}

.page-breadcrumb .sep {
    opacity: 0.4;
    margin: 0 0.5rem;
}

.page-breadcrumb .current {
    color: white;
}

/* Generic light card used across inner pages */
.soft-card {
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2rem;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.soft-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.07);
}

.soft-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background-color: var(--bg-off-white);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
}

.soft-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.soft-card-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 0;
}

/* Alt alta dizilen soft-card'lar (ör. iletişim sayfası sağ sütun).
   .soft-card { height:100% } sütun yüksekliğinin tamamını alıp taşmaya ve
   bir sonraki bölümün üstüne binmeye yol açıyordu; burada yükseklik serbest. */
.contact-info-stack {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-stack > .soft-card {
    height: auto;
}

/* Stat strip */
.stat-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    overflow: hidden;
    background-color: white;
}

.stat-cell {
    padding: 2.25rem 1.75rem;
    border-right: 1px solid var(--border-color);
}

.stat-cell:last-child {
    border-right: none;
}

.stat-value {
    font-size: 2.6rem;
    font-weight: 500;
    line-height: 1;
}

.stat-unit {
    font-family: var(--font-serif);
    font-style: italic;
    text-transform: none;
    letter-spacing: 0;
    font-size: 1.3rem;
    margin-left: 4px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.75rem;
    margin-bottom: 0;
    line-height: 1.5;
}

/* Contact page */
.contact-tile {
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--primary-dark);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.contact-tile:hover {
    transform: translateY(-4px);
    border-color: var(--primary-dark);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.07);
    color: var(--primary-dark);
}

.contact-tile-label {
    font-size: 0.72rem;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}

.contact-tile-value {
    font-size: 1.02rem;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 0;
    word-break: break-word;
}

.contact-tile-arrow {
    margin-top: auto;
    padding-top: 1.25rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.contact-tile:hover .contact-tile-arrow {
    color: var(--primary-dark);
}

.map-frame {
    position: relative;   /* iframe kendi katmanında kalsın, komşu kartlarla karışmasın */
    z-index: 0;
    isolation: isolate;
    border: 1px solid var(--border-color);
    border-radius: 28px;
    overflow: hidden;
    line-height: 0;
    background-color: white;
    height: 440px;
}

.map-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

@media (max-width: 767px) {
    .map-frame {
        height: 320px;
        border-radius: 20px;
    }
}

/* Çalışma saatleri kartı ile haritanın arası daralmasın */
.office-hours-row:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.form-select-custom {
    background-color: transparent;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.1rem 1.5rem;
    font-size: 1rem;
    width: 100%;
    outline: none;
    color: var(--primary-dark);
    font-family: var(--font-sans);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23777'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.4rem center;
    background-size: 14px;
    transition: border-color 0.3s;
}

.form-select-custom:focus {
    border-color: var(--primary-dark);
}

textarea.form-input-custom {
    resize: vertical;
    min-height: 150px;
    font-family: var(--font-sans);
}

.office-hours-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: 0.85rem 0;
    border-bottom: 1px dashed var(--border-color);
    font-size: 0.92rem;
}

.office-hours-row:last-child {
    border-bottom: none;
}

.office-hours-row .day {
    color: var(--primary-dark);
    font-weight: 500;
}

.office-hours-row .time {
    color: var(--text-muted);
}

/* Tours listing page */
.tour-filter-bar {
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 28px;
    padding: 1.25rem 1.5rem;
}

.tour-count-pill {
    background-color: var(--bg-off-white);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 8px 18px;
    font-size: 0.85rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.empty-state {
    border: 1px dashed var(--border-color);
    border-radius: 28px;
    padding: 4rem 2rem;
    text-align: center;
    background-color: white;
}

/* Team members */
.team-card {
    border: 1px solid var(--border-color);
    border-radius: 24px;
    overflow: hidden;
    background-color: white;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.07);
}

.team-card-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.team-card-body {
    padding: 1.4rem 1.6rem 1.6rem;
}

.team-role {
    font-size: 0.78rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* Dark CTA banner */
.cta-banner {
    background-color: var(--primary-dark);
    color: white;
    border-radius: 36px;
    padding: 3.5rem;
}

.cta-banner .section-title {
    color: white;
}

/* NOT: Bu iki butonun `transition` tanımı dosyanın üst kısmındaki
   ortak hover bloğundadır. Burada tekrar tanımlanırsa transform ve
   box-shadow geçişleri ezilir ve hover animasyonu çalışmaz. */
.btn-light-pill {
    background-color: #fff;
    color: var(--primary-dark);
    border: 1px solid #fff;
    border-radius: 50px;
    padding: 14px 32px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-light-pill:hover,
.btn-light-pill:focus-visible {
    opacity: 1;
    background-color: #F2F2EE;
    border-color: #F2F2EE;
    color: var(--primary-dark);
}

.btn-outline-pill {
    background-color: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50px;
    padding: 14px 32px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-outline-pill:hover,
.btn-outline-pill:focus-visible {
    background-color: #fff;
    border-color: #fff;
    color: var(--primary-dark);
}

/* İkon hover'da hafifçe ilerlesin */
.btn-light-pill i,
.btn-outline-pill i {
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-light-pill:hover i,
.btn-outline-pill:hover i,
.btn-light-pill:focus-visible i,
.btn-outline-pill:focus-visible i {
    transform: translateX(2px);
}

@media (prefers-reduced-motion: reduce) {
    .btn-light-pill i,
    .btn-outline-pill i {
        transition: none !important;
        transform: none !important;
    }
}

/* ============================================================
   BUTON HOVER EFEKTİ — üzerinden geçen parlama
   Yazı rengi değişmediği için okunurluk hiç bozulmaz; sadece
   "yukarı kayma" yerine gerçek bir hareket hissi verir.
   ============================================================ */
.search-apply-btn,
.btn-consultation,
.btn-light-pill,
.btn-outline-pill,
.btn-dark.rounded-pill,
.btn-outline-dark.rounded-pill,
.btn-outline-success.rounded-pill {
    position: relative;
    overflow: hidden;
}

.search-apply-btn::after,
.btn-consultation::after,
.btn-light-pill::after,
.btn-outline-pill::after,
.btn-dark.rounded-pill::after,
.btn-outline-dark.rounded-pill::after,
.btn-outline-success.rounded-pill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -130%;
    width: 55%;
    height: 100%;
    pointer-events: none;
    transform: skewX(-18deg);
    background: linear-gradient(100deg,
                transparent 0%,
                rgba(255, 255, 255, 0.38) 50%,
                transparent 100%);
    /* Fare çekilince geri süpürmesin: dönüşte anında başa alınır */
    transition: left 0s;
}

.search-apply-btn:hover::after,
.btn-consultation:hover::after,
.btn-light-pill:hover::after,
.btn-outline-pill:hover::after,
.btn-dark.rounded-pill:hover::after,
.btn-outline-dark.rounded-pill:hover::after,
.btn-outline-success.rounded-pill:hover::after,
.search-apply-btn:focus-visible::after,
.btn-consultation:focus-visible::after,
.btn-light-pill:focus-visible::after,
.btn-outline-pill:focus-visible::after,
.btn-dark.rounded-pill:focus-visible::after,
.btn-outline-dark.rounded-pill:focus-visible::after,
.btn-outline-success.rounded-pill:focus-visible::after {
    left: 150%;
    transition: left 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Parlama rengi, butonun HOVER anındaki zeminine göre seçilir.
   Çerçeveli butonlar hover'da dolduğu için zeminleri değişir. */

/* Hover'da açık zemin → koyu parlama */
.btn-light-pill::after,      /* #F2F2EE */
.btn-outline-pill::after {   /* #fff    */
    background: linear-gradient(100deg,
                transparent 0%,
                rgba(17, 17, 17, 0.12) 50%,
                transparent 100%);
}

/* .btn-outline-dark ve .btn-outline-success hover'da koyu/renkli zemine
   dolduğu için base'teki beyaz parlamayı kullanırlar — ek kural gerekmez. */

/* Tıklama anında hafif bastırma */
.search-apply-btn:active,
.btn-consultation:active,
.btn-light-pill:active,
.btn-outline-pill:active,
.btn-dark.rounded-pill:active,
.btn-outline-dark.rounded-pill:active,
.btn-outline-success.rounded-pill:active {
    transform: translateY(0) scale(0.985);
}

@media (prefers-reduced-motion: reduce) {
    .search-apply-btn::after,
    .btn-consultation::after,
    .btn-light-pill::after,
    .btn-outline-pill::after,
    .btn-dark.rounded-pill::after,
    .btn-outline-dark.rounded-pill::after,
    .btn-outline-success.rounded-pill::after {
        display: none;
    }
}

/* Responsive Overrides */
@media (max-width: 991px) {
    .stat-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-cell:nth-child(2n) {
        border-right: none;
    }

    .stat-cell:nth-child(-n+2) {
        border-bottom: 1px solid var(--border-color);
    }

    .cta-banner {
        padding: 2.5rem;
        border-radius: 28px;
    }

    .page-hero {
        min-height: 340px;
        height: auto;
        padding-top: 3.5rem;
        padding-bottom: 2.5rem;
    }
}

@media (max-width: 575px) {
    .stat-strip {
        grid-template-columns: 1fr;
        border-radius: 22px;
    }

    .stat-cell {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 1.6rem 1.4rem;
    }

    .stat-cell:last-child {
        border-bottom: none;
    }

    .soft-card,
    .contact-tile {
        padding: 1.5rem;
        border-radius: 20px;
    }

    .cta-banner {
        padding: 2rem 1.5rem;
        border-radius: 22px;
    }

    .team-card-img {
        height: 240px;
    }
}

@media (max-width: 991px) {
    .reasons-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    /* index.php'deki inline grid-column/grid-row değerlerini sıfırla */
    .reasons-grid .reason-box {
        grid-column: auto !important;
        grid-row: auto !important;
    }

    .reason-top-right {
        border-top-right-radius: 0;
    }

    .reason-bottom-right-dark {
        border-bottom-right-radius: 0;
    }

    /* NOT: Arama çubuğunun dikey düzeni 767.98px bloğundadır.
       Bootstrap col-md-* 768px'te kırıldığı için burada yapılırsa
       768-991px arasında sütunlar yan yanayken yatay çizgi oluşuyordu. */

    .tour-hero-banner {
        min-height: 40vh;
        padding-top: 3rem;
    }
}

/* Tablet: sütunlar hâlâ yan yana ama dar — iç boşlukları sıkılaştır */
@media (min-width: 768px) and (max-width: 991.98px) {
    .search-field {
        padding: 10px 12px;
    }

    .search-nights {
        right: 12px;
        bottom: 8px;
    }

    .search-field label {
        font-size: 0.62rem;
        letter-spacing: 0.5px;
    }

    .search-field input,
    .custom-select-trigger {
        font-size: 0.85rem;
    }

    .search-apply-btn {
        padding: 12px 8px;
        font-size: 0.82rem;
    }

    .custom-select-menu {
        min-width: 180px;
        left: -12px;
    }
}

@media (max-width: 767.98px) {
    /* body'ye overflow-x:hidden verilmez — sticky navbar'ı bozar (bkz. üst not) */
    body { overflow-x: clip; }

    /* Reasons grid — inline grid-column override */
    .reasons-grid {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto !important;
    }

    .reasons-grid .reason-box {
        grid-column: 1 !important;
        grid-row: auto !important;
    }

    .reason-top-left {
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
        border-bottom-left-radius: 0;
    }

    .reason-top-right {
        border-top-right-radius: 0;
    }

    .reason-bottom-right-dark {
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
        min-height: 110px;
    }

    /* Section title */
    .section-title {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
    }

    /* Tour cards */
    .tour-img-wrapper { height: 220px; }
    .tour-card-compact .tour-img-wrapper { height: 165px; }
    .tour-card-title { font-size: 1.1rem; }
    .tour-card-compact .tour-card-title { font-size: 0.95rem; }
    .tour-card-body { padding: 1.2rem 1.4rem 1.4rem; }
    .tour-card-compact .tour-card-body { padding: 1rem 1.2rem 1.2rem; }

    /* Review cards */
    .review-card {
        min-width: 280px;
        max-width: 280px;
        padding: 1.4rem;
    }


    /* Custom select dropdown — prevent off-screen */
    .custom-select-menu {
        left: 0;
        right: 0;
        top: calc(100% + 10px);
        min-width: unset;
        width: 100%;
    }

    /* FAQ accordion */
    .faq-accordion .accordion-button {
        font-size: 0.95rem;
        padding: 1rem 1.2rem;
    }

    .faq-accordion .accordion-body {
        padding: 1rem 1.2rem;
    }

    /* Hero arama çubuğu — alanlar alt alta dizilir.
       Bootstrap col-md-* de tam bu genişlikte kırıldığı için düzen tutarlı. */
    .search-bar-container {
        border-radius: 20px;
        padding: 14px;
    }

    .search-field {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 11px 12px;
    }

    /* Uygula butonundan önceki son alanın altında çizgi kalmasın */
    .search-field:nth-last-of-type(2) {
        border-bottom: none;
    }

    .search-apply-btn {
        width: 100%;
        margin-top: 10px;
    }

    /* Consultation form */
    .form-input-custom {
        padding: 0.9rem 1.2rem;
    }
}

@media (max-width: 575px) {
    /* Hero title — prevent long words from overflowing */
    .hero-title {
        font-size: clamp(1.4rem, 6vw, 2rem);
        word-break: break-word;
        hyphens: auto;
        -webkit-hyphens: auto;
    }
    .hero-subtitle { font-size: 0.9rem; }

    /* Tour cards — 1 column, proper spacing */
    .tour-img-wrapper { height: 200px; }

    /* Carousel controls */
    .carousel-control-btn {
        width: 40px;
        height: 40px;
    }

    /* Review card full-ish width */
    .review-card {
        min-width: calc(100vw - 60px);
        max-width: calc(100vw - 60px);
    }

    /* Reason boxes smaller padding */
    .reason-box {
        padding: 1.8rem;
        min-height: 140px;
    }

    .reason-number { font-size: 2.8rem; }
    .reason-unit  { font-size: 1.4rem; }
}