/* Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    overflow-x: hidden;
}

::selection {
    background: #d49a2e;
    color: #102a43;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #102a43;
}
::-webkit-scrollbar-thumb {
    background: #d49a2e;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #e4af47;
}

/* Scroll Indicator Animation */
@keyframes scrollIndicator {
    0% { transform: translateY(-100%); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(200%); opacity: 0; }
}

.animate-scroll-indicator {
    animation: scrollIndicator 1.5s ease-in-out infinite;
}

/* Reveal Animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    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[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
}

.reveal[data-reveal="left"] {
    transform: translateX(-30px);
}

.reveal[data-reveal="right"] {
    transform: translateX(30px);
}

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

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .animate-scroll-indicator {
        animation: none;
        opacity: 1;
    }
}

/* Navbar Glass Effect */
.navbar-scrolled {
    background: rgba(10, 26, 46, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 154, 46, 0.1);
}

/* Product Card Hover */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

/* Input Focus */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 1px rgba(212, 154, 46, 0.3);
}

/* Button Ripple */
button, a {
    -webkit-tap-highlight-color: transparent;
}

/* Image Loading */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Selection Colors */
::selection {
    background: rgba(212, 154, 46, 0.3);
    color: #f0f4f8;
}

/* Smooth Transitions */
.transition-all {
    transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* Gold Gradient Text */
.text-gold-gradient {
    background: linear-gradient(135deg, #e4af47 0%, #d49a2e 50%, #c27d1a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
