/* ========================================
   RESPONSIVE TASARIM
   Tüm Breakpoint Kuralları
   ======================================== */

/* ========================================
   LARGE DESKTOP (≤ 1200px)
   ======================================== */
@media (max-width: 1200px) {

    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: var(--space-2xl);
    }

    .footer-about {
        grid-column: 1 / -1;
    }

    .hero-title {
        font-size: 3rem;
    }

    /* Why Us — stack early for better readability */
    .why-us-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .why-us-img img {
        height: 400px;
    }

    .why-us-img-accent {
        display: none;
    }

    /* About — stack early for better readability */
    .about-home-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .about-img-wrapper img {
        height: 350px;
    }
}

/* ========================================
   TABLET LANDSCAPE (≤ 992px)
   ======================================== */
@media (max-width: 992px) {
    /* Header */
    .header-nav {
        display: none;
    }

    .header-phone {
        display: none;
    }

    .header-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    /* Hero */
    .hero {
        min-height: 500px;
        max-height: 700px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-controls {
        display: none;
    }

    .hero-scroll-indicator {
        display: none;
    }

    /* About */
    .about-home-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .about-img-wrapper img {
        height: 350px;
    }

    /* Services */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    /* Blog */
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
    }

    .footer-about {
        grid-column: 1 / -1;
    }

    /* Section */
    .section {
        padding: var(--space-3xl) 0;
    }

    h1 { font-size: var(--font-size-3xl); }
    h2 { font-size: var(--font-size-2xl); }

    /* Page Header */
    .page-header {
        padding: 50px 0 30px;
    }

    .page-header h1 {
        font-size: var(--font-size-2xl);
    }

    /* Content Layout */
    .content-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }
}

/* ========================================
   TABLET (≤ 768px)
   ======================================== */
@media (max-width: 768px) {
    :root {
        --container-max: 100%;
    }

    .container {
        padding: 0 var(--space-lg);
    }

    /* Topbar */
    .topbar {
        display: none;
    }

    /* Header */
    .header {
        height: 70px;
    }

    .header-logo img {
        height: 40px;
    }

    /* Hero */
    .hero {
        min-height: 450px;
        max-height: 600px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-desc {
        font-size: var(--font-size-base);
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-badge {
        font-size: var(--font-size-xs);
    }

    /* About */
    .about-features {
        grid-template-columns: 1fr;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .stat-card-number {
        font-size: var(--font-size-3xl);
    }

    /* CTA */
    .cta-content h2 {
        font-size: var(--font-size-2xl);
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .footer-about {
        grid-column: auto;
    }

    .footer-bottom .flex-between {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }

    /* Blog */
    .blog-grid {
        grid-template-columns: 1fr;
    }

    /* Mega Menu */
    .mega-menu {
        min-width: auto;
    }

    /* Page Header */
    .page-header {
        padding: 40px 0 24px;
    }

    /* Section Header */
    .section-header h2 {
        font-size: var(--font-size-xl);
    }

    /* Breadcrumb */
    .breadcrumb {
        font-size: var(--font-size-xs);
    }

    /* Mobile Menu */
    .mobile-menu {
        width: 300px;
    }
}

/* ========================================
   MOBILE (≤ 576px)
   ======================================== */
@media (max-width: 576px) {
    .container {
        padding: 0 10px;
    }

    .section {
        padding: var(--space-2xl) 0;
    }

    /* Hero */
    .hero {
        min-height: 400px;
        max-height: 550px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-pagination {
        bottom: 20px;
    }

    .hero-content {
        padding-bottom: 40px;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    /* Stats */
    .stats-section {
        padding: var(--space-3xl) 0;
    }

    /* Why Us */
    .why-us-img img {
        height: 280px;
    }

    .why-us-item {
        padding: var(--space-md);
    }

    /* Buttons */
    .btn-lg {
        padding: 14px 28px;
        font-size: var(--font-size-base);
    }

    /* Typography */
    h1 { font-size: var(--font-size-2xl); }
    h2 { font-size: var(--font-size-xl); }
    h3 { font-size: var(--font-size-lg); }

    /* About Badge */
    .about-img-badge {
        padding: 14px 18px;
    }

    .about-badge-number {
        font-size: var(--font-size-xl);
    }

    /* Scroll to Top */
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }

    /* Mobile Menu */
    .mobile-menu {
        width: 280px;
    }

    /* Page Header */
    .page-header {
        padding: 30px 0 20px;
    }

    .page-header h1 {
        font-size: var(--font-size-xl);
    }

    /* CTA */
    .cta-section {
        padding: var(--space-3xl) 0;
    }

    /* Footer */
    .footer-main {
        padding: var(--space-3xl) 0 var(--space-xl);
    }
}
