/* Custom styles for Nebraska Electric Tattoo South */

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

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

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

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

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

/* Subtle fade-in for sections below fold (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ensure all text has proper contrast */
.text-white {
    color: #ffffff;
}

.text-white\/60 {
    color: rgba(255, 255, 255, 0.6);
}

.text-white\/70 {
    color: rgba(255, 255, 255, 0.7);
}

.text-white\/80 {
    color: rgba(255, 255, 255, 0.8);
}

.text-white\/40 {
    color: rgba(255, 255, 255, 0.4);
}

/* Gold color utilities */
.text-gold-400 {
    color: #d4b965;
}

.text-gold-500 {
    color: #c9a84c;
}

.bg-gold-500 {
    background-color: #c9a84c;
}

.bg-gold-500\/10 {
    background-color: rgba(201, 168, 76, 0.1);
}

.bg-gold-500\/20 {
    background-color: rgba(201, 168, 76, 0.2);
}

.border-gold-500\/20 {
    border-color: rgba(201, 168, 76, 0.2);
}

.border-gold-500\/30 {
    border-color: rgba(201, 168, 76, 0.3);
}

.border-gold-500\/40 {
    border-color: rgba(201, 168, 76, 0.4);
}

/* Navy color utilities */
.bg-navy-900 {
    background-color: #0a1628;
}

.bg-navy-800 {
    background-color: #1a2d4a;
}

/* Mobile menu transitions */
#mobileMenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

#mobileMenu.open {
    max-height: 300px;
}

/* Form focus states */
input:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(201, 168, 76, 0.2);
}

/* Image hover effects */
img {
    transition: transform 0.5s ease;
}

/* Ensure proper font loading */
@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'Cormorant Garamond';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
