/* =========================================================
   ===============  GLOBAL RESET & VARIABLES  ===============
   ========================================================= */

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

:root {
    /* Renk Paleti */
    --color-primary: #0B1F3B;      /* Lacivert */
    --color-secondary: #FF7A00;    /* Turuncu */
    --color-secondary-soft: rgba(255, 122, 0, 0.12);
    --color-accent: #16A7B8;       /* Turkuaz ton */
    --color-bg-light: #F5F7FA;     /* Açık gri arka plan */
    --color-border: #E1E5ED;       /* İnce sınırlar */
    --color-text: #2D3748;         /* Ana metin */
    --color-text-muted: #4A5568;   /* İkincil metin */
    --color-footer-bg: #0A1528;    /* Footer arka plan */
    --color-footer-text: #E2E8F0;  /* Footer metin */
    --color-danger: #E53E3E;       /* Uyarı / hata */

    /* Boyutlar */
    --header-height-desktop: 96px;
    --header-height-mobile: 70px;
    --container-max-width: 1200px;

    /* Z-index */
    --z-header: 1000;
    --z-mobile-nav: 1100;
    --z-whatsapp: 1200;
    --z-cookie-modal: 1300;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: #ffffff;
}

/* =========================================================
   ====================  TYPOGRAPHY  ========================
   ========================================================= */

h1, h2, h3, h4, h5, h6 {
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 600;
    color: var(--color-primary);
    line-height: 1.3;
    margin-bottom: 0.5em;
}

h1 {
    font-size: 2.25rem; /* ~36px */
}

h2 {
    font-size: 1.75rem; /* ~28px */
}

h3 {
    font-size: 1.375rem; /* ~22px */
}

p {
    margin-bottom: 1em;
    color: var(--color-text);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--color-secondary);
}

/* =========================================================
   ======================  LAYOUT  =========================
   ========================================================= */

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 16px;
}

.section {
    padding: 60px 0;
}

.section--alt {
    background-color: var(--color-bg-light);
}

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

.section-title h2 {
    margin-bottom: 8px;
}

.section-title p {
    color: var(--color-text-muted);
}

/* Hero görseli olan alt sayfalarda üst boşluğu daralt */
.section.section--hero-tight {
    padding-top: 16px;      /* 60px -> 16px */
    padding-bottom: 40px;
}

.section.section--hero-tight .hero-image-block {
    margin-top: 8px;        /* 32px -> 8px */
}

@media (max-width: 768px) {
    .section.section--hero-tight {
        padding-top: 8px;
    }

    .section.section--hero-tight .hero-image-block {
        margin-top: 4px;
    }
}

/* =========================================================
   ======================  TOP BAR  ========================
   ========================================================= */

.top-bar,
.topbar {
    width: 100%;
    background: var(--color-primary);
    color: #ffffff;
    font-size: 0.9rem;
    text-align: center;
    padding: 6px 10px;
}

/* =========================================================
   =======================  HEADER  ========================
   ========================================================= */

.main-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--z-header);
    background-color: #ffffff;
    border-bottom: 1px solid var(--color-border);
    transition: box-shadow 0.2s ease, padding 0.2s ease, background-color 0.2s ease;
}

.main-header-inner {
    height: var(--header-height-desktop);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.main-header .logo img {
    max-height: 60px;
    display: block;
}

/* Sticky olduğunda hafif gölge */
.main-header.is-sticky {
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
    background-color: #ffffff;
}

/* =========================================================
   =====================  DESKTOP NAV  =====================
   ========================================================= */

.desktop-nav {
    display: flex;
    align-items: center;
}

/* Sadece ANA UL yatay olsun */
.desktop-nav > ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 26px;
    margin: 0;
    padding: 0;
}

.desktop-nav > ul > li {
    position: relative;
}

/* Üst seviye linkler */
.desktop-nav > ul > li > a {
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 22px 0;
    position: relative;
}

/* Alt çizgi efekti (sadece üst seviye) */
.desktop-nav > ul > li > a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 12px;
    width: 0;
    height: 2px;
    background-color: var(--color-secondary);
    transition: width 0.2s ease;
}

.desktop-nav > ul > li > a:hover::after,
.desktop-nav > ul > li > a.is-active::after {
    width: 100%;
}

/* ALT MENÜ (DROPDOWN) – BAŞLANGIÇTA GİZLİ */
.submenu {
    position: absolute;
    top: calc(100% - 4px);
    left: 0;
    min-width: 220px;
    background-color: #ffffff;
    border-radius: 10px;
    border: 1px solid var(--color-border);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.16);
    padding: 10px 0;
    list-style: none;
    margin: 0;
    display: none;
    z-index: 1200;
}

/* Alt menü içindeki linkler dikey listelensin */
.submenu li a {
    display: block;
    padding: 8px 16px;
    font-size: 0.9rem;
    color: var(--color-text);
    white-space: nowrap;
}

.submenu li a:hover {
    background-color: var(--color-bg-light);
    color: var(--color-secondary);
}

/* Hover ile açılma */
.has-submenu:hover > .submenu {
    display: block;
}

/* =========================================================
   =====================  MOBILE NAV  ======================
   ========================================================= */

/* Mobil tetikleyici (MENÜ butonu) */
.mobile-nav-trigger {
    display: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.mobile-nav-trigger span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Hamburger çizgisi */
.mobile-nav-trigger span::before {
    content: "";
    width: 18px;
    height: 2px;
    background-color: var(--color-primary);
    box-shadow: 0 6px 0 var(--color-primary), 0 -6px 0 var(--color-primary);
}

/* Açıkken küçük görsel geri bildirim */
.mobile-nav-trigger.is-open span {
    opacity: 0.7;
}

/* Mobil menü paneli - tam ekran overlay */
.mobile-nav {
    position: fixed;
    inset: 0;
    background-color: rgba(11, 31, 59, 0.96);
    color: #ffffff;
    z-index: var(--z-mobile-nav);
    padding: 72px 20px 20px;
    display: none;              /* başlangıçta gizli */
}

/* Açıldığında FLEX kolona geçsin */
.mobile-nav.is-open {
    display: flex;
    flex-direction: column;
}

/* Kapat (X) butonu */
.mobile-nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.6rem;
    cursor: pointer;
}

/* UL: kaydırılabilir alan */
.mobile-accordion {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;                                /* kalan yüksekliği kapla */
    overflow-y: auto;                       /* DIKEY SCROLL BURADA */
    -webkit-overflow-scrolling: touch;      /* iOS için yumuşak scroll */
    padding-bottom: 80px;                   /* altta biraz boşluk */
}

.mobile-accordion > li {
    margin-bottom: 10px;
}

/* Linkler */
.mobile-accordion a {
    display: block;
    color: #ffffff;
    font-size: 1.02rem;
    font-weight: 500;
    text-decoration: none;
    padding: 8px 0 6px 8px;
}

.mobile-accordion a:hover {
    text-decoration: underline;
}

/* ARKA PLAN SCROLL KİLİDİ */
body.nav-open {
    overflow: hidden;
}

/* Desktop’ta mobil nav tamamen gizli */
@media (min-width: 769px) {
    .mobile-nav {
        display: none !important;
    }
}
/* ========== MOBILE NAV – Safari için scroll düzeltmesi ========== */

/* Temel yapı (varsa mevcut mobile-nav tanımınızı bunla hizalayın) */
.mobile-nav {
    position: fixed;
    inset: 0;
    background-color: rgba(11, 31, 59, 0.96);
    color: #ffffff;
    z-index: var(--z-mobile-nav);
    padding: 72px 20px 20px;
    display: none;
    display: none;
    /* ÖNEMLİ: flex parent + scroll child için */
    display: none;
}

.mobile-nav.is-open {
    display: flex;
    flex-direction: column;
    /* iOS Safari için kritik */
    min-height: 0;
    overflow: hidden;
}

/* UL: scroll alacak alan */
.mobile-accordion {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
    /* iOS Safari için KRİTİK satırlar */
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 80px;
}

/* İsteğe bağlı: çok uzun menülerde yüksekliği netleştirmek isterseniz */
@media (max-width: 992px) {
    .mobile-accordion {
        max-height: calc(100vh - 90px); /* üst padding + kapatma butonunu düş */
    }
}

/* ====================  MOBILE ACCORDION  ==================== */

.accordion-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding-bottom: 4px;
}

.accordion-item + .accordion-item {
    margin-top: 8px;
}

.accordion-toggle {
    width: 100%;
    text-align: left;
    padding: 8px 0;
    font-size: 1.02rem;
    font-weight: 600;
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* İstersen küçük bir ok işareti ekleyebilirsin */
.accordion-toggle::after {
    content: "›";
    font-size: 1.1rem;
    opacity: 0.8;
}

.accordion-item.is-open .accordion-toggle::after {
    transform: rotate(90deg);
}

/* İçerik – kapalıyken gizle */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
    padding-left: 8px;
}

/* Açıkken görünen hali */
.accordion-item.is-open .accordion-content {
    max-height: 600px; /* içerik uzunluğunu rahatça karşılayacak bir değer */
}

.accordion-content li {
    margin-top: 4px;
}

.accordion-content a {
    font-size: 0.95rem;
    font-weight: 400;
    padding: 4px 0 4px 4px;
    opacity: 0.9;
}



/* =========================================================
   =====================  HERO SLIDER  =====================
   ========================================================= */

.hero-slider {
    position: relative;
    width: 100%;
    background-color: #000000;
    color: #ffffff;
    overflow: hidden;
}

.hero-slider-inner {
    position: relative;
}

/* Slider görsel alanı */
.slider-container {
    position: relative;
}

/* Slide'lar */
.slide {
    display: none;
}

.slide.is-active {
    display: block;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 720px;
    object-fit: cover;
}

/* Karanlık overlay */
.hero-slider::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.45) 40%,
        rgba(0, 0, 0, 0.1) 100%);
    z-index: 1;
}

/* Hero metin kutusu */
.hero-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    pointer-events: none;
}

.hero-content-inner {
    max-width: 560px;
    pointer-events: auto;
}

.hero-content h1 {
    color: #ffffff;
    margin-bottom: 16px;
}

.hero-content p {
    color: #E2E8F0;
    margin-bottom: 24px;
}

/* Slider noktaları */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 8px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 1px solid #ffffff;
    background-color: transparent;
    cursor: pointer;
    transition: background-color 0.2s ease, width 0.2s ease;
}

.slider-dot.is-active {
    background-color: var(--color-secondary);
    width: 22px;
}

/* Slider okları */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background-color: rgba(15, 23, 42, 0.65);
    border: none;
    color: #ffffff;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.slider-arrow--prev {
    left: 18px;
}

.slider-arrow--next {
    right: 18px;
}

.slider-arrow:hover {
    background-color: rgba(255, 122, 0, 0.9);
    transform: translateY(-50%) scale(1.05);
}

/* Mobil uyum – slider içerikleri ve noktalar */
@media (max-width: 768px) {
    .slide img {
        max-height: 520px;
    }

    .hero-content {
        align-items: flex-end;
        padding-bottom: 80px;   /* butonların üstüne nokta binmesin */
    }

    .hero-content-inner {
        max-width: 100%;
    }

    .slider-dots {
        bottom: 14px;
    }
}

/* ====== ALT SAYFA HERO SLIDER (TİCARİ SÜRÜCÜLER vb.) ====== */

.hero--sub {
    min-height: auto;
    padding-top: 40px;
    padding-bottom: 40px;
}

.hero--sub .hero-inner {
    align-items: center;
}

.hero--sub .hero-content {
    display: none;
}

/* =========================================================
   ==================  SIMPLE FLEET SLIDER  =================
   ========================================================= */

.simple-slider {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 24px 65px rgba(15, 23, 42, 0.28);
}

.simple-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.simple-slide img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.simple-slide.is-active {
    opacity: 1;
    position: relative;
}

/* Oklar */
.simple-slider__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: none;
    background-color: rgba(15, 23, 42, 0.72);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    z-index: 5;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.simple-slider__arrow--prev {
    left: 14px;
}

.simple-slider__arrow--next {
    right: 14px;
}

.simple-slider__arrow:hover {
    background-color: rgba(15, 23, 42, 0.9);
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.55);
}

/* Dot'lar */
.simple-slider__dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}

.simple-slider__dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    border: none;
    background-color: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    padding: 0;
}

.simple-slider__dot.is-active {
    width: 18px;
    background-color: #f97316;
}

/* Mobilde biraz daha alçak dursun */
@media (max-width: 768px) {
    .simple-slider {
        border-radius: 14px;
    }

    .simple-slider__arrow {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }
}

/* =========================================================
   ==================  STATIC HERO IMAGE  ==================
   ========================================================= */

/* Tek görselli hero'larda kullandığın img'ler için */
.static-hero-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 24px 65px rgba(15, 23, 42, 0.28);
}

/* ==================  HERO IMAGE BLOCK (GENEL)  ================== */

.hero-image-block {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    margin-top: 32px;
    min-height: 380px;
    box-shadow: 0 24px 65px rgba(15, 23, 42, 0.28);
}

.hero-image-block img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.hero-image-block__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 23, 42, 0.85),
        rgba(15, 23, 42, 0.55)
    );
}

/* HERO METNİ */

.hero-image-block__content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    padding: 48px 24px;
}

.hero-image-block__content h1 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #ffffff;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.75);
}

.hero-image-block__content p {
    max-width: 780px;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #ffffff;
    opacity: 1;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.8);
}

/* HERO IMAGE BLOCK – MOBİL */

@media (max-width: 768px) {
    .hero-image-block {
        margin-top: 24px;
        border-radius: 16px;
    }

    .hero-image-block__content {
        padding: 32px 20px;
        padding-top: 120px;
    }

    .hero-image-block__content h1 {
        font-size: 1.8rem;
    }

    .hero-image-block__content p {
        font-size: 0.95rem;
    }
}

/* =========================================================
   ========================  BUTTONS  ======================
   ========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: 999px;
    border: none;
    background-color: var(--color-secondary);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.1s ease, box-shadow 0.1s ease;
    box-shadow: 0 8px 20px rgba(255, 122, 0, 0.3);
}

.btn:hover {
    background-color: #E06600;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(255, 122, 0, 0.35);
}

.btn--outline {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
    box-shadow: none;
}

.btn--outline:hover {
    background-color: #ffffff;
    color: var(--color-primary);
}

/* =========================================================
   =========================  CARDS  =======================
   ========================================================= */

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.card {
    background-color: #ffffff;
    border-radius: 10px;
    border: 1px solid var(--color-border);
    padding: 20px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.03);
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
    border-color: rgba(255, 122, 0, 0.7);
}

.card h3 {
    margin-bottom: 10px;
}

.card p {
    margin-bottom: 0;
    color: var(--color-text-muted);
}

.card-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 992px) {
    .card-grid--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .card-grid--4 {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   ==================  CONTACT LAYOUT  ======================
   ========================================================= */

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
    gap: 24px;
    align-items: stretch;
}

/* Sol tarafta adres kartları üst üste */
.contact-addresses {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.contact-form-card {
    display: flex;
    flex-direction: column;
}

.contact-form-card form {
    margin-top: 12px;
}

/* Responsive */
@media (max-width: 992px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-form-card {
        order: -1; /* Formu üstte göstermek istersen */
    }
}
/* KONUM & İLETİŞİM – Soldaki adres kartlarını dikey ortala */
.contact-layout .contact-addresses .card {
    display: flex;
    flex-direction: column;
    justify-content: center;     /* dikeyde ortalama */
    padding: 40px 32px;          /* üst–alt ve yan boşluklar bol olsun */
    min-height: 260px;           /* kart yüksekliği – gerekirse 240/280 ile oynayabilirsin */
    gap: 12px;                   /* başlık ile metin arası mesafe */
}

/* Adres kartlarındaki başlık ve paragraf boşlukları */
.contact-layout .contact-addresses .card h3 {
    margin: 0;
}

.contact-layout .contact-addresses .card p {
    margin: 0;
    line-height: 1.6;
}

/* =========================================================
   ======================  MAP SECTION  =====================
   ========================================================= */

.map-section {
    padding-top: 40px;
    padding-bottom: 60px;
}

.map-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
}

.map-wrapper iframe {
    display: block;
    width: 100%;
    height: 450px;
}

/* =========================================================
   =====================  WHATSAPP BUTTON  =================
   ========================================================= */

.whatsapp-button {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: var(--z-whatsapp);
    background-color: #25D366;
    color: #ffffff;
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.4);
    transition: background-color 0.2s ease, transform 0.1s ease, box-shadow 0.1s ease;
}

.whatsapp-button:hover {
    background-color: #1EBE5E;
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(37, 211, 102, 0.5);
}

/* =========================================================
   =========================  FOOTER  ======================
   ========================================================= */

.site-footer {
    background-color: var(--color-footer-bg);
    color: var(--color-footer-text);
    padding: 50px 0 24px;
    margin-top: 40px;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.footer-col h4 {
    font-size: 1rem;
    margin-bottom: 12px;
    color: #ffffff;
}

.footer-col ul {
    list-style: none;
}

.footer-col li + li {
    margin-top: 8px;
}

.footer-col a {
    color: var(--color-footer-text);
    font-size: 0.95rem;
}

.footer-col a:hover {
    color: var(--color-secondary);
}

.copyright {
    text-align: center;
    font-size: 0.85rem;
    color: #A0AEC0;
}

/* Responsive footer grid */
@media (max-width: 992px) {
    .footer-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .footer-columns {
        grid-template-columns: 1fr;
    }
}
.footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.4);
    margin-top: 24px;
    padding-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;    /* ortala */
    align-items: center;
    font-size: 0.85rem;
    color: #A0AEC0;
}

.footer-bottom-links {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 6px;
}

.footer-bottom-links a {
    color: #CBD5F5;
    font-size: 0.85rem;
}

.footer-bottom-links a:hover {
    color: var(--color-secondary);
}

/* Küçük ekranda zaten ortada kalacak, ek bir değişiklik gerekmez */


/* =========================================================
   ======================  COOKIE MODAL  ===================
   ========================================================= */

.cookie-backdrop {
    position: fixed;
    inset: 0;
    background-color: rgba(15, 23, 42, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: var(--z-cookie-modal);
}

.cookie-backdrop.is-visible {
    display: flex;
}

.cookie-modal {
    background-color: #ffffff;
    max-width: 520px;
    width: 90%;
    border-radius: 12px;
    padding: 24px 22px 20px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.25);
}

.cookie-modal h3 {
    margin-bottom: 8px;
}

.cookie-modal p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 18px;
}

.cookie-actions .btn {
    padding-inline: 16px;
    font-size: 0.9rem;
}

.cookie-actions .btn--secondary {
    background-color: #EDF2F7;
    color: var(--color-text);
    box-shadow: none;
}

.cookie-actions .btn--secondary:hover {
    background-color: #E2E8F0;
}

/* =========================================================
   =============  FAQ / SSS – PREMIUM TASARIM  =============
   ========================================================= */

.section--faq {
    background-color: #F5F7FB;
}

.faq-list {
    max-width: 880px;
    margin: 0 auto;
}

.faq-item {
    position: relative;
    border-radius: 14px;
    border: 1px solid #E2E8F0;
    background-color: #ffffff;
    margin-bottom: 12px;
    overflow: hidden;
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background-color 0.25s ease,
        transform 0.12s ease;
}

.faq-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 4px;
    border-radius: 999px;
    background: linear-gradient(180deg, #FF7A00, #16A7B8);
    opacity: 0;
    transform: scaleY(0.4);
    transform-origin: center;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.faq-item:hover {
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
    transform: translateY(-1px);
}

.faq-item.is-open {
    border-color: rgba(255, 122, 0, 0.7);
    background-color: #FDF7F1;
}

.faq-item.is-open::before {
    opacity: 1;
    transform: scaleY(1);
}

.faq-question {
    cursor: pointer;
    padding: 16px 20px 16px 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
}

.faq-question::before {
    content: "❓";
    position: absolute;
    left: 18px;
    font-size: 1.1rem;
    opacity: 0.85;
}

.faq-question h3 {
    font-size: 1rem;
    margin: 0;
    color: #111827;
}

.faq-toggle {
    font-size: 1.3rem;
    color: var(--color-secondary);
    transition: transform 0.25s ease;
}

.faq-item.is-open .faq-toggle {
    transform: rotate(90deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px 0 52px;
    font-size: 0.95rem;
    color: #4B5563;
    line-height: 1.7;
    transition:
        max-height 0.25s ease,
        padding-top 0.2s ease,
        padding-bottom 0.2s ease;
}

.faq-item.is-open .faq-answer {
    padding-top: 8px;
    padding-bottom: 14px;
}

.faq-more-wrapper {
    text-align: center;
    margin-top: 22px;
}

/* Mobil uyarlama */
@media (max-width: 640px) {
    .faq-list {
        max-width: 100%;
        padding: 0 12px;
    }

    .faq-question {
        padding: 14px 16px 14px 46px;
    }

    .faq-question::before {
        left: 14px;
    }

    .faq-answer {
        padding: 0 16px 0 46px;
    }
}

/* =========================================================
   ======================  FORMS & INPUTS  =================
   ========================================================= */

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.form-control,
select,
textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid var(--color-border);
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus,
select:focus,
textarea:focus {
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 1px rgba(255, 122, 0, 0.4);
}

.form-help {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-top: 4px;
}

.form-error {
    font-size: 0.8rem;
    color: var(--color-danger);
    margin-top: 4px;
}

/* =========================================================
   ==================  HOW-TO / PROCESS  ===================
   ========================================================= */

.callout-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 22px 26px;
    border-radius: 18px;
    background: linear-gradient(90deg, #111827 0%, #1F2937 45%, #0F172A 100%);
    color: #F9FAFB;
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.45);
    margin-top: 24px;
}

.callout-box h2 {
    color: #FFFFFF;
    margin-bottom: 8px;
    font-size: 1.4rem;
}

.callout-box p {
    color: #E5E7EB;
    line-height: 1.6;
}

.callout-box__content {
    max-width: 650px;
}

.callout-box__action .btn {
    background-color: var(--color-secondary);
    color: #ffffff;
    white-space: nowrap;
}

/* 4 ADIMLI SÜREÇ KARTLARI */

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.step-card {
    padding-top: 20px;
}

.step-card__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 10px;
    background-color: var(--color-secondary-soft);
    color: var(--color-secondary);
}

/* Evraklar için 2 sütunlu grid (genel) */
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

/* Kurumsal: 3 kart – büyük ekranlarda 3 sütun */
.info-grid--3col {
}

@media (min-width: 992px) {
    .info-grid--3col {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px;
    }
}

/* İpuçları listesi */

.tips-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.tips-item {
    padding: 18px 20px;
    border-radius: 14px;
    background-color: #F9FAFB;
    border: 1px solid var(--color-border);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.link-more {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-secondary);
}

/* =========================================================
   ======================  RESPONSIVE  =====================
   ========================================================= */

@media (max-width: 1024px) {
    .steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .tips-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 992px) {

    .main-header-inner {
        height: var(--header-height-mobile);
        flex-direction: column;
        justify-content: center;
        padding: 8px 0;
        gap: 6px;
    }

    .desktop-nav {
        display: none;
    }

    .main-header .logo {
        text-align: center;
    }

    .main-header .logo img {
        max-height: 56px;
    }

    .mobile-nav-trigger {
        display: block;
        text-align: center;
    }

    .hero-slider-inner {
        min-height: 420px;
    }

    .hero-content {
        align-items: flex-end;
    }

    .hero-content-inner {
        max-width: 100%;
    }

    .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {

    .top-bar,
    .topbar {
        padding: 4px 0;
        line-height: 1.3;
        font-size: 12px;
        text-align: center;
    }

    .main-header {
        padding-top: 4px;
        padding-bottom: 4px;
    }

    .main-header-inner {
        height: auto;
        flex-direction: column;
        align-items: center;
        gap: 4px;
    }

    .main-header .logo img {
        max-height: 48px;
    }

    .callout-box {
        align-items: flex-start;
    }

    .steps-grid,
    .info-grid,
    .tips-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .section {
        padding: 40px 0;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .hero-content {
        padding-bottom: 30px;
    }

    .hero-content-inner p {
        font-size: 0.95rem;
    }

    .whatsapp-button {
        right: 16px;
        bottom: 16px;
    }
}

/* =========================================================
   ======================  AD SLOTS  =======================
   ========================================================= */

.ad-slot {
    padding: 24px 0;
}

.ad-slot--top {
    border-bottom: 1px solid var(--color-border);
    background-color: #ffffff;
}

.ad-slot--middle {
    background-color: #ffffff;
}

.ad-slot ins.adsbygoogle {
    width: 100%;
}

/* =========================================================
   ===========  ARAÇ GRUPLARI ÖZEL BLOKLAR  ================
   ========================================================= */

.vehicle-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); /* görsel biraz daha geniş */
    gap: 28px;
    align-items: stretch;
    background: #ffffff;
    border-radius: 22px;
    box-shadow: 0 24px 65px rgba(15, 23, 42, 0.14);
    padding: 24px;
}

/* Görsel alanı */
.vehicle-feature__media {
    border-radius: 18px;
    overflow: hidden;
}

.vehicle-feature__media img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: none; /* global static-hero shadow'u bastır */
}

/* Metin alanı */
.vehicle-feature__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.vehicle-feature__content h2 {
    margin-bottom: 12px;
}

.vehicle-feature__content p {
    margin-bottom: 16px;
    color: var(--color-text-muted);
}

/* Görseli sağa aldığımız varyant */
.vehicle-feature--reverse {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
}

.vehicle-feature--reverse .vehicle-feature__media {
    order: 2;
}

.vehicle-feature--reverse .vehicle-feature__content {
    order: 1;
}

/* Mobil düzen */
@media (max-width: 768px) {
    .vehicle-feature,
    .vehicle-feature--reverse {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    .vehicle-feature__media img {
        max-height: 280px;
    }

    /* Mobilde sıralamayı düzleştir – önce görsel, sonra metin */
    .vehicle-feature--reverse .vehicle-feature__media,
    .vehicle-feature--reverse .vehicle-feature__content {
        order: unset;
    }
}
/* ========== HERO / SLIDER – MOBİL OPTİMİZASYON ========== */
@media (max-width: 768px) {

    /* Görsel biraz daha alçak olsun */
    .slide img {
        max-height: 460px;
    }

    /* Metin bloğunu kart gibi yapalım */
    .hero-content {
        align-items: flex-end;
        padding: 0 14px 30px;   /* alttaki siyah alan daralsın */
    }

    .hero-content-inner {
        max-width: 100%;
        background: rgba(0, 0, 0, 0.78);   /* tam siyah yerine yarı saydam */
        border-radius: 16px;
        padding: 12px 14px 10px;
    }

    .hero-content-inner h1 {
        font-size: 1.4rem;
        margin-bottom: 8px;
    }

    .hero-content-inner p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 12px;
    }

    /* Butonları küçült, arayı aç */
    .hero-content-inner .btn {
        padding: 7px 18px;
        font-size: 0.84rem;
        box-shadow: 0 6px 14px rgba(255, 122, 0, 0.35);
    }

    .hero-content-inner .btn + .btn {
        margin-left: 8px;
    }

    /* Noktalar biraz aşağıda ve sade */
    .slider-dots {
        bottom: 8px;
    }
}

@media (max-width: 640px) {
    .hero-content {
        padding: 0 12px 24px;
    }

    .hero-content-inner h1 {
        font-size: 1.3rem;
    }

    .hero-content-inner p {
        font-size: 0.86rem;
    }

    .hero-content-inner .btn {
        padding: 6px 16px;
        font-size: 0.8rem;
    }
}
