:root {
    --primary-color: #dcb36d; /* Dorado */
    --primary-dark: #b88e45;
    --primary-gradient: linear-gradient(135deg, #f2d98c, #dcb36d, #b88e45);
    --secondary-color: #ffffff;
    --text-color: #e0e0e0;
    --text-light: #aaaaaa;
    --bg-color: #151515; /* Fondo negro/gris oscuro */
    --bg-light: #1e1e1e; /* Fondo oscuro secundario */
    --glass-bg: rgba(21, 21, 21, 0.85);
    --glass-border: rgba(220, 179, 109, 0.2);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body.light-mode {
    --secondary-color: #2b2b2b;
    --text-color: #333333;
    --text-light: #666666;
    --bg-color: #fcfbf9;
    --bg-light: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(220, 179, 109, 0.4);
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, .logo {
    font-family: 'Playfair Display', serif;
    color: var(--secondary-color);
}

a {
    text-decoration: none;
    color: inherit;
}

/* --- Typography & Utils --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-gradient);
    color: #111;
    border: none;
    box-shadow: 0 4px 15px rgba(220, 179, 109, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(220, 179, 109, 0.5);
    transform: translateY(-2px);
    color: #000;
}

.btn-social {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-social:hover {
    background-color: #ffffff;
    color: #000000;
}

body.light-mode .btn-social {
    color: #333333;
    border-color: #333333;
}

body.light-mode .btn-social:hover {
    background-color: #333333;
    color: #ffffff;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition);
    background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent);
}

.navbar.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--bg-light);
    transition: var(--transition);
}

.navbar.scrolled .logo {
    color: var(--secondary-color);
}

.logo span {
    color: var(--primary-color);
    font-style: italic;
}

.logo-img {
    height: 75px; /* Increased from 50px */
    width: auto;
    display: block;
    transition: var(--transition);
}

.navbar.scrolled .logo-img {
    filter: drop-shadow(0px 0px 4px rgba(0,0,0,0.3));
}

body.light-mode .logo-img {
    filter: drop-shadow(0px 2px 5px rgba(0,0,0,0.6));
}

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

.nav-links li a {
    color: #ffffff;
    font-weight: 500;
    font-size: 1.1rem;
    position: relative;
    transition: var(--transition);
}

.navbar.scrolled .nav-links li a {
    color: var(--text-color);
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links li a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.theme-toggle {
    font-size: 1.4rem;
    color: #ffffff;
    cursor: pointer;
    transition: var(--transition);
}

.theme-toggle:hover {
    color: var(--primary-color);
    transform: rotate(15deg);
}

.navbar.scrolled .theme-toggle {
    color: var(--text-color);
}

.menu-btn {
    display: none;
    font-size: 1.5rem;
    color: #ffffff;
    cursor: pointer;
    transition: var(--transition);
}

.navbar.scrolled .menu-btn {
    color: var(--text-color);
}

.navbar.scrolled .menu-btn {
    color: var(--secondary-color);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)), url('src/img/22.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    color: var(--bg-light);
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 0 4px 15px rgba(0,0,0,0.6);
}

.hero h1 span {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--primary-color);
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    font-weight: 300;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* --- About Section --- */
.about {
    padding: 100px 0;
    background-color: var(--bg-color);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.8rem;
    margin-bottom: 25px;
    line-height: 1.2;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 400;
    opacity: 0.95;
    line-height: 1.8;
}

.features {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
    font-size: 1.1rem;
}

.feature i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    min-height: 400px;
}

.aboutSwiper {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    padding: 0 !important;
}

.aboutSwiper .swiper-slide {
    height: 100%;
    border-radius: 0;
    box-shadow: none;
    width: 100%; /* Forzar un slide completo */
}

.aboutSwiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aboutSwiper .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.7;
}

.aboutSwiper .swiper-pagination-bullet-active {
    background: var(--primary-color) !important;
    opacity: 1;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.glass-card h3 {
    font-size: 2.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 5px;
}

.glass-card p {
    font-weight: 600;
    color: var(--secondary-color);
}

/* --- Collection Section --- */
.collection {
    padding: 100px 0;
    background-color: var(--bg-light);
}

/* --- Swiper Carousel --- */
.swiper {
    width: 100%;
    padding: 20px 40px 60px 40px;
    position: relative;
}

.swiper-slide {
    height: 450px;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    background-color: #fff; /* En caso de imágenes transparentes */
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.swiper-slide:hover img {
    transform: scale(1.05);
}

.item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 30px;
    opacity: 0;
    transition: var(--transition);
}

.swiper-slide:hover .item-overlay {
    opacity: 1;
}

.item-overlay span {
    color: var(--bg-light);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    transform: translateY(20px);
    transition: var(--transition);
}

.item-overlay a i {
    color: var(--bg-light);
    font-size: 2rem;
    background-color: var(--primary-color);
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transform: translateY(20px);
    transition: var(--transition);
    transition-delay: 0.1s;
}

.swiper-slide:hover .item-overlay span,
.swiper-slide:hover .item-overlay a i {
    transform: translateY(0);
}

.swiper-button-next,
.swiper-button-prev {
    color: #111 !important;
    background: var(--primary-color);
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(220, 179, 109, 0.4);
    transition: var(--transition);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    transform: scale(1.1);
    background: var(--primary-dark);
}

.swiper-button-next { right: 0; }
.swiper-button-prev { left: 0; }

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 22px !important;
    font-weight: bold;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color) !important;
}

.item-overlay a:hover i {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

/* --- CTA Section con Particles --- */
.cta {
    position: relative;
    padding: 120px 20px;
    background-color: #050505; /* Fondo más oscuro para que resalten las partículas */
    color: var(--bg-light);
    text-align: center;
    overflow: hidden;
}

#particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.cta-content {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    z-index: 1;
    background: rgba(17, 17, 17, 0.7);
    padding: 50px 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(220, 179, 109, 0.2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.cta h2 {
    font-size: 3rem;
    color: #ffffff;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #cccccc;
}

.social-links-large {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--transition);
}

.social-btn i {
    font-size: 1.5rem;
}

.social-btn.facebook {
    background-color: #1877F2;
    color: #fff;
}

.social-btn.tiktok {
    background-color: #000000;
    color: #fff;
    border: 1px solid #333;
}

.social-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* --- Footer --- */
/* --- Footer Premium --- */
footer {
    background-color: var(--bg-light);
    padding: 80px 0 30px;
    border-top: 1px solid rgba(220, 179, 109, 0.3);
    position: relative;
    overflow: hidden;
}

/* Resplandor dorado sutil en el borde superior */
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    height: 2px;
    background: var(--primary-gradient);
    box-shadow: 0 0 15px var(--primary-color);
}

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

.footer-logo {
    width: 130px;
    margin-bottom: 25px;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

.footer-brand p {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.95;
    font-weight: 400;
    max-width: 400px;
}

.footer-links h4,
.footer-social h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--text-color);
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

/* Elegante línea debajo del título */
.footer-links h4::after,
.footer-social h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.footer-links ul {
    list-style: none;
    padding-left: 0;
}

.footer-links ul li {
    margin-bottom: 16px;
}

.footer-links ul li a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.1rem;
    font-weight: 400;
    opacity: 0.9;
    display: inline-block;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    transform: translateX(8px);
    opacity: 1;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    border: 1px solid rgba(220, 179, 109, 0.4);
    color: var(--text-color);
    border-radius: 50%;
    font-size: 1.3rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-decoration: none;
}

.social-icons a:hover {
    background: var(--primary-gradient);
    color: #fff;
    transform: translateY(-5px) scale(1.05);
    border-color: transparent;
    box-shadow: 0 10px 20px rgba(220, 179, 109, 0.4);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(220, 179, 109, 0.2);
    color: var(--text-color);
    opacity: 0.8;
    font-size: 1rem;
    font-weight: 300;
}

body.light-mode .footer-bottom,
body.light-mode .footer-bottom p,
body.light-mode .footer-bottom span {
    color: #000000 !important;
    opacity: 1 !important;
    font-weight: 600 !important;
}

/* --- WhatsApp Float --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0px 4px 15px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.whatsapp-float:hover {
    background-color: #1ebe57;
    transform: translateY(-5px);
    box-shadow: 0px 6px 20px rgba(0,0,0,0.4);
    color: #fff;
}

/* --- Lightbox Premium --- */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    border-radius: 15px;
    box-shadow: 0 0 40px rgba(220, 179, 109, 0.2);
    animation: zoomIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    object-fit: contain;
}

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

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #f1f1f1;
    font-size: 50px;
    font-weight: 300;
    transition: 0.3s;
    cursor: pointer;
}

.close-lightbox:hover,
.close-lightbox:focus {
    color: var(--primary-color);
    text-decoration: none;
}

/* --- Animations & Utilities --- */
.fade-up {
    animation: fadeUpAnim 1s ease both;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeUpAnim {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

/* Failsafe to ensure it shows if JS is broken */
@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
    }
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        margin-right: 20px;
        margin-bottom: 20px;
    }

    .glass-card {
        bottom: 20px;
        right: 20px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--bg-light);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 90;
        padding-top: 80px; /* Space for the navbar */
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .nav-links li a {
        color: var(--text-color);
        font-size: 1.8rem;
        font-weight: 600;
        font-family: 'Playfair Display', serif;
    }

    .nav-links li a:hover {
        color: var(--primary-color);
    }

    .menu-btn {
        display: block;
        z-index: 100;
        position: relative;
    }
    
    .theme-toggle {
        z-index: 100;
        position: relative;
    }

    .hero h1 {
        font-size: 2.8rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .social-links-large {
        flex-direction: column;
        align-items: center;
    }
    
    .social-btn {
        width: 100%;
        justify-content: center;
    }
}
