/* 
 * GRUAS Y MULTISERVICIOS STREB - Style Base
 * Arquitectura: CSS Global y Variables (Restaurado a Azul Corporativo)
 */

:root {
    /* Paleta de Colores Corporativa */
    --primary-color: #003366;    /* Azul Corporativo */
    --secondary-color: #4A4A4A;  /* Gris Acero */
    --background-light: #F8F9FA; /* Blanco Humo */
    --accent-color: #D90429;     /* Rojo Señal */
    --white: #FFFFFF;
    --black: #212529;

    /* Tipografías */
    --font-headers: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    /* Transiciones */
    --transition-fast: all 0.3s ease;
}

body {
    font-family: var(--font-body);
    color: var(--secondary-color);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headers);
    color: var(--primary-color);
    font-weight: 700;
}

/* Utilidades de Color */
.text-primary-custom { color: var(--primary-color) !important; }
.text-accent-custom { color: var(--accent-color) !important; }
.bg-primary-custom { background-color: var(--primary-color) !important; }
.bg-light-custom { background-color: var(--background-light) !important; }

/* Botones Personalizados */
.btn-primary-custom {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    padding: 10px 25px;
    font-weight: 600;
    transition: var(--transition-fast);
}

.btn-primary-custom:hover {
    background-color: #002244;
    color: var(--white);
    transform: translateY(-2px);
}

.btn-accent-custom {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--white);
    padding: 10px 25px;
    font-weight: 600;
    transition: var(--transition-fast);
}

.btn-accent-custom:hover {
    background-color: #b90322;
    color: var(--white);
    transform: translateY(-2px);
}

/* Secciones */
.section-padding {
    padding: 80px 0;
}

.section-title {
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
}

.section-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Tarjetas (Cards) */
.custom-card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: var(--transition-fast);
    height: 100%;
}

.custom-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Ajuste de Imágenes en Servicios y Carousel */
.service-img-container, 
.carousel-item {
    height: 400px; /* Altura fija para uniformidad */
    width: 100%;
    overflow: hidden;
}

.service-img-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-img-container img,
.carousel-item img,
.carousel-item video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Rellena completamente el contenedor */
}

@media (max-width: 768px) {
    .service-img-container, 
    .carousel-item {
        height: 250px; /* Altura reducida para móviles */
    }
}

/* Botón WhatsApp Flotante */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: var(--transition-fast);
    text-decoration: none;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    color: white;
    transform: scale(1.1);
}


