/* ========================================
   RESPONSIVE DESIGN OPTIMIZATIONS
   ======================================== */

/* Tablet Breakpoint (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 768px) {
    .container-modern {
        padding: 0 var(--space-4);
    }

    .header-bottom .navs {
        font-size: var(--text-sm);
    }

    .quick-access-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-title {
        font-size: var(--text-3xl);
    }
}

/* Mobile Breakpoint (< 768px) */
@media (max-width: 767px) {

    /* Typography */
    .section-title {
        font-size: var(--text-2xl);
    }

    .section-subtitle {
        font-size: var(--text-base);
    }

    /* Header Mobile */
    .header-top {
        height: 45px;
    }

    .header-top .navs,
    .header-top .social {
        line-height: 45px;
        font-size: var(--text-xs);
    }

    .header-bottom {
        height: 70px;
        top: 45px;
    }

    .header-bottom .logo {
        max-height: 50px;
    }

    .header-bottom .navs {
        display: none;
        /* Hamburger menü aktif olacak */
    }

    /* Buttons */
    .btn {
        padding: var(--space-2) var(--space-4);
        font-size: var(--text-sm);
    }

    .btn-lg {
        padding: var(--space-3) var(--space-6);
        font-size: var(--text-base);
    }

    /* Cards */
    .card {
        margin-bottom: var(--space-4);
    }

    .card-img {
        height: 180px;
    }

    .card-body {
        padding: var(--space-4);
    }

    .card-title {
        font-size: var(--text-lg);
    }

    /* Quick Access */
    .quick-access-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }

    .quick-access-btn {
        padding: var(--space-4);
    }

    .quick-access-icon {
        width: 48px;
        height: 48px;
        font-size: var(--text-xl);
    }

    /* Container */
    .container-modern {
        padding: 0 var(--space-3);
    }

    /* Spacing */
    .py-16 {
        padding-top: var(--space-8);
        padding-bottom: var(--space-8);
    }

    .py-12 {
        padding-top: var(--space-6);
        padding-bottom: var(--space-6);
    }

    /* Footer */
    .footer-ust {
        padding: var(--space-8) 0 var(--space-4);
    }

    .footer-baslik {
        font-size: var(--text-lg);
    }
}

/* Extra Small Mobile (< 480px) */
@media (max-width: 479px) {
    .section-title {
        font-size: var(--text-xl);
    }

    .header-bottom .logo {
        max-height: 40px;
    }

    .quick-access-btn {
        flex-direction: column;
        text-align: center;
    }

    .quick-access-icon {
        margin-bottom: var(--space-2);
    }

    .card-title {
        font-size: var(--text-base);
    }
}

/* Touch-Friendly Elements */
@media (hover: none) and (pointer: coarse) {

    /* Minimum touch target size: 44x44px */
    .btn,
    .header-bottom .navs li a,
    .quick-access-btn {
        min-height: 44px;
        min-width: 44px;
    }

    /* Remove hover effects on touch devices */
    .btn:hover,
    .card:hover {
        transform: none;
    }

    /* Larger tap targets for mobile menu */
    .header-mobile .hamburger-box .icon {
        width: 44px;
        height: 44px;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {

    /* Optimize images for retina displays */
    img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print Styles */
@media print {

    .header-top,
    .header-bottom,
    .footer,
    .quick-access-grid {
        display: none;
    }

    body {
        font-size: 12pt;
        color: #000;
        background: #fff;
    }

    .card {
        page-break-inside: avoid;
    }
}