/* ============================================
   TABLET (max-width: 1024px)
   ============================================ */
@media (max-width: 1024px) {
    :root {
        --text-6xl: 2.75rem;
        --text-5xl: 2.25rem;
        --text-4xl: 2rem;
    }

    .container {
        padding: 0 var(--spacing-xl);
    }

    /* Header */
    .nav-list {
        gap: var(--spacing-md);
    }

    .header-phone {
        display: none;
    }

    /* Hero */
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 1;
    }

    .hero-image {
        order: 2;
        margin-top: var(--spacing-2xl);
    }

    .hero-description {
        max-width: 100%;
        margin: 0 auto var(--spacing-2xl);
    }

    .hero-buttons {
        justify-content: center;
    }

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

    /* Grids */
    .grid-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

    .footer-brand {
        grid-column: span 2;
        max-width: 100%;
    }

    /* İş Ortakları - Tablet */
    .partners-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        max-width: 500px !important;
    }
}

/* ============================================
   TABLET KÜÇÜK (max-width: 768px)
   ============================================ */
@media (max-width: 768px) {
    :root {
        --text-6xl: 2.25rem;
        --text-5xl: 2rem;
        --text-4xl: 1.75rem;
        --text-3xl: 1.5rem;
    }

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

    /* Header & Mobile Menu */
    .nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: var(--spacing-xl);
        box-shadow: var(--shadow-lg);
        transform: translateY(-120%);
        opacity: 0;
        transition: all var(--transition-normal);
    }

    .nav.active {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: var(--spacing-md);
        border-bottom: 1px solid var(--bg-gray);
    }

    .nav-dropdown {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        background: var(--bg-light);
        border-radius: var(--radius-md);
        margin-top: var(--spacing-sm);
    }

    .nav-item.active .nav-dropdown {
        display: block;
    }

    .header-cta {
        width: 100%;
        flex-direction: column;
        margin-top: var(--spacing-lg);
    }

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

    .mobile-menu-btn {
        display: flex;
    }

    /* Hero */
    .hero {
        min-height: auto;
        padding: 7rem 0 3rem;
    }

    .hero-title {
        font-size: var(--text-4xl);
    }

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

    .hero-image img {
        max-width: 80%;
    }

    .hero-features {
        position: relative;
        bottom: auto;
        margin-top: var(--spacing-2xl);
    }

    .hero-features-container {
        grid-template-columns: 1fr 1fr;
    }

    /* Cards */
    .insurance-card {
        padding: var(--spacing-xl);
    }

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

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

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

    .footer-brand {
        grid-column: auto;
        text-align: center;
    }

    .footer-logo {
        margin: 0 auto var(--spacing-lg);
    }

    .footer-social {
        justify-content: center;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links {
        align-items: center;
    }

    .footer-contact-item {
        justify-content: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
    }

    /* Page Header */
    .page-header {
        padding: 7rem 0 2rem;
    }

    /* Forms */
    .grid-cols-2 {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   MOBİL (max-width: 480px)
   ============================================ */
@media (max-width: 480px) {
    :root {
        --text-6xl: 2rem;
        --text-5xl: 1.75rem;
        --text-4xl: 1.5rem;
        --text-3xl: 1.25rem;
        --text-2xl: 1.125rem;
    }

    .container {
        padding: 0 var(--spacing-md);
    }

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

    /* Buttons */
    .btn {
        width: 100%;
        justify-content: center;
    }

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

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

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

    /* Hero Features */
    .hero-features-container {
        grid-template-columns: 1fr;
    }

    .hero-feature {
        padding: var(--spacing-md);
    }

    /* Cards */
    .grid-cols-3,
    .grid-cols-4 {
        grid-template-columns: 1fr;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: 1fr;
    }

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

    /* Section Header */
    .section-header {
        margin-bottom: var(--spacing-2xl);
    }

    /* Accordion */
    .accordion-header {
        padding: var(--spacing-md);
        font-size: var(--text-base);
    }

    .accordion-content {
        padding: 0 var(--spacing-md) var(--spacing-md);
    }

    /* WhatsApp Button */
    .whatsapp-btn {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 24px;
    }

    /* İş Ortakları - Mobil */
    .partners-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
        max-width: 100% !important;
        padding: 0 0.5rem;
    }

    .partners-grid>div {
        padding: 1rem 0.75rem !important;
        min-height: 80px !important;
    }

    .partners-grid img {
        max-height: 35px !important;
        max-width: 100px !important;
    }

    .partners-grid span {
        font-size: 0.8rem !important;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {

    .header,
    .footer,
    .whatsapp-btn,
    .btn {
        display: none !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    .section {
        padding: 20pt 0;
    }

    .page-header {
        background: none !important;
        color: var(--text-dark) !important;
        padding: 20pt 0;
    }

    .page-header h1 {
        color: var(--primary) !important;
    }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ============================================
   DARK MODE SUPPORT (Optional)
   ============================================ */
@media (prefers-color-scheme: dark) {
    /* Dark mode disabled by default - uncomment if needed */
    /*
    :root {
        --bg-light: #1a1a2e;
        --bg-gray: #16213e;
        --white: #0f0f23;
        --text-dark: #e8e8e8;
        --text-muted: #a0a0a0;
    }

    .card,
    .insurance-card,
    .feature-box,
    .accordion-item {
        background: var(--bg-gray);
    }

    .header {
        background: var(--bg-light);
    }
    */
}