/********** Fastwash — Brand Overrides **********/
/* bootstrap.min.css bakes the old red/navy theme colors directly into its
   utility classes instead of the --primary/--secondary variables that
   style.css uses, so those utilities are re-pointed at the brand colors here. */

.text-primary { color: var(--primary) !important; }
.bg-primary { background-color: var(--primary) !important; }
.border-primary { border-color: var(--primary) !important; }
.link-primary { color: var(--primary); }

.btn-primary,
.btn-primary.disabled,
.btn-primary:disabled,
.show > .btn-primary.dropdown-toggle {
    color: #FFFFFF;
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-link {
    color: var(--primary);
}

.nav-link {
    color: var(--primary);
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    color: #FFFFFF;
    background-color: var(--primary);
}

.page-link {
    color: var(--primary);
}

.page-item.active .page-link {
    color: #FFFFFF;
    background-color: var(--primary);
    border-color: var(--primary);
}

.progress-bar {
    background-color: var(--primary);
}

h6, .h6 {
    color: var(--secondary);
}

.text-secondary { color: var(--secondary) !important; }
.bg-secondary { background-color: var(--secondary) !important; }
.border-secondary { border-color: var(--secondary) !important; }
.link-secondary { color: var(--secondary); }

.btn-secondary,
.btn-secondary.disabled,
.btn-secondary:disabled {
    color: #FFFFFF;
    background-color: var(--secondary);
    border-color: var(--secondary);
}

.btn-outline-secondary {
    color: var(--secondary);
    border-color: var(--secondary);
}

.btn-outline-secondary:hover {
    background-color: var(--secondary);
    border-color: var(--secondary);
}

.brand-logo-img {
    height: 58px;
    width: auto;
}

@media (max-width: 575.98px) {
    .brand-logo-img {
        height: 46px;
    }
}

/* Gallery */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item .gallery-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(7, 30, 61, 0.92), rgba(7, 30, 61, 0));
    color: #FFFFFF;
    font-weight: 600;
    transform: translateY(100%);
    transition: 0.4s;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* Machine spec list */
.machine-points li {
    margin-bottom: 10px;
}

.machine-points i {
    color: var(--primary);
    margin-right: 10px;
}

/* Contact info cards */
.contact-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--primary);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Floating call / WhatsApp buttons */
.float-contact {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.float-contact a {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 26px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .28);
    transition: transform .2s ease;
}

.float-contact a:hover {
    color: #FFFFFF;
    transform: scale(1.08);
}

.float-whatsapp {
    background: #25D366;
}

.float-phone {
    background: var(--primary);
}

/* Keep Back-to-top above the floating call/WhatsApp stack so they don't overlap */
.back-to-top {
    bottom: 100px !important;
}

@media (max-width: 575.98px) {
    .float-contact {
        right: 16px;
        bottom: 16px;
        gap: 10px;
    }

    .float-contact a {
        width: 48px;
        height: 48px;
        font-size: 22px;
    }

    .back-to-top {
        bottom: 86px !important;
    }
}

/* Hero slider images are complete banner graphics (headline/CTA baked in),
   not crop-to-fill photos — style.css's #header-carousel mobile rule forces
   object-fit: cover inside a fixed 450px box, zooming into these banners
   instead of showing them in full. That rule uses an ID selector, so it beats
   a plain class override on specificity alone — matching the ID here (plus
   !important) is required for this to actually take effect. */
@media (max-width: 768px) {
    #header-carousel.hero-carousel .carousel-item {
        position: static !important;
        min-height: 0 !important;
    }

    #header-carousel.hero-carousel .carousel-item img {
        position: static !important;
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
    }
}

/* USP / feature cards below the hero slider */
.usp-card {
    padding: 2.25rem 1.75rem;
    background: #FFFFFF;
    border: 1px solid #EEEEEE;
    border-radius: 6px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .05);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.usp-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .1);
}

.usp-icon {
    width: 68px;
    height: 68px;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--light);
    color: var(--primary);
    font-size: 28px;
}

/* Inner page header banner (About/Machines/Gallery/Testimonials/Contact) —
   the source photo is a busy marketing banner with its own baked-in text,
   so a solid brand-navy tint (instead of the theme's plain black) subdues it
   into background texture and keeps the page title readable. */
.page-header-inner {
    background: rgba(7, 22, 43, 0.88) !important;
}

/* Homepage WhatsApp CTA panel */
.whatsapp-cta-icon {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #25D366;
    color: #FFFFFF;
    font-size: 46px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .2);
}
