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

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #090e17;
}
::-webkit-scrollbar-thumb {
    background: #1a2744;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #c9a84c;
}

/* ========== NAVBAR ========== */
.navbar-scrolled {
    background: rgba(9, 14, 23, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar-scrolled .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* ========== HERO ANIMATIONS ========== */
@keyframes scrollLine {
    0% {
        opacity: 0;
        transform: scaleY(0);
        transform-origin: top;
    }
    50% {
        opacity: 1;
        transform: scaleY(1);
        transform-origin: top;
    }
    100% {
        opacity: 0;
        transform: scaleY(1);
        transform-origin: bottom;
    }
}

.animate-scroll-line {
    animation: scrollLine 2s ease-in-out infinite;
}

/* Hero entrance animations */
.hero-subtitle {
    animation: heroFadeUp 0.8s ease-out 0.3s forwards;
    opacity: 0;
}

.hero-title {
    animation: heroFadeUp 0.8s ease-out 0.5s forwards;
    opacity: 0;
}

.hero-desc {
    animation: heroFadeUp 0.8s ease-out 0.7s forwards;
    opacity: 0;
}

.hero-cta {
    animation: heroFadeUp 0.8s ease-out 0.9s forwards;
    opacity: 0;
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== SCROLL REVEAL ANIMATIONS ========== */
.reveal-up {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-left {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-right {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Reduced motion - content always visible */
@media (prefers-reduced-motion: reduce) {
    .reveal-up,
    .reveal-left,
    .reveal-right {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .hero-subtitle,
    .hero-title,
    .hero-desc,
    .hero-cta {
        opacity: 1;
        transform: none;
        animation: none;
    }
    
    .animate-scroll-line {
        animation: none;
        opacity: 0.5;
    }
}

/* ========== MOBILE MENU ========== */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

.mobile-link {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

/* ========== SELECTION ========== */
::selection {
    background: rgba(201, 168, 76, 0.3);
    color: #f5f5f5;
}

/* ========== FOCUS STATES ========== */
:focus-visible {
    outline: 2px solid #c9a84c;
    outline-offset: 2px;
}

/* ========== IMAGE PLACEHOLDERS ========== */
img {
    max-width: 100%;
    height: auto;
}

/* ========== SELECT STYLING ========== */
select option {
    background: #0f1829;
    color: #ffffff;
}

/* ========== TRANSITION UTILITIES ========== */
.transition-all-300 {
    transition: all 0.3s ease;
}
