/* Gold Exchange — Premium Dark Luxury Styles */

/* Base & Utilities */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

::selection {
    background: rgba(212, 168, 75, 0.3);
    color: #fff;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0A1628;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #D4A84B, #B8860B);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #E2BE6A;
}

/* Navbar */
.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: linear-gradient(90deg, #D4A84B, #E2BE6A);
    transition: width 0.3s ease;
}
.nav-link:hover::after {
    width: 100%;
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(10, 22, 40, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 168, 75, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Hero */
.hero-gradient {
    background: radial-gradient(ellipse at 70% 30%, rgba(212, 168, 75, 0.08) 0%, transparent 60%),
                radial-gradient(ellipse at 20% 80%, rgba(184, 134, 11, 0.06) 0%, transparent 50%),
                #0A1628;
}

/* Floating animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}
@keyframes float-delayed {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}
.animate-float-delayed {
    animation: float-delayed 5s ease-in-out infinite;
    animation-delay: 1s;
}

/* Service Cards */
.service-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(212, 168, 75, 0.05);
}

/* Testimonial Cards */
.testimonial-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Mobile Menu */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* Mobile menu hamburger animation */
#line1.open {
    transform: translateY(3px) rotate(45deg);
}
#line2.open {
    opacity: 0;
}
#line3.open {
    transform: translateY(-3px) rotate(-45deg);
    width: 5px;
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* Gold shimmer line */
.gold-line {
    height: 2px;
    background: linear-gradient(90deg, transparent, #D4A84B, transparent);
    border: none;
}

/* Input autofill override */
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #0F1F38 inset !important;
    -webkit-text-fill-color: #fff !important;
}

/* Focus visible */
*:focus-visible {
    outline: 2px solid rgba(212, 168, 75, 0.5);
    outline-offset: 2px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-gradient {
        background: #0A1628;
    }
}
