:root {
    --color-slate: #16465D;
    --color-gold: #DBB364;
    --color-light: #FFFFFF;
    --color-soft: #F3F4F6;
    --color-cream: #FAF9F6;
}

body {
    font-family: 'Tajawal', sans-serif;
    background-color: #FFFFFF;
    color: var(--color-slate);
    overflow-x: hidden;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Transition Delays */
.delay-100 { transition-delay: 100ms; }
.delay-150 { transition-delay: 150ms; }
.delay-200 { transition-delay: 200ms; }
.delay-250 { transition-delay: 250ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }

/* Artistic Text & Backgrounds */
.text-outline {
    -webkit-text-stroke: 1px var(--color-slate);
    color: transparent;
}

.grid-pattern {
    background-size: 60px 60px;
    background-image:
        linear-gradient(to right, rgba(219, 179, 100, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(219, 179, 100, 0.05) 1px, transparent 1px);
}

.mask-square { 
    clip-path: polygon(0 0, 100% 0, 100% 90%, 10% 100%); 
}

.img-hover-effect { 
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); 
}

.group:hover .img-hover-effect { 
    transform: scale(1.05); 
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--color-light); }
::-webkit-scrollbar-thumb { background: var(--color-gold); }

/* --- Luminous Structuralism Navigation --- */
.nav-pill-lux {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(219, 179, 100, 0.2);
    border-radius: 100px;
    padding: 1rem 3rem;
    display: flex;
    align-items: center;
    gap: 3rem;
    box-shadow: 
        0 20px 50px -10px rgba(22, 70, 93, 0.1),
        0 0 0 1px rgba(219, 179, 100, 0.05);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-pill-lux:hover {
    padding-left: 3rem;
    padding-right: 3rem;
    border-color: rgba(219, 179, 100, 0.5);
    box-shadow: 
        0 30px 60px -12px rgba(22, 70, 93, 0.15),
        0 0 20px rgba(219, 179, 100, 0.1);
}

.nav-item-lux {
    text-decoration: none;
    color: var(--color-slate);
    font-family: 'Alexandria', sans-serif;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    position: relative;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-item-lux::before {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-gold);
    transition: all 0.35s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-item-lux:hover {
    color: var(--color-gold);
    letter-spacing: 0.3em;
    transform: translateY(-1px);
}

.nav-item-lux:hover::before {
    width: 100%;
}

.nav-separator {
    width: 1px;
    height: 14px;
    background: rgba(219, 179, 100, 0.2);
}

/* Active State indicator */
.nav-item-lux.active {
    color: var(--color-gold);
}

.nav-item-lux.active::before {
    width: 100%;
}

/* Mobile Restraint for Navigation */
@media (max-width: 768px) {
    .nav-pill-lux {
        top: 8rem; /* Move down to make room for logo */
        gap: 1.25rem;
        padding: 1rem 1.5rem;
        width: 90%;
        justify-content: center;
    }
    .nav-item-lux {
        font-size: 9px;
        letter-spacing: 0.1em;
    }
}

/* Vertical Text */
.vertical-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

/* Custom Gradients */
.bg-brand-gradient {
    background: linear-gradient(135deg, var(--color-slate) 0%, #0a2533 100%);
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}
