/* Al-Habibi Hookah - Luxury Premium Dark Arabic Stylesheet */
/* Theme: Luxury Premium Dark Arabic */
/* Colors: Background #050505, Secondary #111111, Card #1A1A1A, Gold #C89B5A, Bright Gold #D8B06A */

:root {
    /* Luxury Premium Palette */
    --bg-primary: #050505;
    --bg-secondary: #111111;
    --bg-card: #1A1A1A;
    --bg-elevated: #0a0a0a;
    
    --gold-primary: #C89B5A;
    --gold-bright: #D8B06A;
    --gold-dark: #8A6232;
    --gold-muted: #9A7B4A;
    
    --text-primary: #F5F5F5;
    --text-secondary: #A0A0A0;
    --text-muted: #6B6B6B;
    
    --border-gold: rgba(200, 155, 90, 0.15);
    --border-gold-hover: rgba(200, 155, 90, 0.4);
    --border-subtle: rgba(255, 255, 255, 0.05);
    
    --shadow-premium: 0 8px 32px rgba(0, 0, 0, 0.6);
    --shadow-gold: 0 0 30px rgba(200, 155, 90, 0.15);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
    
    /* Legacy compatibility */
    --primary: #C89B5A;
    --on-primary: #050505;
    --background: #050505;
    --on-background: #F5F5F5;
    --surface-container: #1A1A1A;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    font-weight: 400;
    letter-spacing: 0.02em;
}

/* Typography */
.font-display {
    font-family: 'Cinzel', serif;
    font-weight: 400;
    letter-spacing: 0.1em;
}

.font-heading {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    letter-spacing: 0.05em;
}

.font-body {
    font-family: 'Montserrat', sans-serif;
}

/* Luxury Gold Gradient Button */
.gold-gradient {
    background: linear-gradient(135deg, #C89B5A 0%, #8A6232 100%);
    color: #050505;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(200, 155, 90, 0.2);
}

.gold-gradient:hover {
    background: linear-gradient(135deg, #D8B06A 0%, #C89B5A 100%);
    box-shadow: 0 8px 30px rgba(200, 155, 90, 0.4);
    transform: translateY(-2px);
}

/* Luxury Outline Button */
.btn-outline-gold {
    background: transparent;
    border: 1px solid var(--border-gold-hover);
    color: var(--gold-primary);
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-outline-gold:hover {
    border-color: var(--gold-primary);
    background: rgba(200, 155, 90, 0.08);
    color: var(--gold-bright);
    box-shadow: 0 0 20px rgba(200, 155, 90, 0.15);
}

/* Rim Light - Thin Gold Border */
.rim-light {
    border: 1px solid var(--border-gold);
    transition: border-color 0.4s ease;
}

.rim-light:hover {
    border-color: var(--border-gold-hover);
}

/* Glass Panel - Premium Matte */
.glass-panel {
    background: rgba(17, 17, 17, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-gold);
}

/* Luxury Card */
.luxury-card {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    box-shadow: var(--shadow-card);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.luxury-card:hover {
    border-color: var(--border-gold-hover);
    box-shadow: var(--shadow-gold), var(--shadow-card);
    transform: translateY(-4px);
}

/* Cinematic Smoke Overlay */
.smoke-overlay {
    background: 
        radial-gradient(circle at 20% 80%, rgba(200, 155, 90, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(200, 155, 90, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, transparent 0%, var(--bg-primary) 100%);
    pointer-events: none;
}

/* Premium Vignette */
.vignette {
    background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.6) 100%);
}

/* Gold Text Gradient */
.text-gold-gradient {
    background: linear-gradient(135deg, #D8B06A 0%, #C89B5A 50%, #8A6232 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtle Glow Effects */
.glow-gold {
    box-shadow: 0 0 40px rgba(200, 155, 90, 0.1);
}

.glow-gold-strong {
    box-shadow: 0 0 60px rgba(200, 155, 90, 0.2);
}

/* Luxury Input Fields */
.luxury-input {
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid var(--border-gold);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.luxury-input:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 15px rgba(200, 155, 90, 0.1);
    outline: none;
}

.luxury-input::placeholder {
    color: var(--text-muted);
}

/* Luxury Divider */
.gold-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--gold-primary) 50%, transparent 100%);
    opacity: 0.4;
}

/* Hero fog animation - Luxury Cinematic */
.hero-fog {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-fog .fog-layer {
    position: absolute;
    inset: -20%;
    opacity: 0.2;
    filter: blur(60px);
    mix-blend-mode: screen;
    background-repeat: no-repeat;
    will-change: transform, opacity;
}

.hero-fog .fog-layer-1 {
    background-image:
        radial-gradient(45% 35% at 20% 60%, rgba(200, 155, 90, 0.08), transparent 75%),
        radial-gradient(40% 30% at 75% 50%, rgba(216, 176, 106, 0.06), transparent 75%);
    animation: fogDriftA 30s ease-in-out infinite alternate;
}

.hero-fog .fog-layer-2 {
    opacity: 0.15;
    filter: blur(80px);
    background-image:
        radial-gradient(42% 28% at 30% 45%, rgba(200, 155, 90, 0.06), transparent 75%),
        radial-gradient(36% 24% at 80% 70%, rgba(138, 98, 50, 0.04), transparent 75%);
    animation: fogDriftB 40s ease-in-out infinite alternate;
}

.hero-fog .fog-layer-3 {
    opacity: 0.1;
    filter: blur(100px);
    background-image:
        radial-gradient(38% 24% at 55% 60%, rgba(216, 176, 106, 0.05), transparent 75%),
        radial-gradient(30% 24% at 15% 40%, rgba(200, 155, 90, 0.04), transparent 75%);
    animation: fogDriftC 50s ease-in-out infinite alternate;
}

@keyframes fogDriftA {
    0% { transform: translate3d(-6%, 4%, 0) scale(1); opacity: 0.15; }
    50% { transform: translate3d(5%, -2%, 0) scale(1.08); opacity: 0.22; }
    100% { transform: translate3d(10%, -5%, 0) scale(1.14); opacity: 0.12; }
}

@keyframes fogDriftB {
    0% { transform: translate3d(8%, -2%, 0) scale(1.06); opacity: 0.1; }
    50% { transform: translate3d(-4%, 6%, 0) scale(1.12); opacity: 0.18; }
    100% { transform: translate3d(-10%, 10%, 0) scale(1.2); opacity: 0.08; }
}

@keyframes fogDriftC {
    0% { transform: translate3d(-2%, 8%, 0) scale(1.1); opacity: 0.08; }
    50% { transform: translate3d(7%, 0%, 0) scale(1.16); opacity: 0.14; }
    100% { transform: translate3d(-8%, -8%, 0) scale(1.24); opacity: 0.06; }
}

/* Smooth Scale Animation */
@keyframes slowFade {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

@keyframes softGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(200, 155, 90, 0.1); }
    50% { box-shadow: 0 0 40px rgba(200, 155, 90, 0.2); }
}

@keyframes subtleScale {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.animate-slow-fade {
    animation: slowFade 4s ease-in-out infinite;
}

.animate-soft-glow {
    animation: softGlow 3s ease-in-out infinite;
}

.animate-subtle-scale {
    animation: subtleScale 6s ease-in-out infinite;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .hero-fog .fog-layer,
    .animate-slow-fade,
    .animate-soft-glow,
    .animate-subtle-scale {
        animation: none !important;
    }
}

/* Responsive utilities */
@media (max-width: 768px) {
    .hidden-mobile {
        display: none;
    }
}

@media (min-width: 769px) {
    .hidden-desktop {
        display: none;
    }
}

/* Custom Scrollbar - Luxury Style */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-primary);
}

/* Selection Color */
::selection {
    background: rgba(200, 155, 90, 0.3);
    color: var(--text-primary);
}
