/**
 * Mobil Stil Dosyası - Soyner Nakliyat
 * 
 * Bu dosya sadece mobil cihazlar için ekstra stiller içerir.
 * Ana stiller stil.css'de.
 */

/* =====================================================
   MOBİL MENÜ
===================================================== */

.mobile-menu-active {
    overflow: hidden;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    max-width: 80%;
    height: 100%;
    background: #ffffff;
    z-index: 10000;
    padding: 30px 25px;
    transition: right 0.4s ease;
    box-shadow: -10px 0 30px rgba(0,0,0,0.15);
    overflow-y: auto;
}

.mobile-menu-panel.active {
    right: 0;
}

.mobile-menu-panel .close-menu {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #171717;
    z-index: 10001;
    background: transparent;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-panel .mobile-logo {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.mobile-menu-panel .mobile-logo .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.mobile-menu-panel .mobile-logo img {
    max-height: 45px;
    width: auto;
}

.mobile-menu-panel .mobile-links {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 10px 0 20px;
}

.mobile-menu-panel .mobile-links a {
    display: block;
    padding: 12px 15px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    color: #171717;
    text-decoration: none;
    transition: background 0.2s ease;
}

.mobile-menu-panel .mobile-links a:hover,
.mobile-menu-panel .mobile-links a.active {
    background: #f47700;
    color: #ffffff;
}

.mobile-menu-panel .mobile-phone {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.mobile-menu-panel .mobile-phone a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    background: #f47700;
    color: #ffffff;
    border-radius: 8px;
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
}

.mobile-menu-panel .mobile-phone a i {
    font-size: 20px;
    color: #ffffff;
}

/* =====================================================
   MOBİL TOP BAR
===================================================== */

.mobile-topbar {
    display: none;
}

/* =====================================================
   MOBİL MEDYA SORUSU - 600px ve altı
===================================================== */

@media (max-width: 600px) {

    /* --- TOP BAR --- */
    .mobile-topbar {
        display: flex;
        width: 100%;
        height: 42px;
        background: #171717;
        align-items: center;
        justify-content: space-between;
        padding: 0 14px;
        box-sizing: border-box;
        overflow: hidden;
    }

    .mobile-social {
        display: flex;
        align-items: center;
        gap: 14px;
        flex-shrink: 0;
    }

    .mobile-social a {
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        text-decoration: none;
    }

    .mobile-social a i {
        font-size: 19px !important;
        line-height: 1 !important;
    }

    .mobile-social .facebook,
    .mobile-social .facebook i {
        color: #1877F2 !important;
    }

    .mobile-social .youtube,
    .mobile-social .youtube i {
        color: #FF0000 !important;
    }

    .mobile-social .instagram,
    .mobile-social .instagram i {
        color: #E4405F !important;
    }

    .mobile-top-links {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 14px !important;
        flex-shrink: 0 !important;
        white-space: nowrap !important;
    }

    .mobile-top-links a,
    .mobile-top-links span {
        display: inline-flex !important;
        align-items: center !important;
        height: 30px !important;
        color: #fff !important;
        text-decoration: none !important;
        font-size: 12px !important;
        font-weight: 600 !important;
        white-space: nowrap !important;
    }

    /* --- MOBİL HEADER --- */
    header {
        height: 70px !important;
    }

    .header-inner {
        padding: 0 10px !important;
        display: flex;
        align-items: center;
        height: 70px !important;
    }

    .header-inner > .logo {
        display: flex;
        align-items: center;
        flex: 1;
    }

    .header-inner > .logo img {
        max-height: 48px !important;
        width: auto !important;
    }

    .header-phone {
        display: flex !important;
        align-items: center;
        gap: 7px;
        margin-right: 10px;
    }

    .header-phone .phone-icon {
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: #f47700;
        color: #fff;
        font-size: 13px;
    }

    .header-phone small {
        display: none !important;
    }

    .header-phone strong {
        font-size: 12.1px !important;
        white-space: nowrap;
    }

    .menu {
        display: none !important;
    }

    /* --- MOBİL MENÜ BUTONU --- */
    .mobile-menu {
        display: flex !important;
        align-items: center;
        justify-content: center;
        font-size: 22px !important;
        cursor: pointer;
    }

    /* --- MOBİL HERO SLIDER --- */
 .hero {
    height: 230px !important;
    min-height: 230px !important;
    overflow: visible !important;   /* SADECE bu değişti */
    position: relative !important;
}
    .hero picture {
        height: 230px !important;
    }

    .hero picture img {
        width: 100% !important;
        height: 230px !important;
        object-fit: cover !important;
        display: block !important;
    }

    .hero-inner {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 230px !important;
        padding: 20px !important;
        z-index: 5 !important;
        display: flex !important;
        align-items: center !important;
    }

    .hero-content {
        position: relative !important;
        z-index: 6 !important;
    }

    .hero-small,
    .hero h1,
    .hero-description {
        display: block !important;
        color: #fff !important;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.5) !important;
    }

    .hero-small {
        font-size: 14px !important;
    }

    .hero h1 {
        font-size: 24px !important;
        line-height: 1.2 !important;
    }

    .hero-description {
        font-size: 12px !important;
    }

    .quote-box {
        display: none !important;
    }

   /* =====================================================
   MOBİL HERO - SADECE SLIDER (4 KUTU YOK)
===================================================== */

@media (max-width: 600px) {

    /* Hero sabit yükseklik */
    .hero {
        height: 230px !important;
        min-height: 230px !important;
        overflow: hidden !important;
        position: relative !important;
        display: block !important;
    }

    /* Resim tam genişlik ve sabit yükseklik */
    .hero picture {
        display: block !important;
        width: 100% !important;
        height: 230px !important;
    }

    .hero picture img {
        display: block !important;
        width: 100% !important;
        height: 230px !important;
        object-fit: cover !important;
    }

    /* Yazılar resmin üstünde */
    .hero-inner {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 230px !important;
        padding: 25px 15px !important;
        display: flex !important;
        align-items: center !important;
        z-index: 2 !important;
        background: transparent !important;
    }

    .hero-content {
        width: 100% !important;
    }

    .hero-content h1 {
        font-size: 24px !important;
        color: #fff !important;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.5) !important;
        margin: 0 !important;
    }

    .hero-content .hero-small {
        font-size: 14px !important;
        color: #f47700 !important;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.5) !important;
    }

    .hero-content .hero-description {
        font-size: 13px !important;
        color: #fff !important;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.5) !important;
        display: block !important;
    }

    .quote-box {
        display: none !important;
    }

}
    /* --- GENEL DÜZELTMELER --- */
    .section-heading h2 {
        font-size: 28px !important;
    }
    
    .section-heading p {
        font-size: 14px !important;
    }
    
    .container {
        width: 95%;
    }
    
    .stats-inner {
        padding: 20px !important;
        border-radius: 12px !important;
        grid-template-columns: 1fr !important;
        padding: 15px !important;
    }

    .stat {
        border-right: 0 !important;
        border-bottom: 1px solid rgba(255,255,255,0.2) !important;
        padding: 10px 0 !important;
    }

    .stat:last-child {
        border-bottom: none !important;
    }

    .stat i {
        font-size: 20px !important;
    }

    .stat strong {
        font-size: 18px !important;
    }

    .service-card .service-image {
        height: 200px !important;
    }

    .why-content h2 {
        font-size: 24px !important;
    }
    
    .cta h2 {
        font-size: 22px !important;
    }
    
    .footer-grid {
        gap: 25px !important;
    }
    
    .faq-question {
        font-size: 14px !important;
    }
    
    .faq-answer p {
        font-size: 13px !important;
    }
    
    .testimonial-card {
        padding: 20px 15px !important;
    }
    
    .what-card .what-body {
        padding: 20px 15px !important;
    }
    
    .what-card .what-body h3 {
        font-size: 18px !important;
    }

    .ref-item {
        padding: 8px !important;
        height: 60px !important;
        min-width: calc(50% - 10px) !important;
    }
    
    .ref-item img {
        max-height: 30px !important;
    }
    
    .form-group input,
    .form-group select {
        height: 44px !important;
        font-size: 12px !important;
    }
    
    .quote-button {
        height: 46px !important;
        font-size: 13px !important;
    }
    
    .price-calculator .calc-button {
        height: 50px !important;
        font-size: 15px !important;
    }
    
    .price-calculator .calc-result-inner .price {
        font-size: 22px !important;
    }
    
    .price-calculator .calc-card {
        padding: 15px !important;
    }

    .what-card .what-image {
        height: 180px !important;
    }

    .service-image {
        height: 180px !important;
    }

    .why-image {
        height: 200px !important;
    }

    .slider-btn {
        width: 34px !important;
        height: 34px !important;
        font-size: 12px !important;
    }
}

/* =====================================================
   TABLET DÜZELTMELERİ (601px - 900px)
===================================================== */

@media (min-width: 601px) and (max-width: 900px) {
    .section-heading h2 {
        font-size: 34px !important;
    }
    
    .hero h1 {
        font-size: 48px !important;
    }
    
    .why-content h2 {
        font-size: 34px !important;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .what-card {
        min-width: calc(50% - 15px) !important;
    }
    
    .testimonial-card {
        min-width: calc(50% - 15px) !important;
    }
    
    .ref-item {
        min-width: calc(33.33% - 27px) !important;
    }
}

/* =====================================================
   TOUCH DÜZELTMELERİ (Dokunmatik cihazlar)
===================================================== */

@media (hover: none) {
    .service-card:hover {
        transform: none !important;
    }
    
    .what-card:hover {
        transform: none !important;
    }
    
    .testimonial-card:hover {
        transform: none !important;
    }
    
    .ref-item:hover {
        transform: none !important;
    }
    
    .ref-item:hover img {
        filter: grayscale(100%) !important;
        opacity: 0.7 !important;
    }
    
    .btn-primary:hover {
        transform: none !important;
    }
}

/* =====================================================
   MOBİL HERO + KUTULAR - KESİN ÇÖZÜM (SON HAL)
===================================================== */

@media (max-width: 600px) {

    /* --- HERO SLIDER --- */
    .hero {
        height: auto !important;
        min-height: 230px !important;
        overflow: visible !important;
        position: relative !important;
    }

    /* Resim sabit yükseklikte kalsın */
    .hero picture {
        display: block !important;
        height: 230px !important;
        width: 100% !important;
    }

    .hero picture img {
        height: 230px !important;
        width: 100% !important;
        object-fit: cover !important;
        display: block !important;
    }

    /* --- HERO İÇERİK (yazılar) --- */
    .hero-inner {
        position: relative !important;      /* absolute → relative */
        top: auto !important;
        left: auto !important;
        height: auto !important;
        min-height: auto !important;
        padding: 20px 15px !important;
        background: transparent !important;  /* beyaz değil, şeffaf */
        display: block !important;
        align-items: unset !important;
    }

    .hero-content {
        width: 100% !important;
        padding: 0 !important;
    }

    .hero-content h1 {
        font-size: 24px !important;
        line-height: 1.2 !important;
        color: #171717 !important;
        text-shadow: none !important;
    }

    .hero-content .hero-small {
        font-size: 14px !important;
        color: #f47700 !important;
        text-shadow: none !important;
    }

    .hero-content .hero-description {
        font-size: 13px !important;
        color: #555 !important;
        text-shadow: none !important;
        display: block !important;
    }

    .quote-box {
        display: none !important;
    }

    /* =====================================================
   MOBİL HERO + KUTULAR - KESİN ÇÖZÜM
===================================================== */

@media (max-width: 600px) {

    /* --- HERO SLIDER --- */
    .hero {
        height: 230px !important;
        min-height: 230px !important;
        overflow: hidden !important;
        position: relative !important;
    }

    /* Resim tam genişlik ve sabit yükseklik */
    .hero picture {
        display: block !important;
        height: 230px !important;
        width: 100% !important;
    }

    .hero picture img {
        height: 230px !important;
        width: 100% !important;
        object-fit: cover !important;
        display: block !important;
    }

    /* --- HERO İÇERİK (yazılar resmin ÜZERİNDE - absolute) --- */
    .hero-inner {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 230px !important;
        min-height: 230px !important;
        padding: 25px 15px !important;
        background: transparent !important;
        display: flex !important;
        align-items: center !important;
        z-index: 5 !important;
    }

    .hero-content {
        width: 100% !important;
        padding: 0 !important;
    }

    .hero-content h1 {
        font-size: 24px !important;
        line-height: 1.2 !important;
        color: #fff !important;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.5) !important;
    }

    .hero-content .hero-small {
        font-size: 14px !important;
        color: #f47700 !important;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.5) !important;
    }

    .hero-content .hero-description {
        font-size: 13px !important;
        color: #fff !important;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.5) !important;
        display: block !important;
    }

    .quote-box {
        display: none !important;
    }

    /* =====================================================
   MOBİL HERO KUTULARI - KESİN ÖNE ÇIKARMA
===================================================== */

@media (max-width: 600px) {

    .hero-features {
        margin-top: 50px !important;
        position: relative !important;
        z-index: 9999 !important;  /* En üst seviye */
        background: #ffffff !important;  /* Beyaz arkaplan */
        padding: 12px 10px !important;
        border-radius: 10px !important;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 6px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Kutuların da önde olmasını sağla */
    .hero-feature {
        position: relative !important;
        z-index: 99999 !important;  /* Kutular daha da önde */
        background: #eef6ff !important;
        border-radius: 8px !important;
        padding: 5px 2px !important;
        height: 65px !important;
        min-height: 65px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        border: 1px solid #d7e9ff !important;
    }

    .hero-feature i {
        font-size: 15px !important;
        margin-bottom: 3px !important;
        color: #0066cc !important;
        display: block !important;
    }

    .hero-feature strong {
        font-size: 7px !important;
        line-height: 1.2 !important;
        text-align: center !important;
        display: block !important;
        color: #171717 !important;
        font-weight: 600 !important;
    }

}


/* =====================================================
   HERO FEATURES - MOBİL AŞAĞI İNDİR + ÖNE ÇIKAR
===================================================== */

@media (max-width: 600px) {

    /* Kutuları aşağı indir ve öne çıkar */
    .hero-features {
        margin-top: 40px !important;  /* 35-45px arası ayarla */
        position: relative !important;
        z-index: 20 !important;       /* Fiyat hesaplama bölümünün ÜSTÜNDE */
    }

    /* Fiyat hesaplama bölümünü arkaya al */
    .price-calculator {
        position: relative !important;
        z-index: 1 !important;
    }

}

/* =====================================================
   HERO KUTULARI - FİYAT KARTININ ÜSTÜNE ÇIKAR
===================================================== */

@media (max-width: 600px) {

    /* Kutuları en öne çıkar */
    .hero-features {
        position: relative !important;
        z-index: 9999 !important;
        margin-top: 40px !important;
    }

    /* Her bir kutuyu daha da öne çıkar */
    .hero-feature {
        position: relative !important;
        z-index: 10000 !important;
    }

    /* Kutuların içindeki yazıları da öne çıkar */
    .hero-feature strong {
        position: relative !important;
        z-index: 10001 !important;
        display: block !important;
        color: #171717 !important;
        font-size: 7px !important;
        line-height: 1.2 !important;
        text-align: center !important;
        font-weight: 600 !important;
    }

    .hero-feature i {
        position: relative !important;
        z-index: 10001 !important;
        display: block !important;
        font-size: 15px !important;
        margin-bottom: 3px !important;
        color: #0066cc !important;
    }

    /* Fiyat hesaplama kartını arkaya al */
    .price-calculator {
        position: relative !important;
        z-index: 1 !important;
    }

    .price-calculator .calc-card {
        position: relative !important;
        z-index: 1 !important;
    }

}



/* =====================================================
   HERO KUTULARI - YAZILARI GÖRÜNÜR YAP
===================================================== */

@media (max-width: 600px) {

    /* Kutuları büyüt */
    .hero-feature {
        height: 75px !important;
        min-height: 75px !important;
        padding: 8px 5px !important;
        overflow: visible !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* İkonları büyüt */
    .hero-feature i {
        display: block !important;
        font-size: 18px !important;
        margin-bottom: 4px !important;
        color: #0066cc !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* Yazıları büyüt ve görünür yap */
    .hero-feature strong {
        display: block !important;
        font-size: 9px !important;
        line-height: 1.3 !important;
        color: #171717 !important;
        text-align: center !important;
        font-weight: 700 !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        min-height: auto !important;
        overflow: visible !important;
    }

    /* TEST: Kırmızı arkaplan ile yazıyı test et */
    .hero-feature strong {
        background: rgba(255, 0, 0, 0.2) !important;  /* Test için */
        padding: 2px 4px !important;
        border-radius: 2px !important;
    }

}




/* =====================================================
   4 AÇIK MAVİ KUTUYU BÜYÜT - YAZILAR GÖRÜNSÜN
===================================================== */

@media (max-width: 600px) {

    /* Her bir mavi kutuyu büyüt */
    .hero-feature {
        height: 95px !important;
        min-height: 95px !important;
        padding: 10px 5px !important;
        overflow: visible !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        background: #eef6ff !important;
        border-radius: 8px !important;
        border: 1px solid #d7e9ff !important;
        box-shadow: 0 2px 8px rgba(0,0,0,.08) !important;
    }

    /* İkonlar */
    .hero-feature i {
        display: block !important;
        font-size: 18px !important;
        margin-bottom: 5px !important;
        color: #0066cc !important;
    }

    /* Yazılar - tam görünür */
    .hero-feature strong {
        display: block !important;
        font-size: 9px !important;
        line-height: 1.4 !important;
        color: #171717 !important;
        text-align: center !important;
        font-weight: 700 !important;
        height: auto !important;
        min-height: auto !important;
        overflow: visible !important;
        white-space: normal !important;
        padding: 0 2px !important;
    }

}


/* =====================================================
   MOBİL HERO - SLIDER DÜZELTME (4 KUTU YOK)
===================================================== */

@media (max-width: 600px) {

    /* Hero - yükseklik otomatik, taşma görünür */
    .hero {
        height: auto !important;
        min-height: 230px !important;
        overflow: visible !important;
        position: relative !important;
        display: block !important;
    }

    /* Resim kapsayıcısı */
    .hero picture {
        display: block !important;
        width: 100% !important;
        height: 230px !important;
    }

    /* Resim - sabit yükseklik, tam genişlik */
    .hero picture img {
        display: block !important;
        width: 100% !important;
        height: 230px !important;
        object-fit: cover !important;
    }

    /* Yazılar resmin üstünde */
    .hero-inner {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 230px !important;
        padding: 25px 15px !important;
        display: flex !important;
        align-items: center !important;
        z-index: 2 !important;
        background: transparent !important;
    }

    .hero-content {
        width: 100% !important;
    }

    .hero-content h1 {
        font-size: 24px !important;
        color: #fff !important;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.5) !important;
        margin: 0 !important;
    }

    .hero-content .hero-small {
        font-size: 14px !important;
        color: #f47700 !important;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.5) !important;
    }

    .hero-content .hero-description {
        font-size: 13px !important;
        color: #fff !important;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.5) !important;
        display: block !important;
    }

    .quote-box {
        display: none !important;
    }

}


/* =========================================================
   MOBİL TEST - TÜM KURALLARI EZER
========================================================= */

@media (max-width: 600px) {

    /* 4 kutu tamamen yok */
    .hero-features {
        display: none !important;
    }

    /* Hero sabit yükseklik */
    .hero {
        height: 230px !important;
        min-height: 230px !important;
        overflow: hidden !important;
        position: relative !important;
    }

    /* Resim tam ekran */
    .hero picture,
    .hero picture img {
        height: 230px !important;
        width: 100% !important;
        display: block !important;
        object-fit: cover !important;
    }

    /* Yazılar resmin üstünde */
    .hero-inner {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 230px !important;
        padding: 25px 15px !important;
        display: flex !important;
        align-items: center !important;
        z-index: 5 !important;
        background: transparent !important;
    }

    .hero-content {
        width: 100% !important;
    }

    .hero-content h1 {
        color: #fff !important;
        font-size: 24px !important;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.5) !important;
    }

    .hero-content .hero-small {
        color: #f47700 !important;
        font-size: 14px !important;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.5) !important;
    }

    .hero-content .hero-description {
        color: #fff !important;
        font-size: 13px !important;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.5) !important;
        display: block !important;
    }

    .quote-box {
        display: none !important;
    }

}
