/**
 * ============================================================================
 * DREAMDRIVE MOBIL OPTIMALIZÁCIÓ
 * ============================================================================
 * Teljes mobil reszponzív CSS az oldal minden eleméhez
 * Desktop verzió változatlan marad, csak mobile eszközökön érvényesül
 * ============================================================================
 */

/* ============================================================================
   MOBIL BREAKPOINT-OK
   ============================================================================ */
/* 
   - Tablet: max-width: 992px
   - Mobile Large: max-width: 768px
   - Mobile Medium: max-width: 576px
   - Mobile Small: max-width: 480px
*/

/* ============================================================================
   ÁLTALÁNOS MOBIL STÍLUSOK
   ============================================================================ */

@media (max-width: 992px) {
    body {
        font-size: 15px;
    }
    
    /* Container padding csökkentése */
    .container, .container-fluid {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Címek méretezése */
    h1 {
        font-size: 2rem !important;
    }
    
    h2 {
        font-size: 1.75rem !important;
    }
    
    h3 {
        font-size: 1.5rem !important;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
    
    h1 {
        font-size: 1.75rem !important;
    }
    
    h2 {
        font-size: 1.5rem !important;
    }
    
    h3 {
        font-size: 1.25rem !important;
    }
}

/* ============================================================================
   HERO SECTION - MOBIL OPTIMALIZÁCIÓ
   ============================================================================ */

@media (max-width: 992px) {
    .hero-slider {
        height: 550px !important;
    }
    
    .hero-slide-content {
        padding: 20px 3% !important;
    }
    
    .hero-slide-text {
        width: 45% !important;
        padding: 20px 25px !important;
    }
    
    .hero-slide h1 {
        font-size: 2rem !important;
        letter-spacing: 2px !important;
    }
    
    .hero-car-brand {
        font-size: 1.5rem !important;
    }
    
    .hero-car-name {
        font-size: 2.8rem !important;
    }
    
    .hero-slide-image {
        width: 45% !important;
        max-height: 350px !important;
    }
    
    .spec-box {
        min-width: 100px !important;
        padding: 12px !important;
    }
    
    .spec-value {
        font-size: 1.6rem !important;
    }
    
    .spec-title {
        font-size: 0.65rem !important;
    }
}

@media (max-width: 768px) {
    /* Hero teljes újrarendezés mobilra */
    .hero-slider {
        height: auto !important;
        min-height: 600px !important;
    }
    
    .hero-slide-content {
        flex-direction: column !important;
        padding: 25px 15px 80px 15px !important;
        align-items: center !important;
        justify-content: flex-start !important;
    }
    
    /* Kép első helyen */
    .hero-slide-image {
        width: 100% !important;
        max-width: 100% !important;
        max-height: 300px !important;
        order: 0 !important;
        margin: 20px auto 10px auto !important;
        justify-content: center !important;
    }
    
    .hero-slide-image img {
        width: 95% !important;
        max-width: 450px !important;
        transform: translateX(0) !important;
    }
    
    /* Szöveg második helyen, középre */
    .hero-slide-text {
        width: 100% !important;
        max-width: 100% !important;
        order: 1 !important;
        padding: 15px 10px !important;
        align-items: center !important;
        text-align: center !important;
    }
    
    .hero-slide h1 {
        font-size: 1.6rem !important;
        text-align: center !important;
        letter-spacing: 2px !important;
        margin-bottom: 15px !important;
    }
    
    .hero-slide h1:after {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
    
    .hero-car-brand {
        font-size: 1.3rem !important;
        text-align: center !important;
    }
    
    .hero-car-name {
        font-size: 2.2rem !important;
        text-align: center !important;
        padding-bottom: 15px !important;
    }
    
    .hero-car-description {
        text-align: center !important;
        font-size: 0.95rem !important;
        margin: 15px 0 !important;
        display: block !important;
        max-width: 100% !important;
    }
    
    /* Gombok mobilon */
    .hero-buttons {
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 10px !important;
        margin-top: 15px !important;
    }
    
    .btn-primary, .btn-outline {
        padding: 12px 24px !important;
        font-size: 0.9rem !important;
        margin: 5px !important;
    }
    
    /* Specifikációk alulra */
    .hero-car-specs {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        order: 2 !important;
        width: 100% !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 12px !important;
        margin-top: 20px !important;
        padding: 15px 0 !important;
    }
    
    .spec-box {
        flex: 0 0 calc(50% - 10px) !important;
        min-width: 120px !important;
        max-width: 160px !important;
        padding: 12px 8px !important;
        margin: 0 !important;
    }
    
    .spec-value {
        font-size: 1.5rem !important;
    }
    
    .spec-title {
        font-size: 0.6rem !important;
    }
    
    /* Slider navigáció mobilon */
    .hero-slider-nav {
        bottom: 15px !important;
        right: 15px !important;
        left: 15px !important;
        justify-content: center !important;
    }
    
    .nav-btn {
        padding: 8px 12px !important;
        font-size: 0.75rem !important;
    }
}

@media (max-width: 576px) {
    .hero-slider {
        min-height: 650px !important;
    }
    
    .hero-slide h1 {
        font-size: 1.4rem !important;
        letter-spacing: 1.5px !important;
    }
    
    .hero-car-name {
        font-size: 1.9rem !important;
    }
    
    .hero-car-brand {
        font-size: 1.1rem !important;
    }
    
    .hero-car-description {
        font-size: 0.9rem !important;
    }
    
    .spec-box {
        flex: 0 0 calc(50% - 8px) !important;
        padding: 10px 6px !important;
    }
    
    .spec-value {
        font-size: 1.3rem !important;
    }
    
    .btn-primary, .btn-outline {
        padding: 10px 20px !important;
        font-size: 0.85rem !important;
    }
    
    .hero-buttons {
        flex-direction: column !important;
        width: 100% !important;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-outline {
        width: 100% !important;
        max-width: 280px !important;
    }
}

/* ============================================================================
   NAVIGATION & HEADER - MOBIL
   ============================================================================ */

@media (max-width: 768px) {
    /* Felső narancssárga sáv elrejtése mobilon */
    .top-bar {
        display: none !important;
    }
    
    /* Fő navigációs sáv - minden egy sorban */
    .main-nav-container {
        position: relative;
        z-index: 1000;
    }
    
    .main-nav-container .container {
        padding: 0 15px !important;
    }
    
    .main-nav {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        height: 60px !important;
        padding: 0 !important;
    }
    
    /* Logó - bal oldalon */
    .header-logo {
        flex-shrink: 0;
        order: 1;
    }
    
    .header-logo img {
        height: 36px !important;
    }
    
    .header-logo img.logo-small {
        height: 30px !important;
    }
    
    /* Desktop navigáció elrejtése */
    .header-nav {
        display: none !important;
    }
    
    /* Kosár ikon - jobb oldalon, hamburger előtt */
    .header-cart {
        order: 2;
        margin-left: auto !important;
        margin-right: 10px !important;
    }
    
    .cart-btn {
        font-size: 20px !important;
        padding: 8px !important;
        color: #fff !important;
    }
    
    /* Hamburger menü gomb - jobb szélen */
    .mobile-menu-button {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        order: 3;
        padding: 10px !important;
        background: none !important;
        border: none !important;
        cursor: pointer;
    }
    
    .mobile-menu-button span {
        display: block !important;
        width: 24px !important;
        height: 2px !important;
        background-color: #fff !important;
        margin-bottom: 5px !important;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-button span:last-child {
        margin-bottom: 0 !important;
    }
}

@media (max-width: 576px) {
    .main-nav {
        height: 55px !important;
    }
    
    .main-nav-container .container {
        padding: 0 12px !important;
    }
    
    .header-logo img {
        height: 32px !important;
    }
    
    .header-logo img.logo-small {
        height: 26px !important;
    }
    
    .header-cart {
        margin-right: 8px !important;
    }
    
    .cart-btn {
        font-size: 18px !important;
        padding: 6px !important;
    }
    
    .mobile-menu-button span {
        width: 22px !important;
    }
}

/* ============================================================================
   AUTÓK GRID - MOBIL OPTIMALIZÁCIÓ
   ============================================================================ */

@media (max-width: 992px) {
    .cars-list-modern {
        padding: 35px 2% !important;
    }
    
    .cars-grid {
        gap: 25px !important;
    }
    
    .modern-car-card {
        width: 100% !important;
        max-width: 400px !important;
        margin: 0 auto !important;
    }
}

@media (max-width: 768px) {
    .cars-list-modern h2 {
        font-size: 1.6rem !important;
        margin-bottom: 25px !important;
    }
    
    .cars-grid {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 20px !important;
    }
    
    .modern-car-card {
        width: 95% !important;
        max-width: 100% !important;
    }
    
    .modern-car-name {
        font-size: 1.3rem !important;
    }
    
    .car-specs {
        flex-wrap: wrap !important;
        gap: 10px !important;
    }
    
    .car-spec {
        flex: 0 0 calc(50% - 5px) !important;
        font-size: 0.85rem !important;
    }
}

@media (max-width: 576px) {
    .modern-car-card {
        width: 100% !important;
        padding: 20px 15px !important;
    }
    
    .modern-car-name {
        font-size: 1.2rem !important;
    }
    
    .car-spec {
        font-size: 0.8rem !important;
    }
    
    .spec-label {
        font-size: 0.7rem !important;
    }
    
    .view-experience-btn {
        padding: 10px 20px !important;
        font-size: 0.9rem !important;
    }
}

/* ============================================================================
   EXPERIENCE SLIDESHOW - MOBIL
   ============================================================================ */

@media (max-width: 768px) {
    .experience-slideshow-section {
        min-height: 400px !important;
    }
    
    .experience-content {
        padding: 30px 20px !important;
    }
    
    .experience-title {
        font-size: 1.6rem !important;
    }
    
    .experience-description {
        font-size: 0.95rem !important;
    }
    
    .experience-button {
        padding: 10px 25px !important;
        font-size: 0.9rem !important;
    }
}

/* ============================================================================
   BENEFITS SECTION - MOBIL
   ============================================================================ */

@media (max-width: 768px) {
    .benefits-section {
        padding: 50px 0 !important;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }
    
    .benefit-card {
        padding: 25px 20px !important;
    }
    
    .benefit-icon {
        width: 70px !important;
        height: 70px !important;
    }
    
    .benefit-icon i {
        font-size: 30px !important;
    }
    
    .benefit-card h3 {
        font-size: 1.1rem !important;
    }
    
    .benefit-card p {
        font-size: 0.9rem !important;
    }
}

/* ============================================================================
   FOOTER - MOBIL OPTIMALIZÁCIÓ
   ============================================================================ */

@media (max-width: 768px) {
    .footer-columns {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        text-align: center !important;
    }
    
    .footer-column h3::after {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
    
    .footer-column .social {
        justify-content: center !important;
    }
    
    .footer-column ul li {
        text-align: center !important;
    }
}

/* ============================================================================
   FORMS & INPUTS - MOBIL
   ============================================================================ */

@media (max-width: 768px) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="date"],
    input[type="number"],
    select,
    textarea {
        font-size: 16px !important; /* Megakadályozza az auto-zoom-ot iOS-en */
        padding: 12px !important;
    }
    
    .btn {
        padding: 12px 20px !important;
        font-size: 0.9rem !important;
    }
}

/* ============================================================================
   CART & CHECKOUT - MOBIL
   ============================================================================ */

@media (max-width: 768px) {
    .cart-items {
        padding: 15px !important;
    }
    
    .cart-item {
        flex-direction: column !important;
        gap: 15px !important;
    }
    
    .cart-item-image {
        width: 100% !important;
        max-width: 200px !important;
        margin: 0 auto !important;
    }
    
    .cart-summary {
        margin-top: 20px !important;
    }
}

/* ============================================================================
   CAR DETAIL PAGE - MOBIL
   ============================================================================ */

@media (max-width: 768px) {
    .car-detail-container {
        padding: 20px 15px !important;
    }
    
    .car-detail-image {
        width: 100% !important;
        margin-bottom: 20px !important;
    }
    
    .car-detail-info {
        width: 100% !important;
    }
    
    .car-specs-grid {
        grid-template-columns: 1fr !important;
    }
    
    .price-options {
        flex-direction: column !important;
    }
    
    .price-option {
        width: 100% !important;
        margin-bottom: 15px !important;
    }
}

/* ============================================================================
   TESTIMONIALS - MOBIL
   ============================================================================ */

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr !important;
    }
    
    .testimonial-card {
        padding: 20px !important;
    }
}

/* ============================================================================
   TRACKS SECTION - MOBIL
   ============================================================================ */

@media (max-width: 768px) {
    .tracks-grid {
        grid-template-columns: 1fr !important;
    }
    
    .track-card {
        margin-bottom: 20px !important;
    }
}

/* ============================================================================
   BUTTONS & CTA - MOBIL OPTIMALIZÁCIÓ
   ============================================================================ */

@media (max-width: 576px) {
    .btn-main.big,
    .btn-primary,
    .btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 14px 20px !important;
        font-size: 0.95rem !important;
    }
    
    .btn-outline {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px !important;
    }
}

/* ============================================================================
   UTILITY CLASSES - MOBIL
   ============================================================================ */

@media (max-width: 768px) {
    .mobile-hidden {
        display: none !important;
    }
    
    .mobile-center {
        text-align: center !important;
    }
    
    .mobile-full-width {
        width: 100% !important;
    }
}

/* ============================================================================
   SPACING - MOBIL
   ============================================================================ */

@media (max-width: 768px) {
    section {
        padding: 40px 0 !important;
    }
    
    .mt-5, .my-5 {
        margin-top: 2rem !important;
    }
    
    .mb-5, .my-5 {
        margin-bottom: 2rem !important;
    }
    
    .pt-5, .py-5 {
        padding-top: 2rem !important;
    }
    
    .pb-5, .py-5 {
        padding-bottom: 2rem !important;
    }
}

/* ============================================================================
   SMOOTH SCROLLING & TOUCH OPTIMALIZÁCIÓ
   ============================================================================ */

@media (max-width: 768px) {
    * {
        -webkit-tap-highlight-color: rgba(0,0,0,0);
        -webkit-touch-callout: none;
    }
    
    html {
        -webkit-text-size-adjust: 100%;
        scroll-behavior: smooth;
    }
    
    a, button {
        touch-action: manipulation;
    }
}

/* ============================================================================
   PERFORMANCE OPTIMALIZÁCIÓ - MOBIL
   ============================================================================ */

@media (max-width: 768px) {
    /* GPU gyorsítás animációkhoz */
    .hero-slide-image img,
    .spec-box,
    .modern-car-card {
        transform: translateZ(0);
        will-change: transform;
    }
    
    /* Lazy load támogatás */
    img[loading="lazy"] {
        opacity: 0;
        transition: opacity 0.3s;
    }
    
    img[loading="lazy"].loaded {
        opacity: 1;
    }
}

/* ============================================================================
   KATEGÓRIA SZŰRŐ SÁV - MOBIL
   ============================================================================ */

@media (max-width: 768px) {
    .category-filter-bar {
        padding: 12px 10px;
        gap: 8px;
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin: 0 -15px 20px -15px;
        border-radius: 0;
    }
    
    .category-filter-bar::-webkit-scrollbar {
        display: none;
    }
    
    .category-filter-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
        white-space: nowrap;
        flex-shrink: 0;
        border-radius: 25px;
    }
    
    .category-filter-btn i {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .category-filter-btn {
        padding: 8px 14px;
        font-size: 0.8rem;
    }
}

/* ============================================================================
   KATEGÓRIA BADGE-EK AZ AUTÓ KÁRTYÁKON - MOBIL
   ============================================================================ */

@media (max-width: 768px) {
    .category-badges {
        top: 8px;
        right: 8px;
        gap: 5px;
    }
    
    /* KÖR ALAKÚ badge-ek - nem ovális! */
    .category-badge {
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
        min-height: 28px !important;
        border-radius: 50% !important;
        aspect-ratio: 1 / 1 !important;
    }
    
    .category-badge i {
        font-size: 11px;
    }
    
    /* Tooltip elrejtése mobilon */
    .category-badge::after {
        display: none !important;
    }
}

/* ============================================================================
   AUTÓ KÁRTYÁK - MOBIL OPTIMALIZÁCIÓ
   ============================================================================ */

@media (max-width: 768px) {
    /* Kisebb kártyák mobilon */
    .modern-car-card {
        min-height: 380px !important;
        max-width: 100% !important;
    }
    
    .modern-car-image {
        height: 160px !important;
    }
    
    .modern-car-info {
        padding: 15px !important;
    }
    
    .modern-car-name {
        font-size: 1.1rem !important;
        margin-bottom: 10px !important;
    }
    
    /* Specifikációk egy sorban */
    .car-specs {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        gap: 4px !important;
        padding: 8px !important;
        margin-bottom: 12px !important;
    }
    
    .car-spec {
        flex: 1 !important;
        min-width: 0 !important;
        padding: 4px 2px !important;
    }
    
    .car-spec i {
        font-size: 1rem !important;
        margin-bottom: 3px !important;
    }
    
    .spec-value {
        font-size: 0.85rem !important;
    }
    
    .spec-label {
        font-size: 0.5rem !important;
        display: none !important;
    }
    
    /* Row specs is egy sorban */
    .row-specs {
        flex-wrap: nowrap !important;
        gap: 2px !important;
        padding: 6px !important;
    }
    
    .row-specs .car-spec {
        padding: 0 3px !important;
    }
    
    .row-specs .car-spec i {
        font-size: 0.85rem !important;
    }
    
    /* Gombok kisebb méretben */
    .view-experience-btn {
        padding: 10px 16px !important;
        font-size: 0.85rem !important;
    }
}

@media (max-width: 576px) {
    .modern-car-card {
        min-height: 350px !important;
    }
    
    .modern-car-image {
        height: 140px !important;
    }
    
    .modern-car-name {
        font-size: 1rem !important;
    }
    
    .car-spec i {
        font-size: 0.9rem !important;
    }
    
    .spec-value {
        font-size: 0.8rem !important;
    }
}

/* ============================================================================
   AUTÓ RÉSZLETEK OLDAL - HERO MOBIL JAVÍTÁSOK
   ============================================================================ */

@media (max-width: 992px) {
    .car-hero-section {
        min-height: auto;
        padding: 100px 0 60px 0;
        background-attachment: scroll !important;
    }
    
    .hero-content-grid {
        grid-template-columns: 1fr !important;
        gap: 30px;
        text-align: center;
    }
    
    .hero-left {
        align-items: center;
    }
    
    .hero-right {
        justify-content: center;
    }
    
    .car-category-badge {
        margin: 0 auto;
    }
    
    .car-price-badge {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .car-hero-section {
        padding: 80px 15px 40px 15px;
    }
    
    .car-hero-section .car-title {
        font-size: 2rem !important;
    }
    
    .car-title .car-make {
        font-size: 0.6em !important;
        letter-spacing: 3px !important;
    }
    
    .car-tagline {
        font-size: 1rem !important;
        flex-direction: column;
        gap: 8px;
    }
    
    .hero-specs-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px;
        width: 100%;
        max-width: 350px;
    }
    
    .hero-spec-box {
        padding: 15px 10px;
    }
    
    .hero-spec-box .spec-icon {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    
    .hero-spec-box .spec-value {
        font-size: 1.8rem;
    }
    
    .hero-spec-box .spec-unit {
        font-size: 0.75rem;
    }
    
    .hero-spec-box .spec-label {
        font-size: 0.6rem;
    }
    
    .price-value {
        font-size: 1.8rem !important;
    }
    
    .scroll-indicator {
        bottom: 15px;
    }
    
    .scroll-indicator span {
        display: none;
    }
}

@media (max-width: 576px) {
    .car-hero-section .car-title {
        font-size: 1.6rem !important;
    }
    
    .hero-specs-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 10px;
    }
    
    .hero-spec-box .spec-value {
        font-size: 1.5rem;
    }
}

/* ============================================================================
   FOGLALÁSI SZEKCIÓ - MOBIL
   ============================================================================ */

@media (max-width: 992px) {
    .car-content-section .row {
        flex-direction: column;
    }
    
    .car-details,
    .booking-options-container {
        width: 100%;
        flex: none;
    }
    
    .car-details {
        padding-right: 0;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .car-content-section {
        padding: 30px 0;
    }
    
    .booking-card {
        padding: 20px 15px;
    }
    
    .booking-card h3 {
        font-size: 1.4rem;
    }
    
    /* Pálya választás mobilon */
    .track-options {
        grid-template-columns: 1fr !important;
        gap: 12px;
    }
    
    .track-option {
        padding: 15px;
    }
    
    .track-option-header label {
        font-size: 1.1rem;
    }
    
    .track-price {
        font-size: 1.2rem;
    }
    
    /* Körcsomagok mobilon */
    .lap-packages-container .row {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .lap-packages-container .col-4,
    .lap-packages-container .col-md-4 {
        flex: 1 1 calc(33.333% - 10px);
        max-width: calc(33.333% - 10px);
        padding: 0;
    }
    
    .lap-package {
        padding: 12px 8px;
    }
    
    .lap-count {
        font-size: 1.1rem;
    }
    
    .lap-price {
        font-size: 0.85rem;
    }
    
    /* Extra szolgáltatások mobilon */
    .extras-list {
        grid-template-columns: 1fr !important;
    }
    
    .extra-card {
        padding: 15px;
    }
    
    .extra-title {
        font-size: 1rem;
    }
    
    /* Összesítő mobilon */
    .booking-summary {
        padding: 15px;
    }
    
    .summary-total {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
    
    .total-price {
        font-size: 1.5rem;
    }
    
    /* Kosárba gomb */
    .add-to-cart-btn {
        padding: 14px 20px;
        font-size: 1rem;
    }
    
    /* RADIO BUTTON-OK KÖR ALAKÚRA - nem ovális! */
    .track-radio,
    .track-option input[type="radio"],
    .track-option input[type="checkbox"],
    input[type="radio"],
    input[type="checkbox"] {
        width: 18px !important;
        height: 18px !important;
        min-width: 18px !important;
        min-height: 18px !important;
        border-radius: 50% !important;
        aspect-ratio: 1 / 1 !important;
    }
    
    /* Checkbox-ok négyzet alakúak maradnak */
    input[type="checkbox"] {
        border-radius: 4px !important;
    }
    
    /* Form-check radio és checkbox */
    .form-check-input[type="radio"] {
        width: 18px !important;
        height: 18px !important;
        min-width: 18px !important;
        min-height: 18px !important;
        border-radius: 50% !important;
        aspect-ratio: 1 / 1 !important;
    }
    
    /* Extra szolgáltatások checkbox-ok */
    .extra-card input[type="checkbox"],
    .extras-list input[type="checkbox"] {
        width: 20px !important;
        height: 20px !important;
        min-width: 20px !important;
        min-height: 20px !important;
        border-radius: 4px !important;
    }
}

/* ============================================================================
   AUTÓ RÉSZLETEK - HERO KÉP MOBIL JAVÍTÁSOK
   ============================================================================ */

@media (max-width: 768px) {
    /* Hero szekció kisebb magasság mobilon */
    .car-hero-section {
        min-height: 70vh !important;
        max-height: 600px !important;
        padding: 70px 15px 30px 15px !important;
    }
    
    /* Háttérkép jobb pozicionálás */
    .car-hero-section::before {
        background-position: center center !important;
        background-size: cover !important;
    }
    
    /* Tartalom kompaktabb */
    .hero-content-grid {
        gap: 20px !important;
    }
    
    /* Autó kép a hero-ban - kisebb és jobban látható */
    .car-hero-image,
    .hero-car-image {
        max-height: 180px !important;
        margin: 10px auto !important;
    }
    
    .car-hero-image img,
    .hero-car-image img {
        max-height: 180px !important;
        object-fit: contain !important;
        width: auto !important;
    }
    
    /* Cím és szövegek kisebbek */
    .car-hero-section .car-title {
        font-size: 1.8rem !important;
        margin-bottom: 10px !important;
    }
    
    .car-title .car-make {
        font-size: 0.55em !important;
    }
    
    .car-tagline {
        font-size: 0.9rem !important;
        margin-bottom: 15px !important;
    }
    
    /* Ár badge kisebb */
    .car-price-badge,
    .price-badge {
        padding: 10px 20px !important;
    }
    
    .price-value {
        font-size: 1.6rem !important;
    }
    
    /* Spec boxok 2x2 grid */
    .hero-specs-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        max-width: 100% !important;
    }
    
    .hero-spec-box {
        padding: 12px 8px !important;
    }
    
    .hero-spec-box .spec-icon {
        font-size: 1.3rem !important;
        margin-bottom: 8px !important;
    }
    
    .hero-spec-box .spec-value {
        font-size: 1.4rem !important;
    }
    
    .hero-spec-box .spec-unit {
        font-size: 0.7rem !important;
    }
    
    .hero-spec-box .spec-label {
        font-size: 0.55rem !important;
    }
}

@media (max-width: 576px) {
    .car-hero-section {
        min-height: 60vh !important;
        max-height: 550px !important;
        padding: 65px 10px 25px 10px !important;
    }
    
    .car-hero-section .car-title {
        font-size: 1.5rem !important;
    }
    
    .car-hero-image,
    .hero-car-image {
        max-height: 150px !important;
    }
    
    .hero-spec-box .spec-value {
        font-size: 1.2rem !important;
    }
    
    .price-value {
        font-size: 1.4rem !important;
    }
}

/* ============================================================================
   CHECKOUT OLDAL - MOBIL JAVÍTÁSOK
   ============================================================================ */

@media (max-width: 768px) {
    .checkout-page {
        padding: 25px 0;
    }
    
    .checkout-container {
        padding: 0 15px;
    }
    
    .panel {
        padding: 20px 15px;
        margin-bottom: 20px;
    }
    
    .panel-title {
        font-size: 1.2rem;
    }
    
    /* Kosár elem a checkout-ban */
    .cart-item-image {
        height: 180px;
    }
    
    .cart-item-details {
        padding: 15px;
    }
    
    .cart-item-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .cart-item-title {
        font-size: 1.3rem;
    }
    
    .cart-item-price {
        font-size: 1.5rem;
    }
    
    .cart-item-price-section {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        padding: 15px;
    }
    
    /* Fizetési módok mobilon */
    .payment-options {
        flex-direction: column;
        gap: 10px;
    }
    
    .payment-option {
        padding: 15px;
    }
    
    .payment-option i {
        font-size: 24px;
        margin-bottom: 8px;
    }
    
    /* Kupon szekció */
    .coupon-form {
        flex-direction: column;
        gap: 10px;
    }
    
    .coupon-form input,
    .coupon-form button {
        width: 100%;
    }
    
    /* Ár összesítő */
    .price-summary {
        padding: 15px;
    }
    
    .price-row.total .price-value {
        font-size: 1.5rem;
    }
}

/* ============================================================================
   ADMIN PANEL - MOBIL OPTIMALIZÁCIÓ
   ============================================================================ */

@media (max-width: 992px) {
    /* Admin sidebar mobilon */
    .admin-wrapper {
        flex-direction: column;
    }
    
    .admin-sidebar {
        width: 100%;
        position: fixed;
        left: -100%;
        top: 0;
        height: 100vh;
        z-index: 1000;
        transition: left 0.3s ease;
    }
    
    .admin-sidebar.active {
        left: 0;
    }
    
    .admin-content {
        margin-left: 0;
        width: 100%;
        padding: 15px;
    }
    
    .admin-header {
        padding: 15px;
    }
    
    /* Mobil menü gomb az adminban */
    .admin-mobile-toggle {
        display: block !important;
    }
}

@media (max-width: 768px) {
    /* Admin kártyák */
    .admin-card {
        margin-bottom: 15px;
    }
    
    .admin-card-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
        padding: 15px;
    }
    
    .admin-card-title {
        font-size: 1.1rem;
    }
    
    .admin-card-body {
        padding: 15px;
    }
    
    /* Admin táblázatok */
    .admin-table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .admin-table {
        min-width: 600px;
    }
    
    /* Admin form */
    .admin-form-row {
        flex-direction: column;
    }
    
    .admin-form-group {
        width: 100%;
        margin-bottom: 15px;
    }
    
    .admin-form-group.col-md-4,
    .admin-form-group.col-md-6 {
        width: 100%;
    }
    
    /* Autó szerkesztő űrlap mobilon */
    .car-edit-container {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }
    
    .edit-section {
        margin-bottom: 0;
    }
    
    .edit-section-header {
        padding: 12px 15px;
        font-size: 0.95rem;
    }
    
    .edit-section-body {
        padding: 15px;
    }
    
    .form-row-grid {
        grid-template-columns: 1fr !important;
        gap: 12px;
    }
    
    .status-toggles {
        flex-direction: column;
        gap: 10px;
    }
    
    .status-toggle {
        width: 100%;
        justify-content: flex-start;
    }
    
    .category-grid {
        grid-template-columns: 1fr !important;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .action-buttons .btn {
        width: 100%;
    }
    
    /* Admin dropdown menük */
    .admin-dropdown {
        position: static;
    }
    
    .admin-dropdown-menu {
        position: relative;
        width: 100%;
    }
}

/* ============================================================================
   KOSÁR OLDAL - MOBIL JAVÍTÁSOK
   ============================================================================ */

@media (max-width: 768px) {
    .cart-page {
        padding: 30px 0;
    }
    
    .cart-page .page-title {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }
    
    .cart-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .cart-items-container,
    .cart-summary {
        padding: 15px;
        border-radius: 10px;
    }
    
    /* Kosár elem mobilon */
    .cart-item {
        flex-direction: column;
        padding: 15px;
    }
    
    .item-image-container {
        width: 100%;
        height: 150px;
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .item-details {
        min-width: 100%;
    }
    
    .item-title {
        font-size: 1.1rem;
    }
    
    .item-specs {
        flex-direction: column;
        gap: 8px;
    }
    
    .item-actions {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid rgba(255,255,255,0.1);
    }
    
    /* Összegzés mobilon */
    .summary-actions {
        flex-direction: column;
    }
    
    .summary-actions .btn {
        width: 100%;
    }
}

/* ============================================================================
   TOUCH OPTIMALIZÁCIÓ
   ============================================================================ */

@media (hover: none) and (pointer: coarse) {
    /* Touch eszközökön nagyobb kattintási terület */
    a, button, .btn, 
    input[type="checkbox"], 
    input[type="radio"],
    .category-badge,
    .category-filter-btn {
        min-height: 44px;
    }
    
    /* Hover effektek kikapcsolása touch eszközökön */
    .modern-car-card:hover,
    .track-card:hover,
    .hero-spec-box:hover,
    .category-filter-btn:hover {
        transform: none;
    }
    
    /* Aktív állapot touch eszközökön */
    .btn:active,
    .category-filter-btn:active,
    .category-badge:active {
        transform: scale(0.98);
        opacity: 0.9;
    }
}

/* ============================================================================
   MOBIL MENÜ - KRITIKUS STÍLUSOK
   ============================================================================ */

@media (max-width: 768px) {
    /* Mobil menü panel */
    .mobile-menu {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 80% !important;
        max-width: 300px !important;
        height: 100vh !important;
        height: 100dvh !important;
        background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%) !important;
        z-index: 99999 !important;
        box-shadow: -5px 0 25px rgba(0,0,0,0.5) !important;
        transition: right 0.3s ease !important;
        padding: 0 !important;
        overflow-y: auto !important;
        display: none !important;
        color: #fff !important;
    }
    
    .mobile-menu.active {
        right: 0 !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    /* Overlay */
    .mobile-menu-overlay {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: rgba(0, 0, 0, 0.5) !important;
        z-index: 99998 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
    
    .mobile-menu-overlay.active {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }
    
    /* Menü bezáró gomb */
    .mobile-menu-close {
        display: flex !important;
        justify-content: flex-end !important;
        padding: 15px 20px !important;
        background: transparent !important;
        border-bottom: 1px solid rgba(255,255,255,0.1) !important;
    }
    
    .mobile-menu-close button {
        background: rgba(255,255,255,0.15) !important;
        border: none !important;
        font-size: 18px !important;
        color: #fff !important;
        cursor: pointer !important;
        width: 40px !important;
        height: 40px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    /* Navigációs linkek */
    .mobile-nav {
        display: flex !important;
        flex-direction: column !important;
        padding: 20px 0 !important;
    }
    
    .mobile-nav a {
        color: #fff !important;
        text-decoration: none !important;
        font-weight: 600 !important;
        padding: 15px 25px !important;
        border-bottom: 1px solid rgba(255,255,255,0.1) !important;
        font-size: 16px !important;
        display: block !important;
    }
    
    .mobile-nav a:hover,
    .mobile-nav a:active {
        background: rgba(255,255,255,0.1) !important;
    }
    
    /* Kapcsolat szekció */
    .mobile-contacts {
        margin-top: auto !important;
        padding: 20px 25px !important;
        background: rgba(0,0,0,0.2) !important;
    }
    
    .mobile-contact-item a {
        color: #fff !important;
    }
}

/* ============================================================================
   SAFE AREA (NOTCH) TÁMOGATÁS
   ============================================================================ */

@supports (padding: env(safe-area-inset-top)) {
    .main-header {
        padding-top: env(safe-area-inset-top);
    }
    
    .mobile-menu {
        padding-top: env(safe-area-inset-top) !important;
        padding-bottom: env(safe-area-inset-bottom) !important;
    }
    
    .main-footer {
        padding-bottom: env(safe-area-inset-bottom);
    }
    
    .checkout-page .btn-primary,
    .cart-page .btn-primary {
        margin-bottom: env(safe-area-inset-bottom);
    }
}

/* ============================================================================
   LANDSCAPE MÓD JAVÍTÁSOK
   ============================================================================ */

@media (max-height: 500px) and (orientation: landscape) {
    .hero-slider,
    .car-hero-section {
        min-height: 100vh;
        height: auto;
    }
    
    .hero-slide-content {
        padding: 60px 20px !important;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    .hero-specs-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

/* ============================================================================
   REDUCED MOTION - AKADÁLYMENTESÍTÉS
   ============================================================================ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .scroll-indicator,
    .racing-stripes,
    .speed-lines {
        display: none;
    }
}
