/* ==================== MOBILE PERFECTION ==================== */
/* Telefon için pixel-perfect responsive tasarım */

/* ===== BASE MOBILE OPTIMIZATIONS ===== */
@media (max-width: 768px) {
    
    /* Body & HTML */
    html {
        font-size: 14px !important;
        scroll-padding-top: 60px !important;
    }

    body {
        overflow-x: hidden !important;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    /* Container */
    .container {
        padding: 0 1rem !important;
        max-width: 100% !important;
    }

    /* ===== 1. TOP BAR - MOBILE ===== */
    .top-bar {
        padding: 0.75rem 0 !important;
        font-size: 0.75rem !important;
    }

    .top-bar-left {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.35rem !important;
    }

    .top-bar-right {
        display: none !important; /* Hide on mobile, show social in hamburger */
    }

    .top-chip {
        font-size: 0.7rem !important;
        padding: 0.35rem 0.75rem !important;
    }

    /* ===== 2. NAVBAR - MOBILE PERFECT ===== */
    .navbar {
        padding: 0.75rem 0 !important;
        backdrop-filter: blur(20px) !important;
    }

    .logo {
        transform: scale(0.9) !important;
    }

    .logo-title {
        font-size: 1.15rem !important;
    }

    .logo-sub {
        font-size: 0.65rem !important;
    }

    /* Hamburger menu */
    .nav-toggle {
        width: 40px !important;
        height: 40px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: rgba(234, 179, 8, 0.1) !important;
        border: 2px solid rgba(234, 179, 8, 0.3) !important;
        border-radius: 8px !important;
        transition: all 0.3s ease !important;
    }

    .nav-toggle:active {
        transform: scale(0.95) !important;
        background: rgba(234, 179, 8, 0.2) !important;
    }

    /* Mobile menu */
    .nav-menu {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 80% !important;
        max-width: 320px !important;
        height: 100vh !important;
        background: linear-gradient(180deg, #0f172a 0%, #1e3a8a 100%) !important;
        backdrop-filter: blur(30px) !important;
        padding: 5rem 2rem 2rem !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 0.5rem !important;
        box-shadow: -10px 0 50px rgba(0, 0, 0, 0.5) !important;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
        z-index: 9999 !important;
        overflow-y: auto !important;
    }

    .nav-menu.active {
        right: 0 !important;
    }

    .nav-menu li {
        margin: 0 !important;
        width: 100% !important;
    }

    .nav-menu a {
        display: block !important;
        padding: 1rem 1.25rem !important;
        font-size: 1.1rem !important;
        font-weight: 600 !important;
        color: rgba(255, 255, 255, 0.9) !important;
        background: rgba(30, 58, 138, 0.3) !important;
        border: 2px solid rgba(234, 179, 8, 0.2) !important;
        border-radius: 12px !important;
        transition: all 0.3s ease !important;
    }

    .nav-menu a:hover,
    .nav-menu a.active {
        background: linear-gradient(135deg, rgba(234, 179, 8, 0.2), rgba(234, 179, 8, 0.1)) !important;
        border-color: rgba(234, 179, 8, 0.6) !important;
        color: #eab308 !important;
        transform: translateX(5px) !important;
    }

    /* Mobile menu close button */
    .nav-menu::before {
        content: '\f00d';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(239, 68, 68, 0.2);
        border: 2px solid rgba(239, 68, 68, 0.5);
        border-radius: 50%;
        color: #ef4444;
        font-size: 1.25rem;
        cursor: pointer;
        z-index: 10;
    }

    /* Menu overlay */
    .nav-menu-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(5px);
        z-index: 9998;
        transition: opacity 0.3s ease;
    }

    .nav-menu-overlay.active {
        display: block;
    }

    /* ===== 3. HERO SECTION - MOBILE ===== */
    .hero {
        min-height: 100vh !important;
        padding: 6rem 0 3rem !important;
        display: flex !important;
        align-items: center !important;
    }

    .hero-copy {
        text-align: center !important;
    }

    .hero-eyebrow {
        font-size: 0.8rem !important;
        padding: 0.5rem 1rem !important;
    }

    .hero-title {
        font-size: 2rem !important;
        line-height: 1.2 !important;
        margin-bottom: 1rem !important;
    }

    .hero-subtitle {
        font-size: 1rem !important;
        line-height: 1.6 !important;
        margin-bottom: 2rem !important;
    }

    .hero-highlights {
        flex-direction: column !important;
        gap: 1rem !important;
    }

    .highlight-card {
        flex: 1 !important;
        min-width: 100% !important;
        padding: 1rem !important;
    }

    /* Hero search form */
    .hero-search {
        padding: 1.5rem !important;
        border-radius: 16px !important;
    }

    .search-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .search-actions {
        flex-direction: column !important;
        gap: 0.75rem !important;
    }

    .search-actions .btn-primary,
    .search-actions .btn-secondary {
        width: 100% !important;
        padding: 1rem !important;
        font-size: 1rem !important;
    }

    /* ===== 4. VEHICLE CARDS - MOBILE PERFECT ===== */
    .vehicles {
        padding: 3rem 0 !important;
    }

    .vehicles .vehicles-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        padding: 1.5rem 0 !important;
    }

    .vehicles .vehicle-card {
        padding: 1.25rem !important;
        border-radius: 20px !important;
    }

    .vehicles .vehicle-card .vehicle-figure,
    .vehicles .vehicle-card .vehicle-image {
        max-width: 100% !important;
        margin-bottom: 1rem !important;
    }

    .vehicles .vehicle-card .vehicle-name,
    .vehicles .vehicle-card h3 {
        font-size: 1.5rem !important;
    }

    .vehicles .vehicle-card .vehicle-spec-list,
    .vehicles .vehicle-card .vehicle-specs {
        grid-template-columns: 1fr !important;
        gap: 0.5rem !important;
    }

    .vehicles .vehicle-card .vehicle-spec-list li,
    .vehicles .vehicle-card .vehicle-specs .spec {
        padding: 0.75rem 1rem !important;
        font-size: 0.9rem !important;
    }

    .vehicles .vehicle-card .price-amount {
        font-size: 2rem !important;
    }

    .vehicles .vehicle-card .btn-group {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }

    .vehicles .vehicle-card .rent-btn,
    .vehicles .vehicle-card .btn-calculate,
    .vehicles .vehicle-card .btn-reserve,
    .vehicles .vehicle-card .btn-details {
        padding: 1rem !important;
        font-size: 1rem !important;
        border-radius: 12px !important;
    }

    /* ===== 5. SERVICES - MOBILE ===== */
    .services {
        padding: 3rem 0 !important;
    }

    .service-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .service-card {
        padding: 1.5rem !important;
        border-radius: 16px !important;
    }

    .service-card h3 {
        font-size: 1.35rem !important;
    }

    .service-card p {
        font-size: 0.95rem !important;
    }

    /* ===== 6. CAMPAIGNS - MOBILE ===== */
    .campaigns {
        padding: 3rem 0 !important;
    }

    .campaign-spotlight {
        flex-direction: column !important;
        padding: 1.5rem !important;
        gap: 2rem !important;
    }

    .campaign-countdown {
        width: 100% !important;
    }

    .countdown-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 0.5rem !important;
    }

    .countdown-item {
        padding: 1rem 0.5rem !important;
    }

    .countdown-item span {
        font-size: 1.75rem !important;
    }

    .countdown-item small {
        font-size: 0.7rem !important;
    }

    .campaign-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .campaign-card {
        padding: 1.5rem !important;
    }

    /* ===== 7. TESTIMONIALS - MOBILE ===== */
    .testimonials {
        padding: 3rem 0 !important;
    }

    .testimonials-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .testimonial-card {
        padding: 1.5rem !important;
    }

    /* ===== 8. FAQ - MOBILE ===== */
    .faq {
        padding: 3rem 0 !important;
    }

    .faq-item {
        border-radius: 12px !important;
        margin-bottom: 1rem !important;
    }

    .faq-header,
    .faq-question {
        padding: 1.25rem !important;
    }

    .faq-header h3,
    .faq-question h3 {
        font-size: 1rem !important;
        padding-right: 2rem !important;
    }

    .faq-content,
    .faq-answer {
        font-size: 0.9rem !important;
    }

    .faq-item.active .faq-content,
    .faq-item.active .faq-answer {
        padding: 0 1.25rem 1.25rem !important;
    }

    /* ===== 9. CONTACT FORM - MOBILE ===== */
    .contact {
        padding: 3rem 0 !important;
    }

    .contact-layout {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .contact-form .form-group input,
    .contact-form .form-group textarea,
    .contact-form .form-group select {
        padding: 1rem !important;
        font-size: 1rem !important;
    }

    .contact-form button[type="submit"] {
        width: 100% !important;
        padding: 1.25rem !important;
        font-size: 1.1rem !important;
    }

    /* ===== 10. FOOTER - MOBILE ===== */
    .footer {
        padding: 3rem 0 2rem !important;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        text-align: center !important;
    }

    .footer-social {
        justify-content: center !important;
    }

    .footer-social a {
        width: 44px !important;
        height: 44px !important;
        font-size: 1.1rem !important;
    }

    .footer-bottom {
        flex-direction: column !important;
        gap: 1rem !important;
        text-align: center !important;
    }

    /* ===== 11. MODALS - MOBILE ===== */
    .premium-modal {
        padding: 1rem !important;
    }

    .premium-modal-dialog {
        width: 100% !important;
        max-width: 100% !important;
        padding: 1.5rem !important;
        border-radius: 20px !important;
    }

    .premium-modal-icon {
        width: 44px !important;
        height: 44px !important;
        font-size: 1.25rem !important;
    }

    .premium-modal-header h3 {
        font-size: 1.35rem !important;
    }

    .premium-form-input,
    .premium-form-select {
        padding: 1rem !important;
        font-size: 1rem !important;
    }

    .premium-form-grid {
        grid-template-columns: 1fr !important;
    }

    .premium-modal-btn {
        padding: 1rem !important;
        font-size: 1rem !important;
    }

    /* ===== 12. SECTION HEADERS - MOBILE ===== */
    .section-header {
        text-align: center !important;
        margin-bottom: 2rem !important;
    }

    .section-eyebrow {
        font-size: 0.8rem !important;
        padding: 0.5rem 1rem !important;
    }

    .section-header h2 {
        font-size: 1.75rem !important;
        line-height: 1.3 !important;
        margin-bottom: 1rem !important;
    }

    .section-header p {
        font-size: 1rem !important;
        line-height: 1.6 !important;
    }

    /* ===== 13. BUTTONS - MOBILE OPTIMIZATION ===== */
    .btn-primary,
    .btn-secondary {
        padding: 1rem 1.5rem !important;
        font-size: 1rem !important;
        border-radius: 12px !important;
        min-height: 48px !important; /* Touch target */
    }

    /* ===== 14. TRUST BADGES - MOBILE ===== */
    .trust-badges {
        padding: 2rem 0 !important;
    }

    .trust-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .trust-card {
        padding: 1.5rem !important;
    }

    .trust-stats {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
        padding: 1.5rem !important;
    }

    /* ===== 15. FEATURES - MOBILE ===== */
    .features {
        padding: 3rem 0 !important;
    }

    .features-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .feature-card {
        padding: 2rem 1.5rem !important;
    }

    /* ===== 16. BACK TO TOP - MOBILE ===== */
    #backToTop {
        width: 48px !important;
        height: 48px !important;
        bottom: 1rem !important;
        right: 1rem !important;
        font-size: 1.25rem !important;
    }

    /* ===== 17. SCROLL PROGRESS - MOBILE ===== */
    .scroll-progress-wrapper {
        height: 3px !important;
    }

    /* ===== 18. NAVIGATION DOTS - HIDE ON MOBILE ===== */
    .section-nav-dots {
        display: none !important;
    }

    /* ===== 19. LOADING SCREEN - MOBILE ===== */
    .loading-screen h2 {
        font-size: 1.5rem !important;
    }

    .loading-screen p {
        font-size: 0.9rem !important;
    }

    /* ===== 20. WHATSAPP FLOAT - MOBILE ===== */
    .whatsapp-float {
        width: 56px !important;
        height: 56px !important;
        bottom: 5rem !important;
        right: 1rem !important;
        font-size: 1.75rem !important;
    }

    /* ===== 21. ABOUT SECTION - MOBILE ===== */
    .about {
        padding: 3rem 0 !important;
    }

    .about-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .milestone-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .milestone-card {
        padding: 1.5rem !important;
    }

    /* ===== 22. SEARCH RESULTS - MOBILE ===== */
    .search-results-section {
        padding: 2rem 0 !important;
    }

    .search-vehicles-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    /* ===== 23. GLASS PANELS - MOBILE ===== */
    .glass-panel {
        padding: 1.5rem !important;
        border-radius: 16px !important;
    }

    /* ===== 24. PERFORMANCE OPTIMIZATIONS ===== */
    * {
        -webkit-tap-highlight-color: rgba(234, 179, 8, 0.2) !important;
    }

    /* Disable hover effects on touch devices */
    @media (hover: none) {
        .service-card:hover,
        .campaign-card:hover,
        .feature-card:hover,
        .vehicle-card:hover {
            transform: none !important;
        }
    }

    /* ===== 25. TYPOGRAPHY - MOBILE ===== */
    h1 {
        font-size: 2rem !important;
    }

    h2 {
        font-size: 1.75rem !important;
    }

    h3 {
        font-size: 1.35rem !important;
    }

    h4 {
        font-size: 1.15rem !important;
    }

    p {
        font-size: 1rem !important;
        line-height: 1.6 !important;
    }

    /* ===== 26. SPACING - MOBILE ===== */
    section {
        margin-bottom: 2rem !important;
    }

    /* ===== 27. IMAGES - MOBILE OPTIMIZATION ===== */
    img {
        max-width: 100% !important;
        height: auto !important;
    }

    /* ===== 28. FORMS - TOUCH FRIENDLY ===== */
    input,
    textarea,
    select,
    button {
        font-size: 16px !important; /* Prevent zoom on iOS */
        min-height: 44px !important; /* Touch target */
    }
}

/* ===== EXTRA SMALL DEVICES (< 400px) ===== */
@media (max-width: 400px) {
    html {
        font-size: 13px !important;
    }

    .hero-title {
        font-size: 1.75rem !important;
    }

    .countdown-item span {
        font-size: 1.5rem !important;
    }

    .vehicles .vehicle-card .price-amount {
        font-size: 1.75rem !important;
    }
}

/* ===== LANDSCAPE MODE - MOBILE ===== */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: auto !important;
        padding: 4rem 0 2rem !important;
    }

    .nav-menu {
        height: 100vh !important;
        overflow-y: auto !important;
    }
}

