/* ============================================
   MOBİL DÜZELTMELER - mobile.css
   Tüm breakpoint sorunları burada
   ============================================ */

/* ── HAMBURGER MENÜ ─────────────────────────── */
@media (max-width: 768px) {

  /* Overlay */
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 998;
    backdrop-filter: blur(3px);
  }
  .nav-overlay.open { display: block; }

  /* Menü paneli */
  .nav-menu {
    position: fixed;
    top: 0; right: -100%;
    width: min(300px, 85vw);
    height: 100dvh;
    background: white;
    flex-direction: column;
    padding: 0;
    box-shadow: -8px 0 40px rgba(0,0,0,.15);
    transition: right .35s cubic-bezier(.4,0,.2,1);
    z-index: 999;
    align-items: stretch;
    gap: 0;
    overflow-y: auto;
    overflow-x: hidden;
  }
  .nav-menu.open { right: 0; }

  /* Menü başlık */
  .nav-menu::before {
    content: '';
    display: block;
    height: 70px;
    background: var(--gri-koyu);
    flex-shrink: 0;
  }

  /* Menü linkleri */
  .nav-link {
    color: var(--gri) !important;
    width: 100%;
    padding: 15px 24px;
    border-radius: 0;
    font-size: 1rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(0,0,0,.06);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all .2s;
  }
  .nav-link::before {
    content: '';
    width: 4px; height: 4px;
    border-radius: 50%;
    background: rgba(255,107,53,.3);
    transition: all .2s;
    flex-shrink: 0;
  }
  .nav-link:hover,
  .nav-link.active {
    background: rgba(255,107,53,.06);
    color: var(--turuncu) !important;
    padding-left: 30px;
  }
  .nav-link:hover::before,
  .nav-link.active::before {
    background: var(--turuncu);
    width: 6px; height: 6px;
  }

  /* CTA butonu menüde */
  .btn-nav {
    margin: 16px;
    border-radius: 12px !important;
    text-align: center;
    justify-content: center;
  }

  /* Hamburger butonu */
  .hamburger { display: flex; z-index: 1001; }
}

/* ── HERO MOBİL ─────────────────────────────── */
@media (max-width: 768px) {
  .hero { min-height: 100svh; cursor: default; }

  .hero-content {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    padding: 100px 0 50px !important;
    text-align: center;
  }

  .hero-text { order: 1; }
  .hero-visual { order: 0; max-width: 260px; margin: 0 auto; }

  .hero-img-wrapper { aspect-ratio: 1/1; border-radius: 50% !important; }

  /* Typed başlık */
  .hero h1 { font-size: clamp(1.8rem,7vw,2.5rem) !important; }

  /* Alt yazı slider - sabit yükseklik kaldır */
  .hero-slides-wrap { min-height: auto !important; }
  .hero-slide { position: relative !important; }
  .hero-slide.prev { display: none; }

  /* BUTONLAR — tam genişlik, alt alta */
  .hero-btns {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    max-width: 320px;
    margin: 0 auto;
  }
  .hero-btns .btn { justify-content: center; width: 100%; }

  /* Badge pilları */
  .hero-float-badges {
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
  }
  .hero-badge-pill { font-size: .75rem; padding: 5px 12px; }

  /* SAYAÇ — sayaçlar hero içinde değil, ayrı stats band'de */
  .hero-stats {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
    margin-top: 32px !important;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-stat { text-align: center; }
  .hero-stat-num { font-size: 2rem !important; }
  .hero-stat-label { font-size: .75rem; }

  /* Float kartlar mobilde gizle */
  .hero-float-card { display: none !important; }

  /* Canvas pointer events */
  #heroCanvas { pointer-events: none !important; }
}

/* ── STATS BAND MOBİL ───────────────────────── */
@media (max-width: 768px) {
  .stats-band { padding: 36px 0; }
  .stats-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 24px !important;
  }
  .stat-num { font-size: 2.2rem !important; }
  .stat-label { font-size: .8rem; }
}

/* ── CAROUSEL MOBİL ─────────────────────────── */
@media (max-width: 768px) {
  .service-carousel-card { flex: 0 0 100% !important; padding: 0 6px; }
  .tc-card { flex: 0 0 100% !important; padding: 0 6px; }
  .sc-visual { height: 150px; }
  .carousel-controls { gap: 12px; }
  .carousel-btn { width: 40px; height: 40px; }
}

/* ── BLOG GRID MOBİL ────────────────────────── */
@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr !important;
  }
  .blog-card-img { aspect-ratio: 16/8; }
}

/* ── ABOUT MOBİL ────────────────────────────── */
@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr !important; gap: 40px !important; }
  .about-img-wrapper { max-width: 280px !important; margin: 0 auto !important; }
  .about-exp-badge {
    width: 90px !important; height: 90px !important;
    bottom: -14px !important; right: -10px !important;
  }
  .about-exp-badge strong { font-size: 1.8rem !important; }
  .about-features { gap: 10px; }
  .about-feature { padding: 12px; }
}

/* ── FOOTER MOBİL ───────────────────────────── */
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr !important; gap: 28px !important; }
  .footer-main { padding: 50px 0 30px; }
  .footer-bottom .container {
    flex-direction: column !important;
    gap: 6px !important;
    text-align: center !important;
  }
}

/* ── REFERANSLAR MOBİL ──────────────────────── */
@media (max-width: 768px) {
  .testimonials-grid { grid-template-columns: 1fr !important; }
}

/* ── MARQUEE MOBİL ──────────────────────────── */
@media (max-width: 768px) {
  .marquee-item { padding: 0 24px; font-size: .8rem; }
}

/* ── PAGE HERO MOBİL ────────────────────────── */
@media (max-width: 768px) {
  .page-hero { padding: 120px 0 50px; }
  .page-hero h1 { font-size: clamp(1.6rem,6vw,2.2rem); }
}

/* ── FORM MOBİL ─────────────────────────────── */
@media (max-width: 768px) {
  .form-row { grid-template-columns: 1fr !important; }
  .form-card { padding: 24px 18px; }
  .contact-grid { grid-template-columns: 1fr !important; }
}

/* ── CTA MOBİL ──────────────────────────────── */
@media (max-width: 768px) {
  .cta-section { padding: 60px 0 50px; }
  .cta-btns {
    flex-direction: column !important;
    align-items: stretch !important;
    max-width: 300px;
    margin: 0 auto;
  }
  .cta-btns .btn { justify-content: center; }
}

/* ── GENEL ──────────────────────────────────── */
@media (max-width: 768px) {
  .section { padding: 56px 0 !important; }
  .section-header { margin-bottom: 40px; }
  .section-header h2 { font-size: clamp(1.5rem,5vw,2rem); }
  .container { padding: 0 16px; }

  /* Tilt kartlar mobilede resetle */
  .tilt-card { transform: none !important; }

  /* WhatsApp + Scroll top */
  .whatsapp-btn { width: 48px; height: 48px; font-size: 1.4rem; bottom: 20px; left: 16px; }
  .scroll-top { width: 42px; height: 42px; bottom: 20px; right: 16px; }
}

/* ── EXTRA KÜÇÜK ────────────────────────────── */
@media (max-width: 380px) {
  .hero h1 { font-size: 1.6rem !important; }
  .hero-badge-pill { font-size: .7rem; padding: 4px 10px; }
  .btn-lg { padding: 13px 24px !important; font-size: .95rem !important; }
  .hero-stats { grid-template-columns: 1fr 1fr !important; gap: 12px !important; }
}

/* ── TABLET (768-992) ───────────────────────── */
@media (min-width: 769px) and (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr 1fr !important;
    gap: 40px !important;
    padding: 120px 0 60px !important;
  }
  .hero h1 { font-size: 2.4rem !important; }
  .service-carousel-card { flex: 0 0 50% !important; }
  .tc-card { flex: 0 0 50% !important; }
  .blog-grid { grid-template-columns: repeat(2,1fr) !important; }
  .about-grid { grid-template-columns: 1fr 1fr !important; gap: 40px !important; }
  .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 30px !important; }
}

/* ── HAMBURGER KAPATICı OVERLAY ─────────────── */
/* JS ile eklenmediğinde de güvenli overlay */
body.menu-open { overflow: hidden; }
