/* CONFIGURACIÓN GENERAL */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Montserrat', sans-serif; background-color: #111; color: #333; }

/* BARRA SUPERIOR NEGRA PARA EL LOGO */
.header-negro {
    background-color: #000000;
    border-bottom: 4px solid #cc0000; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 50px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.8);
    position: relative;
    z-index: 100;
}

.logo-header { height: 90px; }

.menu { display: flex; gap: 30px; align-items: center; }

.menu a, .dropbtn {
    text-decoration: none; color: #ffffff;
    font-weight: 700; font-size: 16px; letter-spacing: 1px;
    transition: color 0.3s; cursor: pointer;
}
.menu a:hover, .dropbtn:hover { color: #cc0000; }

/* MENÚ DESPLEGABLE */
.dropdown { position: relative; display: inline-block; padding-bottom: 10px; margin-bottom: -10px; }
.dropdown-content {
    display: none; position: absolute; top: 100%; left: 0;
    background-color: #1a1a1a; min-width: 250px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.8);
    border-top: 3px solid #cc0000; border-radius: 0 0 5px 5px; z-index: 1;
}
.dropdown-content a {
    color: #d3d3d3; padding: 15px 20px; text-decoration: none;
    display: block; border-bottom: 1px solid #333; font-size: 14px;
}
.dropdown-content a:hover { background-color: #333; color: #fff; }
.dropdown:hover .dropdown-content { display: block; }

/* SECCIÓN PRINCIPAL (HERO) */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('fondo_taller.jpg');
    background-size: cover; background-position: center;
    height: 500px; display: flex; align-items: center; padding: 0 50px;
    border-bottom: 5px solid #222;
}

.hero-contenido { max-width: 800px; color: #ffffff; }
.hero-contenido h1 { font-size: 45px; font-weight: 900; line-height: 1.1; margin-bottom: 20px; text-shadow: 2px 2px 4px rgba(0,0,0,1); }
.hero-contenido p { font-size: 18px; line-height: 1.5; margin-bottom: 30px; text-shadow: 1px 1px 3px rgba(0,0,0,1); }

/* BOTÓN METÁLICO */
.btn-metal {
    display: inline-block; background: linear-gradient(to bottom, #f0f0f0 0%, #b3b3b3 50%, #8a8a8a 100%);
    color: #000; text-decoration: none; font-weight: 900; font-size: 18px;
    padding: 12px 30px; border-radius: 10px; border: 2px solid #555;
    box-shadow: inset 0 2px 0px rgba(255,255,255,0.8), 0 5px 10px rgba(0,0,0,0.5);
    text-transform: uppercase; transition: 0.3s;
}
.btn-metal:hover { background: linear-gradient(to bottom, #ffffff 0%, #c4c4c4 50%, #999999 100%); transform: scale(1.05); }

/* SECCIÓN DE SERVICIOS Y UBICACIÓN */
.seccion-metal {
    background: linear-gradient(to bottom, #e0e0e0 0%, #bcbcbc 20%, #a8a8a8 50%, #dcdcdc 80%, #888888 100%);
    padding: 50px 50px; border-bottom: 2px solid #666;
}

.titulo-seccion {
    text-align: center; font-weight: 900; font-size: 32px; margin-bottom: 20px;
    color: #111; text-shadow: 1px 1px 0px rgba(255,255,255,0.6);
}

/* BANNER CHECK LIST GRATIS */
.banner-gratis {
    background-color: #cc0000; color: white; text-align: center;
    padding: 15px; border-radius: 8px; max-width: 800px; margin: 0 auto 40px auto;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3); border: 2px solid #800000; display: flex; justify-content: center; align-items: center; gap: 15px;
}
.banner-gratis h3 { font-size: 18px; text-transform: uppercase; margin: 0; }
.banner-gratis i { font-size: 24px; color: #ffcc00; }

/* CUADRÍCULA DE SERVICIOS CLICKLEABLES */
.grid-servicios { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; max-width: 1100px; margin: 0 auto; }

.tarjeta-metal {
    background: linear-gradient(135deg, #f5f5f5 0%, #c0c0c0 40%, #999999 50%, #e0e0e0 100%);
    border: 2px solid #777; border-radius: 10px; width: calc(33.333% - 20px); min-width: 250px;
    padding: 30px 10px; text-align: center; text-decoration: none; display: block;
    box-shadow: inset 0 0 10px rgba(255,255,255,0.9), 3px 3px 10px rgba(0,0,0,0.4);
    position: relative; transition: 0.3s;
}
.tarjeta-metal:hover { transform: translateY(-5px); box-shadow: inset 0 0 10px rgba(255,255,255,0.9), 5px 10px 15px rgba(0,0,0,0.6); border-color: #cc0000; }

/* Tornillos de las tarjetas */
.tarjeta-metal::before, .tarjeta-metal::after {
    content: ''; position: absolute; width: 8px; height: 8px; background: #555;
    border-radius: 50%; box-shadow: inset 1px 1px 2px #000, 1px 1px 1px #fff;
}
.tarjeta-metal::before { top: 8px; left: 8px; }
.tarjeta-metal::after { top: 8px; right: 8px; }

/* ICONOS DE SERVICIOS (Rojo por defecto, Dorado al pasar el mouse) */
.icono-servicio { 
    font-size: 45px; 
    color: #cc0000; 
    margin-bottom: 15px; 
    text-shadow: 1px 1px 0px #fff; 
    transition: 0.3s; 
}
.tarjeta-metal:hover .icono-servicio { 
    color: #ffcc00; 
    transform: scale(1.1); 
}
.tarjeta-metal h3 { font-size: 18px; font-weight: 900; color: #111; text-transform: uppercase; }

/* HORARIOS DE ATENCIÓN EN PÁGINA PRINCIPAL */
.contenedor-horarios {
    background-color: #111111;
    color: #d3d3d3;
    max-width: 600px;
    margin: 50px auto 0 auto;
    padding: 25px;
    border-radius: 10px;
    border-top: 4px solid #cc0000;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    box-shadow: 0 8px 15px rgba(0,0,0,0.6);
}

.icono-horario {
    font-size: 60px;
    color: #ffcc00;
}

.texto-horarios h3 {
    color: #ffffff;
    margin-bottom: 10px;
    font-size: 22px;
    text-transform: uppercase;
}

.texto-horarios p {
    font-size: 16px;
    margin: 5px 0;
    font-family: Arial, sans-serif;
    font-weight: bold;
}

/* ESTRUCTURA PARA LAS PÁGINAS INTERNAS */
.contenedor-interno { max-width: 800px; margin: 0 auto; background: #fff; padding: 40px; border-radius: 10px; box-shadow: 0 10px 20px rgba(0,0,0,0.5); }
.contenedor-interno h2 { color: #cc0000; margin-bottom: 20px; font-size: 30px; text-transform: uppercase; border-bottom: 2px solid #ddd; padding-bottom: 10px; }
.contenedor-interno p { font-size: 18px; line-height: 1.6; color: #444; margin-bottom: 20px; }

/* MAPA */
.mapa-container iframe { width: 100%; height: 400px; border: 2px solid #555; border-radius: 8px; margin-bottom: 20px; }

/* FOOTER */
.footer-metal {
    background: linear-gradient(to bottom, #4a4a4a 0%, #2b2b2b 50%, #1a1a1a 100%);
    color: #aaa; display: flex; justify-content: space-between; align-items: center;
    padding: 20px 50px; font-size: 14px; border-top: 3px solid #666;
}
.footer-social { display: flex; gap: 20px; font-size: 20px; }
.footer-social a:hover i { color: #fff; }