/** Inicio — Estilos de la página principal */

:root {
    --primary-gold: #D4AF37;
    --secondary-gold: #F4E4BC;
    --dark-navy: #1a1f36;
    --medium-navy: #2d3561;
    --light-navy: #434b7a;
    --cream: #FAF8F5;
    --pearl: #F8F6F0;
    --charcoal: #2C2C2C;
    --silver: #E8E8E8;
    --accent-rose: #D4A574;
    --soft-shadow: rgba(26, 31, 54, 0.1);
    --gold-gradient: linear-gradient(135deg, #D4AF37 0%, #F4E4BC 100%);
    --navy-gradient: linear-gradient(135deg, #1a1f36 0%, #2d3561 100%);
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--charcoal);
    background-color: var(--cream);
    overflow-x: hidden;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--dark-navy);
    font-weight: 500;
}

/* Hero Slider Section */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    background: var(--navy-gradient);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: scale(1.1);
}

.slide.active {
    opacity: 1;
    transform: scale(1);
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(26, 31, 54, 0.4), rgba(26, 31, 54, 0.6));
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 2rem;
    max-width: 800px;
    animation: slideUp 1s ease-out;
}

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

.slide-subtitle {
    font-size: 1.1rem;
    color: var(--secondary-gold);
    margin-bottom: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 300;
}

.slide-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.slide-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.8;
}

/* Elegant Buttons */
.btn-elegant {
    background: var(--gold-gradient);
    border: none;
    color: var(--dark-navy);
    padding: 15px 40px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
    text-decoration: none;
    display: inline-block;
}

.btn-elegant:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.4);
    color: var(--dark-navy);
}

.btn-elegant::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.btn-elegant:hover::before {
    left: 100%;
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 15px;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.nav-dot.active {
    background: var(--primary-gold);
    transform: scale(1.2);
    border-color: white;
}

/* Banner Section */
.banner-section {
    padding: 80px 0;
    background: var(--pearl);
}

.banner-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px var(--soft-shadow);
    transition: all 0.5s ease;
    background: white;
}

.banner-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(26, 31, 54, 0.15);
}

.banner-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.banner-content {
    position: absolute;
    top: 50%;
    right: 40px;
    transform: translateY(-50%);
    text-align: right;
    color: white;
    z-index: 2;
}

.banner-content h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--secondary-gold);
}

.banner-content h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: white;
}

/* Product Cards */
.product-section {
    padding: 100px 0;
    background: white;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title h2 {
    font-size: 2.8rem;
    color: var(--dark-navy);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gold-gradient);
    border-radius: 2px;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    margin-bottom: 30px;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.12);
}

.product-image-container {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.badge-new {
    background: var(--gold-gradient);
    color: var(--dark-navy);
}

.badge-sale {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

.badge-hot {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
}

.badge-out {
    background: linear-gradient(135deg, #95a5a6, #7f8c8d);
    color: white;
}

.product-info {
    padding: 25px;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-gold);
    margin-bottom: 10px;
}

.product-old-price {
    text-decoration: line-through;
    color: #999;
    margin-right: 10px;
    font-size: 1.2rem;
}

.product-name {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--dark-navy);
    line-height: 1.4;
}

.product-actions {
    display: flex;
    gap: 10px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateY(0);
}

.btn-add-cart {
    flex: 1;
    background: var(--dark-navy);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 500;
    cursor: pointer;
}

.btn-add-cart:hover {
    background: var(--primary-gold);
    color: var(--dark-navy);
}

.btn-action {
    width: 45px;
    height: 45px;
    border: 2px solid var(--silver);
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--charcoal);
    cursor: pointer;
}

.btn-action:hover {
    border-color: var(--primary-gold);
    background: var(--primary-gold);
    color: white;
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background: var(--navy-gradient);
    color: white;
    position: relative;
}

.testimonial-card {
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    text-align: center;
    position: relative;
    margin: 0 15px;
}

.quote-icon {
    font-size: 3rem;
    color: var(--secondary-gold);
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-author {
    font-weight: 600;
    color: var(--secondary-gold);
    font-size: 1.1rem;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: var(--pearl);
}

.feature-card {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gold-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: var(--dark-navy);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark-navy);
}

.feature-text {
    color: var(--charcoal);
    line-height: 1.6;
}

/* Blog Section */
.blog-section {
    padding: 100px 0;
    background: white;
}

.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    margin-bottom: 30px;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.12);
}

.blog-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-image {
    transform: scale(1.1);
}

.blog-content {
    padding: 25px;
}

.blog-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #666;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark-navy);
    line-height: 1.4;
}

.blog-excerpt {
    color: var(--charcoal);
    line-height: 1.6;
}

/* Social Media Section */
.social-section {
    background: var(--pearl);
    padding: 60px 0;
}

.social-section .container {
    padding-left: 15px;
    padding-right: 15px;
}

.social-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    color: var(--dark-navy);
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 0 10px;
}

.social-post {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.social-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.social-post img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.social-post-content {
    padding: 20px;
}

.social-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--primary-gold);
    font-weight: 500;
}

.social-text {
    color: var(--charcoal);
    line-height: 1.6;
}

/* Newsletter section */
.newsletter-section {
    background: var(--navy-gradient);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.newsletter-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.newsletter-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
}

.newsletter-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.newsletter-input {
    flex: 1;
    min-width: 250px;
    padding: 15px 20px;
    border: none;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1rem;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.newsletter-btn {
    padding: 15px 30px;
    background: var(--gold-gradient);
    border: none;
    border-radius: 50px;
    color: var(--dark-navy);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
}

/* Brands Section */
.brands-section {
    padding: 80px 0;
    background: var(--pearl);
}

.brand-item {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.brand-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.brand-item img {
    max-width: 120px;
    height: auto;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.brand-item:hover img {
    filter: grayscale(0%);
}

/* Scroll to top button */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gold-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-navy);
    text-decoration: none;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.scroll-top-btn.visible {
    opacity: 1;
}

.scroll-top-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    color: var(--dark-navy);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .slide-title {
        font-size: 2.5rem;
    }

    .slide-text {
        font-size: 1rem;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }

    .banner-content {
        right: 20px;
    }

    .banner-content h3 {
        font-size: 1.8rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-input {
        min-width: 100%;
    }

    .social-grid {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 0;
    }

    .social-post {
        margin: 0 15px 35px 15px;
        width: calc(100% - 30px);
    }

    .social-post:last-child {
        margin-bottom: 0;
    }

    .social-section .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Mejoras adicionales para móviles pequeños */
@media (max-width: 420px) {
    /* Hero */
    .hero-slider { height: 55vh; min-height: 320px; }
    .slide-content { padding: 1rem; max-width: 95%; }
    .slide-title { font-size: 1.6rem; line-height: 1.05; }
    .slide-subtitle { font-size: 0.85rem; }
    .slide-text { font-size: 0.9rem; max-width: 95%; margin-left: auto; margin-right: auto; }

    /* Productos: layout de una columna y acciones legibles */
    .col-lg-4, .col-md-6 { flex: 0 0 100%; max-width: 100%; }
    .product-image-container { height: 220px; }
    .product-actions { display: flex; opacity: 1; transform: none; gap: 8px; flex-wrap: wrap; }
    .btn-add-cart { width: 100%; padding: 14px; border-radius: 12px; font-size: 0.95rem; }
    .btn-action { width: 44px; height: 44px; }

    /* Banner cards */
    .banner-card img { height: 200px; object-position: center; }

    /* Newsletter, spacing */
    .newsletter-title { font-size: 1.6rem; }
    .newsletter-subtitle { font-size: 0.95rem; }

    /* Social posts - mejor espaciado en móviles */
    .social-section {
        padding: 40px 0;
    }

    .social-grid {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 0;
    }

    .social-post {
        margin: 0 20px 40px 20px;
        width: calc(100% - 40px);
        box-sizing: border-box;
    }

    .social-post:last-child {
        margin-bottom: 0;
    }

    .social-post-content {
        padding: 20px;
    }

    .social-title {
        margin-bottom: 40px;
        padding: 0 20px;
    }

    /* Reduce heavy animations for mobile */
    .slide, .product-card, .banner-card, .blog-card { transition-duration: 180ms; }
    .slide { will-change: transform, opacity; }
}

/* pequeñas tablets */
@media (max-width: 768px) {
    .slide-title { font-size: 2rem; }
    .product-image-container { height: 240px; }

    /* Social posts - espaciado en tablets */
    .social-grid {
        gap: 22px;
    }

    .social-post {
        margin-bottom: 22px;
    }
}