/* =====================================================
   Marin Beta — Deniz Motorları & Gemi Yedek Parça
   =====================================================
   Renk sistemi (tek palet):
     --primary:    #0077B6   (ana marka — koyu deniz mavisi)
     --primary-d:  #005F8A   (koyu vurgu)
     --accent:     #00B4D8   (açık mavi vurgu)
     --dark:       #03045E   (koyu metin / footer / navbar)
     --navy:       #023E8A   (lacivert gradient)
     --light:      #F0F7FA   (arka plan gri-mavi)
     --surface:    #FFFFFF   (kart yüzey)
     --text:       #1B2A3B   (ana metin)
     --muted:      #5A7184   (ikincil metin)
     --border:     #D4E5ED   (kenarlık)
     --success:    #25D366   (whatsapp / onay)
   ===================================================== */

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

:root {
    --primary:      #0077B6;
    --primary-d:    #005F8A;
    --accent:       #00B4D8;
    --dark:         #03045E;
    --navy:         #023E8A;
    --light:        #F0F7FA;
    --surface:      #FFFFFF;
    --text:         #1B2A3B;
    --muted:        #5A7184;
    --border:       #D4E5ED;
    --success:      #25D366;
    --shadow-sm:    0 2px 8px rgba(0,60,100,0.06);
    --shadow:       0 4px 16px rgba(0,60,100,0.08);
    --shadow-lg:    0 8px 32px rgba(0,60,100,0.12);
    --radius:       8px;
    --radius-lg:    14px;
    --transition:   all 0.25s ease;

    /* Geriye uyumluluk aliasları */
    --marin-blue:   var(--primary);
    --marin-navy:   var(--primary-d);
    --marin-dark:   var(--navy);
    --marin-accent: var(--accent);
    --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);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 15px;
    line-height: 1.65;
    color: var(--text);
    background: var(--light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
a:hover { color: var(--primary); }
img { max-width: 100%; height: auto; }

/* ===== OKYANUS ARKA PLAN ===== */
.ocean-bg {
    position: fixed;
    inset: 0;
    z-index: -10;
    pointer-events: none;
    overflow: hidden;
    background: linear-gradient(180deg, #EBF5FA 0%, #E0EFF6 50%, #D6EAF3 100%);
}
.ocean-waves {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 35vh;
    min-height: 240px;
    pointer-events: none;
    overflow: hidden;
}
.ocean-wave {
    position: absolute;
    left: -50%; right: -50%;
    width: 200%; height: 100%;
    background-repeat: repeat-x;
    background-position: 0 100%;
    background-size: 1600px 100%;
}
.ocean-wave.w1 {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 200' preserveAspectRatio='none'><path fill='%230077B6' fill-opacity='0.06' d='M0,100 C240,140 400,60 640,90 C880,120 1040,170 1280,130 C1440,105 1520,120 1600,110 L1600,200 L0,200 Z'/></svg>");
    animation: wave-flow 28s linear infinite;
    bottom: 0;
}
.ocean-wave.w2 {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 200' preserveAspectRatio='none'><path fill='%2300B4D8' fill-opacity='0.05' d='M0,120 C200,80 420,160 640,130 C880,95 1080,150 1280,120 C1440,95 1520,130 1600,115 L1600,200 L0,200 Z'/></svg>");
    animation: wave-flow 20s linear infinite reverse;
    bottom: 0;
}
.ocean-wave.w3 {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 200' preserveAspectRatio='none'><path fill='%23023E8A' fill-opacity='0.04' d='M0,140 C240,170 460,110 680,140 C900,170 1100,130 1300,150 C1440,165 1520,150 1600,160 L1600,200 L0,200 Z'/></svg>");
    animation: wave-flow 14s linear infinite;
    bottom: 0;
}
@keyframes wave-flow { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

.ocean-bubbles { position: absolute; inset: 0; pointer-events: none; }
.ocean-bubbles span {
    position: absolute; bottom: -20px;
    width: 10px; height: 10px;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.7), transparent 70%);
    border-radius: 50%;
    opacity: 0;
    animation: bubble-rise linear infinite;
}
.ocean-bubbles span:nth-child(1){left:8%;animation-duration:20s;animation-delay:0s}
.ocean-bubbles span:nth-child(2){left:18%;width:14px;height:14px;animation-duration:26s;animation-delay:3s}
.ocean-bubbles span:nth-child(3){left:28%;width:7px;height:7px;animation-duration:18s;animation-delay:5s}
.ocean-bubbles span:nth-child(4){left:38%;width:12px;height:12px;animation-duration:30s;animation-delay:2s}
.ocean-bubbles span:nth-child(5){left:50%;animation-duration:22s;animation-delay:4s}
.ocean-bubbles span:nth-child(6){left:62%;width:13px;height:13px;animation-duration:24s;animation-delay:6s}
.ocean-bubbles span:nth-child(7){left:72%;width:8px;height:8px;animation-duration:19s;animation-delay:1s}
.ocean-bubbles span:nth-child(8){left:82%;width:15px;height:15px;animation-duration:28s;animation-delay:7s}
.ocean-bubbles span:nth-child(9){left:90%;width:9px;height:9px;animation-duration:21s;animation-delay:3s}
.ocean-bubbles span:nth-child(10){left:95%;width:11px;height:11px;animation-duration:25s;animation-delay:5s}
@keyframes bubble-rise {
    0%   { transform:translateY(0) scale(0.5); opacity:0; }
    10%  { opacity:0.5; }
    90%  { opacity:0.3; }
    100% { transform:translateY(-110vh) scale(1); opacity:0; }
}
@media (prefers-reduced-motion: reduce) {
    .ocean-wave, .ocean-bubbles span { animation: none !important; }
}

/* ===== UTILITY ===== */
.text-beta-red, .text-zf-red, .text-zf-blue { color: var(--primary) !important; }
.bg-zf-blue, .bg-zf-red { background-color: var(--primary) !important; }
.bg-zf-gray { background-color: var(--light) !important; }

/* İçerik bölümleri z-index */
section { position: relative; z-index: 1; }

/* ===== BUTONLAR ===== */
.btn-zf-red, .btn-beta-red {
    background: var(--primary);
    color: #fff; border: none;
    border-radius: var(--radius);
    padding: 10px 24px;
    font-weight: 600; font-size: 14px;
    transition: var(--transition);
}
.btn-zf-red:hover, .btn-beta-red:hover {
    background: var(--primary-d);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,119,182,0.30);
}
.btn-outline-zf {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
    border-radius: var(--radius);
    padding: 8px 22px;
    font-weight: 600;
    transition: var(--transition);
}
.btn-outline-zf:hover { background: var(--primary); color: #fff; }

.btn-cta-white {
    background: var(--primary);
    color: #fff; border: none;
    border-radius: 50px;
    padding: 14px 36px;
    font-weight: 700; font-size: 15px;
    transition: var(--transition);
    display: inline-block;
}
.btn-cta-white:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0,180,216,0.35);
}

/* ===== TOPBAR ===== */
.topbar {
    background: var(--dark);
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    padding: 7px 0;
    position: relative;
    z-index: 1060;
}
.topbar a { color: rgba(255,255,255,0.85); }
.topbar a:hover { color: #fff; }
.topbar-social {
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px; border-radius: 50%;
    background: rgba(255,255,255,0.12); color: #fff;
    font-size: 12px; margin-left: 5px;
    transition: var(--transition);
}
.topbar-social:hover { background: var(--accent); color: var(--dark); }

/* ===== NAVBAR ===== */
#mainNav {
    background: var(--dark);
    box-shadow: 0 2px 16px rgba(3,4,94,0.25);
    padding: 0;
    transition: var(--transition);
}
#mainNav.scrolled { box-shadow: var(--shadow-lg); }
#mainNav .container { padding-top: 0; padding-bottom: 0; }

.navbar-brand { padding: 10px 0; }
.navbar-logo { height: 48px; 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: var(--accent); letter-spacing: 2px; text-transform: uppercase; }

.navbar-nav .nav-link {
    color: rgba(255,255,255,0.88) !important;
    font-weight: 500; font-size: 14px;
    padding: 16px 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: 2px;
    background: var(--accent);
    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 {
    border: none;
    border-top: 2px 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: var(--light);
    color: var(--primary);
    padding-left: 22px;
}

.btn-whatsapp {
    background: var(--success); color: #fff !important;
    border-radius: 50px; font-size: 13px; font-weight: 600;
    padding: 8px 18px; transition: var(--transition);
}
.btn-whatsapp:hover { background: #1da851; transform: translateY(-1px); }

/* ===== HERO SLIDER ===== */
.hero-slider { position: relative; overflow: hidden; }
.hero-slider .carousel-item { height: 540px; background: var(--dark); }
@media (max-width: 768px) { .hero-slider .carousel-item { height: 360px; } }
.hero-slider .carousel-item img { width: 100%; height: 100%; object-fit: cover; opacity: 0.4; }
.hero-slider .carousel-caption {
    bottom: 50%; transform: translateY(50%);
    left: 8%; right: 8%; text-align: left;
}
.hero-slider .carousel-caption h1 {
    font-size: clamp(1.6rem, 4vw, 2.8rem);
    font-weight: 800;
    text-shadow: 0 2px 12px rgba(0,0,0,0.5);
    margin-bottom: 10px;
}
.hero-slider .carousel-caption p {
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    opacity: 0.9; max-width: 560px;
    text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}
.hero-slider .carousel-indicators [data-bs-target] {
    width: 36px; height: 3px;
    background: rgba(255,255,255,0.35);
    border-radius: 2px;
}
.hero-slider .carousel-indicators .active { background: var(--accent); }

/* ===== BANNER ===== */
.marine-banner {
    position: relative; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    background-size: cover; background-position: center;
    background-attachment: fixed;
}
@media (max-width: 768px) { .marine-banner { background-attachment: scroll; } }
.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;
    text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}
.marine-banner .banner-content p {
    font-size: clamp(0.88rem, 1.6vw, 1.05rem);
    color: rgba(255,255,255,0.9); margin-bottom: 18px;
    text-shadow: 0 1px 6px rgba(0,0,0,0.25);
}
.marine-banner .btn-banner {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    color: #fff; border: 2px solid rgba(255,255,255,0.5);
    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.3);
    border-color: #fff;
    transform: translateY(-2px);
}
.marine-banner .banner-wave {
    position: absolute; bottom: -1px; left: 0; width: 100%; z-index: 3; line-height: 0;
}
.marine-banner .banner-wave svg { display: block; width: 100%; height: 36px; }
.section-sea-bg { background-color: var(--light); }

/* ===== SECTION BAŞLIKLARI ===== */
.section-header { margin-bottom: 40px; }
.section-header h2 {
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    font-weight: 800; color: var(--dark);
    margin-bottom: 8px; letter-spacing: -0.3px;
}
.section-divider {
    width: 48px; height: 3px;
    background: var(--primary);
    border-radius: 2px;
    margin: 0 auto 14px;
}
.section-divider.left { margin-left: 0; }
.section-header p { color: var(--muted); max-width: 540px; font-size: 15px; }
/* Başlık altı çizgisi kaldırıldı — section-divider yeterli */
.section-header h2::after { display: none; }

/* ===== SCROLL ROW (Tek satır kayan) ===== */
.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 {
    position: absolute; top: 50%;
    transform: translateY(calc(-50% - 6px));
    z-index: 5; width: 38px; height: 38px;
    border-radius: 50%; border: none;
    background: var(--surface);
    box-shadow: var(--shadow);
    color: var(--dark); font-size: 14px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
}
.scroll-arrow:hover { 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);
}
@media (max-width: 576px) { .small-square-card { min-width: 116px; max-width: 128px; } }

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

/* ===== MARKA LOGO KARTLAR (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) ===== */
.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 var(--primary);
    transition: var(--transition);
    position: relative; overflow: hidden;
    display: block; color: inherit; text-decoration: none;
}
.hizmet-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    color: inherit;
}
.hizmet-card .hizmet-icon {
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; color: #fff;
    margin: 0 auto 14px;
    transition: var(--transition);
}
.hizmet-card:hover .hizmet-icon { background: var(--primary-d); transform: scale(1.08); }
.hizmet-card h4 { font-size: 0.9rem; font-weight: 700; color: var(--dark); 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(--navy) 0%, var(--dark) 100%);
    padding: 64px 0; color: #fff;
    position: relative; overflow: hidden;
}
.home-about .section-header h2 { color: #fff; }
.home-about .section-divider { background: var(--accent); }
.home-about .section-header p { color: rgba(255,255,255,0.8); }

.home-about-feature {
    display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px;
}
.home-about-feature .fa-check-circle {
    font-size: 1.1rem; color: var(--accent);
    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.08);
    border-radius: var(--radius-lg);
    padding: 22px; text-align: center;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.1);
}
.home-about-stat .stat-num {
    font-size: 2rem; font-weight: 800;
    color: var(--accent); display: block;
}
.home-about-stat .stat-lbl {
    font-size: 11px; color: rgba(255,255,255,0.65);
    text-transform: uppercase; letter-spacing: 1px; margin-top: 4px;
}

/* ===== NEDEN BİZ ===== */
.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);
    transition: var(--transition); height: 100%;
}
.feature-box:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon {
    width: 60px; height: 60px; border-radius: 50%;
    background: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: #fff;
    margin: 0 auto 16px;
}
.feature-box h4 { font-size: 0.95rem; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.feature-box p { color: var(--muted); font-size: 13px; margin: 0; }

/* ===== CTA ===== */
.cta-section {
    background: linear-gradient(135deg, var(--dark) 0%, var(--navy) 100%);
    padding: 64px 0; color: #fff; text-align: center;
}
.cta-section h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; margin-bottom: 10px; }
.cta-section p { opacity: 0.8; max-width: 500px; margin: 0 auto 24px; }

/* ===== PAGE HERO (İç sayfa) ===== */
.page-hero {
    background: linear-gradient(135deg, var(--dark) 0%, var(--navy) 100%);
    padding: 64px 0 48px; color: #fff;
    position: relative; overflow: hidden;
}
.page-hero h1 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; margin-bottom: 8px; }
.page-hero .breadcrumb { background: transparent; padding: 0; margin: 0; }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.4); }
.page-hero .breadcrumb-item a { color: rgba(255,255,255,0.7); }
.page-hero .breadcrumb-item.active { color: rgba(255,255,255,0.5); }

/* ===== Ü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);
    transition: var(--transition);
    height: 100%; display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.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.35; }
.product-placeholder {
    width: 100%; height: 100%;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    background: linear-gradient(135deg, #F0F7FA 0%, #E4EEF4 100%);
    gap: 8px;
}
.product-placeholder i {
    font-size: 2.8rem; color: var(--primary); opacity: 0.2;
}
.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;
    border-top: 2px solid var(--primary);
    display: flex; flex-direction: column;
}
.product-card-body h5 {
    font-size: 14px; font-weight: 700; color: var(--dark);
    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: rgba(0,119,182,0.08);
    border-radius: 20px; padding: 2px 10px;
    margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px;
}

/* ===== ÜRÜNLER SAYFASI — Sabit Parça Sor Butonu ===== */
.parts-inquiry-bar {
    position: sticky; top: 60px; z-index: 100;
    background: var(--primary);
    padding: 12px 0;
    box-shadow: 0 2px 12px rgba(0,119,182,0.2);
}
.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(--accent); 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(--dark);
    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-side-card {
    background: var(--surface); border-radius: var(--radius-lg);
    padding: 24px; border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.cat-side-card h4 {
    font-size: 0.9rem; font-weight: 800; color: var(--dark);
    text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 14px;
}
.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: rgba(0,119,182,0.06);
    border: 1px solid rgba(0,119,182,0.15);
    border-radius: 50px; transition: var(--transition);
}
.cat-brand-chip:hover { background: var(--primary); color: #fff; }

/* ===== İLETİŞİM ===== */
.contact-info-box {
    background: linear-gradient(135deg, var(--navy), 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: var(--accent); }
.contact-info-item .text { font-size: 14px; opacity: 0.9; }
.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(--dark); }
.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(0,119,182,0.10);
}

/* ===== 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: var(--accent); margin-top: 2px; }
.footer-desc { font-size: 13px; opacity: 0.65; margin-top: 10px; line-height: 1.7; }
.footer-heading {
    font-size: 13px; font-weight: 700; color: #fff;
    text-transform: uppercase; letter-spacing: 0.5px;
    margin-bottom: 18px; padding-bottom: 8px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}
.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(--accent); padding-left: 3px; }
.footer-links li a i { color: var(--accent); font-size: 10px; }

.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(--accent); margin-top: 3px; flex-shrink: 0; }
.footer-contact li a { color: rgba(255,255,255,0.65); }
.footer-contact li a:hover { color: var(--accent); }

.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: #fff; font-size: 13px; transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); transform: translateY(-2px); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 16px 0; font-size: 12px; color: rgba(255,255,255,0.4);
}
.footer-policy-link { color: rgba(255,255,255,0.4); font-size: 12px; }
.footer-policy-link:hover { color: var(--accent); }
.footer-policy-sep { color: rgba(255,255,255,0.15); margin: 0 6px; }

/* ===== ÇEREZ ===== */
.cookie-consent {
    position: fixed; bottom: 0; left: 0; right: 0;
    background: rgba(3,4,94,0.96);
    color: #fff; padding: 16px 0;
    z-index: 9998; border-top: 2px solid var(--primary);
    font-size: 13px;
}
.cookie-consent a { color: var(--accent); text-decoration: underline; }

/* ===== WHATSAPP & BACK TO TOP ===== */
.whatsapp-float {
    position: fixed; bottom: 76px; right: 22px;
    width: 48px; height: 48px; background: var(--success);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; color: #fff;
    z-index: 9997;
    box-shadow: 0 4px 16px rgba(37,211,102,0.35);
    transition: var(--transition);
}
.whatsapp-float:hover { background: #1da851; color: #fff; transform: scale(1.1); }

.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: var(--shadow-sm);
}
.back-to-top:hover { background: var(--primary-d); transform: translateY(-2px); }
.back-to-top.show { display: flex; }

/* ===== POLICY ===== */
.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(--dark); 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; }

/* ===== 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); }
.service-item-icon {
    width: 44px; height: 44px; border-radius: var(--radius);
    background: var(--light);
    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(--dark); 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(0,119,182,0.25);
}
.service-step h4 { font-size: 14px; font-weight: 700; color: var(--dark); 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(--dark); 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: rgba(0,119,182,0.08); color: var(--primary);
    border-radius: 20px; padding: 2px 10px; margin-bottom: 6px;
}

/* ===== DİL SEÇİCİ ===== */
.lang-switcher { display: inline-block; position: relative; z-index: 1100; }
.lang-btn {
    background: rgba(255,255,255,0.1) !important;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,0.2) !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.2) !important;
    border-color: rgba(255,255,255,0.4) !important;
}
.lang-switcher .dropdown-menu.show { z-index: 9999 !important; display: block !important; }
.lang-dropdown {
    min-width: 156px !important; border: none !important;
    border-top: 2px solid var(--primary) !important;
    border-radius: 0 0 var(--radius) var(--radius) !important;
    box-shadow: 0 6px 24px rgba(0,0,0,0.2) !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: var(--light) !important;
    color: var(--primary) !important;
}
.lang-dropdown .dropdown-item.active {
    background: var(--primary) !important;
    color: #fff !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .navbar-nav .nav-link { padding: 12px 0 !important; border-bottom: 1px solid rgba(255,255,255,0.08); }
    .navbar-nav .nav-link::after { display: none; }
    .navbar-collapse {
        background: var(--navy); padding: 12px 16px;
        border-top: 2px solid rgba(0,180,216,0.2);
    }
    .dropdown-menu { background: rgba(255,255,255,0.04); border: none; padding-left: 16px; }
    .dropdown-item { color: rgba(255,255,255,0.8); }
    .dropdown-item:hover { background: rgba(255,255,255,0.08); color: var(--accent); }
    .btn-whatsapp { margin-top: 8px; }
}
@media (max-width: 767px) {
    .topbar { font-size: 12px; }
    .hero-slider .carousel-caption { left: 4%; right: 4%; }
    .section-header h2 { font-size: 1.35rem; }
    .section-header { margin-bottom: 28px; }
    .home-about-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ===== 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; }
[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: 22px; }
[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; } }

/* =====================================================
   MOBİL UYUMLULUK — KAPSAMLI RESPONSIVE KURALLAR
   ===================================================== */

/* --- Tablet (768px - 991px) --- */
@media (max-width: 991px) {
    .hero-slider .carousel-caption { left: 5%; right: 5%; }
    .section-header { margin-bottom: 28px; }
    .home-about { padding: 48px 0; }
    .cta-section { padding: 48px 0; }
    .footer-top { padding: 40px 0 24px; }
    .marine-banner .banner-content { padding: 36px 20px; }
}

/* --- Mobil Geniş (576px - 767px) --- */
@media (max-width: 767px) {
    /* Topbar: sadece tek telefon ve email göster */
    .topbar { padding: 5px 0; font-size: 11px; }
    .topbar .col-md-7 span:nth-child(2) { display: none; } /* İkinci telefonu gizle */

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

    /* Hero Slider */
    .hero-slider .carousel-item { height: 300px; }
    .hero-slider .carousel-caption { left: 4%; right: 4%; }
    .hero-slider .carousel-caption h1 { font-size: 1.3rem; margin-bottom: 6px; }
    .hero-slider .carousel-caption p { font-size: 0.85rem; }

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

    /* 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; }

    /* 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: 40px 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: 40px 0; }
    .cta-section h2 { font-size: 1.2rem; }
    .btn-cta-white { padding: 12px 28px; font-size: 14px; }

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

    /* Ü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: 44px; height: 44px; font-size: 1.2rem; 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; }
}

/* --- Mobil Dar (max 575px) --- */
@media (max-width: 575px) {
    /* Topbar: ikon modunda */
    .topbar { font-size: 10px; }
    .topbar .col-md-7 span.me-3:not(:first-child) { display: none; }
    .topbar-social { width: 32px; height: 32px; font-size: 13px; } /* Touch-friendly */

    /* Scroll kartları */
    .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 tek sütun */
    .hizmet-grid { grid-template-columns: 1fr; gap: 10px; }

    /* Ürün grid mobilde tam genişlik */
    .product-card-img { height: 160px; }

    /* Parça sor bar */
    .parts-inquiry-bar .container { flex-direction: column; text-align: center; gap: 8px; }
    .parts-inquiry-bar .btn-inquiry { width: 100%; }

    /* Banner minimum yükseklik */
    .marine-banner { min-height: 200px !important; }

    /* Servis formu */
    .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: 240px; }
    .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: 36px 0 28px; }
    .page-hero h1 { font-size: 1.2rem; }

    .feature-box { padding: 16px 10px; }

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

/* --- Ürün Sidebar: Mobilde Collapse --- */
@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; }
}

/* --- 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 iyileştirme (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; }
}
