/**
 * Hero Best-sellers - Hero Section
 * Theme: Hello Elementor Child
 * Version: 1.0.0
 */

.hero-bestsellers {
    position: relative;
    width: 100%;
    min-height: 80vh;
    background: #ffffff;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Fond avec motif subtil */
.hero-bs-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-image: radial-gradient(circle, #c1a35f 1px, transparent 1px);
    background-size: 40px 40px;
}

/* Éléments décoratifs dorés */
.hero-bs-circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(193, 163, 95, 0.15);
}

.hero-bs-circle-1 {
    width: 400px;
    height: 400px;
    top: -150px;
    right: -100px;
    animation: float-slow 20s infinite ease-in-out;
}

.hero-bs-circle-2 {
    width: 300px;
    height: 300px;
    bottom: -100px;
    left: -80px;
    animation: float-slow 25s infinite ease-in-out reverse;
}

@keyframes float-slow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.1); }
}

/* Particules subtiles */
.hero-bs-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #c1a35f;
    border-radius: 50%;
    opacity: 0.4;
    animation: twinkle 4s infinite ease-in-out;
}

.hero-bs-particle:nth-child(1) { top: 25%; left: 15%; animation-delay: 0s; }
.hero-bs-particle:nth-child(2) { top: 60%; left: 25%; animation-delay: 1s; }
.hero-bs-particle:nth-child(3) { top: 40%; left: 80%; animation-delay: 2s; }
.hero-bs-particle:nth-child(4) { top: 70%; left: 70%; animation-delay: 3s; }

@keyframes twinkle {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.5); }
}

.hero-bs-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    z-index: 2;
}

/* Contenu texte */
.hero-bs-content {
    color: #1a1a1a;
}

.hero-bs-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: linear-gradient(135deg, #c1a35f 0%, #d4b76f 100%);
    border-radius: 30px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
    animation: slideInLeft 0.8s ease-out;
    box-shadow: 0 4px 15px rgba(193, 163, 95, 0.3);
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-bs-title {
    font-size: 68px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #1a1a1a;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-bs-title-accent {
    display: block;
    background: linear-gradient(135deg, #c1a35f 0%, #d4b76f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-bs-subtitle {
    font-size: 20px;
    color: #666666;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 500px;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

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

/* Stats élégantes */
.hero-bs-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out 0.5s backwards;
}

.hero-bs-stat {
    text-align: left;
}

.hero-bs-stat-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.hero-bs-stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #c1a35f;
    margin-bottom: 4px;
    line-height: 1;
}

.hero-bs-stat-label {
    font-size: 13px;
    color: #999999;
    font-weight: 500;
}

/* CTA */
.hero-bs-cta {
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.hero-bs-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    background: #1a1a1a;
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-bs-btn:hover {
    background: #c1a35f;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(193, 163, 95, 0.3);
}

.hero-bs-btn svg {
    transition: transform 0.3s;
}

.hero-bs-btn:hover svg {
    transform: translateX(5px);
}

/* Section visuelle */
.hero-bs-visual {
    position: relative;
    animation: fadeInRight 1s ease-out 0.4s backwards;
}

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

.hero-bs-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.hero-bs-image-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    min-height: 250px;
}

.hero-bs-image-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(193, 163, 95, 0.2);
}

.hero-bs-image-card:first-child {
    grid-row: span 2;
    min-height: 520px;
}

.hero-bs-image-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-bs-image-card:hover img {
    transform: scale(1.05);
}

/* Badge bestseller sur images */
.bs-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #c1a35f;
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(193, 163, 95, 0.4);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Info overlay au survol */
.hero-bs-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
    color: #ffffff;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-bs-image-card:hover .hero-bs-overlay {
    transform: translateY(0);
}

.hero-bs-product-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
}

.hero-bs-product-price {
    font-size: 20px;
    color: #c1a35f;
    font-weight: 700;
}

/* Responsive */
@media (max-width: 968px) {
    .hero-bs-container {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 60px 30px;
    }

    .hero-bs-title {
        font-size: 48px;
    }

    .hero-bs-visual {
        order: -1;
    }

    .hero-bs-stats {
        justify-content: space-between;
    }
}

@media (max-width: 640px) {
    .hero-bestsellers {
        min-height: auto;
    }

    .hero-bs-container {
        padding: 40px 20px;
    }

    .hero-bs-title {
        font-size: 36px;
    }

    .hero-bs-subtitle {
        font-size: 16px;
    }

    .hero-bs-stats {
        flex-wrap: wrap;
        gap: 25px;
    }

    .hero-bs-stat {
        flex: 1 1 45%;
    }

    .hero-bs-btn {
        width: 100%;
        justify-content: center;
    }

    .hero-bs-images {
        grid-template-columns: 1fr;
    }

    .hero-bs-image-card:first-child {
        grid-row: auto;
    }
}
