/* Custom styles for Norteno Western Wear */

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

/* Base styles */
body {
    font-family: 'Inter', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Display font */
.font-display {
    font-family: 'Playfair Display', Georgia, serif;
}

/* Scroll reveal animations */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobile-menu.open {
    max-height: 400px;
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(10, 22, 40, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

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

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

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

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

/* Button focus states */
a:focus-visible, button:focus-visible {
    outline: 2px solid #c8a44e;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Image loading placeholder */
img {
    background: linear-gradient(135deg, #152d56 0%, #0f2140 100%);
}

/* Selection color */
::selection {
    background: rgba(200, 164, 78, 0.3);
    color: #fff;
}

/* Form styles (for future use) */
input, textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 8px;
    padding: 12px 16px;
    font-family: inherit;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #c8a44e;
    box-shadow: 0 0 0 3px rgba(200, 164, 78, 0.1);
}

input::placeholder, textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

/* Success message */
.success-message {
    background: rgba(200, 164, 78, 0.1);
    border: 1px solid rgba(200, 164, 78, 0.3);
    color: #d4b562;
    padding: 16px 24px;
    border-radius: 12px;
    text-align: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
