/* =========================================================
   THEME TOKENS — Açık / Koyu Mod
   ========================================================= */
:root {
    --primary: #FF8C00;
    --primary-2: #FFA500;
    --primary-contrast: #14110A;

    --bg: #F6F7F9;
    --surface: #FFFFFF;
    --surface-alt: #F0F1F4;
    --header-bg: #FFFFFF;
    --footer-bg: #14161A;
    --text: #16181C;
    --text-muted: #656B74;
    --border: #E6E8EC;
    --shadow: 0 10px 30px rgba(20, 20, 30, 0.08);

    color-scheme: light;
}

html[data-theme="dark"] {
    --bg: #121315;
    --surface: #1B1D21;
    --surface-alt: #202226;
    --header-bg: #101113;
    --footer-bg: #0A0A0B;
    --text: #F2F3F5;
    --text-muted: #9AA0AA;
    --border: #2A2C31;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);

    color-scheme: dark;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Segoe UI', 'Poppins', Arial, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* =========================================================
   PRELOADER — Gerçekçi Dönen Lastik
   ========================================================= */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: radial-gradient(circle at center, #2a2a2a 0%, #000 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.tire-loader {
    width: 130px;
    height: 130px;
    position: relative;
    animation: tire-roll 1.1s linear infinite;
}

.tire-loader svg { width: 100%; height: 100%; }

@keyframes tire-roll {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.tire-loader-shadow {
    width: 90px;
    height: 14px;
    margin-top: 22px;
    border-radius: 50%;
    background: rgba(0,0,0,0.6);
    filter: blur(4px);
    animation: shadow-pulse 1.1s ease-in-out infinite;
}

@keyframes shadow-pulse {
    0%, 100% { transform: scaleX(1); opacity: 0.6; }
    50% { transform: scaleX(0.75); opacity: 0.3; }
}

.preloader-text {
    margin-top: 28px;
    color: var(--primary-2);
    font-weight: 700;
    letter-spacing: 3px;
    font-size: 14px;
    text-transform: uppercase;
}

.preloader-bar {
    width: 200px;
    height: 4px;
    margin-top: 14px;
    background: #333;
    border-radius: 4px;
    overflow: hidden;
}

.preloader-bar span {
    display: block;
    height: 100%;
    width: 40%;
    background: linear-gradient(90deg, var(--primary), var(--primary-2));
    animation: bar-slide 1.2s ease-in-out infinite;
}

@keyframes bar-slide {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(350%); }
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
    background: var(--header-bg);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
    border-bottom: 1px solid var(--border);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.header-inner {
    width: 100%;
    margin: 0;
    padding: 14px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand-group {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
}

.brand-group .site-logo-img {
    height: 62px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}

.brand-group .divider {
    width: 1px;
    height: 46px;
    background: var(--border);
}

.brand-name {
    color: var(--text);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
}

.brand-name span { color: var(--primary-2); }

.continental-badge {
    display: flex;
    align-items: center;
    gap: 10px;
}

.continental-badge img {
    height: 46px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
}

.continental-badge .continental-text {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.continental-badge .continental-text strong {
    display: block;
    color: var(--text);
    font-size: 13px;
}

/* Yetkili Bayii Rozeti (sağ üst) */
.dealer-seal {
    width: 58px;
    height: 58px;
    flex-shrink: 0;
    color: var(--primary-2);
}

.main-nav ul {
    display: flex;
    gap: 28px;
}

.main-nav a {
    color: var(--text);
    font-weight: 600;
    font-size: 14px;
    position: relative;
    padding: 6px 0;
    transition: color 0.25s;
    white-space: nowrap;
}

.main-nav a:hover { color: var(--primary-2); }

.main-nav a::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 0; height: 2px;
    background: var(--primary-2);
    transition: width 0.3s;
}

.main-nav a:hover::after { width: 100%; }

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-appointment {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: var(--primary-contrast);
    font-weight: 700;
    font-size: 13px;
    padding: 11px 20px;
    border-radius: 8px;
    white-space: nowrap;
    box-shadow: 0 6px 16px rgba(255,140,0,0.3);
    transition: transform 0.25s, box-shadow 0.25s;
}

.btn-appointment svg { width: 16px; height: 16px; }

.btn-appointment:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(255,140,0,0.42);
}

@media (max-width: 700px) {
    .tf-trigger span { display: none; }
    .tf-trigger { padding: 10px; }
}

@media (max-width: 560px) {
    .btn-appointment span { display: none; }
    .btn-appointment { padding: 10px; }
}

/* Tema Değiştirici Switch */
.theme-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.theme-toggle .toggle-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.toggle-track {
    width: 52px;
    height: 28px;
    border-radius: 20px;
    background: var(--surface-alt);
    border: 1px solid var(--border);
    position: relative;
    transition: background 0.3s;
}

.toggle-thumb {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

html[data-theme="dark"] .toggle-thumb { transform: translateX(24px); }

.toggle-thumb svg { width: 13px; height: 13px; color: #fff; }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary-2);
    font-size: 26px;
    cursor: pointer;
}

@media (max-width: 980px) {
    .continental-badge .continental-text { display: none; }
    .main-nav {
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: var(--header-bg);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
        border-bottom: 1px solid var(--border);
    }
    .main-nav.open { max-height: 320px; }
    .main-nav ul { flex-direction: column; padding: 10px 24px 20px; gap: 14px; }
    .nav-toggle { display: block; }
    .dealer-seal { display: none; }
}

@media (max-width: 640px) {
    .brand-group .divider { display: none; }
    .continental-badge { display: none; }
}

/* =========================================================
   HERO SLIDER — Büyük, tek tek kayan görsel
   ========================================================= */
.hero-slider {
    position: relative;
    width: 100%;
    min-height: 760px;
    overflow: hidden;
    background: var(--surface-alt);
}

.hero-slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    min-height: 760px;
    transition: transform 0.7s cubic-bezier(0.65, 0, 0.35, 1);
}

.hero-slide {
    position: relative;
    flex: 0 0 100%;
    min-height: 760px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--surface-alt);
}

.hero-slide-fg {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
}

.hero-slide::before {
    content: '';
    position: absolute; inset: 0;
    z-index: 2;
    background: linear-gradient(90deg, rgba(8,8,10,0.82) 0%, rgba(8,8,10,0.5) 42%, rgba(8,8,10,0.18) 68%, rgba(255,140,0,0.1) 100%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 3;
    max-width: 1320px;
    margin: 0 auto;
    padding: 60px 24px;
    width: 100%;
}

.hero-content { max-width: 640px; }

.hero-content span.eyebrow {
    display: inline-block;
    color: var(--primary-2);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.hero-content h1,
.hero-content h2 {
    color: #fff;
    font-size: clamp(32px, 4.8vw, 58px);
    font-weight: 800;
    line-height: 1.12;
    text-shadow: 0 4px 24px rgba(0,0,0,0.5);
}

.hero-content p {
    color: #e2e3e6;
    font-size: clamp(15px, 1.6vw, 19px);
    margin-top: 18px;
    max-width: 480px;
    line-height: 1.6;
}

.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.35);
    background: rgba(6,6,8,0.4);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.25s, border-color 0.25s;
}

.hero-arrow:hover { background: rgba(255,140,0,0.85); border-color: transparent; }
.hero-arrow-prev { left: 22px; }
.hero-arrow-next { right: 22px; }

.hero-dots {
    position: absolute;
    left: 0; right: 0;
    bottom: 22px;
    z-index: 4;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.6);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background 0.25s, transform 0.25s;
}

.hero-dot.active {
    background: var(--primary-2);
    border-color: var(--primary-2);
    transform: scale(1.15);
}

@media (max-width: 900px) {
    .hero-slider, .hero-slider-track, .hero-slide { min-height: 520px; }
    .hero-inner { text-align: center; }
    .hero-content { max-width: 100%; }
    .hero-content p { margin-left: auto; margin-right: auto; }
    .hero-cta-row { justify-content: center; }
    .hero-arrow { width: 38px; height: 38px; }
}

/* =========================================================
   KAYAN MARKA ŞERİDİ (Marquee)
   ========================================================= */
.brand-marquee {
    background: var(--footer-bg);
    padding: 20px 0;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.brand-marquee-track {
    display: flex;
    align-items: center;
    width: max-content;
    gap: 64px;
    animation: brand-scroll 28s linear infinite;
}

.brand-marquee:hover .brand-marquee-track {
    animation-play-state: paused;
}

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

.brand-marquee-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 34px;
}

.brand-marquee-item img {
    height: 100%;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) brightness(1.8);
    opacity: 0.75;
    transition: filter 0.3s, opacity 0.3s;
}

.brand-marquee-item img:hover {
    filter: none;
    opacity: 1;
}

.brand-marquee-item span {
    color: #999;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1px;
    white-space: nowrap;
    text-transform: uppercase;
    transition: color 0.3s;
}

.brand-marquee-item span:hover {
    color: var(--primary-2);
}

/* =========================================================
   HIZLI HİZMET ŞERİDİ (ikon + etiket)
   ========================================================= */
.quick-services {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.quick-services-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 22px 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.quick-service-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.quick-service-item svg {
    width: 22px;
    height: 22px;
    color: var(--primary-2);
}

/* =========================================================
   SECTIONS
   ========================================================= */
.section {
    padding: 80px 24px;
    max-width: 1320px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 48px;
}

.section-title span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-2);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 13px;
    text-transform: uppercase;
}

.section-title span em {
    font-style: normal;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid var(--primary-2);
    font-size: 11px;
    font-weight: 800;
}

.section-title h3 {
    font-size: clamp(24px, 3.5vw, 36px);
    color: var(--text);
    margin-top: 8px;
    font-weight: 800;
}

/* Hizmet Kartları */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
}

.service-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 34px 26px;
    text-align: center;
    box-shadow: var(--shadow);
    border-bottom: 3px solid transparent;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-8px);
    border-bottom-color: var(--primary-2);
}

.service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    color: var(--primary-2);
}

.service-card h4 {
    font-size: 18px;
    color: var(--text);
    margin-bottom: 10px;
    font-weight: 700;
}

.service-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Şubeler */
.branches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.branch-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.branch-card:hover { transform: translateY(-6px); }

.branch-card .map-wrap { width: 100%; height: 200px; background: var(--surface-alt); }
.branch-card .map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* Galeri tarzı şube fotoğrafı */
.branch-photo {
    position: relative;
    height: 230px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    transition: background-size 0.5s ease;
}

.branch-photo::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.15) 55%, transparent 100%);
}

.branch-card:hover .branch-photo {
    background-size: 108%;
}

.branch-photo-fallback {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
}

.branch-photo-fallback::before { display: none; }

.branch-photo-overlay {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    z-index: 2;
    padding: 20px 22px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.branch-photo-pin {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.16);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.branch-photo-pin svg { width: 18px; height: 18px; color: #fff; }

.branch-photo-overlay h4 {
    color: #fff;
    font-size: 19px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.branch-info { padding: 22px 24px; }
.branch-info p { color: var(--text-muted); font-size: 14px; margin-bottom: 8px; display: flex; gap: 10px; align-items: flex-start; }
.branch-info p svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--primary-2); margin-top: 2px; }

.branch-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 9px 16px;
    border-radius: 8px;
    background: #25D366;
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.branch-whatsapp svg { width: 16px; height: 16px; }

.branch-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(37,211,102,0.35);
}

/* Footer */
.site-footer {
    background: var(--footer-bg);
    color: #aaa;
    padding: 50px 24px 24px;
}

.footer-inner {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 32px;
}

.footer-brand h5 { color: #fff; font-size: 20px; margin-bottom: 10px; }
.footer-brand h5 span { color: var(--primary-2); }
.footer-brand p { max-width: 320px; font-size: 14px; line-height: 1.6; }

.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: #222;
    display: flex; align-items: center; justify-content: center;
    color: var(--primary-2);
    transition: background 0.25s;
}
.footer-social a:hover { background: var(--primary); color: #000; }

.footer-bottom {
    max-width: 1320px;
    margin: 34px auto 0;
    padding-top: 20px;
    border-top: 1px solid #262626;
    text-align: center;
    font-size: 13px;
}

/* Utility fade-in */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Genel amaçlı dolu buton */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: var(--primary-contrast);
    font-weight: 700;
    padding: 13px 28px;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(255,140,0,0.32);
    transition: transform 0.25s, box-shadow 0.25s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(255,140,0,0.45);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 26px;
    border-radius: 8px;
    border: 1.5px solid rgba(255,255,255,0.45);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    transition: border-color 0.25s, color 0.25s, transform 0.25s;
}

.btn-outline svg {
    width: 18px;
    height: 18px;
    color: var(--primary-2);
}

.btn-outline:hover {
    border-color: var(--primary-2);
    color: var(--primary-2);
    transform: translateY(-3px);
}

/* =========================================================
   LASTİK BULUCU (Modal Sihirbaz)
   ========================================================= */
.tf-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: 1.5px solid var(--border);
    color: var(--text);
    font-weight: 700;
    font-size: 13px;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
    transition: border-color 0.25s, color 0.25s;
}

.tf-trigger:hover { border-color: var(--primary-2); color: var(--primary-2); }
.tf-trigger svg { width: 16px; height: 16px; color: var(--primary-2); }

.tf-modal {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.tf-modal[hidden] {
    display: none;
}

.tf-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5,5,8,0.68);
}

.tf-modal-box {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 980px;
    max-height: 88vh;
    background: var(--surface);
    border-radius: 20px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 280px 1fr;
    box-shadow: 0 40px 90px rgba(0,0,0,0.5);
}

.tf-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 3;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.35);
    color: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.tf-sidebar {
    background: var(--footer-bg);
    color: #fff;
    padding: 34px 26px;
    overflow-y: auto;
}

.tf-sidebar-title {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--primary-2);
    margin-bottom: 28px;
}

.tf-steps {
    list-style: none;
    position: relative;
    padding-left: 24px;
}

.tf-steps::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: #333;
}

.tf-step {
    position: relative;
    padding-bottom: 26px;
}

.tf-step::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 3px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #444;
    border: 2px solid var(--footer-bg);
    z-index: 1;
}

.tf-step.active::before,
.tf-step.done::before {
    background: var(--primary-2);
}

.tf-step-label {
    display: block;
    font-weight: 700;
    font-size: 14.5px;
    color: #8b8f96;
}

.tf-step.active .tf-step-label,
.tf-step.done .tf-step-label {
    color: #fff;
}

.tf-step-value {
    display: block;
    font-size: 12.5px;
    color: var(--primary-2);
    margin-top: 3px;
    min-height: 15px;
}

.tf-panel {
    padding: 30px 34px;
    overflow-y: auto;
}

.tf-panel-head {
    margin-bottom: 20px;
}

.tf-back {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    margin-bottom: 10px;
}

.tf-back:hover { color: var(--primary-2); }

.tf-panel-head h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--text);
}

.tf-search-wrap {
    position: relative;
    margin-bottom: 22px;
}

.tf-search {
    width: 100%;
    padding: 13px 44px 13px 16px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--surface-alt);
    color: var(--text);
    font-size: 14px;
}

.tf-search:focus { outline: none; border-color: var(--primary-2); }

.tf-search-wrap svg {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    pointer-events: none;
}

.tf-popular {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
}

.tf-popular-item {
    background: var(--surface-alt);
    border: 1px solid var(--border);
    color: var(--text);
    font-weight: 700;
    font-size: 13px;
    padding: 9px 18px;
    border-radius: 30px;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
}

.tf-popular-item:hover { border-color: var(--primary-2); color: var(--primary-2); }

.tf-list {
    max-height: 360px;
    overflow-y: auto;
    border-top: 1px solid var(--border);
}

.tf-list-item {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    border: none;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    font-weight: 600;
    font-size: 14.5px;
    padding: 14px 6px;
    cursor: pointer;
    text-align: left;
    transition: color 0.2s;
}

.tf-list-item:hover { color: var(--primary-2); }
.tf-list-item svg { width: 18px; height: 18px; color: var(--text-muted); flex-shrink: 0; }

.tf-empty, .tf-loading {
    padding: 30px 6px;
    color: var(--text-muted);
    font-size: 14px;
    text-align: center;
}

.tf-result-summary {
    font-size: 18px;
    color: var(--text);
    margin-bottom: 6px;
}

.tf-result-years { color: var(--text-muted); font-weight: 400; font-size: 14px; }

.tf-result-caption {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 18px;
}

.tf-size-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 14px;
    margin-bottom: 28px;
}

.tf-size-card {
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 18px 10px;
    text-align: center;
}

.tf-size-tag {
    font-size: 17px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: 0.3px;
}

@media (max-width: 760px) {
    .tf-modal-box { grid-template-columns: 1fr; max-height: 92vh; }
    .tf-sidebar { padding: 22px 20px; }
    .tf-steps { display: flex; flex-wrap: wrap; gap: 12px 20px; padding-left: 0; }
    .tf-steps::before { display: none; }
    .tf-step { padding-bottom: 0; padding-left: 20px; }
    .tf-step::before { left: 0; top: 4px; }
    .tf-panel { padding: 24px 20px; }
}

/* =========================================================
   WHATSAPP — Sağ Alt Sabit Buton
   ========================================================= */
.whatsapp-fab {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 900;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 26px rgba(37,211,102,0.45);
    animation: whatsapp-pulse 2.4s ease-in-out infinite;
    transition: transform 0.25s;
}

.whatsapp-fab svg { width: 30px; height: 30px; }

.whatsapp-fab:hover { transform: scale(1.08); }

@keyframes whatsapp-pulse {
    0%, 100% { box-shadow: 0 10px 26px rgba(37,211,102,0.45); }
    50% { box-shadow: 0 10px 26px rgba(37,211,102,0.45), 0 0 0 10px rgba(37,211,102,0.12); }
}

@media (max-width: 600px) {
    .whatsapp-fab { right: 16px; bottom: 16px; width: 52px; height: 52px; }
    .whatsapp-fab svg { width: 26px; height: 26px; }
}

/* =========================================================
   GALERİ — Kategori Filtreli Görsel Izgarası
   ========================================================= */
.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 32px;
}

.gallery-filter {
    background: var(--surface-alt);
    border: 1px solid var(--border);
    color: var(--text);
    font-weight: 700;
    font-size: 13px;
    padding: 9px 20px;
    border-radius: 30px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.gallery-filter:hover { border-color: var(--primary-2); }

.gallery-filter.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    border-color: transparent;
    color: var(--primary-contrast);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: opacity 0.3s, transform 0.3s;
}

.gallery-item-hidden {
    display: none;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.08); }

.gallery-item-overlay {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    z-index: 2;
    padding: 16px;
    background: linear-gradient(to top, rgba(6,6,8,0.85) 0%, transparent 90%);
    display: flex;
    flex-direction: column;
    gap: 4px;
    pointer-events: none;
}

.gallery-item-video { cursor: default; }

.gallery-item-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000;
}

.gallery-item-video .gallery-item-overlay {
    top: 0; bottom: auto;
    background: linear-gradient(to bottom, rgba(6,6,8,0.8) 0%, transparent 85%);
}

.gallery-item-cat {
    color: var(--primary-2);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.gallery-item-title {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

/* =========================================================
   LIGHTBOX — Galeri Büyük Önizleme
   ========================================================= */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 6000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.lightbox[hidden] { display: none; }

.lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(4,4,6,0.92);
}

.lightbox-image {
    position: relative;
    z-index: 2;
    max-width: 100%;
    max-height: 82vh;
    border-radius: 10px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}

.lightbox-caption {
    position: absolute;
    bottom: 26px;
    left: 0; right: 0;
    z-index: 2;
    text-align: center;
    color: #eee;
    font-size: 14px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    z-index: 3;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.12);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

@media (max-width: 600px) {
    .lightbox { padding: 16px; }
    .lightbox-nav { width: 38px; height: 38px; font-size: 14px; }
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
}
