/* ═══════════════════════════════════════════════
   HAKAN ELEKTRONİK — ANA SAYFA CSS
   ═══════════════════════════════════════════════ */

:root {
    --primary:        #1482C2;
    --primary-dark:   #0e6399;
    --primary-light:  rgba(20, 130, 194, 0.12);
    --primary-rgb:    20, 130, 194;
    --bg:             #ffffff;
    --bg2:            #f8fafc;
    --surface:        #ffffff;
    --border:         #e2e8f0;
    --text:           #1e293b;
    --text-muted:     #64748b;
    --heading:        #0f172a;
    --shadow:         0 4px 20px rgba(0,0,0,.08);
    --shadow-lg:      0 12px 40px rgba(0,0,0,.14);
    --radius:         12px;
    --section-py:     80px;
    --transition:     0.3s ease;
    --navbar-h:       72px;
}

/* Dark Mode */
[data-theme="dark"] {
    --bg:        #0f172a;
    --bg2:       #1e293b;
    --surface:   #1e293b;
    --border:    #334155;
    --text:      #e2e8f0;
    --text-muted:#94a3b8;
    --heading:   #f1f5f9;
    --shadow:    0 4px 20px rgba(0,0,0,.3);
    --shadow-lg: 0 12px 40px rgba(0,0,0,.4);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--navbar-h); }
body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; background: var(--bg); color: var(--text); line-height: 1.7; font-size: 16px; transition: background var(--transition), color var(--transition); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }

/* ── Loading Screen ── */
#loadingScreen {
    position: fixed;
    inset: 0;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
#loadingScreen.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-content { text-align: center; }
.loader-logo img { height: 60px; margin: 0 auto 12px; object-fit: contain; transition: filter var(--transition); }

/* Loading ekranı — dark modda logo beyaz */
[data-theme="dark"] .loader-logo img  { filter: brightness(0) invert(1); }

/* Auto mod: sistem dark tercih ediyorsa beyaz */
@media (prefers-color-scheme: dark) {
    [data-theme="auto"] .loader-logo img { filter: brightness(0) invert(1); }
}
.loader-name { font-size: 22px; font-weight: 700; color: var(--primary); margin-bottom: 24px; }
.loader-bar { width: 200px; height: 4px; background: var(--border); border-radius: 2px; overflow: hidden; margin: 0 auto; }
.loader-bar-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 2px;
    animation: loadProgress 1.8s ease-in-out forwards;
}
@keyframes loadProgress { from { width: 0 } to { width: 100% } }

/* ── Header & Navbar ── */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; transition: all var(--transition); }
.site-header.scrolled .navbar {
    background: var(--surface) !important;
    box-shadow: var(--shadow);
    border-bottom: 1px solid var(--border);
}
.navbar {
    background: transparent;
    padding: 0;
    height: var(--navbar-h);
    transition: all var(--transition);
}
.navbar-brand { display: flex; align-items: center; gap: 10px; }
.nav-logo {
    height: 44px;
    object-fit: contain;
    transition: filter var(--transition);
    /* Varsayılan: hero slider üzerinde — beyaz */
    filter: brightness(0) invert(1);
}
.nav-logo-text {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    transition: color var(--transition);
}

/* Light mod + scroll sonrası → orijinal renkli logo */
.site-header.scrolled .nav-logo { filter: none; }
.site-header.scrolled .nav-logo-text { color: var(--primary); }

/* Dark mod → her zaman beyaz (scroll olsa bile) */
[data-theme="dark"] .nav-logo,
[data-theme="dark"] .site-header.scrolled .nav-logo { filter: brightness(0) invert(1); }
[data-theme="dark"] .nav-logo-text,
[data-theme="dark"] .site-header.scrolled .nav-logo-text { color: #fff; }
.navbar-toggler { border: none; padding: 6px 8px; }
.navbar-toggler:focus { box-shadow: none; }
.nav-link {
    color: var(--text) !important;
    font-weight: 500;
    font-size: 15px;
    padding: 8px 12px !important;
    border-radius: 8px;
    transition: background var(--transition), color var(--transition);
}
.nav-link:hover { background: var(--primary-light); color: var(--primary) !important; }
.nav-link.active  { color: var(--primary) !important; font-weight: 600; }

/* Şeffaf hero üzerinde beyaz yazı */
.hero-nav .nav-link { color: #fff !important; }
.hero-nav .nav-link:hover { background: rgba(255,255,255,.15); }

.theme-toggle {
    background: none;
    border: 1px solid var(--border);
    color: var(--text);
    width: 38px; height: 38px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    font-size: 15px;
    transition: all var(--transition);
}
.theme-toggle:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
/* ── WhatsApp Nav Butonu — her zaman yeşil, dark/light/hero modunda sabit ── */
.whatsapp-btn,
.whatsapp-btn.btn,
.whatsapp-btn.btn-primary {
    background:   #25d366 !important;
    border-color: #25d366 !important;
    color:        #fff    !important;
    border-radius: 20px  !important;
    font-weight:  600;
    font-size:    14px;
    padding:      7px 16px !important;
    box-shadow:   0 2px 12px rgba(37,211,102,.35);
    transition:   all var(--transition);
    white-space:  nowrap;
}
.whatsapp-btn:hover,
.whatsapp-btn.btn-primary:hover {
    background:   #1da851 !important;
    border-color: #1da851 !important;
    color:        #fff    !important;
    transform:    translateY(-1px);
    box-shadow:   0 4px 18px rgba(37,211,102,.5);
}
/* Hero şeffaf modda da yeşil kalır */
.hero-nav .whatsapp-btn,
.hero-nav .whatsapp-btn.btn-primary {
    background:   #25d366 !important;
    border-color: #25d366 !important;
    color:        #fff    !important;
}

/* ── Sections ── */
.section-padding { padding: var(--section-py) 0; }
.section-bg { background: var(--bg2); }
.section-header { margin-bottom: 48px; }
.section-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    padding: 5px 16px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}
.section-title { font-size: clamp(24px, 3.5vw, 38px); font-weight: 800; color: var(--heading); margin-bottom: 12px; line-height: 1.2; }
.section-subtitle { font-size: 17px; color: var(--text-muted); max-width: 560px; margin: 0 auto; }

/* ── Scroll Animations ── */
[data-aos] { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-aos].visible { opacity: 1; transform: translateY(0); }

/* ── Hero Section ── */
.hero-section { min-height: 100vh; position: relative; overflow: hidden; }
.hero-bg-img { width: 100%; height: 100vh; object-fit: cover; display: block; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(15,23,42,0.75) 0%, rgba(15,23,42,0.45) 100%); }
.hero-static { min-height: 100vh; background: linear-gradient(135deg, #0f172a 0%, var(--primary-dark) 100%); position: relative; display: flex; align-items: center; }
.hero-no-img { width: 100%; height: 100vh; background: linear-gradient(135deg, #0f172a 0%, var(--primary) 100%); }
.carousel-item { position: relative; }
.hero-caption {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    padding: var(--navbar-h) 0 80px;
}
.hero-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.15); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.2); color: #fff; font-size: 13px; font-weight: 600; padding: 6px 16px; border-radius: 20px; margin-bottom: 16px; letter-spacing: 0.5px; }
.hero-title { font-size: clamp(28px, 5vw, 60px); font-weight: 900; color: #fff; line-height: 1.15; margin-bottom: 16px; text-shadow: 0 2px 12px rgba(0,0,0,.3); }
.hero-subtitle { font-size: clamp(15px, 2vw, 20px); color: rgba(255,255,255,.85); margin-bottom: 8px; font-weight: 500; }
.hero-desc { font-size: 16px; color: rgba(255,255,255,.7); margin-bottom: 28px; max-width: 560px; }
.hero-btn { border-radius: 30px; padding: 14px 32px; font-weight: 700; font-size: 16px; box-shadow: 0 8px 24px rgba(20,130,194,.4); transition: transform var(--transition), box-shadow var(--transition); }
.hero-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(20,130,194,.5); }

/* Carousel overrides */
.carousel-indicators [data-bs-target] { width: 10px; height: 10px; border-radius: 50%; border: none; opacity: 0.5; }
.carousel-indicators .active { opacity: 1; background-color: var(--primary); width: 28px; border-radius: 5px; }
.carousel-control-prev, .carousel-control-next { width: 52px; height: 52px; background: rgba(255,255,255,.15); border-radius: 50%; margin: auto 16px; backdrop-filter: blur(4px); }

/* ── Hero Info Bar ── */
.hero-info-bar { background: var(--primary); color: #fff; }
.info-bar-item { display: flex; align-items: center; gap: 10px; padding: 14px 20px; border-right: 1px solid rgba(255,255,255,.2); font-size: 14px; }
.info-bar-item:last-child { border-right: none; }
.info-bar-item i { font-size: 18px; opacity: 0.8; }
.info-bar-item a { color: #fff; }
.info-bar-item a:hover { opacity: 0.8; }

/* ── Hakkımızda ── */
.about-text { font-size: 17px; line-height: 1.8; color: var(--text); margin-bottom: 32px; }
.about-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.about-stat { text-align: center; }
.stat-num { font-size: 32px; font-weight: 900; color: var(--primary); line-height: 1; }
.stat-lbl { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.mission-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; height: 100%; box-shadow: var(--shadow); transition: transform var(--transition); }
.mission-card:hover { transform: translateY(-4px); }
.mission-card-alt { background: var(--primary); border-color: var(--primary); }
.mission-card-alt h4,
.mission-card-alt p { color: #fff; }
.mission-icon { font-size: 28px; color: var(--primary); margin-bottom: 12px; }
.mission-card-alt .mission-icon { color: rgba(255,255,255,.8); }
.mission-card h4 { font-size: 17px; font-weight: 700; margin-bottom: 8px; color: var(--heading); }
.mission-card p { font-size: 14px; color: var(--text-muted); margin: 0; }

/* ── Hizmetler ── */
.service-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-icon-wrap {
    height: 100px;
    display: flex; align-items: center; justify-content: center;
    background: var(--primary-light);
    font-size: 42px;
    color: var(--primary);
}
.service-img-wrap { height: 180px; overflow: hidden; }
.service-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.service-card:hover .service-img-wrap img { transform: scale(1.06); }
.service-body { padding: 20px 20px 8px; flex: 1; }
.service-title { font-size: 18px; font-weight: 700; color: var(--heading); margin-bottom: 8px; }
.service-desc { font-size: 14.5px; color: var(--text-muted); line-height: 1.65; }
.service-link { display: flex; align-items: center; padding: 12px 20px; color: var(--primary); font-weight: 600; font-size: 14px; border-top: 1px solid var(--border); transition: all var(--transition); }
.service-link:hover { background: var(--primary); color: #fff; }

/* ── Markalar Marquee ── */
.brands-marquee-wrap { overflow: hidden; padding: 24px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.brands-marquee {
    display: flex;
    gap: 40px;
    animation: marqueeScroll 28s linear infinite;
    width: max-content;
}
.brands-marquee:hover { animation-play-state: paused; }
@keyframes marqueeScroll { from { transform: translateX(0) } to { transform: translateX(-50%) } }
.brand-item { display: flex; align-items: center; flex-shrink: 0; }
.brand-item img { height: 50px; max-width: 130px; object-fit: contain; filter: grayscale(1); opacity: 0.6; transition: all var(--transition); }
.brand-item img:hover { filter: grayscale(0); opacity: 1; }
.brand-text { font-size: 18px; font-weight: 800; color: var(--text-muted); letter-spacing: 1px; white-space: nowrap; }

/* ── Galeri ── */
.gallery-filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.gal-filter {
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 7px 20px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all var(--transition);
    font-weight: 500;
}
.gal-filter:hover, .gal-filter.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 991px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 575px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.gallery-item { transition: opacity var(--transition); }
.gallery-item.hidden { display: none; }
.gallery-thumb { border-radius: var(--radius); overflow: hidden; position: relative; cursor: pointer; aspect-ratio: 1 / 1; }
.gallery-thumb img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform 0.4s ease; }
.gallery-thumb:hover img { transform: scale(1.05); }
.gallery-overlay {
    position: absolute; inset: 0;
    background: rgba(20,130,194,.7);
    display: flex; align-items: center; justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}
.gallery-thumb:hover .gallery-overlay { opacity: 1; }
.gallery-zoom { background: none; border: 2px solid #fff; color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all var(--transition); }
.gallery-zoom:hover { background: #fff; color: var(--primary); }

/* Lightbox */
.lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 9999; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox-inner { position: relative; max-width: 90vw; max-height: 90vh; }
.lightbox-inner img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: 8px; display: block; }
.lightbox-close { position: absolute; top: -40px; right: 0; background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; }
.lightbox-prev, .lightbox-next { position: fixed; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.15); border: none; color: #fff; font-size: 22px; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s; z-index: 10000; }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,.3); }
.lightbox-caption { text-align: center; color: rgba(255,255,255,.7); font-size: 14px; margin-top: 12px; }
.lightbox-counter { text-align: center; color: rgba(255,255,255,.5); font-size: 12px; margin-top: 4px; }
.gallery-count { position: absolute; bottom: 8px; right: 8px; background: rgba(0,0,0,.6); color: #fff; font-size: 11px; padding: 2px 7px; border-radius: 10px; pointer-events: none; }

/* ── Blog ── */
.blog-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform var(--transition), box-shadow var(--transition); height: 100%; display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-img { overflow: hidden; height: 200px; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.blog-card:hover .blog-img img { transform: scale(1.05); }
.blog-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.blog-meta { font-size: 12px; color: var(--text-muted); margin-bottom: 10px; }
.blog-title { font-size: 17px; font-weight: 700; color: var(--heading); margin-bottom: 10px; line-height: 1.4; }
.blog-excerpt { font-size: 14px; color: var(--text-muted); flex: 1; }
.btn-blog-read { background: none; border: none; color: var(--primary); font-weight: 600; font-size: 14px; cursor: pointer; padding: 0; margin-top: 14px; display: flex; align-items: center; transition: gap var(--transition); }
.btn-blog-read:hover { color: var(--primary-dark); }

/* ── İletişim ── */
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon { width: 48px; height: 48px; background: var(--primary-light); color: var(--primary); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.contact-item h5 { font-size: 14px; color: var(--text-muted); font-weight: 600; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.5px; }
.contact-item a, .contact-item p { color: var(--text); font-size: 16px; margin: 0; }
.contact-socials { display: flex; gap: 10px; flex-wrap: wrap; }
.social-btn {
    width: 42px; height: 42px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 17px;
    transition: all var(--transition);
}
.social-btn:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.contact-form-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.contact-form-wrap .form-label { font-size: 13px; font-weight: 500; color: var(--text-muted); }
.contact-form-wrap .form-control { border-color: var(--border); background: var(--bg); color: var(--text); border-radius: 8px; padding: 10px 14px; font-size: 15px; transition: border-color var(--transition), box-shadow var(--transition); }
.contact-form-wrap .form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15); }

/* ── Harita ── */
.map-section iframe { width: 100%; height: 400px; display: block; border: none; }

/* ── Footer ── */
.site-footer { background: #0f172a; color: #94a3b8; padding: 60px 0 0; }
.footer-top { padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-logo { height: 44px; object-fit: contain; filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer-desc { font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 10px; }
.fsoc-btn { width: 38px; height: 38px; background: rgba(255,255,255,.08); color: #94a3b8; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; transition: all var(--transition); }
.fsoc-btn:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.footer-heading { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #fff; margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: #94a3b8; font-size: 14px; transition: color var(--transition); display: flex; align-items: center; gap: 8px; }
.footer-links a::before { content: '›'; font-size: 16px; color: var(--primary); }
.footer-links a:hover { color: #fff; }
.footer-contact-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-contact-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.footer-contact-list i { color: var(--primary); margin-top: 3px; flex-shrink: 0; }
.footer-contact-list a { color: #94a3b8; }
.footer-contact-list a:hover { color: #fff; }
.footer-bottom { padding: 20px 0; }
.footer-copy { margin: 0; font-size: 13px; }
.footer-legal-link { color: #64748b; font-size: 13px; margin-left: 16px; transition: color var(--transition); }
.footer-legal-link:hover { color: var(--primary); }

/* ── WhatsApp Float ── */
.whatsapp-float {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 56px; height: 56px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px;
    box-shadow: 0 4px 20px rgba(37,211,102,.4);
    z-index: 500;
    transition: all var(--transition);
    animation: pulse 2.5s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); background: #20ba5c; color: #fff; }
@keyframes pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,.4); }
    50%       { box-shadow: 0 4px 32px rgba(37,211,102,.7); }
}

/* ── Scroll Top ── */
.scroll-top {
    position: fixed;
    bottom: 20px; right: 20px;
    width: 44px; height: 44px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    font-size: 16px;
    box-shadow: var(--shadow);
    z-index: 499;
    opacity: 0; visibility: hidden;
    transition: all var(--transition);
}
.scroll-top.show { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* ── Çerez Banner ── */
.cookie-banner {
    position: fixed;
    bottom: 16px; left: 50%; transform: translateX(-50%);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 800;
    box-shadow: var(--shadow-lg);
    max-width: 600px;
    width: calc(100% - 32px);
}
.cookie-content { font-size: 14px; color: var(--text-muted); }
.cookie-actions { display: flex; gap: 8px; white-space: nowrap; }

/* ── Alert ── */
.alert-contact-success { background: rgba(34,197,94,.12); border: 1px solid rgba(34,197,94,.3); color: #16a34a; border-radius: 10px; padding: 14px 18px; font-size: 14.5px; }
.alert-contact-error   { background: rgba(239,68,68,.1);  border: 1px solid rgba(239,68,68,.3);  color: #dc2626; border-radius: 10px; padding: 14px 18px; font-size: 14.5px; }

/* ── Animate Fade Up (Hero) ── */
.animate-fade-up {
    animation: fadeUpHero 0.8s ease both;
}
.animate-fade-up:nth-child(2) { animation-delay: .15s; }
.animate-fade-up:nth-child(3) { animation-delay: .3s; }
.animate-fade-up:nth-child(4) { animation-delay: .45s; }
.animate-fade-up:nth-child(5) { animation-delay: .6s; }
@keyframes fadeUpHero {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════ */

/* ── Tablet & Mobil (< 992px) ── */
@media (max-width: 991.98px) {
    :root { --section-py: 56px; }

    /* Hero metin ortala */
    .hero-caption { text-align: center; align-items: center; }
    .hero-desc    { text-align: center; }
    .hero-badge   { margin: 0 auto 16px; }

    /* Info bar yatay → dikey */
    .info-bar-item {
        border-right:  none;
        border-bottom: 1px solid rgba(255,255,255,.2);
        justify-content: center;
    }
    .info-bar-item:last-child { border-bottom: none; }

    /* Mobil açılan menü kutusu */
    .navbar-collapse {
        background:    var(--surface);
        border-radius: var(--radius);
        padding:       16px;
        margin-top:    10px;
        border:        1px solid var(--border);
        box-shadow:    var(--shadow-lg);
    }

    /* Menü linkleri mobilde daha büyük dokunma alanı */
    .nav-link {
        padding:     10px 14px !important;
        font-size:   16px;
        border-radius: 8px;
    }

    /* Hero şeffaf modda hamburger ve tema butonu beyaz */
    .hero-nav .navbar-toggler-icon {
        filter: brightness(0) invert(1);
    }
    .hero-nav .navbar-toggler {
        border-color: rgba(255,255,255,.4);
    }
    .hero-nav .theme-toggle {
        border-color: rgba(255,255,255,.4);
        color: #fff;
    }

    /* Mobilde WhatsApp butonu satır içi, tam genişlik değil */
    .whatsapp-btn {
        display:     inline-flex !important;
        align-items: center;
        justify-content: center;
        gap: 6px;
        width:       auto !important;
        margin-top:  8px;
    }

    /* Hakkımızda istatistikler */
    .about-stats { justify-content: center; }

    /* Misyon/Vizyon kartları mobilde tam yükseklik */
    .mission-card { margin-bottom: 0; }

    /* Galeri 3 sütun */
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }

    /* Footer düzeni */
    .footer-bottom .row { gap: 12px; }
    .footer-bottom .text-md-end { text-align: left !important; }
    .footer-legal-link:first-child { margin-left: 0; }
}

/* ── Küçük Tablet (576px – 768px) ── */
@media (min-width: 576px) and (max-width: 767.98px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .about-stat .stat-num { font-size: 26px; }
}

/* ── Mobil (< 576px) ── */
@media (max-width: 575.98px) {
    :root { --section-py: 40px; --navbar-h: 64px; }

    /* Navbar */
    .nav-logo { height: 36px; }
    .nav-logo-text { font-size: 17px; }

    /* Hero */
    .hero-title { font-size: clamp(22px, 8vw, 34px); }
    .hero-subtitle { font-size: 15px; }
    .hero-btn { padding: 12px 24px; font-size: 15px; }
    .carousel-control-prev,
    .carousel-control-next { display: none; }

    /* Bölüm başlıkları */
    .section-header { margin-bottom: 32px; }
    .section-title  { font-size: clamp(20px, 6vw, 28px); }
    .section-subtitle { font-size: 15px; }

    /* Galeri 2 sütun */
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }

    /* İletişim formu */
    .contact-form-wrap { padding: 20px 16px; }

    /* Cookie banner */
    .cookie-banner { flex-direction: column; text-align: center; }
    .cookie-actions { justify-content: center; }

    /* Footer */
    .footer-top    { gap: 32px; }
    .footer-legal-link { display: inline-block; margin: 4px 8px 0 0; }

    /* Lightbox tam ekran */
    .lightbox-inner img { max-width: 95vw; max-height: 80vh; }

    /* Scroll top & WhatsApp float */
    .whatsapp-float { width: 50px; height: 50px; font-size: 22px; bottom: 72px; right: 14px; }
    .scroll-top     { width: 40px; height: 40px; font-size: 14px; right: 14px; bottom: 20px; }

    /* Stat kartları */
    .about-stats   { gap: 20px; }
    .stat-num      { font-size: 26px; }

    /* Hizmetler grid mobilde 1 sütun zaten, ama icon daha küçük */
    .service-icon-wrap { height: 80px; font-size: 34px; }

    /* Blog card */
    .blog-img { height: 160px; }
}
