/* Luxury Premium Theme Enhancements */
:root {
    --gold-primary: #BDA55D;
    --gold-light: #EAD8B1;
    --gold-dark: #8E7341;
    --luxury-indigo: #1e1b4b;
    --luxury-slate: #0f172a;
    --luxury-white: #ffffff;
    --luxury-black: #050505;
}

@keyframes ken-burns {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.animate-ken-burns {
    animation: ken-burns 20s ease-in-out infinite alternate;
}

/* Pure White Theme Overrides - Refined for Luxury */
body.white-theme {
    background-color: var(--luxury-white) !important;
    color: var(--luxury-slate) !important;
}

/* Navbar Enhancements */
body.white-theme nav {
    background: rgba(255, 255, 255, 0.98) !important;
    border-bottom: 1px solid rgba(30, 27, 75, 0.05) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03) !important;
}

body.white-theme nav a {
    color: var(--luxury-slate) !important;
    font-weight: 500;
    letter-spacing: 0.1em;
}

body.white-theme nav a:hover {
    color: var(--gold-primary) !important;
}

/* Hero Section Text Protection */
body.white-theme #home h1,
body.white-theme #home h2,
body.white-theme #home p,
body.white-theme #home span:not(.text-gold-400) {
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Headings elsewhere */
body.white-theme section:not(#home) h2 {
    color: var(--luxury-indigo) !important;
    position: relative;
    padding-bottom: 1rem;
}

body.white-theme section:not(#home) h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--gold-primary);
}

/* Service & Project Cards - Premium Styling */
body.white-theme .service-card,
body.white-theme .project-card-premium {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(189, 165, 93, 0.15) !important;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.03) !important;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

body.white-theme .service-card:hover,
body.white-theme .project-card-premium:hover {
    transform: translateY(-8px) scale(1.01) !important;
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 20px 40px -12px rgba(189, 165, 93, 0.2) !important;
    border-color: rgba(189, 165, 93, 0.4) !important;
}

/* Metallic Gold Text */
body.white-theme .text-gold-400 {
    background: linear-gradient(135deg, #8E7341 0%, #BDA55D 50%, #8E7341 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

/* Premium Buttons */
body.white-theme .premium-cta-button {
    background: linear-gradient(135deg, var(--luxury-indigo) 0%, var(--luxury-slate) 100%) !important;
    border: none !important;
    box-shadow: 0 10px 20px -5px rgba(30, 27, 75, 0.3) !important;
}

body.white-theme .premium-cta-button:hover {
    box-shadow: 0 15px 30px -5px rgba(30, 27, 75, 0.4) !important;
    transform: translateY(-2px);
}

/* Footer Refinement */
body.white-theme footer {
    background: var(--luxury-slate) !important;
    color: #94a3b8 !important;
}

body.white-theme footer .text-white {
    color: var(--luxury-white) !important;
}

/* Dark Theme Subtle Refinements */
body:not(.white-theme) {
    background-color: var(--luxury-black);
}

body:not(.white-theme) .service-card,
body:not(.white-theme) .project-card-premium {
    background: rgba(13, 17, 23, 0.6) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

body:not(.white-theme) .service-card:hover,
body:not(.white-theme) .project-card-premium:hover {
    background: rgba(13, 17, 23, 0.9) !important;
    border-color: rgba(189, 165, 93, 0.3) !important;
    box-shadow: 0 20px 50px -12px rgba(189, 165, 93, 0.1) !important;
    transform: translateY(-8px) scale(1.01) !important;
}

/* Mobile Drawer Navigation Styles */
.drawer-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 24px;
    color: #d1d5db;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
}

.drawer-link:hover {
    background-color: rgba(255, 255, 255, 0.03);
    color: var(--gold-primary);
}

.drawer-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
}

.drawer-text {
    flex: 1;
    font-family: 'Inter', sans-serif;
}

.drawer-text-secondary {
    flex: 1;
    font-size: 0.9rem;
    color: #9ca3af;
    font-family: 'Inter', sans-serif;
}

#mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav-active {
    color: var(--gold-primary) !important;
    background: rgba(189, 165, 93, 0.1);
}

/* Text Contrast Improvements */
.text-gray-500 {
    color: #9ca3af !important;
    /* Lightened from default gray-500 */
}

.text-gray-400 {
    color: #d1d5db !important;
    /* Lightened from default gray-400 */
}

.text-gray-300 {
    color: #e5e7eb !important;
}