/* PALETA DE COLORES CORPORATIVA */
:root {
    --color-acero: #4a5d6e; 
    --color-agua: #5eb0d4;  
    --color-alerta: #d9534f; 
    --color-cobre: #b87333; 
    --fuente-titulos: 'Montserrat', sans-serif;
    --fuente-cuerpo: 'Open Sans', sans-serif;
}

/* ESTILO GENERAL */
body {
    font-family: var(--fuente-cuerpo);
    font-size: 1.1rem; 
    color: #333;
    /* Fondo con filtro oscuro para que destaquen las nuevas cajas */
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                      url('img/fondo_publico.png'); 
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
}

/* ESTILOS DE LA SECCIÓN HERO ORIGINAL */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1585704032915-c3400ca199e7?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.service-card {
    transition: transform 0.3s;
    border-left: 4px solid #0d6efd;
}

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

.testimonial-card { 
    background-color: #f8f9fa; 
    border-radius: 10px; 
    padding: 20px; 
}

/* ENCABEZADO CORPORATIVO (Header Alternativo) */
.hero-banner {
    background: linear-gradient(rgba(30, 40, 50, 0.3), rgba(30, 40, 50, 0.8)), 
                url('img/fondo_logo.png') center/cover;
    height: 300px; 
    color: white;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* BORDE NEGRO REEMPLAZANDO LA LÍNEA AZUL */
    border-bottom: 5px solid #000; 
}

/* Logo Porteños en Acción */
.logo-cerro-abajo {
    position: absolute;
    top: 25px;
    left: 25px;
    height: 120px; 
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.8)); 
    z-index: 10;
}

.hero-banner .display-5 {
    font-family: var(--fuente-titulos);
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.9);
}

.hero-banner img.camioneta {
    position: absolute;
    bottom: -50px;
    right: 25px;
    height: 180px; 
    opacity: 0.9;
}

/* BARRA DE NAVEGACIÓN "FLOTANTE" */
.navbar-publica {
    background-color: transparent !important;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 5;
    padding-bottom: 10px;
}

.navbar-publica .container {
    border-bottom: 2px solid rgba(255,255,255,0.2);
    padding: 10px 0;
}

.navbar-publica .navbar-brand {
    color: white !important;
    font-family: var(--fuente-titulos);
    font-weight: 600;
}

.navbar-publica .navbar-text {
    color: rgba(255,255,255,0.7) !important;
}

.icono-gota-corporativa {
    color: var(--color-agua);
    margin-right: 8px;
}

/* TÍTULOS PERSONALIZADOS */
.custom-heading {
    font-family: var(--fuente-titulos) !important;
    font-weight: 700 !important;
    font-size: 2.2rem; 
    color: white; /* Letras blancas para contrastar con el cristal oscuro */
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 2px 2px 0px #000; /* Sombra negra para darle estilo */
}

/* NUEVO EFECTO: CRISTAL OSCURO CON BORDES NEGROS Y SOMBRA DURA */
.glass-panel {
    background-color: rgba(20, 25, 30, 0.75); /* Fondo oscuro en lugar de blanco */
    backdrop-filter: blur(8px);
    border: 3px solid #000 !important; /* Borde negro sólido */
    border-radius: 12px;
    box-shadow: 8px 8px 0px rgba(0,0,0,0.9); /* Sombra 3D negra */
    color: white;
}

/* TARJETAS DE BENEFICIOS OSCURAS Y CON BORDES */
.tarjeta-beneficio-oscura {
    background-color: rgba(0, 0, 0, 0.4);
    border: 2px solid #000;
    border-radius: 12px;
    padding: 25px 15px;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tarjeta-beneficio-oscura:hover {
    transform: translateY(-5px) translateX(-5px);
    box-shadow: 6px 6px 0px #000;
}

.icono-servicio-grande {
    font-size: 3rem; 
    margin-bottom: 20px;
    color: var(--color-cobre); 
}

.tarjeta-beneficio-oscura h5 {
    font-family: var(--fuente-titulos);
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
}

/* BOTÓN DE AGENDAMIENTO CON BORDE NEGRO */
#btn-ver-horas {
    background-color: var(--color-alerta); 
    color: white;
    border: 3px solid #000 !important; /* Borde negro */
    box-shadow: 4px 4px 0px #000 !important; /* Sombra dura */
    transition: all 0.3s ease;
}

#btn-ver-horas:hover {
    background-color: #c9302c; 
    transform: translateY(-2px) translateX(-2px);
    box-shadow: 6px 6px 0px #000 !important;
}

/* CARRUSEL */
.carousel {
    border: 3px solid #000;
    border-radius: 12px;
}
.carousel-caption {
    background-color: rgba(0, 0, 0, 0.85);
    border: 2px solid #000;
    border-radius: 12px;
}
.carousel-item img { border-radius: 8px; }

/* Botón flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.whatsapp-float:hover { background-color: #128C7E; color: white; }

/* =========================================
   BENTO GRID (Galería de Trabajos)
   ========================================= */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-auto-rows: 250px;
    gap: 15px;
}

/* Responsive para pantallas medianas/grandes (Desktop/Tablet) */
@media (min-width: 768px) {
    .bento-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 250px;
    }
    /* El elemento grande ocupa 2 columnas y 2 filas */
    .bento-large {
        grid-column: span 2;
        grid-row: span 2;
    }
}

.bento-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background-color: #000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.bento-item img, 
.bento-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.bento-item:hover img, 
.bento-item:hover video {
    transform: scale(1.05);
}

.bento-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
    padding: 20px;
    color: white;
    pointer-events: none;
}

.bento-overlay h3 {
    margin: 0;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

.bento-overlay p {
    margin: 5px 0 0 0;
    font-size: 0.9rem;
    color: #e0e0e0;
}

/* =========================================
   FONDO SECCIÓN GALERÍA (Diseño Premium)
   ========================================= */
/* =========================================
   PALETA RÚSTICA (Muestreada de imagen de ladrillos)
   ========================================= */

/* SECCIÓN GALERÍA: Color terracota mate rústico */
.seccion-galeria {
    /* Color exacto extraído de los ladrillos claros de la foto */
    background-color: #8B5A46; 
    
    /* Mantenemos textura técnica sutil pero en tono sobre tono */
    background-image: 
        radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    
    /* Sombra interna para dar profundidad */
    box-shadow: inset 0px 5px 15px rgba(0,0,0,0.3), inset 0px -5px 15px rgba(0,0,0,0.3);
}

/* Títulos blancos sobre el terracota resaltan mucho más */
.seccion-galeria h2 {
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    font-weight: 800;
}

/* FOOTER RÚSTICO: Café oscuro profundo */
.footer-rustico {
    /* Color extraído de las sombras profundas de los ladrillos */
    background-color: #382A1E; 
}

/* Hacemos que el texto descriptivo sea un gris suave para que no compita */
.footer-rustico .text-muted {
    color: #a0a0a0 !important;
}

/* EL TOQUE MAESTRO: Ícono de Instagram en AZUL DE LA MARCA */
.footer-rustico a.text-white i {
    color: #0d6efd !important; /* Azul eléctrico sobre café oscuro */
    transition: color 0.3s ease, transform 0.3s ease;
}

/* Efecto hover profesional para el ícono */
.footer-rustico a.text-white:hover i {
    color: #fff !important; /* Cambia a blanco al pasar el mouse */
    transform: scale(1.1) rotate(-5deg);
}