/* ==========================================
   1. RESET Y CONFIGURACIÓN GLOBAL
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
    width: 100%;
    overflow-x: hidden;
}

/* ==========================================
   2. HEADER, LOGO Y NAV (SIN HUECOS)
   ========================================== */
header {
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
    padding-bottom: 0; /* Eliminamos espacio inferior del header */
    width: 100%;
}

.header-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.header-logo h1 {
    font-size: 2.5rem;
    color: #1a1a1a;
    text-transform: uppercase;
    margin: 0;
    line-height: 1; /* Ajuste para que el texto no ocupe espacio extra */
}

.subtitle {
    font-size: 11px;
    color: #d63384; /* Rosa marca para que resalte */
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 800;
    margin-top: 2px !important; /* PEGADO AL NOMBRE */
    margin-bottom: 15px;
}

nav {
    width: 100%;
    margin-bottom: 0 !important; /* Eliminamos cualquier margen bajo el nav */
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    background-color: #333;
    flex-wrap: wrap;
    margin: 0;
}

nav a {
    display: block;
    padding: 15px 25px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

nav a:hover {
    background-color: #d63384;
}

/* ==========================================
   3. PORTADA (HERO) - PEGADA AL NAV
   ========================================== */
#hero {
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url(./hero2.jpg);
    background-size: cover;
    background-position: center;
    height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    margin-top: 0 !important; /* ELIMINA EL ESPACIO CON EL NAVBAR */
}

#hero h1 { font-size: 3rem; margin-bottom: 25px; padding: 0 20px; background: none; color: white; }

#hero button {
    font-size: 1.2rem;
    font-weight: bold;
    padding: 15px 40px;
    background-color: #d63384;
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s;
}

/* ==========================================
   4. CATÁLOGO (GRID OPTIMIZADO)
   ========================================== */
#catalogo {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

#catalogo h2 { text-align: center; font-size: 2.5rem; margin-bottom: 40px; }

#productos-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
}

.card-producto {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: 0.3s;
    border-bottom: 5px solid #d63384;
}

.card-producto:hover { transform: translateY(-10px); }

.img-wrapper { width: 100%; height: 380px; overflow: hidden; position: relative; }
.img-wrapper img { width: 100%; height: 100%; object-fit: cover; }

.info-producto { padding: 20px; text-align: center; flex-grow: 1; }
.info-producto h3 { font-size: 1.1rem; margin-bottom: 10px; color: #333; }

.detalles { display: flex; justify-content: space-around; align-items: center; margin-bottom: 20px; }
.precio { font-size: 1.4rem; font-weight: 800; color: #d63384; }
.talla { background: #fce4ec; color: #d63384; padding: 5px 15px; border-radius: 20px; font-weight: bold; }

/* Botones de Disponibilidad */
.btn-accion {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: block;
    text-align: center;
}

.disponible { background-color: #d63384; color: white; }
.disponible:hover { background-color: #333; transform: scale(1.02); }
.no-disponible { background-color: #ccc; color: #666; cursor: not-allowed; }


/* ==========================================
   SECCIÓN PROCESO (RESTABLECIMIENTO DE ESTILO)
   ========================================== */
#proceso {
    background-color: #fdf2f8; /* Rosa suave de fondo */
    padding: 80px 20px;
    text-align: center;
}

#proceso h2 { 
    font-size: 2.5rem; 
    margin-bottom: 10px; 
    color: #1a1a1a;
}

.proceso-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    max-width: 1200px;
    margin: 40px auto 0;
    flex-wrap: wrap;
}

.paso-card {
    background: white;
    padding: 40px 25px;
    border-radius: 24px;
    width: 300px;
    box-shadow: 0 15px 35px rgba(214, 51, 132, 0.08); /* Sombra elegante */
    transition: all 0.3s ease;
    border: 1px solid rgba(214, 51, 132, 0.1);
    position: relative;
    z-index: 1;
}

/* Efecto al pasar el mouse */
.paso-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(214, 51, 132, 0.15);
    border-color: #d63384;
}

.icono-paso {
    font-size: 3.5rem;
    background-color: #fff0f6;
    width: 110px;
    height: 110px;
    line-height: 110px;
    border-radius: 50%;
    margin: 0 auto 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0 0 0 2px #fce4ec;
}

.paso-card h3 {
    color: #d63384; /* Título en rosa marca */
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 800;
}

.paso-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

/* Estilo de las flechas ➞ */
.flecha-proceso {
    font-size: 2.5rem;
    color: #fce4ec; /* Color suave para que no compita con las tarjetas */
    font-weight: bold;
    user-select: none;
}

/* Ajuste móvil para las flechas */
@media (max-width: 1024px) {
    .flecha-proceso {
        display: none; /* Escondemos flechas en tablets/móvil para no amontonar */
    }
    .paso-card {
        width: 100%; /* Tarjetas a lo ancho en móvil */
        max-width: 350px;
    }
}
/* ==========================================
   SECCIÓN TESTIMONIOS (DISEÑO PREMIUM)
   ========================================== */
#testimonios {
    padding: 100px 20px;
    background-color: white;
    text-align: center;
}

#testimonios h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #1a1a1a;
}

.testimonios-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.review-card {
    background-color: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    width: 350px;
    border: 1px solid #fce4ec; /* Borde rosa muy sutil */
    box-shadow: 0 10px 25px rgba(0,0,0,0.03); /* Sombra muy suave */
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(214, 51, 132, 0.1);
    border-color: #f8bbd0;
}

.estrellas {
    color: #ffc107; /* Dorado para las estrellas */
    font-size: 1.4rem;
    margin-bottom: 20px;
    letter-spacing: 3px;
}

.review-card p {
    font-style: italic;
    color: #555;
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 1rem;
    position: relative;
}

/* Comillas decorativas opcionales */
.review-card p::before {
    content: '"';
    font-size: 3rem;
    color: #fce4ec;
    position: absolute;
    top: -25px;
    left: -10px;
    font-family: serif;
}

.review-card h4 {
    color: #d63384; /* Nombre de la clienta en rosa marca */
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Ajuste para móviles (Galaxy Note 20) */
@media (max-width: 768px) {
    #testimonios {
        padding: 60px 15px;
    }
    .review-card {
        width: 100%; /* Una sola columna en celular */
        padding: 30px 20px;
    }
    .review-card p {
        font-size: 0.95rem;
    }
}
/* ==========================================
   UBICACIÓN Y GALERÍA (CORREGIDO)
   ========================================== */
.container-seccion { 
    max-width: 1200px; 
    margin: 60px auto; 
    padding: 0 20px; 
    text-align: center; 
}

.ubicacion-grid { 
    display: flex; 
    gap: 30px; 
    margin-top: 40px; 
    text-align: left; 
    align-items: stretch; /* Ambas tarjetas miden lo mismo */
}

.card-info, .card-mapa { 
    flex: 1; 
    background: white; 
    padding: 25px; 
    border-radius: 20px; 
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

/* --- Ajuste del Carrusel --- */
.galeria-wrapper { 
    position: relative; 
    width: 100%; 
    height: 400px; /* Altura corregida */
    overflow: hidden; 
    border-radius: 15px; 
    margin: 15px 0;
}

.foto-slide { 
    position: absolute; 
    width: 100%; 
    height: 100%; 
    object-fit: cover; /* La foto no se estira */
    opacity: 0; 
    transition: opacity 0.5s ease; 
}

.foto-slide.active { opacity: 1; z-index: 2; }

/* --- Posicionamiento de Flechas --- */
.ctrl-galeria { 
    position: absolute; 
    top: 50%; 
    transform: translateY(-50%); 
    background: rgba(214, 51, 132, 0.8); /* Rosa Als Dress */
    color: white; 
    border: none; 
    width: 45px; 
    height: 45px; 
    border-radius: 50%; 
    cursor: pointer; 
    z-index: 10; 
    font-size: 20px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
}

/* ESTO ES LO QUE FALTABA: Ponerlas a los lados */
#btn-prev-interior { left: 15px; }
#btn-next-interior { right: 15px; }

/* --- Mapa Responsivo --- */
.card-mapa iframe {
    width: 100% !important;
    height: 350px; /* Ajusta para que combine con la galería */
    border-radius: 15px;
}
/* ==========================================
   6. FOOTER Y BOTONES FLOTANTES
   ========================================= */
footer { background-color: #333; color: white; padding: 60px 20px 30px; text-align: center; }
.footer-content h3 { color: #d63384; font-size: 2.2rem; margin-bottom: 15px; }
.socials { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; margin-bottom: 40px; }
.socials a { color: white; border: 1px solid white; padding: 12px 25px; border-radius: 30px; text-decoration: none; font-weight: bold; }
.socials a:hover { background: #d63384; border-color: #d63384; }

.botones-flotantes { position: fixed; bottom: 25px; right: 25px; display: flex; flex-direction: column; gap: 15px; z-index: 1000; }
.btn-flotante { width: 60px; height: 60px; border-radius: 50%; display: flex; justify-content: center; align-items: center; box-shadow: 0 4px 12px rgba(0,0,0,0.3); transition: 0.3s; }
.btn-flotante:hover { transform: scale(1.15); }
.btn-flotante img { width: 35px; height: 35px; }
.facebook { background-color: #1877F2; }
.whatsapp { background-color: #25D366; }

/* ==========================================
   7. VERSIÓN MÓVIL (GALAXY NOTE 20 / SMARTPHONES)
   ========================================== */
@media (max-width: 768px) {
    #hero { height: 320px; }
    #hero h1 { font-size: 1.8rem; }
    
    #catalogo { padding: 30px 10px; }
    #catalogo h2 { font-size: 1.8rem; margin-bottom: 20px; }

    #productos-container { 
        grid-template-columns: repeat(2, 1fr); /* 2 vestidos por fila en móvil */
        gap: 12px; 
    }

    .img-wrapper { height: 240px; }
    .info-producto { padding: 10px; }
    .info-producto h3 { font-size: 0.85rem; height: auto; }
    .precio { font-size: 1.1rem; }
    .talla { font-size: 0.7rem; padding: 3px 10px; }

    .proceso-container, .ubicacion-grid, .testimonios-grid { flex-direction: column; gap: 20px; }
    .card-info, .card-mapa { width: 100%; }
    
    .btn-flotante { width: 50px; height: 50px; }
    .btn-flotante img { width: 28px; }
}