@charset "UTF-8";

/* ==========================================================================
   CARENTO RESPONSIVE MEDIA QUERIES (responsive.css)
   Breakpoints: 1400px, 1200px, 992px, 768px, 576px
   ========================================================================== */

/* Large Desktops & Laptops (<= 1400px) */
@media (max-width: 1400px) {
    .carento-hero-title {
        font-size: 3.2rem;
    }

    .search-inputs-grid {
        grid-template-columns: 1.2fr 1.1fr 1.3fr 1fr;
        gap: 12px;
    }
}

/* Standard Desktops & Laptops (<= 1200px) */
@media (max-width: 1200px) {
    .carento-hero-title {
        font-size: 2.8rem;
    }

    .carento-section-title {
        font-size: 2rem;
    }

    .search-inputs-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .search-btn-col {
        grid-column: span 2;
    }

    .carento-search-card {
        padding: 1.5rem;
    }
}

/* Tablets (<= 992px) */
@media (max-width: 992px) {
    .carento-hero-section {
        padding-top: 3.5rem;
        padding-bottom: 5.5rem;
        min-height: auto;
    }

    .carento-hero-title {
        font-size: 2.35rem;
    }

    .hero-feature-badges {
        margin: 1.5rem 0;
    }

    .carento-navbar-wrap {
        padding: 0.5rem 0;
    }

    .main-nav-list {
        padding: 1rem 0;
    }

    .main-nav-list .nav-link {
        padding: 0.6rem 0;
    }

    .carento-nav-actions {
        padding-top: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
        justify-content: space-between;
    }

    .offer-image {
        height: 360px;
    }

    .type-card-img-wrap {
        height: 130px;
        padding: 8px 10px;
    }
}

/* Small Tablets & Large Phones (<= 768px) */
@media (max-width: 768px) {
    .carento-hero-title {
        font-size: 2rem;
        line-height: 1.25;
    }

    .carento-section-title {
        font-size: 1.75rem;
    }

    .carento-search-card {
        padding: 1.25rem;
        border-radius: 20px;
    }

    .search-inputs-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .search-btn-col {
        grid-column: span 1;
    }

    .search-field-select,
    .search-field-input,
    .btn-find-vehicle {
        height: 48px;
        font-size: 0.92rem;
    }

    .vehicle-card-img-wrap {
        height: 190px;
    }

    .brand-item-card {
        height: 90px;
        padding: 10px;
    }

    .brand-name {
        font-size: 0.78rem;
    }

    .offer-image {
        height: 280px;
    }

    .hero-banner-image-wrap {
        border-radius: 16px;
    }

    .carento-search-widget-wrap {
        margin-top: 1.25rem;
    }
}

/* Small Mobile Phones (<= 576px) */
@media (max-width: 576px) {
    .carento-hero-title {
        font-size: 1.75rem;
    }

    .carento-hero-tag {
        font-size: 0.75rem;
        padding: 4px 14px;
    }

    .hero-feature-badges {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .search-tabs-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .search-type-tabs .btn-search-tab {
        padding: 6px 14px;
        font-size: 0.85rem;
    }

    .vehicle-specs-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .vehicle-price-wrap .price-value {
        font-size: 1.25rem;
    }

    .btn-book-vehicle {
        padding: 6px 14px;
        font-size: 0.85rem;
    }

    .floating-skeleton-toggle {
        display: none !important;
    }

    /* Contact Page Mobile */
    .contact-hero-banner {
        min-height: 260px;
        margin-bottom: 2.5rem;
    }

    .contact-hero-title {
        font-size: 2.4rem;
    }

    .contact-breadcrumb-pill {
        padding: 6px 18px;
        font-size: 0.8rem;
    }

    /* Dark Footer Mobile */
    .newsletter-headline {
        font-size: 1.35rem;
        text-align: center;
    }

    .newsletter-inline-form {
        flex-direction: column;
        width: 100%;
    }

    .newsletter-input-wrap {
        max-width: 100% !important;
    }

    .btn-carento-subscribe {
        width: 100%;
    }

    .footer-bottom-dark-bar {
        text-align: center;
    }
}


/* ==========================================================================
   DRIVIO FULL-BLEED BANNER & SEARCH RESPONSIVE RULES (Zero White Space)
   ========================================================================== */
@media (max-width: 992px) {
    .drivio-hero-full-section,
    .banner-full-img-container {
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
    }

    .drivio-hero-banner-full-img {
        width: 100% !important;
        height: auto !important;
        border-radius: 0 !important;
    }

    .drivio-search-floating-placement {
        margin-top: 18px;
        padding-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .drivio-search-floating-placement {
        margin-top: 14px;
        padding-bottom: 1.5rem;
    }

    .drivio-hero-banner-full-img {
        min-height: auto;
    }
}

@media (max-width: 992px) {
    .whatsapp-floating-btn {
        width: 68px;
        height: 68px;
    }
}

@media (max-width: 576px) {
    .btn-scroll-to-top {
        left: 18px;
        bottom: 20px;
        width: 44px;
        height: 44px;
        font-size: 1.15rem;
    }

    .whatsapp-floating-btn {
        right: 18px;
        bottom: 20px;
        width: 60px;
        height: 60px;
    }
}

/* ==========================================================================
   MOBILE ANIMATION DISTANCE OPTIMIZATIONS (Smooth & No Horizontal Overflow)
   ========================================================================== */
@media (max-width: 768px) {
    /* Reduce translation distance on mobile for silkier 60fps performance */
    @keyframes carentoSmoothFadeInUp {
        0% { opacity: 0; transform: translate3d(0, 18px, 0); }
        100% { opacity: 1; transform: translate3d(0, 0, 0); }
    }

    @keyframes carentoSmoothFadeInDown {
        0% { opacity: 0; transform: translate3d(0, -16px, 0); }
        100% { opacity: 1; transform: translate3d(0, 0, 0); }
    }

    @keyframes carentoSmoothFadeInLeft {
        0% { opacity: 0; transform: translate3d(-18px, 0, 0); }
        100% { opacity: 1; transform: translate3d(0, 0, 0); }
    }

    @keyframes carentoSmoothFadeInRight {
        0% { opacity: 0; transform: translate3d(18px, 0, 0); }
        100% { opacity: 1; transform: translate3d(0, 0, 0); }
    }

    /* Prevent mobile horizontal shift */
    .carento-vehicle-card:hover,
    .brand-item-card:hover,
    .vehicle-type-card:hover {
        transform: translateY(-3px) !important;
    }
}
