/*
 * Mudanya Evden Eve Nakliyat - Acil hero/form düzeltmesi
 * Tarih: 2026-06-01
 * Amaç:
 * - Web sürümünde sağdaki fiyat teklif formunun dışarı taşmasını engellemek
 * - Hero/slide başlığını daha kibar, küçük ve okunabilir yapmak
 * - Gizli form label yazılarının hero başlığı üstüne düşmesini engellemek
 */

.home-hero {
    overflow: hidden !important;
}

/* Form label'ları ekranda görünmemeli; eski left:-999px yöntemi masaüstünde başlığın üstüne düşebiliyordu. */
.hero-quote-card label {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
    left: 0 !important;
    top: 0 !important;
}

/* Büyük ekran hero düzeni */
@media (min-width: 1221px) {
    .hero-layout {
        min-height: 560px !important;
        grid-template-columns: minmax(420px, 500px) minmax(0, 1fr) minmax(310px, 350px) !important;
        gap: 18px !important;
        align-items: center !important;
        padding: 54px 0 66px !important;
        overflow: visible !important;
    }

    .hero-copy {
        max-width: 500px !important;
    }

    .hero-copy h1 {
        max-width: 500px !important;
        font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
        font-size: clamp(40px, 3.25vw, 58px) !important;
        line-height: 1.07 !important;
        letter-spacing: -.028em !important;
        font-weight: 850 !important;
        text-wrap: balance;
    }

    .hero-copy p {
        max-width: 500px !important;
        margin-top: 18px !important;
        font-size: 16px !important;
        line-height: 1.65 !important;
        font-weight: 500 !important;
    }

    .hero-actions {
        margin-top: 24px !important;
    }

    .hero-proof {
        margin-top: 24px !important;
    }

    .hero-visual {
        min-width: 0 !important;
        margin-left: -34px !important;
        margin-right: -10px !important;
        overflow: hidden !important;
        align-self: stretch !important;
        display: flex !important;
        align-items: flex-end !important;
        justify-content: center !important;
    }

    .hero-visual img {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 620px !important;
        height: auto !important;
    }

    .hero-quote-card {
        width: 100% !important;
        max-width: 350px !important;
        justify-self: end !important;
        align-self: center !important;
        padding: 24px 22px 20px !important;
        border-width: 8px !important;
        border-radius: 20px !important;
        box-shadow: 0 22px 62px rgba(0, 0, 0, .28) !important;
    }

    .hero-quote-card h2 {
        font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
        font-size: 22px !important;
        line-height: 1.22 !important;
        letter-spacing: -.02em !important;
        font-weight: 850 !important;
        margin-bottom: 8px !important;
    }

    .hero-quote-card p {
        font-size: 13px !important;
        line-height: 1.45 !important;
        margin-bottom: 16px !important;
    }

    .hero-quote-card .field {
        margin-bottom: 10px !important;
    }

    .hero-quote-card input,
    .hero-quote-card select {
        min-height: 46px !important;
        padding: 11px 13px !important;
        font-size: 14px !important;
        border-radius: 10px !important;
    }

    .hero-quote-card .btn {
        min-height: 48px !important;
        font-size: 15px !important;
        border-radius: 11px !important;
    }

    .hero-quote-card small {
        margin-top: 10px !important;
        font-size: 10px !important;
    }
}

/* Orta masaüstü / laptop ekranları */
@media (max-width: 1220px) and (min-width: 1041px) {
    .hero-layout {
        min-height: 540px !important;
        grid-template-columns: minmax(0, 1fr) minmax(310px, 350px) !important;
        gap: 22px !important;
        padding: 50px 0 70px !important;
        overflow: visible !important;
    }

    .hero-copy {
        max-width: 560px !important;
    }

    .hero-copy h1 {
        font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
        font-size: clamp(38px, 4.4vw, 54px) !important;
        line-height: 1.08 !important;
        letter-spacing: -.028em !important;
        font-weight: 850 !important;
    }

    .hero-copy p {
        max-width: 520px !important;
        font-size: 16px !important;
        line-height: 1.62 !important;
    }

    .hero-visual {
        right: 330px !important;
        width: 460px !important;
        opacity: .34 !important;
        overflow: hidden !important;
    }

    .hero-visual img {
        min-width: 0 !important;
        max-width: 520px !important;
    }

    .hero-quote-card {
        width: 100% !important;
        max-width: 350px !important;
        justify-self: end !important;
        padding: 24px 22px 20px !important;
        border-width: 8px !important;
    }

    .hero-quote-card h2 {
        font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
        font-size: 22px !important;
        line-height: 1.24 !important;
        font-weight: 850 !important;
    }
}

/* Tablet ve mobil */
@media (max-width: 1040px) {
    .hero-copy h1 {
        font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
        font-size: clamp(36px, 7vw, 52px) !important;
        line-height: 1.08 !important;
        letter-spacing: -.026em !important;
        font-weight: 850 !important;
    }

    .hero-copy p {
        font-size: 16px !important;
        line-height: 1.62 !important;
    }

    .hero-quote-card {
        width: min(100%, 500px) !important;
        max-width: 500px !important;
        padding: 24px 20px 20px !important;
        border-width: 7px !important;
    }

    .hero-quote-card h2 {
        font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
        font-size: 22px !important;
        line-height: 1.25 !important;
        font-weight: 850 !important;
    }
}

@media (max-width: 760px) {
    .hero-layout {
        padding: 38px 0 78px !important;
    }

    .hero-copy h1 {
        font-size: clamp(34px, 10vw, 44px) !important;
        line-height: 1.1 !important;
    }

    .hero-copy p {
        font-size: 15.5px !important;
    }

    .hero-quote-card {
        width: 100% !important;
        max-width: 100% !important;
        padding: 22px 16px 18px !important;
        border-width: 6px !important;
        border-radius: 17px !important;
    }

    .hero-quote-card h2 {
        font-size: 20px !important;
    }

    .hero-quote-card input,
    .hero-quote-card select {
        min-height: 46px !important;
        font-size: 14px !important;
    }
}
