/* ==========================================================================
   AZ Marketing - Equinox Theme with Approved AZ 70/20/10 Gold & Navy Palette
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Alexandria:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@1,500;1,600;1,700&family=Tajawal:wght@300;400;500;700&family=Manrope:wght@400;500;600;700&display=swap');

:root {
    /* Approved Palette Swatches */
    --az-bg-deep: #04101F;
    --az-navy-dark: #071B33;
    --az-navy-mid: #0B2341;
    --az-navy-royal: #12365A;

    --az-gold-champagne: #E0C575;
    --az-gold-primary: #C7A246;
    --az-gold-deep: #A67C1B;
    --az-gold-dark: #876515;
    --az-gold-light: #F3E8CD;

    --az-card-bg: rgba(11, 35, 65, 0.75);
    --az-card-hover: rgba(18, 54, 90, 0.9);
    --az-border-gold: rgba(199, 162, 70, 0.3);
    --az-border-gold-hover: rgba(224, 197, 117, 0.7);
}

body {
    font-family: 'Tajawal', sans-serif;
    background-color: var(--az-bg-deep);
    color: #CBD5E1;
    overflow-x: hidden;
}

body.lang-en {
    font-family: 'Manrope', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Alexandria', sans-serif;
    color: #FFFFFF;
    letter-spacing: -0.5px;
}

.font-serif {
    font-family: 'Playfair Display', serif !important;
}

/* --------------------------------------------------------------------------
   1. Metallic Gold Gleaming Headline Text (Equinox Style)
   -------------------------------------------------------------------------- */
@keyframes goldGleam {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.text-gold-glow {
    background: linear-gradient(120deg, #FFFFFF 0%, #E0C575 25%, #C7A246 50%, #E0C575 75%, #FFFFFF 100%);
    background-size: 250% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: goldGleam 5s linear infinite;
    filter: drop-shadow(0 0 20px rgba(199, 162, 70, 0.45));
}

.bg-navy-deep {
    background-color: var(--az-bg-deep) !important;
}

/* Swatch Inspection Bar */
.az-swatch-bar-equinox {
    background: #071B33;
    color: #FFFFFF;
    border-bottom: 2px solid var(--az-gold-primary);
    padding: 0.65rem 1rem;
    box-shadow: 0 4px 20px rgba(4, 16, 31, 0.6);
}

.swatch-chip-eq {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    font-family: monospace;
    font-weight: 700;
    font-size: 0.76rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    user-select: none;
}

.swatch-chip-eq:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* --------------------------------------------------------------------------
   2. Equinox Hero Section with Gold/Navy Ambient Spotlights
   -------------------------------------------------------------------------- */
.hero-equinox-gold {
    position: relative;
    background-color: #04101F;
    background-image: 
        radial-gradient(circle at 50% 18%, rgba(199, 162, 70, 0.28) 0%, transparent 60%),
        radial-gradient(circle at 50% 55%, rgba(18, 54, 90, 0.4) 0%, transparent 55%),
        radial-gradient(circle at 15% 75%, rgba(166, 124, 27, 0.15) 0%, transparent 45%),
        radial-gradient(circle at 85% 75%, rgba(199, 162, 70, 0.15) 0%, transparent 45%);
    padding-top: 4.5rem;
    padding-bottom: 5rem;
}

.section-equinox-gold {
    position: relative;
    background-image: 
        radial-gradient(circle at 50% 20%, rgba(199, 162, 70, 0.16) 0%, transparent 65%);
}

/* Navbar */
.navbar-equinox-gold {
    background: rgba(4, 16, 31, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(199, 162, 70, 0.2);
}

.navbar-equinox-gold .nav-link {
    color: #CBD5E1 !important;
    font-weight: 500;
    font-size: 0.92rem;
    transition: color 0.25s ease;
}

.navbar-equinox-gold .nav-link:hover,
.navbar-equinox-gold .nav-link.active {
    color: var(--az-gold-champagne) !important;
}

/* Buttons */
.btn-equinox-white {
    background-color: #FFFFFF;
    color: #04101F !important;
    font-weight: 700;
    border-radius: 50px;
    border: none;
    padding: 0.75rem 1.9rem;
    font-size: 0.95rem;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.2);
}

.btn-equinox-white:hover {
    background-color: #F8FAFC;
    color: #04101F !important;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 35px rgba(255, 255, 255, 0.4);
}

.btn-equinox-gold {
    background: linear-gradient(135deg, #C7A246 0%, #A67C1B 100%);
    color: #04101F !important;
    font-weight: 700;
    border-radius: 50px;
    border: none;
    padding: 0.68rem 1.7rem;
    font-size: 0.92rem;
    box-shadow: 0 0 20px rgba(199, 162, 70, 0.4);
    transition: all 0.3s ease;
}

.btn-equinox-gold:hover {
    background: linear-gradient(135deg, #E0C575 0%, #C7A246 100%);
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(199, 162, 70, 0.6);
}

.btn-equinox-outline-gold {
    background: rgba(199, 162, 70, 0.06);
    color: var(--az-gold-champagne) !important;
    font-weight: 600;
    border-radius: 50px;
    border: 1px solid rgba(199, 162, 70, 0.4);
    padding: 0.75rem 1.9rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.btn-equinox-outline-gold:hover {
    background: rgba(199, 162, 70, 0.18);
    color: #FFFFFF !important;
    border-color: var(--az-gold-champagne);
    transform: translateY(-2px);
}

/* Badges & Pills */
.pill-badge-gold {
    background: rgba(7, 27, 51, 0.85);
    border: 1px solid rgba(199, 162, 70, 0.35);
    color: #E0C575;
    border-radius: 50px;
    padding: 0.45rem 1.25rem;
    font-size: 0.86rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: 0 4px 20px rgba(4, 16, 31, 0.4);
}

.feature-pill-gold {
    background: rgba(7, 27, 51, 0.65);
    border: 1px solid rgba(199, 162, 70, 0.25);
    color: #CBD5E1;
    border-radius: 50px;
    padding: 0.5rem 1.2rem;
    font-size: 0.88rem;
    backdrop-filter: blur(10px);
}

.status-dot-gold {
    width: 8px;
    height: 8px;
    background-color: #10B981;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 12px #10B981;
    animation: statusPulse 2s infinite ease-in-out;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.3); }
}

/* --------------------------------------------------------------------------
   3. 3D Gold & Navy Hero Ribbon Artwork
   -------------------------------------------------------------------------- */
@keyframes heroArtworkFloat {
    0%, 100% {
        transform: translateY(0px);
        box-shadow: 0 30px 80px rgba(4, 16, 31, 0.9), 0 0 50px rgba(199, 162, 70, 0.3);
    }
    50% {
        transform: translateY(-12px);
        box-shadow: 0 40px 95px rgba(4, 16, 31, 0.95), 0 0 75px rgba(224, 197, 117, 0.45);
    }
}

.hero-3d-wrapper-gold {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    border: 1.5px solid rgba(199, 162, 70, 0.4);
    background: #04101F;
    animation: heroArtworkFloat 6s ease-in-out infinite;
}

.hero-3d-artwork {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.hero-3d-wrapper-gold:hover .hero-3d-artwork {
    transform: scale(1.02);
}

/* --------------------------------------------------------------------------
   4. Equinox Glass Cards with AZ Gold Accents
   -------------------------------------------------------------------------- */
.equinox-card-gold {
    background: var(--az-card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--az-border-gold) !important;
    border-radius: 24px !important;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.equinox-card-gold:hover {
    background: var(--az-card-hover);
    border-color: var(--az-border-gold-hover) !important;
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 25px 50px rgba(4, 16, 31, 0.8), 0 0 35px rgba(199, 162, 70, 0.3) !important;
}

.card-icon-gold {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: linear-gradient(135deg, #C7A246 0%, #A67C1B 100%);
    color: #04101F;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 0 25px rgba(199, 162, 70, 0.4);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.equinox-card-gold:hover .card-icon-gold {
    transform: scale(1.12) rotate(-5deg);
    background: linear-gradient(135deg, #E0C575 0%, #C7A246 100%);
}

.process-step-gold {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #C7A246 0%, #A67C1B 100%);
    color: #04101F;
    font-weight: 800;
    font-size: 1.3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 25px rgba(199, 162, 70, 0.5);
}

/* Accordion Dark */
.accordion-equinox .accordion-item {
    background: rgba(11, 35, 65, 0.65) !important;
    border: 1px solid rgba(199, 162, 70, 0.25) !important;
    backdrop-filter: blur(14px);
}

.accordion-equinox .accordion-button {
    background: transparent !important;
    color: #FFFFFF !important;
    box-shadow: none !important;
    font-size: 1.05rem;
}

.accordion-equinox .accordion-button:not(.collapsed) {
    color: var(--az-gold-champagne) !important;
}

.accordion-equinox .accordion-button::after {
    filter: invert(1);
}

/* Inputs & Form Controls */
.form-control-dark, .form-select-dark {
    background-color: rgba(11, 35, 65, 0.85) !important;
    border: 1px solid rgba(199, 162, 70, 0.3) !important;
    color: #FFFFFF !important;
    border-radius: 14px;
}

.form-control-dark:focus, .form-select-dark:focus {
    border-color: var(--az-gold-champagne) !important;
    box-shadow: 0 0 20px rgba(224, 197, 117, 0.3) !important;
}

.form-range::-webkit-slider-thumb {
    background: var(--az-gold-primary);
    box-shadow: 0 0 15px var(--az-gold-primary);
}

/* Floating Actions */
.floating-container {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

body.lang-en .floating-container {
    left: auto;
    right: 25px;
}

.floating-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFF !important;
    font-size: 1.35rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.floating-btn:hover {
    transform: scale(1.15);
}

/* AI Assistant Widget */
.ai-widget {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9998;
}

body.lang-en .ai-widget {
    right: auto;
    left: 25px;
}

.ai-trigger {
    background: rgba(11, 35, 65, 0.95);
    border: 1.5px solid var(--az-gold-primary) !important;
    backdrop-filter: blur(16px);
    border-radius: 50px;
    padding: 0.55rem 1.25rem 0.55rem 0.8rem;
    color: #FFF;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(4, 16, 31, 0.8), 0 0 25px rgba(199, 162, 70, 0.4);
    transition: transform 0.3s ease;
}

.ai-trigger:hover {
    transform: translateY(-4px);
}

.ai-chat-box {
    position: fixed;
    bottom: 90px;
    right: 25px;
    width: 360px;
    max-width: 90vw;
    height: 480px;
    z-index: 10000;
    background: rgba(11, 35, 65, 0.96) !important;
    backdrop-filter: blur(24px);
    border: 1px solid rgba(199, 162, 70, 0.4) !important;
}

body.lang-en .ai-chat-box {
    right: auto;
    left: 25px;
}

.chat-msg {
    max-width: 85%;
    padding: 0.6rem 0.9rem;
    border-radius: 12px;
    font-size: 0.88rem;
}

.chat-msg-agent {
    background-color: rgba(18, 54, 90, 0.9);
    color: #FFFFFF;
    align-self: flex-start;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-msg-user {
    background: linear-gradient(135deg, #C7A246 0%, #A67C1B 100%);
    color: #04101F;
    font-weight: 700;
    align-self: flex-end;
}
