/**
 * Améliorations Luxe - Mayram Fashion House
 * Effets premium et sophistiqués
 */

/* === HERO SECTION AMÉLIORÉE === */

.hero-enhanced {
    position: relative;
    overflow: hidden;
}

.hero-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(var(--secondary-rgb), 0.1),
        transparent
    );
    animation: heroShine 8s infinite;
}

@keyframes heroShine {
    0%, 100% { left: -100%; }
    50% { left: 100%; }
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: rgba(var(--secondary-rgb), 0.3);
    border-radius: 50%;
    animation: floatParticle 20s infinite ease-in-out;
}

@keyframes floatParticle {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translate(100px, -100px) scale(0);
    }
}

/* === PRODUCT CARD PREMIUM === */

.product-card-premium {
    position: relative;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.product-card-premium::before {
    display: none;
}

.product-card-premium .product-badge {
    /* Pas d'animation */
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* === SECTION DIVIDERS === */

.section-divider {
    position: relative;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--secondary-color),
        transparent
    );
    margin: 4rem 0;
}

.section-divider::before,
.section-divider::after {
    content: '◆';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary-color);
    font-size: 0.75rem;
}

.section-divider::before {
    left: -1rem;
}

.section-divider::after {
    right: -1rem;
}

/* === PRICE TAG ÉLÉGANT === */

.price-tag-elegant {
    position: relative;
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2d2d2d 100%);
    color: var(--secondary-color);
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.5rem;
    box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.3);
}

.price-tag-elegant::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-highlight));
    border-radius: 14px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.price-tag-elegant:hover::before {
    opacity: 1;
}

/* === TESTIMONIAL CARD LUXE === */

.testimonial-luxe {
    position: relative;
    padding: 2.5rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--secondary-color);
    transition: all 0.4s ease;
}

.testimonial-luxe::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 5rem;
    font-family: Georgia, serif;
    color: rgba(var(--secondary-rgb), 0.15);
    line-height: 1;
}

.testimonial-luxe:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 50px rgba(var(--secondary-rgb), 0.15);
}

/* === CALL-TO-ACTION SECTION === */

.cta-premium {
    position: relative;
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color-dark) 100%);
    overflow: hidden;
}

.cta-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(to right, rgba(var(--secondary-rgb), 0.1) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(var(--secondary-rgb), 0.1) 1px, transparent 1px);
    background-size: 100px 100px;
    opacity: 0.3;
}

/* === NAVBAR AMÉLIORÉE === */

.navbar-premium {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
    transition: all 0.3s ease;
}

.navbar-premium.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-link-premium {
    position: relative;
    padding: 0.5rem 1rem;
}

.nav-link-premium::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-link-premium:hover::after,
.nav-link-premium.active::after {
    width: 80%;
}

/* === FOOTER ÉLÉGANT === */

.footer-premium {
    position: relative;
    background: #0a0a0a;
}

.footer-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--secondary-color),
        transparent
    );
}

/* === IMAGE OVERLAY === */

.image-overlay-premium {
    position: relative;
    overflow: hidden;
}

.image-overlay-premium::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(var(--primary-rgb), 0.7) 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}

.image-overlay-premium:hover::after {
    opacity: 1;
}

/* === SEARCH BAR AMÉLIORÉE === */

.search-premium {
    position: relative;
}

.search-premium input {
    padding: 1rem 1.5rem 1rem 3.5rem;
    border: 2px solid transparent;
    background: white;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.search-premium input:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 8px 30px rgba(var(--secondary-rgb), 0.2);
}

.search-premium::before {
    content: '🔍';
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
}

/* === STATISTICS COUNTERS === */

.stat-counter {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-highlight) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === SOCIAL LINKS AMÉLIORÉS === */

.social-link-premium {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color-dark) 100%);
    color: var(--secondary-color);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow: hidden;
}

.social-link-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-highlight) 100%);
    transform: scale(0);
    border-radius: 50%;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.social-link-premium:hover {
    transform: translateY(-5px) rotate(360deg);
}

.social-link-premium:hover::before {
    transform: scale(1);
}

.social-link-premium svg {
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.social-link-premium:hover svg {
    color: white;
}

/* === BREADCRUMB ÉLÉGANT === */

.breadcrumb-premium {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0;
}

.breadcrumb-premium a {
    position: relative;
    color: #666;
    transition: color 0.3s ease;
}

.breadcrumb-premium a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.breadcrumb-premium a:hover {
    color: var(--secondary-color);
}

.breadcrumb-premium a:hover::after {
    width: 100%;
}

/* === SCROLL PROGRESS BAR === */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--secondary-highlight));
    transform-origin: left;
    z-index: 9999;
    transition: transform 0.1s ease;
}

/* === MODAL AMÉLIORÉ === */

.modal-premium {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-premium.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content-premium {
    background: white;
    border-radius: 24px;
    padding: 3rem;
    max-width: 600px;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.modal-premium.active .modal-content-premium {
    transform: scale(1);
}
