/* =========================================
   1. FUENTES Y VARIABLES
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Playfair+Display:wght@400;700&display=swap');

:root {
    --negro: #000000;       /* Negro Puro */
    --gris-oscuro: #1a1a1a; /* Negro suave para fondos */
    --gris-claro: #f4f4f4;
    --blanco: #ffffff;
    --borde: #333333;       /* Borde oscuro sutil */
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--gris-oscuro);
    background-color: var(--blanco);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--negro);
    font-weight: 700;
}

/* =========================================
   2. HEADER Y NAVEGACIÓN (MODO DARK)
   ========================================= */
.navbar {
    background-color: #000000 !important; /* Negro Puro */
    border-bottom: 1px solid rgba(255,255,255,0.1); /* Línea divisoria muy sutil */
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    letter-spacing: 1px;
    color: #ffffff !important; /* Logo Blanco */
    text-transform: uppercase;
}

.nav-link {
    font-family: 'Lato', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #cccccc !important; /* Gris claro */
    padding: 0 15px !important;
    transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: #ffffff !important; /* Blanco al pasar mouse */
}

/* Botón "CONTACTAR" del menú (Transparente con borde blanco) */
.navbar .btn-dark-elegant {
    background-color: transparent !important;
    color: #ffffff !important;
    border: 1px solid #ffffff !important;
}

.navbar .btn-dark-elegant:hover {
    background-color: #ffffff !important;
    color: #000000 !important;
}

/* =========================================
   3. SECCIÓN HERO (IMAGEN PRINCIPAL)
   ========================================= */
.hero-banner {
    min-height: 700px;
    height: 85vh; /* Ocupa el 85% de la pantalla */
    
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    
    /* IMAGEN DE FONDO + CAPA NEGRA SEMITRANSPARENTE */
    background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url('../img/fondo-hero.jpg');
    
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Efecto Parallax */
    
    /* FUSIÓN CON EL HEADER */
    /* Quitamos el margen negativo grande porque ahora el header es negro sólido */
    margin-top: 0; 
}

.hero-banner h1.display-3 {
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-banner p.lead {
    font-weight: 300;
    letter-spacing: 1px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Botón blanco del banner */
.btn-outline-white {
    color: #ffffff;
    border: 2px solid #ffffff;
    background: transparent;
    padding: 15px 40px;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 0;
    transition: all 0.3s ease;
}

.btn-outline-white:hover {
    background: #ffffff;
    color: #000000;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

/* =========================================
   4. ESTILOS GENERALES (TARJETAS Y BOTONES)
   ========================================= */
/* Botones Generales */
.btn {
    border-radius: 0px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    padding: 12px 25px;
    font-weight: 700;
    transition: all 0.4s ease;
}

/* Botón Negro para contenido claro */
.btn-dark-elegant {
    background-color: var(--negro);
    color: var(--blanco);
    border: 1px solid var(--negro);
}
.btn-dark-elegant:hover {
    background-color: transparent;
    color: var(--negro);
}

/* Tarjetas de Producto */
.card-product {
    border: 1px solid #e0e0e0;
    background: var(--blanco);
    border-radius: 0;
    transition: all 0.3s ease;
}
.card-product:hover {
    border-color: var(--negro);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.card-product img {
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}
.card-product:hover img {
    filter: grayscale(0%);
}

/* Enlaces de Servicios */
.link-elegant {
    color: var(--negro);
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}
.link-elegant:hover {
    color: var(--negro);
    border-bottom: 1px solid var(--negro);
}

/* Iconos de Servicios */
.service-icon {
    color: var(--negro);
    transition: transform 0.3s ease;
}
.service-card:hover .service-icon {
    transform: translateY(-5px);
}

/* =========================================
   5. FOOTER (MODO DARK)
   ========================================= */
footer {
    background-color: #000000 !important; /* Negro Puro */
    color: #ffffff !important;
    border-top: 1px solid rgba(255,255,255,0.1) !important;
}

footer a {
    color: #ffffff !important;
    text-decoration: none;
}

footer .text-muted {
    color: #bbbbbb !important;
}

footer .btn-light {
    background-color: #333333;
    border: none;
    color: #ffffff;
}
footer .btn-light:hover {
    background-color: #ffffff;
    color: #000000;
}

/* =========================================
   6. EXTRAS (WHATSAPP)
   ========================================= */
.btn-whatsapp {
    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;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background-color: #128c7e;
    color: white;
    transform: scale(1.1);
}

/* =========================================
   8. ESTILOS PARA PÁGINAS INTERNAS (SERVICIOS)
   ========================================= */

/* Hero para páginas internas (Más bajito que el Home) */
.hero-internal {
    min-height: 400px;
    height: 50vh; /* Ocupa la mitad de la pantalla */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    
    /* Mismo fondo oscuro elegante, cambia la imagen si quieres */
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/fondo-hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    
    margin-top: 0; /* Pegado al techo para el efecto seamless */
}

/* Tarjetas de Servicios Premium */
.service-box {
    background: #ffffff;
    padding: 40px 30px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    height: 100%; /* Para que todas tengan la misma altura */
    position: relative;
    overflow: hidden;
}

.service-box:hover {
    border-color: #000000; /* Borde negro al pasar el mouse */
    transform: translateY(-5px); /* Se levanta un poco */
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.service-icon-large {
    font-size: 3rem;
    color: #000000;
    margin-bottom: 25px;
}

.service-box h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-box p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 25px;
}

/* Enlace "Leer más" elegante */
.service-link {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: #000;
    text-decoration: none;
    border-bottom: 1px solid #000;
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

.service-link:hover {
    color: #555;
    border-color: #555;
}

/* Sección de Llamada a la Acción (Fondo Gris) */
.cta-section {
    background-color: #f9f9f9;
    padding: 80px 0;
    text-align: center;
}