/* ==============================================
   M&M Movimiento de Suelos - Override Styles
   Paleta: Oscuro + Accent #FFF166 / #333333
   ============================================== */

/* Override color palette */
:root {
    --accent-color: #ffc400;
    --primary-color: #1A1A1A;
    --secondary-color: #F5F5F5;
    --text-color: #666666;
}

/* ================================ */
/* Hero Slider - Modern & Fast      */
/* ================================ */
.hero {
    position: relative;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    will-change: opacity;
}

.hero-slide.active {
    opacity: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

/* Overlay para mejor legibilidad del texto */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero .container {
    z-index: 3;
}

/* ================================ */
/* WhatsApp Floating Button         */
/* ================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

/* ================================ */
/* CTA Contact Form Override        */
/* ================================ */
.cta-contact-form {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
}

.cta-contact-form .section-title h2 {
    color: #fff;
}

.cta-contact-form .form-control {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
}

.cta-contact-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.cta-contact-form .form-control:focus {
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.1);
}

/* ================================ */
/* WhatsApp CTA Button Style        */
/* ================================ */
.cta-box-btn .btn-highlighted i {
    margin-right: 8px;
    font-size: 18px;
}

/* ================================ */
/* Services Grid 3 columns          */
/* ================================ */
@media (min-width: 1200px) {
    .services-item-list .col-xl-4 .service-item {
        min-height: 100%;
    }
}

/* ================================ */
/* Hero Background Override          */
/* ================================ */
.hero {
    background-size: cover;
    background-position: center;
    transition: background-image 1s ease;
}

/* ================================ */
/* Header Logo Sizing               */
/* ================================ */
.navbar-brand img {
    max-height: 50px; /* Logo más chico en nav */
    width: auto;
}

/* ================================ */
/* Icon-box Font Awesome Override    */
/* ================================ */
.icon-box i.fa-solid {
    position: relative;
    z-index: 1;
    font-size: 18px;
    color: var(--primary-color);
    transition: all 0.4s ease-in-out;
}

.why-choose-body-item-gold .icon-box i.fa-solid {
    font-size: 32px;
    color: #fff;
}

.cta-box-item .icon-box i.fa-solid {
    font-size: 22px;
    color: #fff;
}

.hero-info-header .icon-box i.fa-solid {
    font-size: 20px;
    color: var(--primary-color);
}

.about-us-body-item-gold:hover .icon-box i.fa-solid {
    color: #fff;
}

.cta-box-item:hover .icon-box i.fa-solid {
    color: var(--primary-color);
}

/* ================================ */
/* Footer "Desarrollada por"        */
/* ================================ */
.footer-copyright-gold + .text-center {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 15px;
}
