/* =========================================
   MORENA PERFUMERÍA - ESTILO CLEAN LUXURY (Blanco)
   ========================================= */

/* --- Variables Globales --- */
:root {
    --bg-body: #ffffff;         /* Fondo blanco recuperado */
    --text-primary: #1c1e21;    /* Negro suave */
    --text-secondary: #666666;  /* Gris elegante */
    --accent-color: #d4af37;    /* Dorado Premium */
    --light-gray: #f9f9f9;      /* Fondo secciones secundarias */
    
    /* Fondo oscuro para footer (coincide con tonos oscuros del logo si los tiene) */
    --footer-bg: #1c1e21;       
    
    --nav-height: 80px;
    --border-radius: 4px;       
    --transition: all 0.3s ease;
}

/* --- Reset Básico --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Lato', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #000;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* --- Utilidades --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 100px 0; }
.bg-light { background-color: var(--light-gray); }
.text-center { text-align: center; }
.text-left { text-align: left; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 3rem; }

/* Títulos con estilo */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}
.section-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

/* Botones */
.btn {
    padding: 14px 30px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.85rem;
    cursor: pointer;
    display: inline-block;
    border-radius: 50px;
    text-align: center;
}

.btn-primary {
    background-color: #000;
    color: #fff;
    border: 2px solid #000;
}
.btn-primary:hover {
    background-color: #fff;
    color: #000;
    border-color: #000;
}
.btn-outline {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}
.btn-outline:hover {
    background-color: #fff;
    color: #000;
}

/* --- Header White Sticky --- */
#header {
    background-color: #8ebe3f ;
    height: var(--nav-height);
    position: fixed;
    top: 0; width: 100%; z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    display: flex; align-items: center;
}
.nav-container {
    width: 100%;
    display: flex; justify-content: space-between; align-items: center;
}
.logo { 
    height: 70px; 
    width: auto; 
    object-fit: contain; 
}

.nav-menu ul { display: flex; gap: 30px; }
.nav-link {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #000;
    font-weight: 500;
}
.nav-link:hover { color: var(--accent-color); }
.cta-nav {
    background: #000; color: #fff !important;
    padding: 8px 24px; border-radius: 50px;
}
.cta-nav:hover { background: var(--accent-color); color: #fff !important; }

.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; color: #000; cursor: pointer; }

/* --- Hero Section --- */
.hero {
    height: 90vh;
    min-height: 600px;
    position: relative;
    display: flex; align-items: center;
    color: #fff;
    text-align: center;
}
.hero-bg {
    position: absolute; top:0; left:0; width:100%; height:100%;
    background-size: cover; background-position: center;
    z-index: -2;
}
.hero-overlay {
    position: absolute; top:0; left:0; width:100%; height:100%;
    background: rgba(0,0,0,0.4); 
    z-index: -1;
}
.hero-content { z-index: 1; max-width: 800px; margin: 0 auto; }
.hero-subtitle {
    display: block; font-size: 1rem; letter-spacing: 3px;
    text-transform: uppercase; margin-bottom: 1rem; color: var(--accent-color);
    font-weight: 600;
}
.hero-content h1 {
    font-size: 3.5rem; color: #fff; margin-bottom: 1.5rem;
    font-weight: 700; line-height: 1.1;
}
.hero-content p { font-size: 1.2rem; margin-bottom: 2.5rem; opacity: 0.9; }
.hero-buttons { display: flex; gap: 15px; justify-content: center; }

/* --- Barra de Marcas --- */
.brands-bar { background: #000; color: #fff; padding: 40px 0; text-align: center; }
.brands-bar p { margin-bottom: 20px; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 2px; opacity: 0.6; }
.brands-grid {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 40px;
    font-family: 'Montserrat', sans-serif; font-weight: 700; color: #fff; opacity: 0.8; font-size: 1.2rem;
}

/* --- Grids --- */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }

/* --- Cards Modernas --- */
.card-modern {
    background: #fff;
    overflow: hidden;
    transition: var(--transition);
}
.card-modern:hover { transform: translateY(-5px); }
.card-image { height: 350px; overflow: hidden; border-radius: 4px; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.card-modern:hover .card-image img { transform: scale(1.05); }
.card-content { padding: 25px 5px; text-align: center; }
.card-content h3 { margin-bottom: 10px; font-size: 1.4rem; letter-spacing: 0.5px; }
.card-content p { color: var(--text-secondary); font-size: 0.95rem; }

/* --- Sección Galería / Info --- */
.row-flex { display: flex; align-items: center; gap: 60px; }
.text-col { flex: 1; }
.img-col { flex: 1; }
.feature-list { margin-top: 30px; }
.feature-list li { margin-bottom: 15px; display: flex; align-items: center; gap: 15px; font-size: 1.1rem; color: var(--text-primary); }
.feature-list i { color: var(--accent-color); font-size: 1.2rem; }
.mosaic-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.mosaic-grid img { width: 100%; height: 300px; object-fit: cover; border-radius: 4px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.mosaic-grid img:first-child { margin-top: 40px; }

/* --- Testimonios --- */
.testimonial-card {
    text-align: center; padding: 30px; background: #fff;
    border: 1px solid #eee; border-radius: 8px;
}
.stars { color: var(--accent-color); margin-bottom: 15px; font-size: 1.2rem; }
.testimonial-card p { font-style: italic; color: #555; margin-bottom: 20px; line-height: 1.8; }
.testimonial-card cite { font-weight: 700; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1px; display: block; }

/* --- Footer Dark --- */
.footer-dark {
    background-color: #8ebe3f ;
    color: #fff;
    padding: 80px 0 20px;
}
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; }
.footer-logo { width: 180px; margin-bottom: 15px; } 
.footer-brand p { opacity: 0.7; font-size: 0.9rem; }
.footer-info h4, .footer-social h4 { margin-bottom: 25px; text-transform: uppercase; letter-spacing: 1px; font-size: 1rem; }
.footer-locations li { margin-bottom: 12px; opacity: 0.8; font-size: 0.95rem; }
.footer-locations i { width: 20px; color: #1c1e21; }
.social-icons { display: flex; gap: 15px; }
.social-icons a { width: 45px; height: 45px; border: 1px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: 0.3s; color: #fff; font-size: 1.2rem; }
.social-icons a:hover { background: #fff; color: var(--footer-bg); border-color: #fff; }
.footer-bottom { text-align: center; margin-top: 60px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.8rem; opacity: 0.5; }

/* --- WhatsApp Flotante --- */
.whatsapp-float {
    position: fixed; bottom: 30px; right: 30px;
    background: #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 15px rgba(0,0,0,0.2);
    z-index: 2000; transition: transform 0.3s;
}
.whatsapp-float:hover { transform: scale(1.1); }

/* --- Animaciones --- */
.fade-in { opacity: 0; transform: translateY(20px); transition: 0.8s ease-out; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* --- Mobile Queries --- */
@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .nav-menu {
        position: absolute; top: var(--nav-height); left: 0; width: 100%;
        background: #fff; flex-direction: column; padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        transform: translateY(-150%); transition: 0.3s;
        text-align: center; border-top: 1px solid #eee;
    }
    .nav-menu.active { transform: translateY(0); }
    .nav-menu ul { flex-direction: column; gap: 20px; }
    .hero-content h1 { font-size: 2.5rem; }
    .hero-buttons { flex-direction: column; width: 100%; max-width: 300px; margin: 0 auto; }
    .row-flex { flex-direction: column; }
    .mosaic-grid img { height: 200px; }
    .mosaic-grid img:first-child { margin-top: 0; }
    .section { padding: 60px 0; }
}

 Oculta lo que se sale del contenedor */

.brands-bar p { 
    margin-bottom: 30px; 
    text-transform: uppercase; 
    font-size: 0.8rem; 
    letter-spacing: 2px; 
    opacity: 0.6;
}

.brands-carousel {
    width: 100%;
    position: relative;
    overflow: hidden;
    /* Degradado en los bordes para suavizar la entrada/salida */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.brands-track {
    display: flex;
    align-items: center;
    width: fit-content;
    gap: 60px; /* Espacio entre logos */
    animation: scroll 30s linear infinite; /* Animación continua */
}

.brand-logo {
    height: 40px; /* Altura fija para uniformidad */
    width: auto;
    object-fit: contain;
    /* Filtro para volver los logos blancos (ya que el fondo es negro) */
    filter: brightness(0) invert(1); 
    opacity: 0.7;
    transition: opacity 0.3s;
}

.brand-logo:hover {
    opacity: 1;
}

/* Animación de desplazamiento */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Se desplaza el ancho de un grupo de logos (5 logos * (ancho promedio + gap)) */
        /* Ajuste aproximado para el bucle, depende del contenido */
        transform: translateX(-33.33%); 
    }
}