/**
 * RESPONSIVE DESIGN
 * Antalya Korsan Taksi - Mobil ve Tablet Uyumlu Tasarım
 * 
 * Breakpoints:
 * - Mobile: 320px - 480px
 * - Mobile Large: 481px - 767px
 * - Tablet: 768px - 1024px
 * - Desktop: 1025px - 1440px
 * - Large Desktop: 1441px+
 * 
 * @package AntalyaKorsanTaksi
 * @version 1.0
 * @date 18 Kasım 2025
 * @author Burak KAYA
 */

/* ============================================
   LARGE DESKTOP (1441px+)
   ============================================ */
@media (min-width: 1441px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-title-main {
        font-size: 4.5rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
}

/* ============================================
   DESKTOP (1025px - 1440px)
   ============================================ */
@media (max-width: 1440px) {
    .container {
        max-width: 1200px;
    }
}

@media (max-width: 1200px) {
    .container {
        max-width: 1000px;
    }
    
    .hero-title-main {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
}

/* ============================================
   TABLET (768px - 1024px)
   ============================================ */
@media (max-width: 1024px) {
    .container {
        max-width: 900px;
        padding: 0 30px;
    }
    
    /* Header */
    .site-header {
        padding: 15px 0;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Hero */
    .hero-title-main {
        font-size: 3rem;
    }
    
    .hero-title-sub {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    /* Why Us */
    .why-us-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .why-us-image,
    .why-us-features {
        width: 100%;
    }
    
    /* Blog */
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    /* Footer */
    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* ============================================
   MOBILE LARGE (481px - 767px)
   ============================================ */
@media (max-width: 767px) {
    .container {
        max-width: 100%;
        padding: 0 20px;
    }
    
    /* Typography */
    .hero-title-main {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-title-sub {
        font-size: 1.25rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 0.875rem;
    }
    
    /* Header */
    .site-header {
        padding: 12px 0;
    }
    
    .site-logo {
        font-size: 1.5rem;
    }
    
    .theme-switcher {
        right: 70px;
        top: 15px;
    }
    
    .theme-btn {
        width: 35px;
        height: 35px;
        font-size: 0.875rem;
    }
    
    /* Mobile Menu */
    .mobile-menu {
        width: 100%;
    }
    
    /* Hero */
    .hero-section {
        min-height: 600px;
        padding: 100px 0 50px;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-feature {
        font-size: 0.875rem;
    }
    
    /* Buttons */
    .btn {
        padding: 12px 24px;
        font-size: 0.875rem;
    }
    
    .btn-lg {
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .service-title {
        font-size: 1.25rem;
    }
    
    /* Why Us */
    .feature-item {
        padding: 1rem;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    /* CTA */
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-description {
        font-size: 1rem;
    }
    
    /* Blog */
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .blog-title {
        font-size: 1.25rem;
    }
    
    /* Footer */
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-column {
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    /* WhatsApp Float */
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float i {
        font-size: 1.75rem;
    }
    
    /* Scroll to Top */
    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 90px;
        right: 20px;
    }
}

/* ============================================
   MOBILE (320px - 480px)
   ============================================ */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    /* Typography */
    .hero-title-main {
        font-size: 2rem;
    }
    
    .hero-title-sub {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-description {
        font-size: 0.875rem;
    }
    
    /* Header */
    .site-logo {
        font-size: 1.25rem;
    }
    
    .theme-switcher {
        right: 60px;
        top: 12px;
    }
    
    .theme-btn {
        width: 30px;
        height: 30px;
        font-size: 0.75rem;
    }
    
    .mobile-menu-toggle {
        width: 35px;
        height: 35px;
    }
    
    /* Mobile Menu */
    .mobile-menu {
        width: 100%;
    }
    
    /* Hero */
    .hero-section {
        min-height: 500px;
        padding: 80px 0 40px;
    }
    
    .hero-buttons .btn {
        max-width: 100%;
        padding: 12px 20px;
    }
    
    .hero-feature {
        font-size: 0.75rem;
    }
    
    .hero-feature i {
        font-size: 1rem;
    }
    
    /* Sections */
    .section-padding {
        padding: 40px 0;
    }
    
    /* Services */
    .service-card {
        padding: 1.25rem;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .service-title {
        font-size: 1.125rem;
    }
    
    .service-description {
        font-size: 0.875rem;
    }
    
    /* Why Us */
    .feature-item {
        padding: 0.875rem;
        flex-direction: column;
        text-align: center;
    }
    
    .feature-icon {
        width: 45px;
        height: 45px;
        font-size: 1.125rem;
        margin-bottom: 0.75rem;
    }
    
    .feature-content h3 {
        font-size: 1rem;
    }
    
    .feature-content p {
        font-size: 0.875rem;
    }
    
    /* CTA */
    .cta-title {
        font-size: 1.75rem;
    }
    
    .cta-description {
        font-size: 0.875rem;
    }
    
    .cta-info {
        font-size: 0.875rem;
    }
    
    /* Blog */
    .blog-title {
        font-size: 1.125rem;
    }
    
    .blog-excerpt {
        font-size: 0.875rem;
    }
    
    .blog-meta {
        font-size: 0.75rem;
    }
    
    /* Footer */
    .site-footer {
        padding: 30px 0 20px;
    }
    
    .footer-column h3 {
        font-size: 1.125rem;
    }
    
    .footer-column p,
    .footer-column a {
        font-size: 0.875rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
        font-size: 0.875rem;
    }
    
    .developer-credit {
        font-size: 0.75rem;
        padding: 8px 16px;
    }
    
    /* WhatsApp Float */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-float i {
        font-size: 1.5rem;
    }
    
    /* Scroll to Top */
    .scroll-to-top {
        width: 40px;
        height: 40px;
        bottom: 80px;
        right: 15px;
    }
    
    .scroll-to-top i {
        font-size: 1rem;
    }
}

/* ============================================
   EXTRA SMALL MOBILE (320px)
   ============================================ */
@media (max-width: 360px) {
    .hero-title-main {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.8125rem;
    }
}

/* ============================================
   LANDSCAPE ORIENTATION
   ============================================ */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        min-height: 400px;
        padding: 60px 0 30px;
    }
    
    .hero-title-main {
        font-size: 2rem;
    }
    
    .hero-features {
        display: none;
    }
    
    .section-padding {
        padding: 40px 0;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .site-header,
    .mobile-menu,
    .theme-switcher,
    .whatsapp-float,
    .scroll-to-top,
    .preloader,
    .custom-cursor {
        display: none !important;
    }
    
    .hero-section {
        min-height: auto;
        page-break-after: always;
    }
    
    .section-padding {
        padding: 20px 0;
    }
    
    a {
        text-decoration: underline;
    }
    
    a[href]:after {
        content: " (" attr(href) ")";
    }
}

/* ============================================
   TOUCH DEVICE OPTIMIZATIONS
   ============================================ */
@media (hover: none) and (pointer: coarse) {
    /* Larger touch targets */
    .btn,
    .nav-menu a,
    .mobile-menu a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Remove hover effects */
    .hover-lift:hover,
    .hover-scale:hover,
    .hover-rotate:hover {
        transform: none;
    }
    
    /* Disable custom cursor */
    .custom-cursor {
        display: none !important;
    }
    
    body {
        cursor: auto !important;
    }
}

/* ============================================
   HIGH DPI DISPLAYS (Retina)
   ============================================ */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* Optimize images for retina */
    .hero-section,
    .service-card,
    .blog-card {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* ============================================
   DARK MODE PREFERENCE
   ============================================ */
@media (prefers-color-scheme: dark) {
    body:not([data-theme]) {
        --bg-primary: #1A1A1A;
        --text-primary: #FFFFFF;
    }
}

/* ============================================
   REDUCED MOTION PREFERENCE
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-title-main,
    .service-icon,
    .scroll-to-top i {
        animation: none !important;
    }
}

/* ============================================
   CONTAINER QUERIES (Modern Browsers)
   ============================================ */
@supports (container-type: inline-size) {
    .service-card {
        container-type: inline-size;
    }
}

/* ============================================
   UTILITY CLASSES FOR RESPONSIVE
   ============================================ */

/* Hide on Mobile */
.hide-mobile {
    display: block;
}

@media (max-width: 767px) {
    .hide-mobile {
        display: none !important;
    }
}

/* Show only on Mobile */
.show-mobile {
    display: none;
}

@media (max-width: 767px) {
    .show-mobile {
        display: block !important;
    }
}

/* Hide on Tablet */
.hide-tablet {
    display: block;
}

@media (min-width: 768px) and (max-width: 1024px) {
    .hide-tablet {
        display: none !important;
    }
}

/* Show only on Tablet */
.show-tablet {
    display: none;
}

@media (min-width: 768px) and (max-width: 1024px) {
    .show-tablet {
        display: block !important;
    }
}

/* Hide on Desktop */
.hide-desktop {
    display: block;
}

@media (min-width: 1025px) {
    .hide-desktop {
        display: none !important;
    }
}

/* Show only on Desktop */
.show-desktop {
    display: none;
}

@media (min-width: 1025px) {
    .show-desktop {
        display: block !important;
    }
}

/* ============================================
   RESPONSIVE GRID UTILITIES
   ============================================ */
.grid-responsive {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .grid-responsive {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1025px) {
    .grid-responsive {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1441px) {
    .grid-responsive {
        grid-template-columns: repeat(4, 1fr);
    }
}
