/* --- DAZORU PROJECTS: VERSIÓN LUXURY FINAL (CON CORRECCIÓN DE LOGO) --- */

/* 1. CONFIGURACIÓN DE COLORES */
:root {
    --color-primary: #0E3D4D; /* Azul Petróleo */
    --color-accent: #C59D5F;  /* Dorado */
    --color-text: #333;
    --color-bg-light: #f4f4f4;
}

/* 2. CONFIGURACIÓN BÁSICA */
html { scroll-behavior: smooth; }
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Montserrat', sans-serif; color: var(--color-text); line-height: 1.6; background-color: #f9f9f9; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* Contenedor */
.container { width: 90%; max-width: 1200px; margin: auto; padding: 0 15px; }

/* 3. BARRA SUPERIOR */
.top-bar { background-color: #08242e; color: white; padding: 8px 0; font-size: 0.85rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.top-bar .container { display: flex; justify-content: space-between; flex-wrap: wrap; }
.top-bar span { margin-right: 20px; }
.top-bar .highlight { font-weight: bold; color: var(--color-accent); }

/* 4. NAVEGACIÓN */
.navbar { background: var(--color-primary); box-shadow: 0 4px 10px rgba(0,0,0,0.2); padding: 10px 0; position: sticky; top: 0; z-index: 1000; }
.flex-nav { display: flex; justify-content: space-between; align-items: center; }

/* Logo - Estilo Base (Escritorio) */
.logo-img { max-height: 70px; } 

.nav-links { display: flex; gap: 20px; align-items: center; }
.nav-links a { font-weight: 700; font-size: 0.9rem; transition: color 0.3s; text-transform: uppercase; color: white; }
.nav-links a:hover { color: var(--color-accent); }

/* Botón Cotizar Menú */
.btn-nav { 
    background: transparent; color: var(--color-accent) !important; 
    padding: 8px 20px; border-radius: 50px; border: 2px solid var(--color-accent); 
    transition: all 0.3s ease;
}
.btn-nav:hover { background: var(--color-accent); color: white !important; }

/* 5. PORTADA (HERO) - CON EFECTO VIDRIO */
.hero {
    background: linear-gradient(rgba(14, 61, 77, 0.7), rgba(14, 61, 77, 0.5)), url('https://images.unsplash.com/photo-1618221195710-dd6b41faaea6?auto=format&fit=crop&w=1600&q=80'); 
    background-size: cover; background-position: center; height: 85vh;
    display: flex; align-items: center; justify-content: center; text-align: center; color: white;
}
.hero-content {
    background: rgba(0, 0, 0, 0.4); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    padding: 50px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3); max-width: 800px; margin: 0 15px;
    animation: subirAparecer 1.5s ease-out;
}
.hero h1 { 
    font-size: 3.5rem; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 3px; 
    background: linear-gradient(45deg, #C59D5F, #FFF, #C59D5F); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.slogan { font-family: 'Dancing Script', cursive; font-size: 2.5rem; color: #fff; margin-bottom: 25px; font-weight: 400; }
.hero-desc { font-size: 1.2rem; margin-bottom: 30px; }

.btn-primary { 
    background: var(--color-accent); color: white; padding: 15px 35px; font-size: 1rem; border-radius: 5px; 
    transition: all 0.3s; font-weight: bold; text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(197, 157, 95, 0.4); display: inline-block;
}
.btn-primary:hover { background: #b08d55; transform: translateY(-3px); }

/* 6. SECCIONES GENERALES */
.section { padding: 100px 0; }
.section-title { text-align: center; margin-bottom: 10px; font-size: 2.2rem; color: var(--color-primary); text-transform: uppercase; font-weight: 800; }
.section-subtitle { text-align: center; margin-bottom: 60px; color: #666; font-size: 1.1rem; font-style: italic; }

/* 7. TARJETAS DE SERVICIOS - EFECTO DORADO */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; }
.card { 
    background: white; padding: 25px; border-radius: 15px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); text-align: center; 
    transition: all 0.4s ease; border: 1px solid #eee; cursor: pointer;
}
.card:hover { 
    transform: translateY(-15px) scale(1.02); 
    box-shadow: 0 20px 50px rgba(197, 157, 95, 0.4); 
    border: 1px solid #C59D5F; border-bottom: 1px solid #C59D5F;
}
.card-img { width: 100%; height: 250px; object-fit: cover; border-radius: 10px; margin-bottom: 20px; transition: filter 0.3s; }
.card-img:hover { filter: brightness(0.9); }
.card h3 { margin: 15px 0 10px; color: var(--color-primary); font-size: 1.4rem; font-weight: 700; }
.card p { font-size: 0.95rem; color: #555; }

/* 8. CARACTERÍSTICAS */
.features { background: var(--color-primary); color: white; }
.features .section-title { color: white; border-bottom: 2px solid var(--color-accent); display: inline-block; padding-bottom: 10px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; text-align: center; margin-top: 50px; }
.feature-item i { font-size: 3rem; color: var(--color-accent); margin-bottom: 20px; transition: transform 0.3s; }
.feature-item:hover i { transform: scale(1.2); }
.feature-item h4 { font-size: 1.1rem; letter-spacing: 1px; font-weight: 700; }

/* 9. FOOTER */
.footer { background: #061f29; color: #bdc3c7; padding: 80px 0 30px; }
.footer-content { display: flex; justify-content: space-between; flex-wrap: wrap; margin-bottom: 40px; gap: 40px; border-bottom: 1px solid #1c3b45; padding-bottom: 40px; }
.footer h3 { color: var(--color-accent); margin-bottom: 20px; font-size: 1.4rem; text-transform: uppercase; }
.slogan-footer { font-family: 'Dancing Script', cursive; font-size: 1.6rem; color: white; }
.social-icons { margin-top: 20px; }
.social-icons a {
    display: inline-block; width: 45px; height: 45px; background: rgba(255,255,255,0.1);
    color: white; text-align: center; line-height: 45px; border-radius: 50%;
    margin-right: 10px; transition: background 0.3s, transform 0.3s; font-size: 1.2rem;
}
.social-icons a:hover { background: var(--color-accent); color: var(--color-primary); transform: translateY(-3px); }
.copyright { text-align: center; font-size: 0.85rem; opacity: 0.6; }

/* 10. BOTÓN FLOTANTE WHATSAPP */
.btn-wsp {
    position: fixed; width: 60px; height: 60px; line-height: 60px; bottom: 30px; right: 30px;
    background: #25d366; color: #fff; border-radius: 50px; text-align: center; font-size: 35px;
    box-shadow: 0px 4px 15px rgba(0,0,0,0.3); z-index: 100; transition: all 300ms ease;
    display: flex; align-items: center; justify-content: center;
}
.btn-wsp:hover { background: #20ba5a; transform: scale(1.1); }

/* 11. LIGHTBOX (GALERÍA MEJORADA) */
#lightbox {
    position: fixed; z-index: 2000; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.95); display: none; 
    justify-content: center; align-items: center; backdrop-filter: blur(5px);
}
#lightbox img {
    max-width: 90%; max-height: 80vh; border: 2px solid white; border-radius: 5px;
    box-shadow: 0 0 30px rgba(0,0,0,0.8); animation: zoomIn 0.3s;
}

/* Botones de la galería */
.lightbox-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1); color: white; border: none;
    font-size: 2.5rem; padding: 15px; cursor: pointer; border-radius: 50%;
    transition: all 0.3s; z-index: 2001;
}
.lightbox-btn:hover { background: var(--color-accent); color: white; }
.prev { left: 20px; }
.next { right: 20px; }

.close-btn {
    position: absolute; top: 20px; right: 30px; font-size: 3rem; color: white;
    cursor: pointer; background: none; border: none; z-index: 2001;
}

/* ANIMACIONES */
@keyframes subirAparecer { from { opacity: 0; transform: translateY(50px); } to { opacity: 1; transform: translateY(0); } }
@keyframes zoomIn { from { transform: scale(0.8); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* =========================================
   RESPONSIVE: CORRECCIÓN PARA CELULARES
   ========================================= */
@media (max-width: 768px) {
    /* 1. Ocultar el menú de navegación (texto) */
    .nav-links { display: none; } 

    /* 2. ARREGLO DEL LOGO: CENTRADO Y PEQUEÑO */
    .navbar .container { 
        justify-content: center !important; /* Centra todo */
    }
    .logo-container {
        width: 100%; display: flex; justify-content: center;
    }
    .logo-img { 
        max-height: 45px; /* TAMAÑO IDEAL PARA CELULAR */
        width: auto; display: block; 
    }

    /* 3. Ajustes de la Barra Superior */
    .top-bar { text-align: center; display: block; padding: 5px 0; }
    .top-bar span { display: block; margin: 3px 0; font-size: 0.75rem; }
    
    /* 4. Ajustes visuales de textos */
    .hero h1 { font-size: 2rem; }
    .slogan { font-size: 1.8rem; }
    .hero-content { padding: 30px 15px; margin-top: 20px; }

    /* 5. Ajuste botón WhatsApp */
    .btn-wsp { width: 50px; height: 50px; font-size: 28px; bottom: 20px; right: 20px; }
}
