/* =========================================================================
   RESPONSIVE.CSS — MOBIL, TABLET VE MASAUSTU TAM UYUMLULUK STILLERI
   Tum sayfalara (header.php uzerinden) otomatik baglanir.
   ========================================================================= */

html {
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a, button, input, select, textarea {
    -webkit-tap-highlight-color: rgba(0, 176, 204, 0.15);
    touch-action: manipulation;
}

/* iOS Safari'de input tiklaninca otomatik zoom yapmasini onlemek icin 16px kurali */
@media screen and (max-width: 768px) {
    .form-control,
    input[type="text"],
    input[type="tel"],
    input[type="email"],
    select,
    textarea {
        font-size: 16px !important;
    }
}

/* -------------------------------------------------------------------------
   1. MASAUSTU GORUNUMU (992px ve uzeri)
   ------------------------------------------------------------------------- */
@media screen and (min-width: 992px) {
    header.site-header {
        padding: 18px 0;
        position: sticky;
        top: 0;
        box-shadow: 0 2px 14px rgba(0, 0, 0, 0.05);
    }

    .header-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .circle-btn.menu-toggle {
        display: none;
    }

    nav.top-drawer {
        display: block !important;
        background: transparent;
        color: var(--metin-koyu);
        padding: 0;
        margin-top: 0;
    }

    nav.top-drawer ul {
        flex-direction: row;
        align-items: center;
        gap: 6px;
    }

    nav.top-drawer ul li a {
        color: #2e3338;
        font-size: 13.5px;
        font-weight: 600;
        letter-spacing: 0.5px;
        padding: 9px 14px;
        border-radius: 4px;
        transition: color 0.2s ease, background-color 0.2s ease;
    }

    nav.top-drawer ul li a:hover,
    nav.top-drawer ul li a.active {
        background-color: rgba(0, 176, 204, 0.1);
        color: var(--turkuaz);
    }

    .hero-section {
        min-height: 550px;
        padding: 80px 20px;
    }

    .hero-title {
        font-size: 46px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .wp-cta-banner {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 36px;
        text-align: left;
        padding: 36px 20px;
    }

    .wp-cta-banner p {
        margin: 0;
        max-width: 460px;
        font-size: 22px;
    }

    .review-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 960px;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .info-boxes-grid-desktop {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
        max-width: 960px;
        margin: 0 auto 24px;
    }

    .footer-grid {
        grid-template-columns: 1.3fr 0.85fr 0.95fr;
    }
}

/* -------------------------------------------------------------------------
   2. TABLET GORUNUMU (601px - 991px)
   ------------------------------------------------------------------------- */
@media screen and (min-width: 601px) and (max-width: 991px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .hero-section {
        min-height: 460px;
    }

    .hero-title {
        font-size: 38px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* -------------------------------------------------------------------------
   3. MOBIL TELEFON GORUNUMU (600px ve alti)
   ------------------------------------------------------------------------- */
@media screen and (max-width: 600px) {
    .container {
        padding: 0 16px;
    }

    .brand-logo-svg {
        width: 56px;
        height: 56px;
    }

    .brand-text .isim-satir {
        font-size: 22px;
    }

    .brand-text .soyisim-satir {
        font-size: 24px;
    }

    .circle-btn {
        width: 46px;
        height: 46px;
    }

    .hero-section {
        min-height: 420px;
        padding: 42px 16px;
    }

    .hero-title {
        font-size: 28px;
        line-height: 1.25;
    }

    .hero-subtitle {
        font-size: 14px;
        line-height: 1.55;
    }

    .btn-hero {
        width: 100%;
        max-width: 280px;
        padding: 14px 20px;
    }

    .wp-cta-banner {
        padding: 36px 16px;
    }

    .wp-cta-banner p {
        font-size: 18px;
    }

    .wp-number-box {
        width: 100%;
        max-width: 320px;
        justify-content: space-between;
    }

    .wp-number-label {
        padding: 12px 16px;
        font-size: 12px;
        text-align: left;
    }

    .reviews-heading,
    .contact-form-section h2,
    .services-header h2,
    .about-main-title {
        font-size: 28px;
    }

    .page-banner h1 {
        font-size: 26px;
    }

    .business-summary {
        flex-direction: column;
        text-align: center;
    }

    .review-cards-grid,
    .services-grid,
    .posters-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .about-circle-wrap {
        width: 240px;
        height: 240px;
    }

    .about-bio {
        font-size: 15.5px;
    }

    .btn-read-more {
        width: 100%;
        text-align: center;
    }

    footer.site-footer {
        padding-bottom: 84px;
    }

    .floating-whatsapp {
        left: 14px;
        bottom: 14px;
        width: 52px;
        height: 52px;
    }

    .floating-scroll-top {
        width: 48px;
        height: 48px;
    }
}

/* -------------------------------------------------------------------------
   4. COK KUCUK EKRANLAR (360px ve alti)
   ------------------------------------------------------------------------- */
@media screen and (max-width: 360px) {
    .brand-text .isim-satir {
        font-size: 19px;
    }
    .brand-text .soyisim-satir {
        font-size: 21px;
    }
    .hero-title {
        font-size: 24px;
    }
}
