/* ============================================================
   AWESOME MSOIL GARAGE — Mobile-First Responsive Overrides
   ============================================================ */

/* ─── Header Logo Sizing ─── */
.cs_site_branding img {
    max-width: 200px;
    height: auto;
}

@media (max-width: 575px) {
    .cs_site_branding img {
        max-width: 160px;
    }

    /* Top header — hide on very small screens, show essentials */
    .cs_top_header {
        display: none;
    }

    /* Hero text scaling */
    .cs_hero_title {
        font-size: 28px !important;
        line-height: 1.3em !important;
    }

    .cs_hero_subtitle {
        font-size: 15px !important;
    }

    .cs_hero_number a {
        font-size: 16px !important;
    }

    /* Hero section height */
    .cs_hero.cs_style_1 {
        min-height: 480px !important;
        padding: 20px 16px !important;
    }

    /* About section — stack cols */
    .cs_about_thumbnail_wrapper {
        margin-bottom: 30px;
    }

    /* Experience badge */
    .cs_esperience_text {
        bottom: 10px !important;
        left: 10px !important;
    }

    .cs_fs_100 {
        font-size: 48px !important;
    }

    .cs_fs_50 {
        font-size: 24px !important;
    }

    /* Section headings */
    .cs_section_title.cs_fs_50 {
        font-size: 28px !important;
        line-height: 1.3em !important;
    }

    .cs_fs_18 {
        font-size: 14px !important;
    }

    /* Service cards */
    .cs_card_title.cs_fs_30 {
        font-size: 20px !important;
    }

    /* Nav toggle */
    .cs_menu_toggle {
        margin-right: 10px;
    }

    /* Preloader logo */
    #preloader .loading-text img {
        max-width: 220px !important;
    }

    /* Footer */
    .cs_footer_widget {
        margin-bottom: 30px;
    }

    /* Contact area */
    .cs_phone_call {
        flex-direction: column;
        gap: 6px;
    }

    /* Avatar row in about */
    .cs_about_btns {
        flex-wrap: wrap;
        gap: 16px;
    }

    /* Hide Pagination */
    .cs_pagination.cs_style_1 {
        display: none !important;
    }

    .cs_hero_btns {
        margin-bottom: 40px !important;
        /* Move content up to avoid dots */
    }
}

@media (max-width: 767px) {

    /* General spacing reduction */
    .cs_height_120 {
        height: 60px !important;
    }

    .cs_height_lg_80 {
        height: 40px !important;
    }

    /* Hero buttons stack */
    .cs_hero_btns {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    /* Service slider one at a time */
    .cs_slider .slick-slide {
        padding: 0 8px;
    }

    /* Section heading */
    .cs_section_title {
        font-size: 26px !important;
    }

    /* Logo on mobile */
    .cs_site_branding img {
        max-width: 175px;
    }

    /* Nav bar padding */
    .cs_main_header_in {
        padding: 12px 0;
    }

    /* Testimonial cards */
    .cs_testimonial_header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    /* Feature section */
    .cs_features_text {
        margin-top: 24px;
    }

    /* Phone call link in about */
    .cs_phone_call {
        bottom: auto !important;
        position: relative !important;
        margin-top: 16px;
    }
}

@media (max-width: 991px) {

    /* Medium tablets */
    .cs_hero_title {
        font-size: 36px !important;
    }

    .cs_about_text {
        padding-top: 20px;
    }

    .cs_section_title.cs_fs_50 {
        font-size: 34px !important;
    }
}

/* ─── Preloader branding update ─── */
#preloader .loading-text img {
    max-width: 280px;
    height: auto;
}

#preloader .spinner {
    max-width: 130px;
    height: 115px;
}

/* ─── About section owner photo ─── */
.cs_avatar_thumbnail img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
}

/* ─── Mobile nav improvements ─── */
@media (max-width: 991px) {
    .cs_nav_list_wrap .cs_nav_list {
        padding: 10px 0;
    }

    .cs_nav_list li a {
        padding: 10px 20px;
        font-size: 15px;
    }
}

/* ─── Touch-friendly buttons ─── */
.cs_btn.cs_style_1 {
    min-width: 140px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ─── Business hours badge ─── */
.cs_business_hours {
    background: var(--accent-color);
    color: white;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
    margin-top: 8px;
}

/* ─── Full-width hero (no side padding) ─── */
.cs_hero_fullwidth,
.cs_hero_fullwidth>.cs_slider_container {
    position: relative;
}

.cs_hero_fullwidth .cs_slider_wrapper,
.cs_hero_fullwidth .cs_slide,
.cs_hero_fullwidth .cs_hero {
    width: 100%;
}

.cs_hero_fullwidth .cs_hero.cs_style_1 {
    background-size: cover;
    background-position: center center;
    min-height: 92vh;
    max-height: 100vh;
    padding: 0 !important;
}

/* ─── CTA overlay ─── */
.cs_hero_cta_overlay {
    position: absolute;
    bottom: 50px;
    left: 40px;
    z-index: 10;
    text-align: left;
    pointer-events: auto;
}

.cs_hero_cta_btn {
    font-size: 16px;
    padding: 16px 44px !important;
    border-radius: 0;
    letter-spacing: 1px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

@media (max-width: 575px) {
    .cs_hero_fullwidth .cs_hero.cs_style_1 {
        min-height: 75vh;
    }

    .cs_hero_cta_overlay {
        bottom: 40px;
        left: 20px;
    }

    .cs_hero_cta_btn {
        padding: 13px 28px !important;
        font-size: 14px;
    }

    /* Pagination hidden globally above */
}

/* ─── Banner Stretch Fix (Hero Slide 4 = S-Class Banner) ─── */
.cs_slider_wrapper .cs_slide:nth-child(4) .cs_hero {
    background-size: contain !important;
}

@media (min-width: 992px) {
    .cs_slider_wrapper .cs_slide:nth-child(4) .cs_hero {
        background-size: cover !important;
    }
}

/* ─── New showcase slides: always cover, centered ─── */
.cs_slider_wrapper .cs_slide:nth-child(2) .cs_hero,
.cs_slider_wrapper .cs_slide:nth-child(3) .cs_hero {
    background-size: cover !important;
    background-position: center top !important;
}