/* =====================================================
   Beta Otomotiv — Ağır Vasıta Kamyon & Otobüs Yedek Parça
   =====================================================
   Renk Sistemi:
     --primary:     #CC0000  (ana marka kırmızı)
     --primary-d:   #A80000  (koyu kırmızı vurgu)
     --primary-light: #FF4444 (açık kırmızı)
     --dark:        #1A1A2E  (koyu arka plan)
     --navy:        #16213E  (lacivert)
     --white:       #FFFFFF
     --light:       #F8F9FA  (açık gri arka plan)
     --surface:     #FFFFFF  (kart yüzey)
     --text:        #1F2937  (ana metin)
     --muted:       #6B7280  (ikincil metin)
     --border:      #E5E7EB  (kenarlık)
     --success:     #25D366  (whatsapp)
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
    --primary:        #CC0000;
    --primary-d:      #A80000;
    --primary-light:  #FF4444;
    --dark:           #1A1A2E;
    --navy:           #16213E;
    --white:          #FFFFFF;
    --light:          #F8F9FA;
    --surface:        #FFFFFF;
    --text:           #1F2937;
    --muted:          #6B7280;
    --border:         #E5E7EB;
    --success:        #25D366;
    --shadow-sm:      0 1px 3px rgba(0,0,0,0.08);
    --shadow:         0 4px 16px rgba(0,0,0,0.10);
    --shadow-lg:      0 8px 32px rgba(0,0,0,0.14);
    --radius:         8px;
    --radius-lg:      14px;
    --transition:     all 0.25s ease;

    /* Geriye uyumluluk — eski PHP dosyaları bunları kullanıyor */
    --marin-blue:     var(--primary);
    --marin-navy:     var(--primary-d);
    --marin-dark:     var(--dark);
    --marin-accent:   var(--primary-light);
    --marin-light:    var(--light);
    --zf-red:         var(--primary);
    --zf-red-dark:    var(--primary-d);
    --zf-gray-light:  var(--light);
    --zf-gray:        var(--muted);
    --zf-dark:        var(--dark);
    --beta-red:       var(--primary);
    --sea:            var(--primary);
    --sea-accent:     var(--primary-light);
    --bg-zf-gray:     var(--light);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 15px;
    line-height: 1.65;
    color: var(--text);
    background: var(--light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
a:hover { color: var(--primary); }
img { max-width: 100%; height: auto; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { font-family: 'Inter', sans-serif; }

/* ===== UTILITY ===== */
.text-beta-red,
.text-zf-red,
.text-primary-brand { color: var(--primary) !important; }

.bg-zf-blue,
.bg-zf-red,
.bg-primary-brand { background-color: var(--primary) !important; }

.bg-zf-gray,
.bg-light-brand { background-color: #F3F4F6 !important; }

section { position: relative; z-index: 1; }

/* ===== TOPBAR ===== */
.topbar {
    background: var(--primary-d);
    color: rgba(255,255,255,0.90);
    font-size: 13px;
    padding: 7px 0;
    position: relative;
    z-index: 1060;
}
.topbar a {
    color: rgba(255,255,255,0.90);
    transition: var(--transition);
}
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar i { color: rgba(255,255,255,0.70); margin-right: 4px; }
.topbar-social {
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px; border-radius: 50%;
    background: rgba(255,255,255,0.15); color: #fff;
    font-size: 12px; margin-left: 5px;
    transition: var(--transition);
}
.topbar-social:hover { background: rgba(255,255,255,0.30); color: #fff; }

/* ===== NAVBAR ===== */
#mainNav {
    background: var(--primary);
    box-shadow: 0 2px 16px rgba(0,0,0,0.20);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1050;
    transition: box-shadow 0.25s ease;
}
#mainNav.scrolled {
    box-shadow: var(--shadow-lg);
    background: var(--primary);
}
#mainNav .container { padding-top: 0; padding-bottom: 0; }

/* Logo */
.navbar-brand { padding: 10px 0; }
.navbar-logo { max-height: 50px; width: auto; }
.navbar-logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-main {
    font-size: 20px; font-weight: 800;
    color: #fff; letter-spacing: 0.3px;
}
.logo-sub {
    font-size: 10px; font-weight: 600;
    color: rgba(255,255,255,0.75);
    letter-spacing: 2px; text-transform: uppercase;
}

/* Nav Links */
.navbar-nav .nav-link {
    color: rgba(255,255,255,0.92) !important;
    font-weight: 500; font-size: 14px;
    padding: 18px 14px !important;
    letter-spacing: 0.2px;
    position: relative;
    transition: var(--transition);
}
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%; right: 50%;
    height: 3px;
    background: rgba(255,255,255,0.70);
    transition: var(--transition);
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #fff !important;
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    left: 14px; right: 14px;
}

/* Dropdown Menu */
.dropdown-menu {
    border: none;
    border-top: 3px solid var(--primary);
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 6px 0;
    min-width: 220px;
    background: var(--surface);
}
.dropdown-item {
    font-size: 14px; font-weight: 500;
    padding: 9px 18px; color: var(--text);
    transition: var(--transition);
}
.dropdown-item:hover {
    background: #FEF2F2;
    color: var(--primary);
    padding-left: 24px;
}
.dropdown-item.active,
.dropdown-item:active {
    background: var(--primary);
    color: #fff;
}

/* Hamburger rengi */
.navbar-toggler { border: 1.5px solid rgba(255,255,255,0.5); padding: 6px 10px; }
.navbar-toggler-icon { filter: invert(1); }
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(255,255,255,0.25); }

/* Navbar WhatsApp Butonu */
.btn-whatsapp {
    background: var(--success); color: #fff !important;
    border-radius: 50px; font-size: 13px; font-weight: 600;
    padding: 8px 18px; transition: var(--transition);
    border: none;
}
.btn-whatsapp:hover {
    background: #1da851; color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37,211,102,0.35);
}

/* ===== HERO SLIDER ===== */
.hero-slider {
    position: relative;
    overflow: hidden;
}
.hero-slider .carousel-item {
    min-height: 520px;
    height: 580px;
    background: var(--dark);
    position: relative;
}
.hero-slider .carousel-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.45;
}
.hero-slider .carousel-item::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(
        to right,
        rgba(26,26,46,0.75) 0%,
        rgba(26,26,46,0.40) 60%,
        rgba(26,26,46,0.15) 100%
    );
    z-index: 1;
}
.hero-slider .carousel-caption {
    position: absolute;
    bottom: auto; top: 50%;
    transform: translateY(-50%);
    left: 8%; right: 45%;
    text-align: left;
    z-index: 2;
    padding: 0;
}
.hero-slider .carousel-caption h1 {
    font-size: clamp(1.6rem, 4vw, 2.8rem);
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
    margin-bottom: 12px;
    line-height: 1.2;
}
.hero-slider .carousel-caption p {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: rgba(255,255,255,0.88);
    max-width: 500px;
    text-shadow: 0 1px 6px rgba(0,0,0,0.35);
    margin-bottom: 24px;
    line-height: 1.6;
}
.hero-slider .carousel-indicators [data-bs-target] {
    width: 36px; height: 3px;
    background: rgba(255,255,255,0.35);
    border-radius: 2px; border: none;
    transition: var(--transition);
}
.hero-slider .carousel-indicators .active {
    background: var(--primary-light);
    width: 52px;
}

/* ===== PAGE HERO (İç Sayfa Başlığı) ===== */
.page-hero {
    background: linear-gradient(135deg, var(--primary-d) 0%, var(--dark) 100%);
    padding: 80px 0 56px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero h1 {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 800; margin-bottom: 10px;
    position: relative;
}
.page-hero .breadcrumb {
    background: transparent; padding: 0; margin: 0;
    position: relative;
}
.page-hero .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.40);
}
.page-hero .breadcrumb-item a {
    color: rgba(255,255,255,0.75);
}
.page-hero .breadcrumb-item a:hover { color: #fff; }
.page-hero .breadcrumb-item.active {
    color: var(--primary-light);
}

/* ===== SECTION HEADERS ===== */
.section-header { margin-bottom: 40px; }
.section-header h2 {
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    font-weight: 800; color: var(--text);
    margin-bottom: 8px; letter-spacing: -0.3px;
}
.section-divider {
    width: 50px; height: 3px;
    background: var(--primary);
    border-radius: 2px;
    margin: 0 auto 14px;
    display: block;
}
.section-divider.left { margin-left: 0; margin-right: auto; }
.section-header p {
    color: var(--muted);
    max-width: 540px; font-size: 15px;
}
.section-header h2::after { display: none; }

/* ===== BUTONLAR ===== */
.btn-zf-red,
.btn-beta-red {
    background: var(--primary);
    color: #fff; border: none;
    border-radius: 50px;
    padding: 12px 28px;
    font-weight: 600; font-size: 14px;
    display: inline-block;
    transition: var(--transition);
    cursor: pointer;
}
.btn-zf-red:hover,
.btn-beta-red:hover {
    background: var(--primary-d);
    color: #fff;
    transform: scale(1.02);
    box-shadow: 0 4px 16px rgba(204,0,0,0.30);
}

.btn-outline-zf {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
    border-radius: 50px;
    padding: 10px 24px;
    font-weight: 600; font-size: 14px;
    display: inline-block;
    transition: var(--transition);
}
.btn-outline-zf:hover {
    background: var(--primary); color: #fff;
    transform: scale(1.02);
}

.btn-cta-white {
    background: #fff;
    color: var(--primary);
    border: 2px solid #fff;
    border-radius: 50px;
    padding: 14px 36px;
    font-weight: 700; font-size: 15px;
    display: inline-block;
    transition: var(--transition);
}
.btn-cta-white:hover {
    background: transparent;
    color: #fff;
    transform: scale(1.02);
    box-shadow: 0 6px 24px rgba(0,0,0,0.20);
}

/* ===== SCROLL ROW WRAPPER ===== */
.scroll-row-wrapper { position: relative; }
.scroll-row-wrapper::before,
.scroll-row-wrapper::after {
    content: ''; position: absolute;
    top: 0; bottom: 12px; width: 40px;
    pointer-events: none; z-index: 2;
}
.scroll-row-wrapper::after {
    right: 0;
    background: linear-gradient(to right, transparent, var(--light));
}
.scroll-row-wrapper::before {
    left: 0;
    background: linear-gradient(to left, transparent, var(--light));
    opacity: 0;
}
.scroll-row-wrapper.no-bg::after {
    background: linear-gradient(to right, transparent, #fff);
}
.scroll-row-wrapper.no-bg::before {
    background: linear-gradient(to left, transparent, #fff);
}

/* ===== SCROLL ARROW BUTTONS ===== */
.scroll-arrow {
    position: absolute; top: 50%;
    transform: translateY(calc(-50% - 6px));
    z-index: 5; width: 38px; height: 38px;
    border-radius: 50%; border: none;
    background: var(--primary);
    color: #fff; font-size: 13px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}
.scroll-arrow:hover {
    background: var(--primary-d);
    box-shadow: var(--shadow-lg);
}
.scroll-arrow.left { left: -14px; }
.scroll-arrow.right { right: -14px; }
@media (max-width: 768px) { .scroll-arrow { display: none; } }

/* ===== KATEGORİ KART (Küçük Kare - Tek Satır) ===== */
.small-square-grid {
    display: flex; gap: 14px;
    overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
}
.small-square-grid::-webkit-scrollbar { height: 5px; }
.small-square-grid::-webkit-scrollbar-thumb {
    background: var(--primary); border-radius: 3px;
}

.small-square-card {
    min-width: 136px; max-width: 156px;
    flex: 0 0 auto; scroll-snap-align: start;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-lg);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
    cursor: pointer; padding: 14px 8px;
    color: inherit; text-decoration: none;
}
.small-square-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}
.small-square-card:hover .card-label { color: var(--primary); }
.small-square-card:hover .card-icon {
    background: var(--primary);
    color: #fff;
}

.small-square-card .card-icon {
    width: 48px; height: 48px; border-radius: 50%;
    background: #FEE2E2;
    color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 10px; flex-shrink: 0;
    transition: var(--transition);
}
.small-square-card .card-label {
    font-size: 12px; font-weight: 700;
    color: var(--text); line-height: 1.3;
    transition: var(--transition);
}
@media (max-width: 576px) {
    .small-square-card { min-width: 116px; max-width: 128px; }
}

/* ===== MARKA KARTLAR (Brand Grid - Tek Satır) ===== */
.brand-grid {
    display: flex; gap: 12px;
    overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
}
.brand-grid::-webkit-scrollbar { height: 5px; }
.brand-grid::-webkit-scrollbar-thumb {
    background: var(--primary); border-radius: 3px;
}

.brand-square {
    min-width: 108px; max-width: 126px;
    flex: 0 0 auto; scroll-snap-align: start;
    aspect-ratio: 1 / 1;
    background: var(--surface);
    border-radius: var(--radius);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
    padding: 10px 6px; text-align: center;
}
.brand-square:hover {
    box-shadow: var(--shadow);
    border-color: var(--primary);
    transform: translateY(-3px);
}
.brand-square img {
    max-width: 68%; max-height: 44px;
    object-fit: contain;
    filter: grayscale(40%); opacity: 0.85;
    transition: var(--transition);
}
.brand-square:hover img { filter: grayscale(0%); opacity: 1; }
.brand-square .brand-name {
    font-size: 9px; font-weight: 700;
    color: var(--muted); margin-top: 6px;
    text-transform: uppercase; letter-spacing: 0.5px;
}
@media (max-width: 576px) {
    .brand-square { min-width: 92px; max-width: 108px; }
}

/* ===== HİZMET KARTLARI (5'li Grid) ===== */
.hizmet-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}
@media (max-width: 1200px) { .hizmet-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { .hizmet-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .hizmet-grid { grid-template-columns: 1fr; } }

.hizmet-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 24px 18px; text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    border-top: 3px solid transparent;
    transition: var(--transition);
    position: relative; overflow: hidden;
    display: block; color: inherit; text-decoration: none;
}
.hizmet-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-top-color: var(--primary);
    color: inherit;
}
.hizmet-card .hizmet-icon {
    width: 56px; height: 56px; border-radius: 50%;
    background: #FEE2E2;
    color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 14px;
    transition: var(--transition);
}
.hizmet-card:hover .hizmet-icon {
    background: var(--primary);
    color: #fff;
    transform: scale(1.08);
}
.hizmet-card h4 {
    font-size: 0.9rem; font-weight: 700;
    color: var(--text); margin-bottom: 8px;
}
.hizmet-card p {
    font-size: 13px; color: var(--muted);
    margin: 0; line-height: 1.55;
}
.hizmet-card .hizmet-img {
    width: 100%; height: 110px;
    object-fit: cover; border-radius: var(--radius);
    margin-bottom: 12px;
}

/* ===== HAKKIMIZDA (Ana Sayfa) ===== */
.home-about {
    background: linear-gradient(135deg, var(--primary-d) 0%, var(--dark) 60%, var(--navy) 100%);
    padding: 72px 0; color: #fff;
    position: relative; overflow: hidden;
}
.home-about::before {
    content: '';
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M0 0h40v40H0V0zm40 40h40v40H40V40z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.home-about .section-header h2 { color: #fff; }
.home-about .section-divider { background: rgba(255,255,255,0.60); }
.home-about .section-header p { color: rgba(255,255,255,0.80); }

.home-about-feature {
    display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px;
    position: relative; z-index: 1;
}
.home-about-feature .fa-check-circle {
    font-size: 1.1rem; color: #FF8080;
    flex-shrink: 0; margin-top: 3px;
}
.home-about-feature p {
    font-size: 14px; color: rgba(255,255,255,0.88); margin: 0;
}

.home-about-stats {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 14px; position: relative; z-index: 1;
}
.home-about-stat {
    background: rgba(255,255,255,0.10);
    border-radius: var(--radius-lg);
    padding: 22px; text-align: center;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.12);
    transition: var(--transition);
}
.home-about-stat:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-2px);
}
.home-about-stat .stat-num {
    font-size: 2rem; font-weight: 800;
    color: #FF8080; display: block;
}
.home-about-stat .stat-lbl {
    font-size: 11px; color: rgba(255,255,255,0.70);
    text-transform: uppercase; letter-spacing: 1px; margin-top: 4px;
}

/* ===== FEATURE BOX (Neden Biz) ===== */
.feature-box {
    text-align: center; padding: 28px 18px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    border-left: 3px solid transparent;
    transition: var(--transition); height: 100%;
}
.feature-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-left-color: var(--primary);
}
.feature-icon {
    width: 60px; height: 60px; border-radius: 50%;
    background: #FEE2E2;
    color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 16px;
    transition: var(--transition);
}
.feature-box:hover .feature-icon {
    background: var(--primary);
    color: #fff;
}
.feature-box h4 {
    font-size: 0.95rem; font-weight: 700;
    color: var(--text); margin-bottom: 6px;
}
.feature-box p { color: var(--muted); font-size: 13px; margin: 0; }

/* ===== CTA SECTION ===== */
.cta-section {
    background: var(--primary-d);
    padding: 72px 0; color: #fff; text-align: center;
    position: relative; overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, var(--primary-d) 0%, #7A0000 100%);
    opacity: 0.85;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800; margin-bottom: 10px;
}
.cta-section p {
    opacity: 0.85; max-width: 500px;
    margin: 0 auto 28px; font-size: 15px;
}

/* ===== ÜRÜN KARTLARI ===== */
.product-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    border-top: 3px solid transparent;
    transition: var(--transition);
    height: 100%; display: flex; flex-direction: column;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-top-color: var(--primary);
}
.product-card-img {
    height: 170px; background: var(--light);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.product-card-img img {
    width: 100%; height: 100%;
    object-fit: cover; transition: var(--transition);
}
.product-card:hover .product-card-img img { transform: scale(1.04); }
.product-card-img .product-icon {
    font-size: 2.5rem; color: var(--primary); opacity: 0.30;
}
.product-placeholder {
    width: 100%; height: 100%;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    background: linear-gradient(135deg, #F8F9FA 0%, #F1F3F5 100%);
    gap: 8px;
}
.product-placeholder i {
    font-size: 2.8rem; color: var(--primary); opacity: 0.20;
}
.product-placeholder span {
    font-size: 11px; font-weight: 700; color: var(--primary);
    opacity: 0.25; letter-spacing: 1px; text-transform: uppercase;
}
.product-card-body {
    padding: 16px; flex: 1;
    display: flex; flex-direction: column;
}
.product-card-body h5 {
    font-size: 14px; font-weight: 700; color: var(--text);
    margin-bottom: 4px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; line-height: 1.4;
}
.product-card-body p {
    font-size: 12px; color: var(--muted); margin: 0;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; line-height: 1.5;
}
.product-card-body .mt-3 { margin-top: auto !important; }
.product-card-cat {
    display: inline-block; font-size: 10px; font-weight: 600;
    color: var(--primary);
    background: #FEE2E2;
    border-radius: 20px; padding: 2px 10px;
    margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px;
}

/* ===== PARÇA SOR BAR ===== */
.parts-inquiry-bar {
    position: sticky; top: 60px; z-index: 100;
    background: var(--primary);
    padding: 12px 0;
    box-shadow: 0 2px 12px rgba(204,0,0,0.25);
}
.parts-inquiry-bar .container {
    display: flex; align-items: center;
    justify-content: space-between;
    gap: 16px; flex-wrap: wrap;
}
.parts-inquiry-bar .inquiry-text {
    color: #fff; font-size: 14px; font-weight: 600;
}
.parts-inquiry-bar .btn-inquiry {
    background: #fff; color: var(--primary);
    border: none; border-radius: 50px;
    padding: 8px 24px; font-weight: 700; font-size: 13px;
    transition: var(--transition);
    white-space: nowrap;
}
.parts-inquiry-bar .btn-inquiry:hover {
    background: var(--dark); color: #fff;
    transform: translateY(-1px);
}

/* ===== KATEGORİ DETAY SAYFASI ===== */
.cat-detail-hero-icon {
    width: 80px; height: 80px; border-radius: 20px;
    background: rgba(255,255,255,0.15);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 2rem; color: #fff;
    backdrop-filter: blur(6px); margin-bottom: 16px;
}
.cat-lead {
    font-size: 16px; line-height: 1.8; color: var(--text);
}
.cat-panel {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 28px; box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
}
.cat-panel h3 {
    font-size: 1.05rem; font-weight: 800; color: var(--text);
    margin-bottom: 16px; display: flex; align-items: center; gap: 8px;
}
.cat-scope-list {
    list-style: none; padding: 0; margin: 0;
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 16px;
}
@media (max-width: 640px) {
    .cat-scope-list { grid-template-columns: 1fr; }
}
.cat-scope-list li {
    display: flex; align-items: flex-start; gap: 8px;
    font-size: 13px; color: var(--text); line-height: 1.5;
}
.cat-scope-list li i {
    color: var(--primary); margin-top: 3px; flex-shrink: 0;
}
.cat-scope-list li i.fa-check-circle,
.cat-scope-list li i.fa-check {
    color: var(--primary);
}

.cat-side-card {
    background: var(--surface); border-radius: var(--radius-lg);
    padding: 24px; border: 1px solid var(--border);
    border-left: 3px solid var(--primary);
    box-shadow: var(--shadow-sm);
}
.cat-side-card h4 {
    font-size: 0.9rem; font-weight: 800; color: var(--text);
    text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 14px;
}

/* Chip/Tag stil kategoriler (Kaggle etkisi) */
.cat-brand-chip {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 5px 12px; margin: 3px 3px 3px 0;
    font-size: 11px; font-weight: 700;
    color: var(--primary);
    background: #FEE2E2;
    border: 1px solid rgba(204,0,0,0.20);
    border-radius: 50px; transition: var(--transition);
    cursor: pointer; text-decoration: none;
}
.cat-brand-chip:hover {
    background: var(--primary); color: #fff;
    border-color: var(--primary);
    transform: translateY(-1px);
}

/* ===== BANNER ===== */
.beta-banner {
    position: relative; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    background-size: cover; background-position: center;
}
.beta-banner .banner-overlay {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(135deg, rgba(168,0,0,0.85), rgba(26,26,46,0.85));
}
.beta-banner .banner-content {
    position: relative; z-index: 2;
    max-width: 680px; padding: 48px 24px;
}
.beta-banner .banner-content h2 {
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    font-weight: 800; color: #fff; margin-bottom: 10px;
}
.beta-banner .banner-content p {
    font-size: clamp(0.88rem, 1.6vw, 1.05rem);
    color: rgba(255,255,255,0.90); margin-bottom: 20px;
}
.beta-banner .btn-banner {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    color: #fff; border: 2px solid rgba(255,255,255,0.55);
    border-radius: 50px; padding: 11px 28px;
    font-weight: 700; font-size: 13px;
    backdrop-filter: blur(4px);
    transition: var(--transition);
}
.beta-banner .btn-banner:hover {
    background: rgba(255,255,255,0.28);
    border-color: #fff; color: #fff;
    transform: translateY(-2px);
}

/* marine-banner geriye uyumluluk */
.marine-banner { }
.marine-banner .banner-overlay { position: absolute; inset: 0; z-index: 1; }
.marine-banner .banner-content {
    position: relative; z-index: 2;
    max-width: 680px; padding: 44px 24px;
}
.marine-banner .banner-content h2 {
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    font-weight: 800; color: #fff; margin-bottom: 10px;
}
.marine-banner .banner-content p {
    font-size: clamp(0.88rem, 1.6vw, 1.05rem);
    color: rgba(255,255,255,0.90); margin-bottom: 18px;
}
.marine-banner .btn-banner {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    color: #fff; border: 2px solid rgba(255,255,255,0.50);
    border-radius: 50px; padding: 11px 28px;
    font-weight: 700; font-size: 13px;
    backdrop-filter: blur(4px);
    transition: var(--transition);
}
.marine-banner .btn-banner:hover {
    background: rgba(255,255,255,0.30);
    border-color: #fff;
    transform: translateY(-2px);
}
.section-sea-bg { background-color: var(--light); }

/* ===== İLETİŞİM ===== */
.contact-info-box {
    background: linear-gradient(135deg, var(--primary-d), var(--dark));
    color: #fff; border-radius: var(--radius-lg);
    padding: 32px; height: 100%;
}
.contact-info-box h3 {
    font-size: 1.2rem; font-weight: 700; margin-bottom: 20px;
}
.contact-info-item {
    display: flex; align-items: flex-start; margin-bottom: 18px;
}
.contact-info-item .icon {
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; margin-right: 12px;
}
.contact-info-item .icon i { color: rgba(255,255,255,0.85); }
.contact-info-item .text { font-size: 14px; opacity: 0.90; }
.contact-info-item .text strong {
    display: block; font-weight: 600;
    opacity: 1; margin-bottom: 2px;
}

.contact-form-card {
    background: var(--surface); border-radius: var(--radius-lg);
    padding: 32px; box-shadow: var(--shadow); height: 100%;
}

/* ===== FORM ===== */
.form-label { font-weight: 600; font-size: 13px; color: var(--text); }
.form-control, .form-select {
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 10px 14px; font-size: 14px;
    transition: var(--transition);
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(204,0,0,0.10);
    outline: none;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.75);
}
.footer-top { padding: 56px 0 36px; }
.footer-logo-text {
    font-size: 20px; font-weight: 800; color: #fff;
}
.footer-slogan {
    font-size: 10px; text-transform: uppercase;
    letter-spacing: 2px; color: rgba(255,255,255,0.55); margin-top: 2px;
}
.footer-desc {
    font-size: 13px; opacity: 0.65;
    margin-top: 10px; line-height: 1.7;
}

/* Footer Başlıklar */
.footer-heading {
    font-size: 13px; font-weight: 700;
    color: var(--primary);
    text-transform: uppercase; letter-spacing: 0.5px;
    margin-bottom: 18px; padding-bottom: 8px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

/* Footer Linkler */
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links li a {
    color: rgba(255,255,255,0.65); font-size: 13px;
    display: flex; align-items: center; gap: 6px;
    transition: var(--transition);
}
.footer-links li a:hover {
    color: var(--primary-light);
    padding-left: 3px;
}
.footer-links li a i { color: rgba(255,255,255,0.35); font-size: 10px; }

/* Footer İletişim */
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li {
    display: flex; align-items: flex-start; gap: 10px;
    margin-bottom: 10px; font-size: 13px;
    color: rgba(255,255,255,0.65);
}
.footer-contact li i { color: var(--primary); margin-top: 3px; flex-shrink: 0; }
.footer-contact li a { color: rgba(255,255,255,0.65); }
.footer-contact li a:hover { color: var(--primary-light); }

/* Footer Social */
.footer-social { display: flex; gap: 8px; }
.footer-social a {
    width: 34px; height: 34px; border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center;
    color: var(--primary); font-size: 13px;
    transition: var(--transition);
    border: 1px solid rgba(204,0,0,0.25);
}
.footer-social a:hover {
    background: var(--primary); color: #fff;
    transform: translateY(-2px);
    border-color: var(--primary);
}

/* Footer Alt */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    background: rgba(0,0,0,0.20);
    padding: 16px 0; font-size: 12px;
    color: rgba(255,255,255,0.40);
}
.footer-policy-link {
    color: rgba(255,255,255,0.40); font-size: 12px;
}
.footer-policy-link:hover { color: var(--primary-light); }
.footer-policy-sep { color: rgba(255,255,255,0.15); margin: 0 6px; }

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed; bottom: 22px; right: 22px;
    width: 40px; height: 40px;
    background: var(--primary); color: #fff;
    border: none; border-radius: var(--radius);
    display: none; align-items: center; justify-content: center;
    font-size: 14px; cursor: pointer;
    z-index: 9996; transition: var(--transition);
    box-shadow: 0 4px 12px rgba(204,0,0,0.35);
}
.back-to-top:hover {
    background: var(--primary-d);
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(204,0,0,0.40);
}
.back-to-top.show { display: flex; }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed; bottom: 76px; right: 22px;
    width: 50px; height: 50px; background: var(--success);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.45rem; color: #fff;
    z-index: 9997;
    box-shadow: 0 4px 16px rgba(37,211,102,0.40);
    transition: var(--transition);
    text-decoration: none;
}
.whatsapp-float:hover {
    background: #1da851; color: #fff;
    transform: scale(1.12);
    box-shadow: 0 6px 22px rgba(37,211,102,0.50);
}

/* ===== ÇEREZ BANNER ===== */
.cookie-consent {
    position: fixed; bottom: 0; left: 0; right: 0;
    background: rgba(26,26,46,0.97);
    color: #fff; padding: 16px 0;
    z-index: 9998;
    border-top: 3px solid var(--primary);
    font-size: 13px;
    backdrop-filter: blur(8px);
}
.cookie-consent a { color: #FF8080; text-decoration: underline; }
.cookie-consent .btn-cookie-accept {
    background: var(--primary); color: #fff;
    border: none; border-radius: 50px;
    padding: 8px 22px; font-weight: 600; font-size: 13px;
    transition: var(--transition); cursor: pointer;
}
.cookie-consent .btn-cookie-accept:hover {
    background: var(--primary-d);
}

/* ===== BREADCRUMB ===== */
.breadcrumb-item.active { color: var(--primary); }
.breadcrumb-item a { color: var(--muted); }
.breadcrumb-item a:hover { color: var(--primary); }

/* ===== DİL SEÇİCİ ===== */
.lang-switcher {
    display: inline-block; position: relative; z-index: 1100;
}
.lang-btn {
    background: rgba(255,255,255,0.12) !important;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,0.25) !important;
    font-size: 12px !important; font-weight: 600;
    padding: 3px 12px !important;
    border-radius: 20px !important; line-height: 1.6;
    transition: var(--transition);
}
.lang-btn:hover, .lang-btn:focus {
    background: rgba(255,255,255,0.22) !important;
    border-color: rgba(255,255,255,0.45) !important;
}
.lang-switcher .dropdown-menu.show {
    z-index: 9999 !important; display: block !important;
}
.lang-dropdown {
    min-width: 156px !important; border: none !important;
    border-top: 3px solid var(--primary) !important;
    border-radius: 0 0 var(--radius) var(--radius) !important;
    box-shadow: 0 6px 24px rgba(0,0,0,0.20) !important;
    padding: 4px 0 !important;
    z-index: 9999 !important;
    background: #fff !important;
    position: absolute !important;
}
.lang-dropdown .dropdown-item {
    font-size: 13px; font-weight: 500;
    padding: 7px 14px; transition: var(--transition);
    color: var(--text) !important;
    background: transparent !important;
}
.lang-dropdown .dropdown-item:hover {
    background: #FEF2F2 !important;
    color: var(--primary) !important;
}
.lang-dropdown .dropdown-item.active {
    background: var(--primary) !important;
    color: #fff !important;
}

/* ===== SERVİS SAYFALARI ===== */
.category-page-icon {
    width: 72px; height: 72px; border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; margin-bottom: 16px;
}
.service-item {
    display: flex; align-items: flex-start;
    padding: 18px; background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    margin-bottom: 14px; transition: var(--transition);
}
.service-item:hover {
    transform: translateX(3px);
    box-shadow: var(--shadow);
    border-left: 3px solid var(--primary);
}
.service-item-icon {
    width: 44px; height: 44px; border-radius: var(--radius);
    background: #FEE2E2;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; margin-right: 14px;
    color: var(--primary); font-size: 1.1rem;
}
.service-item h5 {
    font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 3px;
}
.service-item p { font-size: 12px; color: var(--muted); margin: 0; }

/* Servis Süreci Adımları */
.service-process {
    display: flex; gap: 0; position: relative;
    counter-reset: step;
}
.service-process::before {
    content: ''; position: absolute;
    top: 32px; left: 40px; right: 40px;
    height: 3px; background: var(--border);
    z-index: 0;
}
.service-step {
    flex: 1; text-align: center;
    position: relative; z-index: 1;
}
.service-step-num {
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--primary); color: #fff;
    font-size: 20px; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 12px;
    box-shadow: 0 3px 12px rgba(204,0,0,0.28);
}
.service-step h4 {
    font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 4px;
}
.service-step p { font-size: 12px; color: var(--muted); margin: 0; padding: 0 8px; }
@media (max-width: 768px) {
    .service-process { flex-direction: column; gap: 20px; }
    .service-process::before { display: none; }
}

/* Geçmiş Servis Galerisi */
.past-service-card {
    background: var(--surface); border-radius: var(--radius-lg);
    overflow: hidden; box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}
.past-service-card:hover {
    transform: translateY(-3px); box-shadow: var(--shadow);
}
.past-service-card img {
    width: 100%; height: 180px; object-fit: cover;
}
.past-service-card .ps-body { padding: 16px; }
.past-service-card h5 {
    font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 4px;
}
.past-service-card p { font-size: 12px; color: var(--muted); margin: 0; }
.past-service-card .ps-badge {
    display: inline-block; font-size: 10px; font-weight: 700;
    background: #FEE2E2; color: var(--primary);
    border-radius: 20px; padding: 2px 10px; margin-bottom: 6px;
}

/* ===== POLİTİKA SAYFALARI ===== */
.policy-content h2 {
    font-size: 1.2rem; font-weight: 700; color: var(--primary); margin: 28px 0 10px;
}
.policy-content h3 {
    font-size: 1.05rem; font-weight: 700; color: var(--text); margin: 20px 0 8px;
}
.policy-content p, .policy-content li {
    font-size: 14px; color: #444; line-height: 1.8;
}
.policy-date { font-size: 12px; color: var(--muted); margin-bottom: 28px; }

/* ===== SIDEBAR (Ürün Sayfası) ===== */
@media (max-width: 991px) {
    .sidebar-kategori-wrapper { position: relative; }
    .sidebar-kategori-wrapper .sidebar-inner { display: none; }
    .sidebar-kategori-wrapper.open .sidebar-inner { display: block; }
    .sidebar-toggle-btn {
        display: flex !important;
        align-items: center; justify-content: space-between;
        width: 100%;
        background: var(--primary); color: #fff;
        border: none; border-radius: var(--radius);
        padding: 12px 18px; font-size: 14px; font-weight: 600;
        cursor: pointer; margin-bottom: 12px;
    }
    .sidebar-toggle-btn i.toggle-icon { transition: transform 0.25s ease; }
    .sidebar-kategori-wrapper.open .sidebar-toggle-btn i.toggle-icon {
        transform: rotate(180deg);
    }
}
@media (min-width: 992px) {
    .sidebar-toggle-btn { display: none !important; }
    .sidebar-kategori-wrapper .sidebar-inner { display: block !important; }
}

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

/* --- Tablet (768px - 991px) --- */
@media (max-width: 991px) {
    .navbar-nav .nav-link {
        padding: 12px 0 !important;
        border-bottom: 1px solid rgba(255,255,255,0.10);
    }
    .navbar-nav .nav-link::after { display: none; }
    .navbar-collapse {
        background: var(--primary-d);
        padding: 12px 16px;
        border-top: 2px solid rgba(255,255,255,0.12);
    }
    .dropdown-menu {
        background: rgba(0,0,0,0.18); border: none; padding-left: 16px;
    }
    .dropdown-item { color: rgba(255,255,255,0.85) !important; }
    .dropdown-item:hover {
        background: rgba(255,255,255,0.10) !important;
        color: #fff !important;
    }
    .btn-whatsapp { margin-top: 8px; }

    .hero-slider .carousel-caption { left: 5%; right: 5%; }
    .section-header { margin-bottom: 28px; }
    .home-about { padding: 52px 0; }
    .cta-section { padding: 52px 0; }
    .footer-top { padding: 40px 0 24px; }
}

/* --- Mobil Geniş (576px - 767px) --- */
@media (max-width: 767px) {
    .topbar { padding: 5px 0; font-size: 11px; }

    /* Navbar */
    .navbar-brand { padding: 8px 0; }
    .navbar-logo { max-height: 40px; }
    .logo-main { font-size: 17px; }
    .logo-sub { font-size: 9px; letter-spacing: 1.5px; }

    /* Hero Slider */
    .hero-slider .carousel-item { height: 360px; min-height: 360px; }
    .hero-slider .carousel-caption {
        left: 4%; right: 4%;
        top: 50%; bottom: auto;
        transform: translateY(-50%);
    }
    .hero-slider .carousel-caption h1 { font-size: 1.3rem; margin-bottom: 6px; }
    .hero-slider .carousel-caption p { font-size: 0.85rem; }

    /* Page Hero */
    .page-hero { padding: 52px 0 40px; }
    .page-hero h1 { font-size: 1.4rem; }

    /* Section Başlıkları */
    .section-header { margin-bottom: 24px; }
    .section-header h2 { font-size: 1.25rem; }
    .section-header p { font-size: 13px; }

    /* Kategori kartları */
    .small-square-card { min-width: 110px; max-width: 124px; padding: 12px 6px; }
    .small-square-card .card-icon { width: 42px; height: 42px; font-size: 1.1rem; }
    .small-square-card .card-label { font-size: 11px; }

    /* Marka kartları */
    .brand-square { min-width: 88px; max-width: 104px; padding: 8px 4px; }
    .brand-square img { max-height: 36px; }
    .brand-square .brand-name { font-size: 8px; }

    /* Hizmet grid */
    .hizmet-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .hizmet-card { padding: 18px 12px; }
    .hizmet-card .hizmet-icon { width: 46px; height: 46px; font-size: 1.2rem; margin-bottom: 10px; }
    .hizmet-card h4 { font-size: 0.82rem; }
    .hizmet-card p { font-size: 12px; }

    /* Hakkımızda */
    .home-about { padding: 44px 0; }
    .home-about-feature { gap: 10px; margin-bottom: 14px; }
    .home-about-feature p { font-size: 13px; }
    .home-about-stat { padding: 16px; }
    .home-about-stat .stat-num { font-size: 1.6rem; }
    .home-about-stat .stat-lbl { font-size: 10px; }

    /* Neden Biz */
    .feature-box { padding: 20px 14px; }
    .feature-icon { width: 50px; height: 50px; font-size: 1.2rem; margin-bottom: 12px; }
    .feature-box h4 { font-size: 0.88rem; }
    .feature-box p { font-size: 12px; }

    /* CTA */
    .cta-section { padding: 44px 0; }
    .cta-section h2 { font-size: 1.2rem; }
    .btn-cta-white { padding: 12px 28px; font-size: 14px; }

    /* Ürün Kartları */
    .product-card-img { height: 140px; }
    .product-card-body { padding: 14px; }
    .product-card-body h5 { font-size: 13px; }

    /* Parça Sor Bar */
    .parts-inquiry-bar { top: 56px; padding: 10px 0; }
    .parts-inquiry-bar .inquiry-text { font-size: 12px; }
    .parts-inquiry-bar .btn-inquiry { padding: 7px 18px; font-size: 12px; }

    /* Servis Adımları */
    .service-step-num { width: 48px; height: 48px; font-size: 18px; }

    /* Footer */
    .footer-top { padding: 32px 0 20px; }
    .footer-heading { font-size: 12px; margin-bottom: 14px; }
    .footer-links li a { font-size: 12px; }
    .footer-contact li { font-size: 12px; }
    .footer-bottom { font-size: 11px; padding: 14px 0; }

    /* WhatsApp & Back to top */
    .whatsapp-float { width: 46px; height: 46px; font-size: 1.25rem; bottom: 68px; right: 14px; }
    .back-to-top { width: 36px; height: 36px; font-size: 13px; bottom: 16px; right: 14px; }

    /* Cookie banner */
    .cookie-consent { padding: 12px 0; font-size: 12px; }

    /* Scroll wrapper gölgeleri daralt */
    .scroll-row-wrapper::after,
    .scroll-row-wrapper::before { width: 24px; }

    /* İletişim */
    .contact-info-box { padding: 24px; }
    .contact-form-card { padding: 24px; }

    /* Geçmiş servis */
    .past-service-card img { height: 150px; }

    /* Banner */
    .marine-banner { min-height: 220px !important; }
    .marine-banner .banner-content { padding: 28px 16px; }
    .marine-banner .banner-content h2 { font-size: 1.15rem; }
    .marine-banner .banner-content p { font-size: 0.82rem; }
    .marine-banner .btn-banner { padding: 9px 20px; font-size: 12px; }
}

/* --- Mobil Dar (max 575px) --- */
@media (max-width: 575px) {
    .topbar { font-size: 10px; }
    .topbar-social { width: 32px; height: 32px; font-size: 13px; }

    .small-square-grid { gap: 10px; }
    .small-square-card { min-width: 100px; max-width: 116px; border-radius: 10px; }
    .small-square-card .card-icon { width: 38px; height: 38px; font-size: 1rem; margin-bottom: 8px; }

    .brand-grid { gap: 8px; }
    .brand-square { min-width: 80px; max-width: 96px; border-radius: 6px; }

    .hizmet-grid { grid-template-columns: 1fr; gap: 10px; }
    .product-card-img { height: 160px; }

    .parts-inquiry-bar .container { flex-direction: column; text-align: center; gap: 8px; }
    .parts-inquiry-bar .btn-inquiry { width: 100%; }

    .marine-banner { min-height: 200px !important; }

    .contact-info-box { padding: 18px; }
    .contact-form-card { padding: 18px; }
}

/* --- Çok Dar Ekranlar (max 375px) --- */
@media (max-width: 375px) {
    body { font-size: 14px; }
    .topbar .row { flex-wrap: nowrap; }
    .logo-main { font-size: 15px; }
    .logo-sub { font-size: 8px; }

    .hero-slider .carousel-item { height: 280px; min-height: 280px; }
    .hero-slider .carousel-caption h1 { font-size: 1.1rem; }
    .hero-slider .carousel-caption p { font-size: 0.78rem; }

    .section-header h2 { font-size: 1.1rem; }
    .section-header { margin-bottom: 20px; }

    .small-square-card { min-width: 92px; max-width: 108px; }
    .brand-square { min-width: 72px; max-width: 88px; }

    .home-about { padding: 32px 0; }
    .home-about-stat .stat-num { font-size: 1.4rem; }

    .cta-section h2 { font-size: 1.05rem; }
    .btn-cta-white { padding: 10px 22px; font-size: 13px; }

    .page-hero { padding: 40px 0 28px; }
    .page-hero h1 { font-size: 1.2rem; }

    .feature-box { padding: 16px 10px; }
    .footer-top { padding: 24px 0 16px; }
}

/* ===== RTL (Arabic) ===== */
[dir="rtl"] body { text-align: right; }
[dir="rtl"] .section-divider.left { margin-left: auto; margin-right: 0; }
[dir="rtl"] .hero-slider .carousel-caption { text-align: right; left: 45%; right: 8%; }
[dir="rtl"] .home-about-feature { flex-direction: row-reverse; text-align: right; }
[dir="rtl"] .footer-links li a { flex-direction: row-reverse; justify-content: flex-end; }
[dir="rtl"] .footer-links li a:hover { padding-left: 0; padding-right: 3px; }
[dir="rtl"] .footer-contact li { flex-direction: row-reverse; text-align: right; }
[dir="rtl"] .service-item { flex-direction: row-reverse; text-align: right; }
[dir="rtl"] .service-item-icon { margin-right: 0; margin-left: 14px; }
[dir="rtl"] .contact-info-item { flex-direction: row-reverse; text-align: right; }
[dir="rtl"] .contact-info-item .icon { margin-right: 0; margin-left: 12px; }
[dir="rtl"] .dropdown-item:hover { padding-left: 18px; padding-right: 24px; }
[dir="rtl"] .topbar-socials { direction: ltr; }
[dir="rtl"] .navbar-collapse { text-align: right; }
@media (max-width: 991px) {
    [dir="rtl"] .navbar-nav .nav-link { text-align: right; }
}

/* ===== SAFE AREA (iPhone Notch) ===== */
@supports (padding: max(0px)) {
    .topbar {
        padding-left: max(7px, env(safe-area-inset-left));
        padding-right: max(7px, env(safe-area-inset-right));
    }
    .footer-bottom {
        padding-bottom: max(16px, env(safe-area-inset-bottom));
    }
    .cookie-consent {
        padding-bottom: max(12px, env(safe-area-inset-bottom));
    }
}

/* ===== TOUCH TARGET (Erişilebilirlik) ===== */
@media (pointer: coarse) {
    .topbar-social { width: 36px; height: 36px; font-size: 14px; }
    .footer-social a { width: 40px; height: 40px; }
    .dropdown-item { padding: 12px 18px; min-height: 44px; }
    .lang-dropdown .dropdown-item { padding: 10px 14px; min-height: 44px; }
    .navbar-nav .nav-link { padding: 14px 14px !important; }
    .footer-links li { margin-bottom: 4px; }
    .footer-links li a { min-height: 40px; display: flex; align-items: center; }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
