/* Custom CSS for animations and effects that require CSS */

/* Preloader Animation */
#aulne-preloader {
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
    z-index: 9999;
}

#aulne-preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Main content fade in - initialement visible pour éviter page noire */
.aulne-main {
    opacity: 1;
    transition: opacity 1.2s ease-in-out;
}

/* Reveal on Scroll */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.reveal-on-scroll[data-delay="200"] {
    transition-delay: 0.2s;
}

.reveal-on-scroll[data-delay="400"] {
    transition-delay: 0.4s;
}

.reveal-on-scroll[data-delay="600"] {
    transition-delay: 0.6s;
}

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

/* Header Navigation */
.aulne-header {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

.aulne-header.visible {
    transform: translateY(0);
}

/* Custom scrollbar (optional) */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #050505;
}

::-webkit-scrollbar-thumb {
    background: #d4af37;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #b8941f;
}

/* Fix pour WordPress - Styles des boutons */
.aulne-btn,
a.aulne-btn,
button.aulne-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    padding: 0.75rem 1.5rem !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    font-family: 'Inter', sans-serif !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    background-color: transparent !important;
}

.aulne-btn:hover,
a.aulne-btn:hover,
button.aulne-btn:hover {
    background-color: #ffffff !important;
    color: #000000 !important;
    border-color: #ffffff !important;
}

/* Fix pour WordPress - Section Introduction */
.aulne-intro {
    padding: 4rem 0 !important;
    background-color: #050505 !important;
}

.aulne-intro__text {
    opacity: 1 !important;
}

.aulne-intro__text h2 {
    color: #ffffff !important;
}

.aulne-intro__text h2 em {
    color: #d4af37 !important;
}

.aulne-intro__text p {
    font-size: 1rem !important;
    line-height: 1.75 !important;
    color: rgba(255, 255, 255, 0.8) !important;
}

@media (min-width: 768px) {
    .aulne-intro {
        padding: 6rem 0 !important;
    }
    
    .aulne-intro__text p {
        font-size: 1.125rem !important;
    }
}

/* Fix pour WordPress - CTA Hero Section */
.aulne-hero a[href*="shop"] {
    display: inline-block !important;
    padding: 0.75rem 2rem !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    font-family: 'Inter', sans-serif !important;
    background-color: transparent !important;
}

.aulne-hero a[href*="shop"]:hover {
    background-color: #ffffff !important;
    color: #000000 !important;
    border-color: #ffffff !important;
}

/* Fix pour WordPress - Boutons Découvrir (uniquement dans la section collection) */
.aulne-collection a[href*="product"]:not(.aulne-btn),
.aulne-collection a[href*="shop"]:not(.aulne-btn) {
    display: inline-block !important;
    padding: 0.5rem 1.5rem !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.aulne-collection a[href*="product"]:hover,
.aulne-collection a[href*="shop"]:hover {
    background-color: #ffffff !important;
    color: #000000 !important;
    border-color: #ffffff !important;
}


