/* ═══════════════════════════════════════════
   MOBILE RESPONSIVE - NFK GRUP
   iOS & Android uyumlu
═══════════════════════════════════════════ */

/* ── HAMBURGER MENU ── */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
    z-index: 300;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE OVERLAY NAV ── */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.97);
    z-index: 250;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
}
.nav-overlay.open { display: flex; }
.nav-overlay a {
    color: #fff;
    text-decoration: none;
    font-size: 22px;
    font-weight: 600;
    padding: 20px 40px;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: color 0.2s;
}
.nav-overlay a:hover { color: #f0a500; }
.nav-overlay a:last-child { border-bottom: none; }

@media (max-width: 768px) {
    /* ── HEADER ── */
    header {
        padding: 0 16px !important;
        height: 56px !important;
    }
    header nav { display: none !important; }
    .hamburger { display: flex !important; }

    /* ── HERO VIDEO ── */
    #hero-video {
        width: 100% !important;
        height: 100% !important;
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
        object-fit: cover !important;
        object-position: center !important;
    }

    /* ── HERO TEXT ── */
    #hero {
        padding: 60px 20px 100px !important;
        justify-content: flex-end !important;
        min-height: 100svh !important;
    }
    .hero-brand {
        font-size: 52px !important;
        letter-spacing: 3px !important;
    }
    @keyframes typing {
        from { width: 0 }
        to { width: 9ch }
    }
    #hero h1 {
        font-size: 28px !important;
        margin-bottom: 14px !important;
    }
    #hero p {
        font-size: 14px !important;
        margin-bottom: 36px !important;
        line-height: 1.7 !important;
    }

    /* ── HERO BUTTONS ── */
    .hero-buttons {
        gap: 12px !important;
        width: 100% !important;
    }
    .hero-btn-3d {
        flex: 1 !important;
        min-width: 0 !important;
        padding: 16px 12px !important;
        font-size: 13px !important;
        border-radius: 10px !important;
    }
    .hero-btn-3d svg {
        width: 22px !important;
        height: 22px !important;
    }

    /* ── SECTIONS ── */
    .sections {
        padding: 0 16px 80px !important;
    }

    /* ── TANITIM BOX ── */
    .tanitim-box {
        flex-direction: column !important;
        padding: 20px !important;
        gap: 16px !important;
    }
    .tanitim-box img {
        width: 100% !important;
        height: 180px !important;
    }

    /* ── SERVICE GRID (index.html) ── */
    #services .services-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    .hizmet-card img { height: 180px !important; }

    /* ── CTA BAND ── */
    .cta-band {
        flex-direction: column !important;
        padding: 24px 20px !important;
        text-align: center !important;
        gap: 16px !important;
    }
    .cta-band h2 { font-size: 20px !important; }
    .cta-band p { font-size: 13px !important; }
    .cta-phone {
        width: 100% !important;
        justify-content: center !important;
        font-size: 16px !important;
        padding: 12px 20px !important;
    }

    /* ── FIXED BOTTOM BUTTONS ── */
    .fixed-bottom-btns {
        width: 100% !important;
        left: 0 !important;
        transform: none !important;
    }
    .fixed-btn {
        flex: 1 !important;
        justify-content: center !important;
        padding: 14px 8px !important;
        font-size: 14px !important;
    }

    /* ── SCROLL TOP ── */
    .scroll-top {
        bottom: 70px !important;
        right: 12px !important;
    }

    /* ── FOOTER ── */
    .footer-inner {
        flex-direction: column !important;
        gap: 24px !important;
        padding: 0 !important;
    }
    footer {
        padding: 28px 20px !important;
    }

    /* ── INNER PAGES ── */
    main {
        padding: 28px 16px 90px !important;
    }
    .page-title {
        font-size: 28px !important;
    }

    /* ── SERVICE CARDS (hizmetlerimiz.html) ── */
    .service-card {
        padding: 16px !important;
        gap: 12px !important;
    }
    .service-card-body h2 {
        font-size: 16px !important;
    }

    /* ── CONTACT MAP ── */
    .map-container {
        height: 280px !important;
    }
    .contact-box {
        padding: 18px !important;
    }
    .contact-box p {
        font-size: 14px !important;
    }

    /* ── DETAIL PAGES ── */
    .content-box {
        padding: 20px !important;
    }
    .content-box p {
        font-size: 14px !important;
        line-height: 1.8 !important;
    }
    .hero-img {
        max-height: 200px !important;
    }
    .page-subtitle {
        font-size: 15px !important;
    }
    .back-link {
        width: 100% !important;
        justify-content: center !important;
    }
}

@media (max-width: 400px) {
    .hero-brand { font-size: 42px !important; }
    #hero h1 { font-size: 24px !important; }
}
