/* ============================================
   AMAYKA x LOGISKO - Custom Theme Override
   Couleurs Amyka + Animations + Design Pro
   ============================================ */

/* ---- Color Override ---- */
:root {
    --primary-color: #f5b731;
    --heading-color: #1a1a2e;
    --bg-dark: #0a0f1e;
    --bg-grey: #f8f5f0;
}

/* ---- Logo Sizing ---- */
.site-logo img {
    max-height: 70px;
    mix-blend-mode: lighten;
    filter: contrast(1.1);
}
.footer-logo img {
    max-height: 80px;
    mix-blend-mode: lighten;
    filter: contrast(1.1);
}

/* ================================================
   HIDE ALL LOGISTICS/CARGO IMAGERY
   ================================================ */

/* Hide slider decorative logistics elements */
.slider-road,
.slider-truck,
.slider-badge,
.container-img,
.corner-shape {
    display: none !important;
}

/* Hide cargo container in testimonials */
.cargo-container {
    display: none !important;
}

/* === ANIMATION DÉPANNEUSE AMYKA AU FOOTER === */
/* La vraie dépanneuse Amyka traverse le bas du footer */
.running-truck {
    display: block !important;
    overflow: hidden;
    position: absolute;
    width: 100%;
    height: 110px;
    left: 0;
    bottom: 0;
    z-index: 2;
    pointer-events: none;
}





/* La vraie dépanneuse Amyka (photo détourée) — traverse de droite à gauche, LENTEMENT */
.running-truck .truck {
    background-image: url('img/amyka_isolated.png');
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: contain;
    position: absolute;
    width: 250px;
    height: 120px;
    left: 0;
    bottom: -5px;
    animation: depanneuse-anim 40s linear infinite; /* Animation beaucoup plus lente */
    opacity: 1 !important; /* Pas de transparence */
    /* mix-blend-mode retiré pour que l'image modifiée logiciellement s'affiche naturellement */
    z-index: 2;
}

/* On masque les autres dépanneuses pour n'en garder qu'une seule */
.running-truck .truck-2,
.running-truck .truck-3 {
    display: none !important;
}

/* Animation principale : entre par la gauche, sort par la droite */
@keyframes depanneuse-anim {
    0%   { left: -25%; }
    100% { left: 110%; }
}

/* Extra marge en bas du footer pour l'animation */
.footer-wrapper {
    padding-bottom: 140px !important;
    position: relative;
    /* On retire l'exclusion du background pour réafficher la ville */
}



/* Hide delivery man in CTA */
.cta-men {
    display: none !important;
}

/* Override promo item logistics patterns */
.promo-item-wrapper .promo-item {
    background-image: none !important;
}

/* Override map-pattern (world map) - replace with subtle gradient */
.map-pattern {
    background-image: none !important;
    background: radial-gradient(ellipse at 50% 50%, rgba(245,183,49,0.03) 0%, transparent 70%) !important;
}

/* Replace truck.svg in section headings with icon styling */
.sh-truck {
    display: none !important;
}
.sh-icon {
    color: var(--primary-color);
    font-size: 14px;
    margin-left: 6px;
    animation: AnimUpDown 2s infinite ease-in-out;
}
.sh-underline {
    display: inline-flex;
    align-items: center;
}

/* CTA wrapper - remove delivery man, make full width */
.cta-wrapper {
    background-image: none !important;
}
.cta-wrapper .col-lg-6 {
    flex: 0 0 100%;
    max-width: 100%;
}

/* ---- Preloader ---- */
#preloader-wrap svg path {
    fill: #0a0f1e;
}
.preloader-text span {
    color: #f5b731;
}

/* ---- Header Enhancement ---- */
.main-header {
    background: #0a0f1e;
}
.top-header {
    border-bottom-color: rgba(245, 183, 49, 0.15);
}

/* ---- Hero Slider ---- */
.slider-section .slider-img img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.slider-caption.big span {
    color: #f5b731;
}
.slider-content-wrap {
    background: linear-gradient(
        to right,
        rgba(10, 15, 30, 0.92) 0%,
        rgba(10, 15, 30, 0.7) 50%,
        rgba(10, 15, 30, 0.3) 100%
    );
}

/* Outline button for slider */
.btn-outline {
    background: transparent !important;
    border: 2px solid #fff !important;
    color: #fff !important;
    margin-left: 15px;
}
.btn-outline:hover {
    background: #f5b731 !important;
    border-color: #f5b731 !important;
    color: #0a0f1e !important;
}
.btn-outline i {
    margin-right: 6px;
}

/* ---- Default Button Color ---- */
.default-btn {
    background: #f5b731;
    color: #0a0f1e;
}
.default-btn:hover {
    background: #d49a1a;
    color: #0a0f1e;
}
.default-btn i {
    margin-right: 8px;
}

/* ---- Section Heading ---- */
.sub-heading.is-border::before {
    background: #f5b731;
}
.section-heading .hl {
    color: #f5b731;
}

/* ---- About Section ---- */
.about-img-info {
    background: #f5b731;
    color: #0a0f1e;
    font-weight: 700;
}
.about-img-wrap img {
    border-radius: 12px;
}

/* Promo list icon color */
.promo-list li > i {
    color: #f5b731;
    font-size: 28px;
}
.promo-list.white li > i {
    color: #f5b731;
}

/* Check list color */
.check-list li i {
    color: #f5b731;
}

/* Call info */
.call-info i {
    color: #f5b731;
}
.call-info h3 span {
    color: #f5b731;
}

/* ---- Service Cards ---- */
.service-item {
    transition: all 0.5s cubic-bezier(.165, .85, .45, 1);
}
.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}
.service-icon i {
    color: #f5b731;
    font-size: 38px;
}
.service-thumb img {
    height: 220px;
    object-fit: cover;
    width: 100%;
}
.read-more {
    color: #f5b731;
}
.read-more:hover {
    color: #d49a1a;
}

/* ---- Running Text ---- */
.running-text {
    background: #0a0f1e;
}
.scroller__inner li {
    color: #f5b731;
}

/* ---- Process Section ---- */
.process-icon i {
    color: #f5b731;
}
.process-icon span {
    background: #f5b731;
    color: #0a0f1e;
}

/* ---- Counter Section ---- */
.counter-icon i {
    color: #f5b731;
    font-size: 42px;
}
.counter-wrap {
    border-color: rgba(245, 183, 49, 0.2);
}

/* ---- Feature Tabs ---- */
.feature-tab-nav .nav-link.active {
    background: #f5b731;
    color: #0a0f1e;
}
.feature-tab-nav .nav-link {
    color: #fff;
}
.tab-thumb img {
    border-radius: 12px;
    height: 200px;
    object-fit: cover;
}

/* ---- CTA Section ---- */
.cta-section {
    background: #0a0f1e;
}
.cta-wrapper {
    background-image: url('img/depanneuse-amyka-branding-charleroi.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}
.cta-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,15,30,0.92), rgba(10,15,30,0.7));
}
.cta-wrapper .section-heading {
    position: relative;
    z-index: 2;
}
.cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}
.promo-item i {
    color: #f5b731;
    font-size: 36px;
}

/* ---- Quote / Contact Form Section ---- */
.quote-section {
    background: #0a0f1e;
}
.quote-form {
    background: #0f1629;
    border: 1px solid rgba(245, 183, 49, 0.15);
}
.quote-form .form-heading h2 {
    color: #f5b731;
}
.quote-form .form-control {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.1);
    color: #fff;
}
.quote-form .form-control:focus {
    border-color: #f5b731;
    box-shadow: 0 0 0 3px rgba(245, 183, 49, 0.15);
}
.quote-form .form-control::placeholder {
    color: rgba(255,255,255,0.4);
}
.quote-form .nice-select {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.4);
}
.quote-form .nice-select .list {
    background: #0f1629;
    border: 1px solid rgba(245, 183, 49, 0.2);
}
.quote-form .nice-select .option {
    color: #ccc;
}
.quote-form .nice-select .option:hover,
.quote-form .nice-select .option.selected {
    background: rgba(245, 183, 49, 0.1);
    color: #f5b731;
}
.quote-form .is-invalid {
    border-color: #ff4757 !important;
    box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.15) !important;
}

/* Contact Info List on dark bg */
.contact-info-list {
    list-style: none;
    padding: 0;
}
.contact-info-list li {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.contact-info-list li:last-child {
    border-bottom: none;
}
.contact-info-list li i {
    font-size: 24px;
    color: #f5b731;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 183, 49, 0.1);
    border-radius: 50%;
    flex-shrink: 0;
}
.contact-info-list li h3 {
    color: #fff;
    font-size: 16px;
    margin: 0;
    font-weight: 500;
}
.contact-info-list li h3 span {
    display: block;
    color: #f5b731;
    font-size: 15px;
    font-weight: 600;
    margin-top: 4px;
}
.contact-info-list li h3 a {
    color: inherit;
    text-decoration: none;
}
.contact-info-list li h3 a:hover {
    color: #f5b731;
}

/* ---- Testimonials ---- */
.testimonial-section {
    background: var(--bg-grey);
}
.testi-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f5b731, #ff8c00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.testi-avatar i {
    font-size: 32px;
    color: #0a0f1e;
}
.rattings li i {
    color: #f5b731;
}
.quote-icon i {
    color: rgba(245, 183, 49, 0.15);
}
.client-info h3 span {
    color: #f5b731;
}

/* ---- FAQ Section ---- */
.faq-accordion .accordion-button:not(.collapsed) {
    color: #f5b731;
    background: rgba(245, 183, 49, 0.05);
}
.faq-accordion .accordion-button::after {
    filter: none;
}
.faq-accordion .accordion-button:not(.collapsed)::after {
    filter: brightness(0) saturate(100%) invert(78%) sepia(55%) saturate(600%) hue-rotate(356deg);
}
.faq-accordion .accordion-item {
    border-radius: 12px !important;
    margin-bottom: 12px;
    overflow: hidden;
    border: 1px solid #eee;
}

/* ---- Zones Grid ---- */
.zones-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 20px 0;
}
.zone-tag {
    background: #fff;
    border: 2px solid #eee;
    border-radius: 50px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    color: var(--heading-color);
    transition: all 0.4s cubic-bezier(.165, .85, .45, 1);
    cursor: default;
}
.zone-tag:hover {
    background: #f5b731;
    border-color: #f5b731;
    color: #0a0f1e;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(245, 183, 49, 0.25);
}

/* ---- Map Wrapper ---- */
.map-wrapper {
    position: relative;
}
.map-wrapper iframe {
    filter: grayscale(0.3);
    transition: filter 0.5s ease;
}
.map-wrapper:hover iframe {
    filter: grayscale(0);
}

/* ---- Footer ---- */
.footer-section {
    background: #0a0f1e;
}
.footer-wrapper {
    border-bottom-color: rgba(245, 183, 49, 0.1);
}
.footer-contact-info a {
    color: #f5b731;
    text-decoration: none;
}
.footer-contact-info a:hover {
    text-decoration: underline;
}
.footer-contact-info span {
    color: #f5b731;
}
.footer-links li a {
    color: #fff !important;
    text-decoration: none;
    transition: all 0.3s ease;
}
.footer-links li a:hover {
    color: var(--primary-color) !important;
    padding-left: 5px;
}
.social-share li a {
    border-color: rgba(245, 183, 49, 0.2);
}
.social-share li a:hover {
    background: #f5b731;
    border-color: #f5b731;
    color: #0a0f1e;
}
.copyright-area {
    background: #060a14;
    color: #888;
}
.copyright-area a {
    color: #f5b731;
}

/* ---- Floating Buttons ---- */
.amayka-floating-btn {
    position: fixed;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    text-decoration: none;
    transition: all 0.3s ease;
}
.amayka-floating-phone {
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #f5b731;
    color: #0a0f1e;
    font-size: 24px;
    box-shadow: 0 8px 30px rgba(245, 183, 49, 0.4);
    animation: pulse-phone 2s infinite;
}
.amayka-floating-phone:hover {
    transform: scale(1.15);
    box-shadow: 0 12px 40px rgba(245, 183, 49, 0.6);
    color: #0a0f1e;
}
.amayka-floating-wa {
    bottom: 100px;
    right: 25px;
    width: 52px;
    height: 52px;
    background: #25D366;
    color: #fff;
    font-size: 24px;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}
.amayka-floating-wa:hover {
    transform: scale(1.15);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
    color: #fff;
}

@keyframes pulse-phone {
    0%, 100% { box-shadow: 0 0 0 0 rgba(245, 183, 49, 0.5); }
    50% { box-shadow: 0 0 0 18px rgba(245, 183, 49, 0); }
}

/* ---- Scroll Top ---- */
.scroll-to-top {
    background: #f5b731 !important;
    color: #0a0f1e !important;
}
.scroll-to-top:hover {
    background: #d49a1a !important;
}

/* ---- Custom Scrollbar ---- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a0f1e;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #f5b731, #d49a1a);
    border-radius: 4px;
}

/* ---- Selection ---- */
::selection {
    background: rgba(245, 183, 49, 0.3);
    color: #0a0f1e;
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 991px) {
    .site-logo img {
        max-height: 55px;
    }
    .cta-buttons {
        justify-content: center;
    }
    .contact-info-list {
        margin-top: 0;
    }
    .zones-grid {
        gap: 8px;
    }
    .zone-tag {
        padding: 8px 18px;
        font-size: 13px;
    }
}

@media (max-width: 767px) {
    .site-logo img {
        max-height: 45px;
    }
    .amayka-floating-phone {
        width: 50px;
        height: 50px;
        font-size: 20px;
        bottom: 20px;
        right: 15px;
    }
    .amayka-floating-wa {
        width: 44px;
        height: 44px;
        font-size: 20px;
        bottom: 80px;
        right: 15px;
    }
    .slider-btn .btn-outline {
        margin-left: 0;
        margin-top: 10px;
    }
    .cta-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    .zone-tag {
        padding: 6px 14px;
        font-size: 12px;
    }
    .text-anim [data-split="char"] .char {
        display: inline-block !important;
    }
}

/* ================================================
   PHASE 5 — DESIGN POLISH
   ================================================ */

/* -- Sticky header: glass tint when page is scrolled -- */
.main-header.sticky {
    background: rgba(10, 15, 30, 0.97) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    transition: background 0.4s ease, box-shadow 0.4s ease;
}
.main-header {
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

/* -- Page header (service banners): ensure text is fully readable -- */
.page-header h2,
.page-header h4,
.page-header p {
    color: #fff !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}
.page-header h2 span {
    color: var(--primary-color) !important;
}

/* -- Service card image: consistent height with smooth zoom -- */
.service-thumb {
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}
.service-thumb img {
    transition: transform 0.5s cubic-bezier(.165, .85, .45, 1) !important;
}
.service-item:hover .service-thumb img {
    transform: scale(1.07);
}

/* -- Service card shadow upgrade -- */
.service-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    padding: 30px 28px 24px;
}
.service-item:hover {
    box-shadow: 0 20px 55px rgba(245, 183, 49, 0.15) !important;
}

/* -- Footer widget title & body text readability -- */
.footer-widget p {
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.8;
}
.widget-title h3 {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(245, 183, 49, 0.25);
}
.footer-contact-info p {
    color: rgba(255, 255, 255, 0.65);
}
.footer-contact-info span {
    color: var(--primary-color);
    font-weight: 600;
    display: block;
    margin-bottom: 2px;
}

/* -- Breadcrumb / page-header badge -- */
.page-header h4 {
    display: inline-block;
    background: var(--primary-color);
    color: #0a0f1e !important;
    padding: 5px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
    text-shadow: none !important;
}

/* -- Why Choose Us Tab thumb -- */
.tab-thumb img {
    height: auto !important;
    max-height: 380px;
    object-fit: cover;
    width: 100%;
}

/* -- Smooth scroll behavior -- */
html {
    scroll-behavior: smooth;
}

/* -- Section padding consistency -- */
.padding {
    padding-top: 90px;
    padding-bottom: 90px;
}

/* -- Counter numbers look premium -- */
.counter-number, .odometer {
    font-family: 'Lexend', sans-serif !important;
    font-weight: 800;
    color: var(--primary-color);
}

/* -- Testimonial area bg separator -- */
.testimonial-section {
    border-top: 4px solid rgba(245, 183, 49, 0.08);
    border-bottom: 4px solid rgba(245, 183, 49, 0.08);
}

/* -- FAQ link colors -- */
.faq-accordion .accordion-button {
    font-family: 'Lexend', sans-serif;
    font-weight: 600;
    color: #1a1a2e;
}

/* -- Sponsor / zones section bg -- */
.sponsor-section {
    background: #f8f5f0;
}

/* -- Map border glow -- */
.map-wrapper {
    border-top: 4px solid var(--primary-color);
}

/* -- Mobile: prevent header squish -- */
@media (max-width: 767px) {
    .page-header {
        padding-top: 90px !important;
        padding-bottom: 60px !important;
    }
    .page-header h2 {
        font-size: 26px !important;
    }
    .widget-title h3 {
        font-size: 16px;
    }
}

/* ---- content-bg-2 override: real homepage photo ---- */
.content-features .bg-half {
    background-image: url('img/remorquage-vehicule-route-belgique.jpg') !important;
    background-position: center center !important;
    background-size: cover !important;
}
.content-features .bg-half::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(10,15,30,0.55), rgba(10,15,30,0.1));
    pointer-events: none;
}

/* ---- Quote/Contact section on white background ---- */
#contact.quote-section {
    background: #fff;
}
#contact .section-heading h2,
#contact .section-heading h3,
#contact .section-heading p {
    color: var(--heading-color) !important;
    text-shadow: none !important;
}
#contact .section-heading .sub-heading {
    color: var(--heading-color);
}
#contact .call-info h3 {
    color: var(--heading-color);
}
#contact .call-info h3 span {
    color: var(--primary-color);
}
#contact .contact-info-list li h3 {
    color: var(--heading-color);
}
#contact .contact-info-list li h3 span {
    color: var(--primary-color);
}
