/*
Theme Name: Harmony Event Luxe
Theme URI: https://harmony-art-event.com
Author: Amanus
Description: Une expérience ultra-premium pour l'événementiel de luxe. Le thème Harmony Event Luxe combine une esthétique Haute Couture avec des fonctionnalités de pointe : Navigation Cinématique, Glassmorphism évolutif, Mode Sombre persistant, Animations par Scroll (Intersection Observer), et une optimisation SEO complète. Entièrement personnalisable via l'API Customizer de WordPress.
Version: 1.0.0
Text Domain: harmony-event-luxe
Tags: luxury, black-and-gold, wedding, corporate, events, glassmorphism, dark-mode, responsive
*/

:root {
    --primary-color: #d4af37;
    --primary-light: #f1d592;
    --primary-dark: #aa8c2c;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

body {
    font-family: var(--font-body);
    background-color: #0f0d0b;
    color: #f7f7f7;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

.dark body {
    background-color: #0f0d0b;
    color: #f7f7f7;
}

/* Luxury Typography */
h1,
h2,
h3,
h4,
.font-luxury {
    font-family: var(--font-heading);
}

.tracking-premium {
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* Glassmorphism */
.glass-premium {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dark .glass-premium {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Animated Gradient Border */
/* Premium Buttons */
.btn-gold {
    position: relative;
    background: linear-gradient(135deg, #d4af37 0%, #f1d592 50%, #d4af37 100%);
    background-size: 200% auto;
    border: none;
    color: #000 !important;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
    overflow: hidden;
}

.btn-gold:hover {
    background-position: right center;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.4);
}

.btn-gold::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(30deg);
    transition: all 0.7s cubic-bezier(0.19, 1, 0.22, 1);
    opacity: 0;
}

.btn-gold:hover::after {
    left: 120%;
    opacity: 1;
}

.btn-outline-gold {
    position: relative;
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.5);
    color: #d4af37 !important;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: all 0.4s ease;
    overflow: hidden;
}

.btn-outline-gold:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: #d4af37;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.1);
}

/* Mobile Responsiveness & Fluid Typography */
@media (max-width: 768px) {
    h1 {
        font-size: 3rem !important;
        line-height: 1.1 !important;
    }

    h2 {
        font-size: 2.5rem !important;
    }

    h3 {
        font-size: 2rem !important;
    }

    .section-padding {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .btn-gold,
    .btn-outline-gold {
        width: 100%;
        text-align: center;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
}

/* Luxury Utilities */
.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.text-gradient {
    background: linear-gradient(to right, var(--primary-color), #f1d592, var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: shine 3s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

/* Advanced Masonry */
.masonry-grid {
    columns: 1;
    column-gap: 1.5rem;
}

@media (min-width: 640px) {
    .masonry-grid {
        columns: 2;
    }
}

@media (min-width: 1024px) {
    .masonry-grid {
        columns: 3;
    }
}

.masonry-grid>* {
    break-inside: avoid;
    margin-bottom: 1.5rem;
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Transitions */
.hover-lift {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hover-lift:hover {
    transform: translateY(-8px);
}

/* Preloader */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #1a1310;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s;
}

.loader-logo {
    width: 60px;
    height: 60px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1.2s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
}

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

/* Reveal Framework */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    background: var(--primary-color);
    color: #1a1310;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(15deg);
    background: #fff;
    color: var(--primary-color);
}

/* Custom Login Styles */
.login h1 a {
    background-image: none !important;
    text-indent: 0 !important;
    width: auto !important;
    height: auto !important;
    font-weight: 900;
    color: var(--primary-color) !important;
    text-transform: uppercase;
    font-size: 32px !important;
    font-family: var(--font-heading);
}

.login form {
    background: #1a1310 !important;
    border: 1px solid var(--primary-color) !important;
    border-radius: 20px !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5) !important;
}

.login #wp-submit {
    background: var(--primary-color) !important;
    border: none !important;
    color: #1a1310 !important;
    font-weight: bold !important;
    border-radius: 10px !important;
    padding: 0 20px !important;
}

/* Luxury Cards */
.card-luxury {
    background: white;
    border: 1px solid rgba(212, 175, 55, 0.08);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 24px;
    overflow: hidden;
}

.dark .card-luxury {
    background: rgba(26, 19, 16, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.card-luxury:hover {
    transform: translateY(-12px);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15);
}

/* Gold Sweep animation */
.text-gold-sweep {
    background: linear-gradient(72deg, #aa8c2c 0%, #d4af37 25%, #f1d592 50%, #d4af37 75%, #aa8c2c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: gold-sweep 4s linear infinite;
}

@keyframes gold-sweep {
    to {
        background-position: 200% center;
    }
}

/* Parallax Utilities */
.bg-parallax {
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}

@media (max-width: 1024px) {
    .bg-parallax {
        background-attachment: scroll;
    }
}

/* ========================
   PREMIUM LOGIN BUTTON
   ======================== */
.login #wp-submit {
    background: linear-gradient(135deg, #d4af37, #f1d592, #d4af37) !important;
    background-size: 200% !important;
    border: none !important;
    color: #000 !important;
    font-weight: 900 !important;
    letter-spacing: 0.1em !important;
    border-radius: 12px !important;
    padding: 0 30px !important;
    transition: all 0.4s ease !important;
    text-transform: uppercase !important;
    font-size: 11px !important;
}

.login #wp-submit:hover {
    background-position: right center !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.4) !important;
}

/* ========================
   LUXURY BADGE
   ======================== */
.badge-luxe {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    border-radius: 999px;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.25);
    color: #d4af37;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.4em;
    text-transform: uppercase;
}

.badge-luxe::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #d4af37;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.7);
    }
}

/* ========================
   GOLD DIVIDER
   ======================== */
.divider-gold {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
    margin: 0 auto;
}

/* ========================
   CARD HOVER GLOW
   ======================== */
.card-glow:hover {
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.15), 0 30px 60px rgba(0, 0, 0, 0.2);
}

/* ========================
   SHIMMER EFFECT (Loading / Highlight)
   ======================== */
.shimmer-effect {
    position: relative;
    overflow: hidden;
}

.shimmer-effect::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(100deg,
            transparent 0%,
            rgba(255, 255, 255, 0.05) 50%,
            transparent 100%);
    transform: skewX(-15deg);
    animation: shimmer-slide 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes shimmer-slide {
    0% {
        left: -100%;
    }

    100% {
        left: 200%;
    }
}

/* ========================
   NAV RSVP BUTTON ENHANCED
   ======================== */
#site-header .btn-gold {
    font-size: 9px !important;
    letter-spacing: 0.25em;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

#site-header .btn-gold:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 28px rgba(212, 175, 55, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* ========================
   SUBTLE SECTION SEPARATOR
   ======================== */
.section-sep {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
    margin: 0;
}

/* ========================
   MOBILE MENU LINK STYLE
   ======================== */
#mobile-menu a {
    display: block;
    padding: 14px 24px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: inherit;
    border-bottom: 1px solid rgba(212, 175, 55, 0.05);
    transition: color 0.3s ease, padding-left 0.3s ease;
}

#mobile-menu a:hover {
    color: #d4af37;
    padding-left: 36px;
}

/* ==========================================================================
   CSS3 ANIMATIONS (Scroll Reveal via Intersection Observer)
   ========================================================================== */
.reveal,
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.165, 0.84, 0.44, 1), transform 1s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: opacity, transform;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 1s cubic-bezier(0.165, 0.84, 0.44, 1), transform 1s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: opacity, transform;
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 1s cubic-bezier(0.165, 0.84, 0.44, 1), transform 1s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: opacity, transform;
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 1.2s cubic-bezier(0.165, 0.84, 0.44, 1), transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: opacity, transform;
}

/* Active states applied by JS */
.is-revealed {
    opacity: 1 !important;
    transform: translate(0) scale(1) !important;
}

/* Add slight delays for cascading effects if needed */
.delay-100 {
    transition-delay: 100ms;
}

.delay-200 {
    transition-delay: 200ms;
}

.delay-300 {
    transition-delay: 300ms;
}

.delay-400 {
    transition-delay: 400ms;
}


/* ==========================================================================
   Base Overrides
   ========================================================================== */
/* ========================
   ANIMATED COUNTER
   ======================== */
.count-up {
    font-variant-numeric: tabular-nums;
}

/* ========================
   SCROLL PROGRESS BAR
   ======================== */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, #aa8c2c, #f1d592, #aa8c2c);
    z-index: 9998;
    width: 0%;
    transition: width 0.1s linear;
    background-size: 200% auto;
    animation: gold-sweep 2s linear infinite;
}

/* ========================
   LUXURY TOOLTIP ON HOVER
   ======================== */
[data-tip] {
    position: relative;
}

[data-tip]::after {
    content: attr(data-tip);
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background: #1a1310;
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: #d4af37;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

[data-tip]:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   GLOBAL LUXURY SELECTION LISTS
   ========================================================================== */

/* Custom Dropdown (Select) */
select {
    appearance: none !important;
    -webkit-appearance: none !important;
    background-color: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 14px !important;
    padding: 14px 44px 14px 20px !important;
    font-size: 13px !important;
    color: rgba(255, 255, 255, 0.6) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4af37' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 18px center !important;
    background-size: 16px !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    cursor: pointer;
}

select:focus {
    border-color: #d4af37 !important;
    background-color: rgba(212, 175, 55, 0.05) !important;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1) !important;
    color: #fff !important;
    outline: none !important;
}

/* Custom Checkbox Design */
input[type="checkbox"] {
    appearance: none !important;
    -webkit-appearance: none !important;
    width: 20px;
    height: 20px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    vertical-align: middle;
}

input[type="checkbox"]:checked {
    background: #d4af37;
    border-color: #d4af37;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 12px;
    font-weight: 900;
}

/* Custom Radio Design */
input[type="radio"]:not(.sr-only) {
    appearance: none !important;
    -webkit-appearance: none !important;
    width: 20px;
    height: 20px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

input[type="radio"]:not(.sr-only):checked {
    border-color: #d4af37;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

input[type="radio"]:not(.sr-only):checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d4af37;
}

/* Luxury Form Labels */
label {
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(212, 175, 55, 0.8);
    margin-bottom: 8px;
    display: block;
}

/* ==========================================================================
   ELEMENTOR ULTRA-PREMIUM WIDGETS STYLES
   ========================================================================== */

/* 1. COLLECTIONS GRID (Mariage VIP)
   Usage: Add 'collections-container' to Section, 'card-featured' to central Column
   -------------------------------------------------------------------------- */
.collections-container .elementor-column {
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.card-featured>.elementor-widget-wrap {
    border: 2px solid #d4af37 !important;
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(15px);
    position: relative;
    z-index: 10;
    transform: scale(1.05);
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.15) !important;
}

@media (max-width: 1024px) {
    .card-featured>.elementor-widget-wrap {
        transform: scale(1);
        margin: 20px 0;
    }
}

.card-featured::before {
    content: '';
    position: absolute;
    inset: -10px;
    background: linear-gradient(45deg, transparent, #d4af37, transparent);
    filter: blur(20px);
    opacity: 0.3;
    animation: gold-pulse 4s infinite alternate;
    z-index: -1;
}

@keyframes gold-pulse {
    from {
        opacity: 0.1;
        transform: scale(0.98);
    }

    to {
        opacity: 0.4;
        transform: scale(1.02);
    }
}

/* 2. TESTIMONIAL SLIDER CINEMATIC
   Usage: Add 'testimonial-luxe' to Testimonial Carousel widget
   -------------------------------------------------------------------------- */
.testimonial-luxe .elementor-testimonial-content {
    font-family: var(--harmony-font-heading), 'Playfair Display', serif !important;
    font-style: italic !important;
    font-size: 2.5rem !important;
    line-height: 1.2 !important;
    color: #fff !important;
    opacity: 0.8;
    margin-bottom: 30px;
    text-align: center;
}

@media (max-width: 768px) {
    .testimonial-luxe .elementor-testimonial-content {
        font-size: 1.5rem !important;
    }
}

.testimonial-luxe .elementor-swiper-button {
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    border-radius: 50% !important;
    width: 60px !important;
    height: 60px !important;
    background: transparent !important;
    transition: all 0.4s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

@media (max-width: 768px) {
    .testimonial-luxe .elementor-swiper-button {
        width: 40px !important;
        height: 40px !important;
    }
}

.testimonial-luxe .elementor-swiper-button:hover {
    background: #d4af37 !important;
    border-color: #d4af37 !important;
    color: #000 !important;
}

.testimonial-luxe .elementor-swiper-button i {
    font-size: 20px !important;
}

/* 3. EXPERTISE INTERACTIVE CARDS
   Usage: Add 'expertise-card' to Container or Column with Background Image
   -------------------------------------------------------------------------- */
.expertise-card {
    height: 450px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    border-radius: 30px;
    transition: all 0.5s ease;
}

@media (max-width: 768px) {
    .expertise-card {
        height: 350px;
        margin-bottom: 20px;
    }
}

.expertise-card .elementor-background-overlay,
.expertise-card .elementor-widget-container-inner {
    transition: transform 2s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.expertise-card:hover .elementor-background-overlay {
    transform: scale(1.1);
    filter: grayscale(0) brightness(0.6) !important;
}

.expertise-card .elementor-widget-container {
    padding: 40px;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    transform: translateY(30px);
    transition: all 0.6s ease;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

@media (max-width: 768px) {
    .expertise-card .elementor-widget-container {
        transform: translateY(0);
        padding: 20px;
    }
}

.expertise-card:hover .elementor-widget-container {
    transform: translateY(0);
}

.expertise-card h3 {
    color: #d4af37 !important;
    font-family: var(--harmony-font-heading), 'Playfair Display', serif !important;
    font-size: 2rem !important;
    margin-bottom: 10px !important;
}

@media (max-width: 768px) {
    .expertise-card h3 {
        font-size: 1.5rem !important;
    }
}

.expertise-card p {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
    opacity: 0;
    transition: opacity 0.6s ease 0.2s;
}

@media (max-width: 768px) {
    .expertise-card p {
        opacity: 1;
        font-size: 0.8rem !important;
    }
}

.expertise-card:hover p {
    opacity: 1;
}

/* Fix for Overflow on Mobile */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}