/* ============================================
   VARIABLES DE COLORES - TEMA MARILUNA
   ============================================ */
:root {
    --morado-principal: #7d4a7d;
    --morado-oscuro: #5c3660;
    --morado-claro: #9d6b9d;
    --rosa-pastel: #e6c5e6;
    --crema: #fff5f7;
    --dorado: #d4af37;
    --texto-oscuro: #4a4a4a;
    --blanco: #ffffff;
    --sombra: rgba(125, 74, 125, 0.2);
    --gradiente-morado: linear-gradient(135deg, #7d4a7d 0%, #9d6b9d 100%);
    --gradiente-crema: linear-gradient(135deg, #fff5f7 0%, #ffe4f0 100%);
}

/* ============================================
   RESET Y CONFIGURACIÓN GENERAL
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--texto-oscuro);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--crema);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   NAVEGACIÓN
   ============================================ */
.navbar {
    background: var(--gradiente-morado);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--sombra);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--blanco);
    font-size: 1.3rem;
    font-family: 'Pacifico', cursive;
}

.logo-img {
    height: 50px;
    width: auto;
    /* Si tu logo es oscuro, descomenta la línea de abajo */
    /* filter: brightness(0) invert(1); */
    /* Si tu logo es claro/blanco, déjalo sin filtro */
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--blanco);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.nav-menu a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--blanco);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ============================================
   HERO / SECCIÓN PRINCIPAL CON SLIDER
   ============================================ */
.hero {
    margin-top: 80px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 2rem;
}

/* Slider de imágenes */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 80%;
    height: 80%;
    object-fit: contain;
    object-position: center;
    margin: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Overlay oscuro sobre las imágenes para que el texto se lea bien */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(125, 74, 125, 0.7),
        rgba(157, 107, 157, 0.6)
    );
    z-index: 2;
}

/* Indicadores del slider */
.slider-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 4;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--blanco);
    width: 30px;
    border-radius: 10px;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Botones de navegación del slider */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    color: var(--blanco);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 4;
    backdrop-filter: blur(10px);
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.slider-btn.prev {
    left: 20px;
}

.slider-btn.next {
    right: 20px;
}

.hero-content {
    text-align: center;
    z-index: 3;
    max-width: 800px;
    position: relative;
}

.hero-logo {
    margin-bottom: 2rem;
    animation: fadeInDown 1s ease;
}

.hero-logo img {
    max-width: 100px;
    height: auto;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.5)) brightness(1.2);
}

.hero-title {
    font-family: 'Pacifico', cursive;
    font-size: 3.5rem;
    color: var(--blanco);
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
    animation: fadeInDown 1s ease 0.2s both;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--blanco);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.4s both;
    font-style: italic;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s both;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradiente-morado);
    color: var(--blanco);
    box-shadow: 0 4px 15px rgba(125, 74, 125, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(125, 74, 125, 0.4);
}

.btn-secondary {
    background: var(--blanco);
    color: var(--morado-principal);
    border: 2px solid var(--morado-principal);
}

.btn-secondary:hover {
    background: var(--morado-principal);
    color: var(--blanco);
    transform: translateY(-3px);
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    animation: fadeInUp 1s ease 0.8s both;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blanco);
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-btn.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-btn.whatsapp {
    background: #25d366;
}

.social-btn.facebook {
    background: #1877f2;
}

.social-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 5px 20px var(--sombra);
}

/* Decoración flotante - REMOVIDA para el slider */

/* ============================================
   SECCIONES GENERALES
   ============================================ */
section {
    padding: 5rem 0;
}

.section-title {
    font-family: 'Pacifico', cursive;
    font-size: 2.5rem;
    color: var(--morado-principal);
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--morado-oscuro);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* ============================================
   PRODUCTOS
   ============================================ */
.productos {
    background: var(--blanco);
}

.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.producto-card {
    background: var(--blanco);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--sombra);
    transition: all 0.3s ease;
    cursor: pointer;
}

.producto-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(125, 74, 125, 0.3);
}

.producto-image {
    background: var(--gradiente-morado);
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Imagen del producto */
.producto-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.3s ease;
}

.producto-card:hover .producto-img {
    transform: scale(1.1);
}

.producto-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.producto-card:hover .producto-overlay {
    opacity: 1;
}

.btn-ver-mas {
    background: var(--blanco);
    color: var(--morado-principal);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-ver-mas:hover {
    transform: scale(1.1);
}

.producto-info {
    padding: 1.5rem;
}

.producto-info h3 {
    color: var(--morado-principal);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.producto-info p {
    color: var(--texto-oscuro);
    margin-bottom: 1rem;
}

.precio {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dorado);
    margin-bottom: 1rem;
}

.btn-pedir {
    width: 100%;
    background: var(--gradiente-morado);
    color: var(--blanco);
    border: none;
    padding: 0.8rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-pedir:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(125, 74, 125, 0.3);
}

/* ============================================
   FORMULARIO DE PEDIDOS
   ============================================ */
.pedidos {
    background: var(--gradiente-crema);
}

.pedido-form {
    max-width: 700px;
    margin: 0 auto;
    background: var(--blanco);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px var(--sombra);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--morado-principal);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--rosa-pastel);
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--morado-principal);
    box-shadow: 0 0 10px rgba(125, 74, 125, 0.2);
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
}

/* ============================================
   UBICACIÓN
   ============================================ */
.ubicacion {
    background: var(--blanco);
}

.ubicacion-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.ubicacion-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--crema);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px var(--sombra);
}

.info-item i {
    font-size: 2rem;
    color: var(--morado-principal);
}

.info-item h3 {
    color: var(--morado-principal);
    margin-bottom: 0.5rem;
}

.mapa {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--sombra);
    height: 500px;
}

/* ============================================
   REDES SOCIALES
   ============================================ */
.contacto {
    background: var(--gradiente-crema);
}

.redes-sociales-grande {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.red-social {
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    text-decoration: none;
    color: var(--blanco);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.instagram-card {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.whatsapp-card {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

.facebook-card {
    background: linear-gradient(135deg, #1877f2 0%, #0d5dbf 100%);
}

.red-social:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 10px 30px var(--sombra);
}

.red-social i {
    font-size: 3rem;
}

.red-social h3 {
    font-size: 1.5rem;
    margin: 0;
}

.red-social p {
    margin: 0;
}

.btn-seguir {
    background: var(--blanco);
    color: var(--texto-oscuro);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--morado-oscuro);
    color: var(--blanco);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 60px;
    width: auto;
    
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--rosa-pastel);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--blanco);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--rosa-pastel);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ============================================
   BOTÓN FLOTANTE DE WHATSAPP
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: var(--blanco);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* ============================================
   ANIMACIONES
   ============================================ */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* ============================================
   RESPONSIVE - MÓVILES
   ============================================ */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--gradiente-morado);
        flex-direction: column;
        padding: 1rem 0;
        gap: 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu li {
        text-align: center;
        padding: 0.5rem 0;
    }

    .hero-logo img {
        max-width: 150px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    /* Ocultar botones de navegación en móvil */
    .slider-btn {
        display: none;
    }

    .slider-indicators {
        bottom: 20px;
    }

    .indicator {
        width: 8px;
        height: 8px;
    }

    .indicator.active {
        width: 20px;
    }

    .section-title {
        font-size: 2rem;
    }

    .productos-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .ubicacion-content {
        grid-template-columns: 1fr;
    }

    .mapa {
        height: 300px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-logo img {
        max-width: 120px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .pedido-form {
        padding: 1.5rem;
    }
}