/* === CUSTOM STYLES === */

:root {
    --gold-300: #f0d060;
    --gold-400: #e8c24a;
    --gold-500: #d4a017;
    --gold-600: #b8860b;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --teal-800: #115e59;
    --slate-950: #070d1a;
    --slate-900: #0c1321;
    --slate-850: #0f172a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background-color: var(--slate-950);
    color: #e2e8f0;
    overflow-x: hidden;
}

.font-playfair {
    font-family: 'Playfair Display', Georgia, serif;
}

.font-inter {
    font-family: 'Inter', system-ui, sans-serif;
}

/* === NAVBAR === */
#navbar {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

#navbar.scrolled {
    background: rgba(7, 13, 26, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(212, 160, 23, 0.1), 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--gold-400), var(--gold-600));
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* === MOBILE MENU === */
#mobileMenu.open {
    opacity: 1;
    pointer-events: all;
}

#mobileMenu:not(.open) {
    opacity: 0;
    pointer-events: none;
}

.mobile-link {
    position: relative;
}

/* === HERO ORBS === */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: orbFloat 8s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.5), transparent 70%);
    top: 10%;
    right: -5%;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 160, 23, 0.3), transparent 70%);
    bottom: 20%;
    left: -5%;
    animation-delay: -3s;
}

.orb-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.4), transparent 70%);
    top: 50%;
    left: 40%;
    animation-delay: -5s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* === HERO FLOAT CARDS === */
.hero-float-card {
    animation: cardFloat 4s ease-in-out infinite;
}

.card-float-1 {
    animation-delay: 0s;
}

.card-float-2 {
    animation-delay: -1.3s;
}

.card-float-3 {
    animation-delay: -2.6s;
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.hero-card-main {
    animation: cardMainFloat 6s ease-in-out infinite;
}

@keyframes cardMainFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-6px) rotate(0.5deg); }
}

/* === REVEAL ANIMATIONS === */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* === GOLD GRADIENT TEXT === */
.text-gold-gradient {
    background: linear-gradient(135deg, var(--gold-300), var(--gold-500), var(--gold-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === SCROLLBAR === */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--slate-950);
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--teal-700), var(--gold-600));
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--teal-600), var(--gold-500));
}

/* === FOCUS STYLES === */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--gold-400);
    outline-offset: 2px;
    border-radius: 4px;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .hero-orb {
        opacity: 0.25;
    }
    .orb-1 { width: 250px; height: 250px; }
    .orb-2 { width: 180px; height: 180px; }
    .orb-3 { width: 120px; height: 120px; }
}
