@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

:root {
    --dusty-rose: #dfb1bc;
    --dusty-rose-light: #f4e7ed;
    --gold: #d4af37;
    --gold-light: #e5d5b0;
    --anthracite: #2d2d2d;
    --text-grey: #666666;
    --white: #ffffff;
    --bg-main: #fdfcfc;
    --shadow-premium: 0 10px 40px rgba(223, 177, 188, 0.2);
    --radius-premium: 24px;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-main);
    color: var(--anthracite);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .serif {
    font-family: 'Playfair Display', serif;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header */
header {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    padding: 10px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(223, 177, 188, 0.2);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 85px;
    object-fit: contain;
    transform: scale(1.15);
    transform-origin: left center;
    transition: transform 0.3s ease;
}
.logo img:hover {
    transform: scale(1.2);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-links a {
    text-decoration: none;
    color: var(--anthracite);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--dusty-rose);
}

.btn-login-mini {
    padding: 8px 24px;
    border: 1px solid var(--dusty-rose);
    border-radius: 50px;
    color: var(--dusty-rose) !important;
    font-size: 12px !important;
}

.btn-login-mini:hover {
    background-color: var(--dusty-rose);
    color: var(--white) !important;
}

.btn-cta-nav {
    padding: 8px 24px !important;
    background: linear-gradient(135deg, var(--dusty-rose), #c9909e) !important;
    border-radius: 50px !important;
    color: var(--white) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 4px 15px rgba(223, 177, 188, 0.4);
    transition: var(--transition);
}

.btn-cta-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(223, 177, 188, 0.6);
    background: linear-gradient(135deg, #c9909e, var(--dusty-rose)) !important;
}

/* Hero Section */
.hero {
    margin-top: 80px;
    padding: 100px 0;
    background: linear-gradient(135deg, var(--dusty-rose-light) 0%, #fff 100%);
    position: relative;
    overflow: hidden;
}

/* Organic blobs in background */
.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background-color: var(--dusty-rose);
    filter: blur(120px);
    opacity: 0.2;
    border-radius: 50%;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.hero-bg-logo {
    position: absolute;
    top: 50%;
    left: -15%;
    transform: translateY(-50%) rotate(-10deg);
    width: 900px;
    opacity: 0.05;
    z-index: 0;
    pointer-events: none;
    user-select: none;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 3.8rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--anthracite);
}

.hero-text .subtitle {
    font-size: 1.2rem;
    color: var(--text-grey);
    margin-bottom: 40px;
}

.hero-banner-img {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.hero-banner-img img {
    width: 120%;
    max-width: 700px;
    object-fit: contain;
    transform: perspective(1000px) rotateY(-2deg) translateY(-10px);
    transition: var(--transition);
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.15));
}

.hero-banner-img:hover img {
    transform: perspective(1000px) rotateY(0deg) translateY(-15px) scale(1.02);
}

.schedule-banner {
    position: absolute;
    bottom: 0; /* position it exactly at the bottom edge */
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.9);
    z-index: 10;
}

.schedule-banner p {
    font-size: 1.05rem;
    color: #333;
    font-weight: 500;
}

/* Stats Section */
.stats {
    padding: 80px 0;
    background-color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-card {
    padding: 30px;
}

.stat-card h2 {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 5px;
}

.stat-card p {
    font-size: 0.9rem;
    color: var(--text-grey);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Showcase Grid */
.showcase {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.catalog-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 8px 20px;
    background: transparent;
    border: 1px solid var(--dusty-rose);
    border-radius: 50px;
    color: var(--anthracite);
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 500;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--dusty-rose);
    color: var(--white);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
}

/* Cards Type A and B */
.card-premium {
    background-color: var(--white);
    border-radius: var(--radius-premium);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.02);
    transition: var(--transition);
    border: 1px solid rgba(223, 177, 188, 0.1);
    position: relative;
}

.card-premium:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-premium);
}

.card-img {
    height: 350px;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.card-premium:hover .card-img img {
    transform: scale(1.1);
}

.badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--gold);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.card-info {
    padding: 30px;
    text-align: center;
}

.card-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.card-info .price {
    color: var(--gold);
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 20px;
    display: block;
}

.btn-cta {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--anthracite);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.card-premium:hover .btn-cta {
    background-color: var(--dusty-rose);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.btn-cta.btn-primary {
    background: linear-gradient(135deg, #c07a5f, #a35d44);
    box-shadow: 0 6px 15px rgba(163, 93, 68, 0.3);
    padding: 16px 36px;
    font-size: 15px;
}

.btn-cta.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(163, 93, 68, 0.4);
    background: linear-gradient(135deg, #b06b52, #94523a);
}

.btn-cta.btn-secondary {
    background-color: #424242;
    box-shadow: 0 6px 15px rgba(66, 66, 66, 0.2);
    padding: 16px 36px;
    font-size: 15px;
}

.btn-cta.btn-secondary:hover {
    transform: translateY(-3px);
    background-color: #2b2b2b;
}

/* Benefits Section */
.benefits {
    padding: 100px 0;
    background-color: var(--dusty-rose-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.benefit-card {
    background: var(--white);
    padding: 50px;
    border-radius: var(--radius-premium);
}

.benefit-card h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

/* WhatsApp Floating */
.whatsapp-btn {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    z-index: 1001;
    text-decoration: none;
    transition: var(--transition);
}

.whatsapp-btn:hover {
    transform: scale(1.1) rotate(10deg);
}

/* Footer */
footer {
    padding: 100px 0 40px;
    background-color: var(--white);
    border-top: 1px solid #eee;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo img {
    height: 70px;
    margin-bottom: 25px;
}

.footer-col h4 {
    margin-bottom: 25px;
    font-size: 18px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    text-decoration: none;
    color: var(--text-grey);
    font-size: 14px;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--dusty-rose);
}

.social-icons {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.social-icons a {
    font-size: 22px;
}

/* Animations */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 968px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    .hero-bg-logo {
        width: 150%;
        left: 50%;
        transform: translateX(-50%) translateY(-50%) rotate(-5deg);
        top: 40%;
    }
    .hero-buttons {
        justify-content: center;
    }
    .stats-grid, .benefits-grid, .footer-content {
        grid-template-columns: 1fr;
    }
    .hero-text h1 {
        font-size: 2.5rem;
    }
    .nav-links {
        display: none;
    }
}

/* --- LIGHTBOX MODAL PREMIUM STYLES --- */
.lightbox-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(25, 12, 28, 0.95); /* Muy oscuro, tono morado oscuro premium */
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    backdrop-filter: blur(15px);
}

.lightbox-content {
    max-width: 90%;
    width: 750px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-premium);
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(223, 177, 188, 0.2);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
    animation: scaleUp 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes scaleUp {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

#lightbox-media-container {
    width: 100%;
    max-height: 480px;
    border-radius: 16px;
    overflow: hidden;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.8);
}

#lightbox-media-container img, 
#lightbox-media-container video {
    max-width: 100%;
    max-height: 480px;
    object-fit: contain;
    border-radius: 12px;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--white);
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    transition: var(--transition);
    z-index: 2002;
    user-select: none;
}

.lightbox-close:hover {
    color: var(--dusty-rose);
    transform: scale(1.1);
}

.lightbox-caption {
    text-align: center;
    color: var(--anthracite);
}

.lightbox-caption h3 {
    font-size: 2rem;
    color: #5B2D6E;
    margin-bottom: 8px;
}

.lightbox-caption p {
    color: var(--text-grey);
    font-size: 0.95rem;
    margin-bottom: 10px;
}

/* Efecto hover interactivo en imágenes de vitrina para indicar que son clickeables */
.card-img {
    cursor: pointer;
    position: relative;
}

.card-img::after {
    content: '🔍 Clic para ver en grande';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(91, 45, 110, 0.4);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0;
    transition: var(--transition);
    backdrop-filter: blur(2px);
}

.card-premium:hover .card-img::after {
    opacity: 1;
}

.btn-share {
    transition: var(--transition);
}
.btn-share:hover {
    background-color: var(--dusty-rose) !important;
}
