/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

/* Reset y configuración base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #290010;
    background: linear-gradient(135deg, #FF70A9 0%, #FF0066 50%, #660029 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 2px solid #FFEBF3;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-family: 'Dancing Script', cursive;
    font-size: 2.2rem;
    font-weight: 700;
    color: #FF0066;
    cursor: pointer;
    text-shadow: 2px 2px 4px rgba(255, 0, 102, 0.2);
    transition: all 0.3s ease;
}

.logo:hover {
    color: #660029;
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #660029;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #FF0066;
    transform: translateY(-2px);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: linear-gradient(90deg, #FF0066, #FF70A9);
    transition: all 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
    left: 0;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    background: url('imagenes/xxx.jpg') center/cover no-repeat;
}

.hero-content {
    z-index: 2;
    animation: fadeInUp 1s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.hero h1 {
    font-family: 'Dancing Script', cursive;
    font-size: 4.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #fff, #FFEBF3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 700;
}

.hero p {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    font-weight: 300;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    font-weight: 400;
    font-style: italic;
}

.cta-button {
    display: inline-block;
    padding: 18px 36px;
    background: linear-gradient(45deg, #FF0066, #FF70A9);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 0, 102, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(255, 0, 102, 0.6);
    background: linear-gradient(45deg, #660029, #FF0066);
}

/* Floating shapes */
.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    animation: float 8s ease-in-out infinite;
}

.shape:nth-child(1) {
    width: 100px;
    height: 100px;
    top: 15%;
    left: 8%;
    background: rgba(255, 112, 169, 0.2);
    animation-delay: 0s;
}

.shape:nth-child(2) {
    width: 140px;
    height: 140px;
    top: 65%;
    right: 12%;
    background: rgba(255, 235, 243, 0.3);
    animation-delay: 2s;
}

.shape:nth-child(3) {
    width: 80px;
    height: 80px;
    bottom: 25%;
    left: 15%;
    background: rgba(102, 0, 41, 0.2);
    animation-delay: 4s;
}

/* Gallery Section */
.gallery-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #FFEBF3 0%, rgba(255, 235, 243, 0.8) 50%, #fff 100%);
    position: relative;
    overflow: hidden;
}

.gallery-title {
    text-align: center;
    font-family: 'Dancing Script', cursive;
    font-size: 3.2rem;
    color: #660029;
    margin-bottom: 3rem;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(102, 0, 41, 0.1);
    position: relative;
    z-index: 2;
}

.gallery-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(255, 0, 102, 0.2);
    background: white;
    border: 3px solid rgba(255, 112, 169, 0.3);
}

.gallery-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: scale(1.1);
}

.gallery-slide.active {
    opacity: 1;
    transform: scale(1);
}

.gallery-slide.next {
    opacity: 0;
    transform: translateX(100%) scale(1.1);
}

.gallery-slide.prev {
    opacity: 0;
    transform: translateX(-100%) scale(1.1);
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.gallery-slide.active img {
    transform: scale(1.05);
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(102, 0, 41, 0.9));
    color: white;
    padding: 2rem;
    font-size: 1.3rem;
    font-weight: 500;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.6s ease;
    font-family: 'Poppins', sans-serif;
}

.gallery-slide.active .slide-caption {
    transform: translateY(0);
}

/* Indicadores */
.gallery-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 112, 169, 0.7);
}

.indicator.active {
    background: #FF70A9;
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(255, 112, 169, 0.6);
}

.indicator:hover:not(.active) {
    background: rgba(255, 112, 169, 0.7);
    transform: scale(1.1);
}

/* Controles de navegación */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    color: #FF0066;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 0, 102, 0.2);
    z-index: 3;
    backdrop-filter: blur(10px);
}

.gallery-nav:hover {
    background: #FF0066;
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 0, 102, 0.4);
}

.gallery-nav.prev {
    left: 20px;
}

.gallery-nav.next {
    right: 20px;
}

/* About/Products Section */
.about {
    padding: 120px 0;
    background: #FFEBF3;
}

.section-title {
    text-align: center;
    font-size: 3.5rem;
    margin-bottom: 3rem;
    color: #660029;
    font-family: 'Dancing Script', cursive;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(102, 0, 41, 0.1);
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(255, 0, 102, 0.15);
    transition: all 0.4s ease;
    border: 3px solid transparent;
    background-clip: padding-box;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FF0066, #FF70A9, #FF0066);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 60px rgba(255, 0, 102, 0.25);
    border-color: #FF70A9;
}

.card:hover::before {
    height: 8px;
}

.card-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
    filter: drop-shadow(2px 2px 4px rgba(255, 0, 102, 0.2));
}

.card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #660029;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}

.card p {
    color: #290010;
    line-height: 1.7;
    font-size: 1.05rem;
    font-weight: 400;
    margin-bottom: 2rem;
}

/* Imagen cuadrada dentro de cada carta */
.card-image {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    border: 3px solid rgba(255, 112, 169, 0.3);
    transition: all 0.3s ease;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover .card-image {
    border-color: #FF70A9;
    transform: scale(1.05);
}

.card:hover .card-image img {
    transform: scale(1.1);
}

/* GALERÍA UNIFICADA TAMAÑO MODERADO */
.unified-gallery-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #FFEBF3 0%, rgba(255, 235, 243, 0.8) 50%, #fff 100%);
}

.unified-gallery-title {
    text-align: center;
    font-family: 'Dancing Script', cursive;
    font-size: 3rem;
    color: #660029;
    margin-bottom: 3rem;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(102, 0, 41, 0.1);
}

.unified-gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 2rem;
    border: 3px solid rgba(255, 112, 169, 0.3);
    position: relative;
}

.unified-gallery-frame {
    width: 100%;
    height: 650px;           
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.unified-image-wrapper {
    position: relative;
    width: 650px;            
    height: 650px;           
    max-width: 100%;
    max-height: 100%;
}

.unified-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all 0.6s ease;
    transform: scale(1.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.unified-image.active {
    opacity: 1;
    transform: scale(1);
}

.unified-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.5s ease;
    aspect-ratio: 1 / 1;
}

.unified-image.active img {
    transform: scale(1.02);
}

/* Flechas de navegación moderadas */
.unified-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.8rem;
    color: #FF0066;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 0, 102, 0.3);
    z-index: 10;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 112, 169, 0.2);
}

.unified-arrow:hover {
    background: #FF0066;
    color: white;
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 8px 25px rgba(255, 0, 102, 0.5);
    border-color: #FF0066;
}

.unified-arrow.prev {
    left: 15px;
}

.unified-arrow.next {
    right: 15px;
}

/* Indicadores de la galería unificada */
.unified-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.unified-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 112, 169, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 112, 169, 0.6);
}

.unified-dot.active {
    background: #FF0066;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(255, 0, 102, 0.6);
    border-color: #FF0066;
}

.unified-dot:hover:not(.active) {
    background: rgba(255, 112, 169, 0.8);
    transform: scale(1.2);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #290010 0%, #660029 100%);
    color: #FFEBF3;
    padding: 4rem 0 2rem 0;
}

footer .container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    text-align: left;
}

.contact-info, .hours, .contact-details {
    margin-bottom: 2rem;
}

.contact-info h3, .hours h3, .hours h4, .contact-details h3 {
    color: #FF70A9;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.hours h4 {
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* Nueva sección de contacto */
.contact-details {
    text-align: left;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contact-icon {
    font-size: 1.5rem;
    color: #FF70A9;
}

.contact-item span:last-child {
    color: #FFEBF3;
    font-weight: 500;
}

address {
    font-style: normal;
    line-height: 1.8;
    font-size: 1.05rem;
}

address p {
    margin-bottom: 0.8rem;
    color: #FFEBF3;
}

address strong {
    color: #FF70A9;
    font-weight: 600;
}

.hours p {
    margin-bottom: 0.5rem;
    color: #FFEBF3;
    font-size: 1.05rem;
}

.hours p strong {
    color: #FF70A9;
    font-weight: 600;
}

footer p:last-child {
    text-align: center;
    grid-column: 1 / -1;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #660029;
    opacity: 0.9;
    font-size: 1rem;
    color: #FF70A9;
}

/* Interactive elements */
.interactive-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.cursor-follower {
    position: absolute;
    width: 25px;
    height: 25px;
    background: rgba(255, 112, 169, 0.4);
    border-radius: 50%;
    pointer-events: none;
    transition: all 0.1s ease;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(5deg);
    }
    50% {
        transform: translateY(-25px) rotate(0deg);
    }
    75% {
        transform: translateY(-10px) rotate(-5deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.3rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .cards-container {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2.8rem;
    }
    
    .card {
        padding: 2rem;
    }
    
    .hero-content {
        padding: 2rem;
        margin: 1rem;
    }
    
    .logo {
        font-size: 1.8rem;
    }
    
    .gallery-wrapper {
        height: 350px;
    }
    
    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .gallery-nav.prev {
        left: 10px;
    }
    
    .gallery-nav.next {
        right: 10px;
    }
    
    .slide-caption {
        padding: 1.5rem;
        font-size: 1.1rem;
    }
    
    .gallery-container {
        margin: 0 1rem;
    }
    
    /* Responsive para galería unificada */
    .unified-gallery-title {
        font-size: 2.5rem;
    }
    
    .unified-gallery-container {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .unified-gallery-frame {
        height: 600px;
    }
    
    .unified-image-wrapper {
        width: 600px;
        height: 600px;
    }
    
    .unified-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .unified-arrow.prev {
        left: 10px;
    }
    
    .unified-arrow.next {
        right: 10px;
    }
    
    footer .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .contact-details {
        text-align: center;
    }
    
    .contact-item {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .card h3 {
        font-size: 1.5rem;
    }
    
    .hero-content {
        padding: 1.5rem;
    }
    
    .gallery-wrapper {
        height: 280px;
    }
    
    .gallery-title {
        font-size: 2rem;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
    
    .unified-gallery-title {
        font-size: 2rem;
    }
    
    .unified-gallery-container {
        padding: 1rem;
    }
    
    .unified-gallery-frame {
        height: 400px;
    }
    
    .unified-image-wrapper {
        width: 400px;
        height: 400px;
    }
    
    .unified-arrow {
        width: 35px;
        height: 35px;
        font-size: 1.3rem;
    }
    
    .unified-dot {
        width: 8px;
        height: 8px;
    }
}