:root {
    --primary-color: #e5dfd1; /* Beige */
    --bg-color: #22231e;      /* Olive Black */
    --dark-overlay: rgba(34, 35, 30, 0.85);
    --glass-bg: rgba(229, 223, 209, 0.1);
    --glass-border: rgba(229, 223, 209, 0.2);
    --font-main: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --transition: all 0.4s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--primary-color);
    font-family: var(--font-body);
    overflow-x: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: #22231e;
}

body::before {
    content: '';
    position: fixed; /* Cubre toda la pantalla siempre */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    /* Capa oscura semitransparente sobre la foto */
    background: rgba(34, 35, 30, 0.55); 
    z-index: -1; /* Se queda detrás del contenido pero delante del fondo */
}

h1, h2, h3 {
    font-family: var(--font-main);
    text-transform: uppercase;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- Navbar --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: rgba(34, 35, 30, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-logo {
    height: 60px; /* Ajusta según tu logo */
    filter: drop-shadow(0 0 5px rgba(229,223,209,0.3));
    filter: brightness(1.2) drop-shadow(0 0 15px rgba(229, 223, 209, 0.8));
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
    color: #fff;
    text-shadow: 0 0 10px var(--primary-color);
}

.btn-highlight {
    border: 1px solid var(--primary-color);
    padding: 8px 20px;
    border-radius: 50px;
}

.btn-highlight:hover {
    background: var(--primary-color);
    color: var(--bg-color) !important;
}

.hamburger { display: none; cursor: pointer; font-size: 1.5rem; }

/* --- Hero Slider --- */
.hero-slider {
    height: 85vh; /* Antes era 100vh. Ahora dejamos espacio para la barra */
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    
    /* --- CORRECCIÓN DE CENTRADO --- */
    display: flex;              /* Activa Flexbox dentro de la imagen */
    flex-direction: column;     /* Ordena los elementos en columna */
    justify-content: center;    /* Centra verticalmente */
    align-items: center;        /* Centra horizontalmente */
    padding: 20px;              /* Margen de seguridad para móviles */
}

.slide.active { opacity: 1; }

/* Overlay oscuro para que el texto resalte sobre las fotos */
.slide::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(34,35,30,0.3), rgba(34,35,30,0.8));
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centrado matemático perfecto en X y Y */
    z-index: 2;
    text-align: center;
    padding: 40px;
    width: 90%; /* Asegura que no toque los bordes en celulares */
    max-width: 800px;
    animation: centerFadeIn 1s ease forwards; /* Llamamos a la nueva animación */
}

/* 2. AÑADE ESTA NUEVA ANIMACIÓN (Puedes ponerla al final de tu archivo CSS) */
@keyframes centerFadeIn {
    from { 
        opacity: 0; 
        transform: translate(-50%, -30%); /* Empieza un poco más abajo, pero centrado en X */
    }
    to { 
        opacity: 1; 
        transform: translate(-50%, -50%); /* Termina en el centro exacto */
    }
}

/* Efecto Glassmorphism Genérico */
.glass-card, .glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 900;
}

.text-accent { color: #fff; -webkit-text-stroke: 1px var(--primary-color); }

.cta-button {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 40px;
    background: var(--primary-color);
    color: var(--bg-color);
    font-weight: 700;
    border-radius: 5px;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(229, 223, 209, 0.5);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    border: none;
    color: #fff;
    padding: 15px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    transition: var(--transition);
}

.prev { left: 20px; }
.next { right: 20px; }
.slider-btn:hover { background: var(--primary-color); color: var(--bg-color); }

/* --- Locales --- */
.section-padding { padding: 100px 10%; }
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.locales-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.local-card {
    overflow: hidden;
    transition: var(--transition);
}

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

.local-img img {
    width: 100%;
    height: 550px;
    object-fit: cover;
}

/* --- INFORMACIÓN DEL LOCAL (100% Transparente) --- */
.local-info {
    /* 1. Forza el fondo transparente para ver lo de atrás */
    background: transparent !important;
    
    /* 2. Asegura que no tenga sombras ni bordes propios que lo oscurezcan */
    box-shadow: none !important;
    border: none !important;
    
    padding: 30px;
    position: relative;
    z-index: 2; /* Asegura que el texto esté sobre el cristal */
}

/* Ajustes para el texto dentro de la zona transparente */
.local-info h3 {
    color: #fff;            /* Título en blanco brillante */
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    
    /* Sombra al texto para que se lea bien sobre cualquier fondo */
    text-shadow: 0 2px 4px rgba(0,0,0,0.8); 
}

.local-info p {
    color: #e5dfd1;         /* Texto en tu color beige */
    font-size: 0.95rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    
    /* Sombra suave al texto */
    text-shadow: 0 1px 2px rgba(0,0,0,0.8);
}

.local-info i {
    color: #e5dfd1;         /* Iconos en beige */
    font-size: 1.1rem;
    width: 20px;            /* Alineación perfecta de iconos */
    text-align: center;
    
    /* Resplandor suave al icono */
    filter: drop-shadow(0 0 5px rgba(229, 223, 209, 0.4));
}

/* --- FONDO DE IMAGEN PARA FACTURACIÓN --- */
.billing-page {
    background-image: url('../img/fondo_urbano1.jpg'); /* Logo de fondo */
    background-size: 100%; /* Logo grande pero no invasivo */
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
}

.billing-container {
    flex-grow: 1;
    height: 92vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(34, 35, 30, 0.45); /* Overlay fuerte sobre el logo de fondo */
    padding-top: 60px;
}

.billing-content {
    text-align: center;
    width: 100%;
    max-width: 900px;
}

.billing-title { font-size: 3rem; margin-bottom: 10px; color: #fff; }
.billing-subtitle { margin-bottom: 50px; opacity: 0.7; }

.billing-options {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.billing-card {
    padding: 50px;
    width: 300px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.billing-card .icon-box {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    transition: var(--transition);
}

.billing-card:hover {
    background: rgba(229, 223, 209, 0.15);
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.billing-card:hover .icon-box {
    transform: rotateY(180deg);
    text-shadow: 0 0 20px var(--primary-color);
}

/* --- Footer & WhatsApp --- */
.footer {
    background: #111;
    padding: 39px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* --- LOGO DEL FOOTER CON LUMINOSIDAD --- */
.footer-logo {
    height: 70px; 
    margin-bottom: 20px;
    
    /* Aplicamos la misma luminosidad y resplandor que el nav-logo */
    filter: brightness(1.2) drop-shadow(0 0 15px rgba(229, 223, 209, 0.8));
    
    /* Quitamos la opacidad baja para que brille al 100% */
    opacity: 1 !important; 
    
    transition: var(--transition);
}

.footer-logo:hover {
    /* Efecto extra al pasar el mouse por el footer */
    filter: brightness(1.4) drop-shadow(0 0 25px rgba(229, 223, 209, 1));
    transform: scale(1.05);
}


.socials { margin-bottom: 20px; }
.socials a {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 0 15px;
    transition: var(--transition);
}
.socials a:hover { color: #fff; transform: translateY(-3px); }

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 100;
    transition: var(--transition);
}

.whatsapp-float:hover { transform: scale(1.1) rotate(15deg); }

/* --- Animations Keyframes --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 80px;
        flex-direction: column;
        background: var(--bg-color);
        width: 100%;
        text-align: center;
        padding: 50px 0;
        transition: 0.5s;
        border-bottom: 1px solid var(--primary-color);
    }
    
    .nav-links.active { right: 0; }
    .hamburger { display: block; color: var(--primary-color); }
    
    .hero-content h1 { font-size: 2rem; }
    .billing-options { flex-direction: column; align-items: center; }
}

/* --- CORRECCIÓN LOGO Y TEXTO LADO A LADO --- */

/* 1. El contenedor del enlace debe ser una caja flexible horizontal */
.logo-link {
    display: flex !important;       /* ¡IMPORTANTE! Esto pone los elementos lado a lado */
    flex-direction: row;            /* Dirección horizontal explícita */
    align-items: center;            /* Centra verticalmente el texto con la imagen */
    gap: 15px;                      /* Espacio entre la imagen del logo y el texto */
    text-decoration: none;
}

/* 2. Ajustes de la imagen del logo */
.nav-logo {
    height: 60px;       /* Altura fija */
    width: auto;        /* Ancho automático para no deformar */
    display: block;     /* Evita espacios extra debajo de la imagen */
}

/* 3. El bloque de texto (DAAN arriba, URBAN abajo) se mantiene compacto */
.logo-text {
    display: flex;
    flex-direction: column; /* Apila "DAAN" sobre "URBAN CLOTHING" */
    justify-content: center;
    text-align: left;       /* Alineado a la izquierda, pegado al logo */
}

/* Estilos de tipografía (para recordar) */
.brand-main {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;         /* Reduce espacio entre líneas */
}

.brand-sub {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.6rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 3px;
    margin-top: 3px;
}

/* --- BARRA DE BENEFICIOS CORREGIDA (Visible 100%) --- */
.features-bar {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    padding: 5px 5%;
    
    /* 1. FONDO BEIGE CLARO SÓLIDO (#e5dfd1) */
    background-color: #e5dfd1; 
    
    /* 2. Color de texto base OSCURO (#22231e) */
    color: #22231e;
    
    /* Borde superior oscuro para separar visualmente del slider */
    border-top: 3px solid #22231e;
    
    flex-wrap: wrap;
    gap: 30px;
    position: relative;
    z-index: 10;
    /* Sombra para darle profundidad sobre el fondo negro que sigue */
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.feature-item {
    text-align: center;
    flex: 1;
    min-width: 220px;
    max-width: 350px;
}

/* Círculo del icono */
.icon-circle {
    width: 80px;
    height: 80px;
    
    /* Borde OSCURO grueso y definido */
    border: 2px solid #22231e;
    background: transparent; 
    
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px auto;
    transition: all 0.3s ease;
}

/* Icono dentro del círculo */
.icon-circle i {
    font-size: 2.2rem;
    /* color OSCURO forzado */
    color: #22231e !important; 
    transition: all 0.3s ease;
}

/* Títulos (h3) */
.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    /* color OSCURO forzado */
    color: #22231e !important;
}

/* Párrafos (p) */
.feature-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 600;
    /* color OSCURO forzado y SIN opacidad */
    color: #22231e !important;
    opacity: 1; 
}

/* --- Efecto Hover (Invertir colores) --- */
.feature-item:hover .icon-circle {
    /* Fondo se vuelve OSCURO */
    background: #22231e;
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(34, 35, 30, 0.5);
}

.feature-item:hover .icon-circle i {
    /* Icono se vuelve CLARO */
    color: #22231e !important;
}

.feature-item {
    text-align: center;
    flex: 1; /* Todos ocupan el mismo ancho */
    min-width: 200px;
    max-width: 300px;
    color: var(--primary-color);
}

.icon-circle {
    width: 70px;
    height: 70px;
    background: rgba(229, 223, 209, 0.1); /* Fondo beige muy transparente */
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto; /* Centrado y margen inferior */
    transition: all 0.4s ease;
}

.icon-circle i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.feature-item h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-item p {
    font-size: 0.85rem;
    opacity: 0.7;
    line-height: 1.5;
    font-family: var(--font-body);
}

/* Efecto Hover elegante */
.feature-item:hover .icon-circle {
    background: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(229, 223, 209, 0.4);
}

.feature-item:hover .icon-circle i {
    color: var(--bg-color); /* El icono cambia a negro al pasar el mouse */
}

/* Responsivo para móviles */
@media (max-width: 768px) {
    .features-bar {
        flex-direction: column;
        align-items: center;
    }
    .feature-item {
        margin-bottom: 30px;
    }
}
/* --- PÁGINA DE COLECCIÓN (Estilo Light Luxury) --- */

.collection-section {
    padding: 120px 5% 80px 5%; /* Padding superior alto para compensar el Navbar fijo */
    background-color: #e5dfd1; /* Fondo BEIGE exacto de la imagen */
    min-height: 100vh;
}

.collection-header {
    text-align: center;
    margin-bottom: 50px;
}

.collection-header h1 {
    font-size: 2.5rem;
    color: #22231e; /* Texto oscuro */
    margin-bottom: 10px;
    font-weight: 900;
    letter-spacing: 1px;
}

.collection-header p {
    color: #22231e;
    opacity: 0.8;
    font-size: 1.1rem;
}

/* --- GRID DE PRODUCTOS (8 Recuadros) --- */
.products-grid {
    display: grid;
    /* Crea columnas automáticas. Mínimo 260px de ancho cada tarjeta */
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

/* --- DISEÑO DE TARJETA (Blanca con sombra) --- */
.product-card {
    background: #ffffff; /* Fondo blanco puro */
    border-radius: 8px; /* Bordes ligeramente redondeados */
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08); /* Sombra suave */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px); /* Efecto de flotar al pasar mouse */
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.product-img {
    width: 100%;
    height: 280px; /* Alto fijo para la imagen */
    overflow: hidden;
    background: #f0f0f0; /* Fondo gris porsiacaso la imagen no cargue */
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Recorta la imagen para llenar el espacio */
    transition: transform 0.5s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.1); /* Zoom suave en la imagen */
}

.product-info {
    padding: 20px;
    text-align: left; /* Texto alineado a la izquierda como en la foto */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-info h3 {
    font-size: 1.1rem;
    color: #22231e;
    font-weight: 700;
    margin-bottom: 5px;
}

.product-info .price {
    font-size: 1.2rem;
    color: #22231e;
    font-weight: 800;
    margin-bottom: 15px;
}

/* Botón "VER DETALLES" */
.btn-buy {
    display: block;
    width: 100%;
    padding: 12px 0;
    background-color: #22231e; /* Fondo oscuro */
    color: #e5dfd1; /* Texto beige claro */
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.btn-buy:hover {
    background-color: #000;
    color: #fff;
    letter-spacing: 2px; /* Pequeña animación de letras */
}

/* --- MODAL DE IMAGEN COMPLETA --- */
.modal-overlay {
    display: none; /* Oculto por defecto */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(34, 35, 30, 0.9); /* Color oscuro de tu marca */
    backdrop-filter: blur(10px);
    cursor: zoom-out;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    animation: zoomAnim 0.3s ease;
}

@keyframes zoomAnim {
    from { transform: translateY(-50%) scale(0.8); opacity: 0; }
    to { transform: translateY(-50%) scale(1); opacity: 1; }
}

.close-modal {
    position: absolute;
    top: 30px;
    right: 50px;
    color: #e5dfd1;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
}

#caption {
    text-align: center;
    color: #e5dfd1;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-top: -20px;
    text-transform: uppercase;
}

/* --- RESPONSIVE FACTURACIÓN --- */
@media (max-width: 768px) {
    /* Ajustamos el título principal */
    .billing-title {
        font-size: 1.8rem !important; /* Más pequeño para que no se corte */
        padding: 0 10px;
        margin-top: 80px; /* Espacio para el navbar fijo */
    }

    .billing-subtitle {
        font-size: 0.9rem;
        margin-bottom: 30px;
    }

    /* Las opciones ahora se apilan verticalmente */
    .billing-options {
        flex-direction: column !important;
        gap: 20px !important;
        align-items: center;
        width: 100%;
    }

    /* Redimensionamos la tarjeta para que no sea tan ancha */
    .billing-card {
        width: 90% !important; /* Ocupa casi todo el ancho del celular */
        max-width: 320px;
        padding: 30px 20px !important; /* Menos padding para ganar espacio */
        margin: 10px 0 !important;
    }

    /* Iconos y textos más compactos en móvil */
    .billing-card .icon-box i {
        font-size: 2.5rem !important;
    }

    .billing-card h2 {
        font-size: 1.1rem !important;
    }
    
    /* El fondo animado se asegura de cubrir todo sin fallos */
    .bg-animated {
        width: 120%; /* Un poco más de margen para el movimiento en móvil */
        height: 120%;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%; /* Escondido a la derecha */
        top: 70px;    /* Altura de tu navbar */
        flex-direction: column;
        background: rgba(34, 35, 30, 0.98); /* Fondo oscuro sólido para legibilidad */
        backdrop-filter: blur(10px);
        width: 100%;
        height: 100vh;
        text-align: center;
        padding: 50px 0;
        transition: 0.5s ease;
        z-index: 999;
    }

    /* ESTO ES LO QUE HACE QUE APAREZCA */
    .nav-links.active {
        right: 0; 
    }

    .hamburger {
        display: block !important; /* Asegura que se vea en móvil */
        color: var(--primary-color);
        font-size: 1.8rem;
        z-index: 1001;
    }
}