/* =========================================================
   MOBİL.CSS — Hüseyin Şahin SMMM
   Breakpoints:
     ≤ 992px  → tablet
     ≤ 768px  → mobil (geniş)
     ≤ 480px  → mobil (dar)
   ========================================================= */

/* ── container ── */
@media (max-width: 1100px) {
    .container-xl { padding: 0 20px }
}

/* ========================================================= */
/* TOPBAR                                                     */
/* ========================================================= */
@media (max-width: 1100px) {
    .topbar { display: none }  /* mobilde üst bar gizle — navbar yeterli */
    .stats::before{
        display:none;
    }
}

/* ========================================================= */
/* NAVBAR                                                     */
/* ========================================================= */
@media (max-width: 1100px) {
    /* Her zaman beyaz + gölgeli */
    .nav-wrap {
        top: 0;
        background: rgba(255,255,255,.97);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        box-shadow: 0 1px 0 rgba(13,31,60,.09), 0 4px 20px rgba(13,31,60,.06)
    }

    .nav-inner { height: 64px }

    /* Desktop linkleri gizle */
    .nav-links  { display: none }
    .oda-badge  { display: none }
    .nav-cta    { display: none }
    .language-switch { display: none }

    /* Logo */
    .logo-hs { height: 40px }

    /* nav-right: sadece hamburger göster */
    .nav-right { gap: 0 }

    /* Hamburger butonu */
    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--ink);
        background: var(--primary-bg);
        border: 1px solid var(--primary-line);
        border-radius: 10px;
        padding: 7px 11px;
        font-size: 1.45rem;
        cursor: pointer;
        transition: background .2s, border-color .2s
    }

    .nav-toggle:hover {
        background: var(--primary);
        border-color: var(--primary);
        color: #fff
    }
}

/* ========================================================= */
/* MOBİL MENÜ                                                 */
/* ========================================================= */
@media (max-width: 1100px) {
    .mobile-menu {
        gap: 0;
        padding: 76px 28px 32px;
        justify-content: flex-start;
        align-items: center;
        overflow-y: auto;
        overscroll-behavior: contain
    }

    /* Nav linkleri */
    .mobile-menu > a {
        font-size: 1.45rem;
        padding: 13px 0;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,.07);
        transition: color .2s, padding-left .2s
    }

    .mobile-menu > a:first-of-type { border-top: 1px solid rgba(255,255,255,.07) }

    .mobile-menu > a:hover { color: var(--gold); padding-left: 6px }

    .mm-links {
        width: 100%;
        color: #fff;
        border-bottom: 1px solid rgba(255,255,255,.07)
    }

    .mm-links summary {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 9px;
        width: 100%;
        padding: 13px 0;
        font-family: var(--serif);
        font-size: 1.45rem;
        cursor: pointer;
        list-style: none
    }

    .mm-links summary::marker {
        content: "";
        display: none
    }

    .mm-links summary::-webkit-details-marker { display: none }

    .mm-links summary i {
        font-size: .75rem;
        color: var(--gold);
        transition: transform .25s ease
    }

    .mm-links[open] summary i { transform: rotate(180deg) }

    .mm-links-menu {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        padding: 4px 0 14px
    }

    .mobile-menu .mm-links-menu a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        min-width: 0;
        padding: 10px 12px;
        border: 1px solid rgba(255,255,255,.1);
        border-radius: 6px;
        background: rgba(255,255,255,.05);
        color: rgba(255,255,255,.78);
        font-family: var(--sans);
        font-size: .72rem;
        line-height: 1.3
    }

    .mobile-menu .mm-links-menu a i {
        flex-shrink: 0;
        color: var(--gold)
    }

    /* Kapat butonu */
    .mobile-menu .close {
        top: 22px;
        right: 22px;
        font-size: 1.6rem;
        cursor: pointer
    }

    /* Oda logosu */
    .mobile-menu .mm-oda {
        height: 52px;
        margin-top: 20px;
        opacity: .7
    }

    .mm-language {
        width: 100%;
        max-width: 360px;
        margin-top: 18px;
        padding-top: 16px;
        border-top: 1px solid rgba(255,255,255,.07)
    }

    .mm-language > span {
        display: block;
        margin-bottom: 10px;
        color: rgba(255,255,255,.48);
        font-family: var(--sans);
        font-size: .72rem;
        font-weight: 800;
        letter-spacing: .14em;
        text-align: center;
        text-transform: uppercase
    }

    .mm-language-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0,1fr));
        gap: 8px
    }

    .mobile-menu .mm-language-grid a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 42px;
        padding: 9px 10px;
        border: 1px solid rgba(255,255,255,.11);
        border-radius: 6px;
        background: rgba(255,255,255,.05);
        color: rgba(255,255,255,.78);
        font-family: var(--sans);
        font-size: .82rem;
        font-weight: 900;
        letter-spacing: .06em;
        line-height: 1;
        transition: background .2s, color .2s, border-color .2s
    }

    .mobile-menu .mm-language-grid a:hover,
    .mobile-menu .mm-language-grid a.active {
        background: var(--gold);
        border-color: var(--gold);
        color: var(--ink-deep)
    }

    /* CTA aksiyonlar */
    .mm-actions {
        display: flex;
        gap: 10px;
        margin-top: 24px;
        width: 100%;
        max-width: 360px
    }

    .mobile-menu .mm-cta {
        flex: 1;
        min-width: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 14px 16px;
        border-radius: 50px;
        font-size: .88rem;
        font-family: var(--sans);
        font-weight: 700;
        text-decoration: none;
        line-height: 1.15;
        white-space: nowrap;
        transition: opacity .2s, transform .2s
    }

    .mobile-menu .mm-cta:active { transform: scale(.97) }

    .mobile-menu .mm-cta-tel {
        background: var(--gold);
        color: var(--ink-deep)
    }

    .mobile-menu .mm-cta-wa {
        background: #25D366;
        color: #fff
    }
}

@media (max-width: 380px) {
    .mm-actions {
        flex-direction: column;
        max-width: 220px
    }

    .mobile-menu .mm-cta {
        width: 100%
    }
}

/* ========================================================= */
/* HERO                                                       */
/* ========================================================= */
@media (max-width: 992px) {
    /* Topbar gizlendiği için navbar'ın 64px sabit yüksekliğine göre ayarla */
    .hero { padding: 88px 0 56px }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
        min-height: unset
    }

    /* Resim kutusu önce gelsin */
    .hero-img-wrap {
        order: 1;
        gap: 12px
    }
    .hero-text     { order: 2 }

    .hero-img-card {
        border-radius: 20px;
        aspect-ratio: 16/9      /* dikeyde çok yer kaplamaması için */
    }

    .hero-stats-row {
        padding: 14px 20px;
        border-radius: 14px
    }

    .hsr-item b { font-size: 1.35rem }
}

@media (max-width: 768px) {
    .hero { padding: 76px 0 40px }

    .hero h1 {
        font-size: clamp(1.75rem, 6.5vw, 2.4rem);
        min-height: 2.6em
    }

    .hero p.lead-txt {
        font-size: .93rem;
        margin-bottom: 22px;
        max-width: 100%;
        min-height: 5.2em
    }

    .hero-actions {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 14px
    }

    .hero-news-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
        margin: 18px 0 0;
        border-radius: 14px
    }

    .hero-news-actions a {
        min-height: 42px;
        padding: 0 10px;
        font-size: .76rem;
        white-space: nowrap
    }

    .btn-gold,
    .btn-ghost {
        width: 100%;
        justify-content: center;
        padding: 12px 18px
    }

    .hero-eyebrow { font-size: .7rem; padding: 6px 14px }

    .hero-img-badge { padding: 6px 12px 6px 8px }
    .hero-img-badge span { font-size: .65rem }

    .hero-thumbs-row {
        position: static;
        order: -1;
        margin-bottom: 0;
        padding: 10px;
        gap: 12px;
        border-radius: 16px;
        background: #fff
    }

    .hero-thumb {
        flex-basis: calc((100% - 36px) / 4);
        height: 54px;
        border-radius: 12px
    }

    .hsr-item b    { font-size: 1.2rem }
    .hsr-item span { font-size: .68rem }

    .hero-stats-row { padding: 12px 16px }

    .hero-nav-row {
        justify-content: center
    }

    .hero-nav-row > .hero-arrows {
        display: none
    }

    .hero-arrows-mobile {
        position: absolute;
        inset: 0;
        z-index: 3;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0;
        padding: 0 12px;
        pointer-events: none
    }

    .hero-arrows-mobile .har {
        pointer-events: auto;
        width: 42px;
        height: 42px;
        border-color: rgba(255,255,255,.7);
        background: rgba(255,255,255,.92);
        color: var(--ink);
        box-shadow: 0 10px 26px rgba(13,31,60,.18)
    }

    .hero-arrows-mobile .har-next {
        background: var(--ink);
        border-color: var(--ink);
        color: #fff
    }
}

@media (max-width: 480px) {
    .hero { padding: 70px 0 34px }

    .hero-img-card {
        aspect-ratio: 16/10;
        border-radius: 16px
    }

    .hero-thumbs-row {
        position: static;
        padding: 8px;
        gap: 10px
    }

    .hero-thumb {
        flex-basis: calc((100% - 30px) / 4);
        height: 48px;
        border-radius: 10px
    }

    .hero-nav-row { flex-direction: row }

    .slider-dots button      { width: 22px }
    .slider-dots button.active { width: 36px }

    .har { width: 40px; height: 40px; font-size: .9rem }

    .hero-arrows-mobile {
        padding: 0 10px
    }

    .hero-arrows-mobile .har {
        width: 38px;
        height: 38px
    }
}

/* ========================================================= */
/* MARQUEE                                                    */
/* ========================================================= */
@media (max-width: 768px) {
    .marquee .track span { font-size: 1.1rem }
    .marquee .track i    { padding: 0 16px }
    .marquee             { padding: 16px 0 }
}

/* ========================================================= */
/* TRUST GRİDİ                                               */
/* ========================================================= */
@media (max-width: 768px) {
    .trust-grid {
        grid-template-columns: 1fr 1fr;
        border-radius: 14px
    }

    /* Üst sıra (1. ve 2. item) → alt border */
    .trust-item:nth-child(1),
    .trust-item:nth-child(2) {
        border-bottom: 1px solid var(--line)
    }

    /* Sol sütun (1. ve 3. item) → sağ border */
    .trust-item:nth-child(1),
    .trust-item:nth-child(3) {
        border-right: 1px solid var(--line)
    }

    /* 2. ve 4. sağ sütun — border-right kaldır */
    .trust-item:nth-child(2),
    .trust-item:nth-child(4) {
        border-right: none
    }

    /* hover'da yukarı kalkmasın, mobilde yerinde dursun */
    .trust-item:hover { transform: none }

    .trust-item { padding: 28px 22px }
    .trust-item .ti-ico { font-size: 1.6rem; margin-bottom: 12px }
    .trust-item h4 { font-size: 1.05rem }
    .trust-item p  { font-size: .85rem }
}

@media (max-width: 480px) {
    .trust-grid { grid-template-columns: 1fr }

    /* 1 sütunda tüm item'lar alt border alır, son hariç */
    .trust-item {
        border-right: none !important;
        border-bottom: 1px solid var(--line) !important
    }

    .trust-item:last-child { border-bottom: none !important }

    .trust-item { padding: 22px 18px }
}

/* ========================================================= */
/* HAKKIMDA                                                   */
/* ========================================================= */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px
    }

    .about-media { order: 1 }
    .about-text  { order: 2 }

    .ab-photo {
        aspect-ratio: 3/3
    }   /* dikey fotoğraf yataya çevrilsin */

    .ab-exp-badge {
        right: 16px;
        top: 16px
    }
}

@media (max-width: 768px) {
    .about-text h2 { font-size: clamp(1.5rem, 5.5vw, 2rem) }

    .ab-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px
    }

    .ab-bottom .btn-gold {
        width: 100%;
        justify-content: center
    }

    .section { padding: 72px 0 }
}

@media (max-width: 480px) {
    .ab-photo { aspect-ratio: 3/3 }

    .ab-exp-badge { padding: 12px 16px }
    .ab-exp-badge b { font-size: 1.6rem }
}

/* ========================================================= */
/* HİZMET KARTLARI                                           */
/* ========================================================= */
@media (max-width: 992px) {
    .svc-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px
    }
}

@media (max-width: 768px) {
    .svc-grid {
        grid-template-columns: 1fr;
        gap: 14px
    }

    .svc-card {
        padding: 22px 20px
    }

    /* SSS layout: 2 kolon → 1 kolon */
    .svc-wrap.faq-layout {
        grid-template-columns: 1fr !important;
        gap: 40px
    }

    /* SSS yan fotoğraf mobilde küçük veya gizle */
    .svc-wrap.faq-layout .svc-photo { display: none }
}

@media (max-width: 480px) {
    .sec-head { margin-bottom: 40px }
    .sec-head h2 { font-size: clamp(1.5rem, 6vw, 2rem) }
}

/* ========================================================= */
/* STATS (koyu bant)                                         */
/* ========================================================= */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px
    }

    .stat .num { font-size: clamp(2rem, 8vw, 2.6rem) }
    .stat .lbl { font-size: .84rem }
    .stat { padding-left: 18px }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 20px }
    .stat .num   { font-size: 2rem }
}

/* ========================================================= */
/* REFERANSLAR                                               */
/* ========================================================= */
@media (max-width: 768px) {
    .ref-clients-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        margin-top: 36px
    }

    .rcl-item  { padding: 14px 12px; gap: 10px }
    .rcl-ico   { width: 36px; height: 36px; font-size: 1rem }
    .rcl-info b { font-size: .8rem }
}

@media (max-width: 480px) {
    .ref-clients-grid { grid-template-columns: 1fr }
}

/* ========================================================= */
/* SSS                                                        */
/* ========================================================= */
@media (max-width: 768px) {
    .faq-q {
        font-size: .95rem;
        padding: 18px 16px;
        gap: 12px
    }

    .faq-q .ic {
        width: 28px;
        height: 28px;
        font-size: .95rem
    }

    .faq-a p { padding: 0 16px 18px }
    .faq-answer { padding: 0 16px 18px }
    .faq-answer p { padding: 0 }
}

/* ========================================================= */
/* CTA BANDI (#iletisim)                                     */
/* ========================================================= */
@media (max-width: 768px) {
    .cta-band { padding: 20px 0 }

    .cta-layout {
        flex-direction: column;
        gap: 18px;
        padding: 22px 18px;
        border-radius: 14px;
        overflow: hidden
    }

    .cta-left { width: 100% }

    .cta-left h2 { font-size: 1.25rem }

    .cta-right {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 10px
    }

    .cta-card {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        border-radius: 12px;
        padding: 14px 16px
    }

    .cta-card-val { font-size: .82rem }
}

@media (max-width: 480px) {
    .cta-layout {
        padding: 20px 18px
    }

    .cta-left .eyebrow {
        font-size: .72rem;
        letter-spacing: .22em
    }

    .cta-left h2 {
        font-size: 1.22rem;
        line-height: 1.25
    }

    .cta-left p {
        font-size: .84rem
    }

    .cta-card {
        gap: 10px;
        padding: 13px 14px
    }

    .cta-card-ico {
        width: 34px;
        height: 34px;
        border-radius: 8px
    }

    .cta-card-lbl {
        font-size: .58rem
    }

    .cta-card-val {
        font-size: .8rem
    }

    .cta-card-sub {
        font-size: .66rem
    }

    .cta-card-arr {
        font-size: .82rem
    }
}

/* ========================================================= */
/* FOOTER                                                     */
/* ========================================================= */
@media (max-width: 992px) {
    .foot-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px 32px;
        padding-bottom: 48px
    }

    /* Marka kolonu her zaman tam genişlik */
    .foot-brand   { grid-column: 1 / -1 }
    .foot-contact { grid-column: 1 / -1 }

    .foot-contact-list { grid-template-columns: 1fr 1fr }
}

@media (max-width: 768px) {
    .footer1 { padding: 46px 22px 0 }

    .foot-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-bottom: 40px
    }

    /* Logo grup */
    .foot-logos { gap: 12px; flex-wrap: wrap; margin-bottom: 18px }
    .foot-logos .logo-hs  { height: 42px }
    .foot-logos .sep      { display: none }
    .foot-logos .logo-oda { height: 38px }

    .foot-brand p {
        font-size: .84rem;
        line-height: 1.7;
        max-width: 100%;
        margin-bottom: 18px
    }

    /* Sosyal medya ikonları */
    .foot-social { gap: 8px }
    .foot-social a { width: 34px; height: 34px; font-size: .88rem }

    /* Kolon başlıkları */
    footer h5 { font-size: .74rem; margin-bottom: 16px }

    /* Link satırları */
    .foot-links { gap: 10px }
    .foot-links a { font-size: .84rem; line-height: 1.45 }

    /* İletişim listesi */
    .foot-contact-list { gap: 14px }
    .foot-contact-list li { font-size: .83rem }
    .fci { width: 28px; height: 28px; font-size: .72rem }

    /* Alt bar */
    .foot-bottom {
        flex-direction: column;
        text-align: center;
        gap: 6px;
        padding: 16px 0
    }

    .fb-links { justify-content: center; gap: 14px }

    .foot-bottom p,
    .fb-links a { font-size: .78rem }
}

@media (max-width: 540px) {
    .footer1 { padding: 42px 20px 0 }
    .foot-grid { grid-template-columns: 1fr; gap: 28px }
    .foot-contact-list { grid-template-columns: 1fr }
    .foot-logos .logo-hs  { height: 36px }
    .foot-logos .logo-oda { height: 32px }
}

@media (max-width: 380px) {
    .footer1 { padding-inline: 18px }
    .foot-social { flex-wrap: wrap }
    .fb-links { flex-wrap: wrap }
}

/* ========================================================= */
/* GENEL YARDIMCILAR                                         */
/* ========================================================= */
@media (max-width: 768px) {
    .section { padding: 64px 0 }

    .display { font-size: clamp(1.6rem, 6vw, 2.2rem) }

    /* Büyük padding'li bölümleri sıkıştır */
    .trust { padding: 48px 0 }

    /* Scroll progress çubuğu */
    #progress { height: 2px }

    .floating-whatsapp {
        right: 16px;
        bottom: 20px;
        width: 42px;
        height: 42px;
        font-size: 1.15rem
    }

    .floating-whatsapp.with-to-top { bottom: 74px }

    /* toTop butonu biraz yukarı al — mobil bardan kaçsın */
    #toTop { bottom: 20px; right: 16px; width: 42px; height: 42px; font-size: 1rem }
}
