/* ============================================
   DX2 Properties — Custom Styles
   Premium Dark Luxury Theme
   ============================================ */

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

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

body {
    overflow-x: hidden;
}

/* Gold Button */
.gold-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #C5A059 0%, #E5C585 50%, #C5A059 100%);
    color: #0a0a0a;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.gold-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #E5C585 0%, #F5D9A0 50%, #E5C585 100%);
    transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 0;
}

.gold-button:hover::before {
    left: 0;
}

.gold-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(197, 160, 89, 0.3);
}

.gold-button span,
.gold-button svg,
.gold-button text {
    position: relative;
    z-index: 1;
}

/* Scroll Indicator */
.scroll-indicator {
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(8px); opacity: 0.5; }
}

/* Fade In Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

/* Scroll Reveal */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* Navigation */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #C5A059;
    transition: width 0.3s ease;
}

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

.nav-link:hover {
    color: #C5A059 !important;
}

/* Mobile Menu */
.mobile-menu-link {
    position: relative;
}

/* Mobile Menu Active State */
#mobile-menu.open {
    transform: translateX(0) !important;
}

/* Mobile Menu Button Active */
#mobile-menu-btn.active .menu-line:first-child {
    transform: rotate(45deg) translate(5px, 5px);
}

#mobile-menu-btn.active .menu-line:nth-child(2) {
    opacity: 0;
}

#mobile-menu-btn.active .menu-line:last-child {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 1.75rem;
}

/* Navbar Scrolled State */
#navbar.scrolled {
    background: rgba(10, 10, 10, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(197, 160, 89, 0.1);
}

/* Selection */
::selection {
    background: rgba(197, 160, 89, 0.3);
    color: #E6D5B8;
}

/* Focus Styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #C5A059 !important;
    box-shadow: 0 0 0 1px rgba(197, 160, 89, 0.2);
}

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

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: #C5A059;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #E5C585;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .gold-button {
        width: 100%;
    }
}

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