/* =========================================
   ESTILOS ELEMENT SOLUTION - VERSIÓN LIMPIA
   ========================================= */

body {
    margin: 0; padding: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f5f5f5;
}

.container {
    width: 95%; max-width: 1400px;
    margin: auto;
}

header { 
    background: #111 !important; 
    position: sticky; top: 0; z-index: 1000;
    padding: 10px 0;
}

/* =========================================
   HERO (CORRECCIÓN AQUÍ)
   ========================================= */

.hero {
    height: 60vh; min-height: 400px;
    display: flex; align-items: center; justify-content: center;
    text-align: center; color: white; position: relative;
    background-size: cover !important; 
    background-position: center !important;
}

.hero::before {
    content: ""; 
    position: absolute; 
    top: 0; left: 0; 
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6); 
    z-index: 1;
}

.hero .container { 
    position: relative; 
    z-index: 2; 
}

/* 🔥 NO BORRO EL ORIGINAL */
.hero-luminosos { 
    background-image: url('../images/bi-fashion.webp') !important; 
}

/* 🔥 AGREGO LO QUE FALTABA (INDEX) */
.hero-inicio {
    background-image: url('../images/letrero-luminoso-nuvu.webp');
}

/* =========================================
   GRID DE PROYECTOS
   ========================================= */

.grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
    gap: 25px; 
    padding: 20px 0;
}

.card {
    background: white; 
    border-radius: 10px;
    overflow: hidden; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.card:hover { 
    transform: translateY(-5px); 
}

.card img {
    width: 100%; 
    height: 230px;
    object-fit: cover; 
    display: block;
    border-bottom: 4px solid #ff6600;
}

.card-content { 
    padding: 20px; 
    text-align: left; 
}

.card-content h3 { 
    margin: 0 0 10px 0; 
    color: #111; 
}

/* =========================================
   BOTONES (FALTABAN)
   ========================================= */

.boton {
    background: #ff6600;
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    transition: 0.3s;
}

.boton:hover {
    background: #e65c00;
}

/* =========================================
   ENLACES DETALLE
   ========================================= */

.enlace-detalle {
    display: inline-block;
    margin-top: 10px;
    color: #ff6600;
    text-decoration: none;
    font-weight: bold;
}

.enlace-detalle:hover {
    text-decoration: underline;
}

/* =========================================
   FOOTER (FALTABA ESTILO)
   ========================================= */

footer {
    background: #111;
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

footer p {
    margin: 5px 0;
    font-size: 14px;
}

/* =========================================
   CTA
   ========================================= */

.cta {
    padding: 80px 0;
    background: #111;
    color: #fff;
    text-align: center;
}

.cta h2 {
    margin: 0 0 10px 0;
}

.cta p {
    margin: 0 0 30px 0;
}

/* =========================================
   LIGHTBOX (SE DEJA IGUAL)
   ========================================= */

.lightboxOverlay { 
    z-index: 99999 !important; 
    background-color: #000 !important; 
}

.lightbox { 
    z-index: 100000 !important; 
}

.lb-nav { 
    display: block !important; 
}

.lb-prev, .lb-next {
    opacity: 1 !important;
    background-image: none !important;
    display: block !important;
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 45px !important; 
    height: 45px !important;
    background-color: #ff6600 !important;
    color: white !important;
    border-radius: 50% !important;
    text-align: center !important;
    line-height: 40px !important;
    font-size: 30px !important;
    font-weight: bold !important;
    text-decoration: none !important;
}

.lb-prev { 
    left: -60px !important; 
}

.lb-prev:before { 
    content: '\2039'; 
}

.lb-next { 
    right: -60px !important; 
}

.lb-next:before { 
    content: '\203A'; 
}

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 1100px) {
    .lb-prev { left: 10px !important; }
    .lb-next { right: 10px !important; }
    .grid { grid-template-columns: 1fr !important; }
}