/* 
   Luxury Premium Design System for Sayaf Ahmed Website
   Colors, Animations, and Depth Utilities
*/

:root {
    --primary-black: #050505;
    --surface-dark: #0A0A0A;
    --surface-light: #121212;
    --brand-gold: #C8A96A;
    --brand-gold-bright: #E5C78B;
    --brand-gold-muted: #A88E5A;
    --brand-gray: #D4D4D8;
    --gold-glow: rgba(200, 169, 106, 0.4);
    --gold-linear: linear-gradient(135deg, #A88E5A 0%, #D4BC8B 50%, #A88E5A 100%);
}

/* Base Styles */
/* Global Typography Fixes for Arabic - High Specificity to override Tailwind Preflight */
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    line-height: 1.6 !important;
    padding-bottom: 0.15em !important;
    margin-bottom: 0.35em !important;
    letter-spacing: normal !important;
    overflow: visible !important;
    /* Arabic doesn't use tracking-tighter well */
}

body {
    background-color: var(--primary-black);
    color: var(--brand-gray);
    /* overflow-x: hidden; */
    line-height: 1.8 !important;
    /* Optimized for Arabic body text */
}

p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Section Contrasts */
.section-alt {
    background-color: var(--surface-dark);
}

.section-highlight {
    background-color: var(--surface-light);
}

.section-light {
    background-color: #FFFFFF;
    color: #1A1A1A;
}

.section-light h2,
.section-light h3,
.section-light h4 {
    color: #050505;
}

.section-light p {
    color: #4B5563;
}

/* Typography Enhancements */
.text-luxury-gold {
    background: var(--gold-linear);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.glow-text-gold {
    text-shadow: 0 0 20px var(--gold-glow);
}

/* Premium Cards & Containers */
.luxury-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
}

.luxury-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(200, 169, 106, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(200, 169, 106, 0.1);
}

/* Luxury Glow Effects (Ambient) */
.ambient-glow {
    position: absolute;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(200, 169, 106, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    filter: blur(80px);
}

/* Button Refinement */
.btn-luxury {
    position: relative;
    overflow: hidden;
    background: var(--brand-gold);
    color: var(--primary-black);
    font-weight: 800;
    transition: all 0.4s ease;
    box-shadow: 0 10px 20px rgba(200, 169, 106, 0.2);
}

.btn-luxury:hover {
    background: var(--brand-gold-bright);
    box-shadow: 0 15px 30px rgba(200, 169, 106, 0.4), 0 0 15px rgba(200, 169, 106, 0.2);
    transform: translateY(-2px);
}

/* Booking Button (Secondary CTA) */
.btn-booking {
    background: transparent;
    border: 1px solid var(--brand-gold);
    color: var(--brand-gold);
}

.btn-booking:hover {
    background: var(--brand-gold);
    color: var(--primary-black);
    box-shadow: 0 0 20px rgba(200, 169, 106, 0.3);
}

.section-light .btn-booking {
    border-color: #050505;
    color: #050505;
}

.section-light .btn-booking:hover {
    background: #050505;
    color: #FFFFFF;
}

/* Flat Icon Wrapper */
.icon-flat {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.icon-flat svg {
    width: 100%;
    height: 100%;
}

.text-luxury-gold .icon-flat svg {
    fill: url(#gold-gradient);
}


/* Refined Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    transition: all 0.9s cubic-bezier(0.2, 1, 0.3, 1);
}

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

/* Shimmer Animation for Gold Elements */
@keyframes shimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

.animate-shimmer {
    background: linear-gradient(90deg,
            rgba(200, 169, 106, 0) 0%,
            rgba(255, 255, 255, 0.4) 50%,
            rgba(200, 169, 106, 0) 100%);
    background-size: 200% 100%;
    animation: shimmer 4s infinite linear;
}

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

::-webkit-scrollbar-track {
    background: var(--primary-black);
}

::-webkit-scrollbar-thumb {
    background: #222;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--brand-gold-muted);
}

/* Mobile Menu V2 Fixes */
@media (max-width: 1024px) {
    #mobile-menu {
        padding-top: 120px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        overflow-y: auto;
    }

    .mobile-link {
        display: block;
        color: #FFFFFF;
        font-size: 1.25rem;
        font-weight: 700;
        padding: 1rem 0;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    #main-header {
        height: 80px;
    }
}

/* Floating Actions Mobile */
.floating-booking {
    display: none;
}

@media (max-width: 640px) {
    .floating-booking {
        display: block;
        position: fixed;
        bottom: 20px;
        left: 20px;
        right: 20px;
        z-index: 100;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }
}