/* Yosemite Street Music - Custom Styles */
/* This file provides additional custom styling beyond Tailwind CDN */

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

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

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

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

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

/* Selection color */
::selection {
    background: #c9a84c;
    color: #0a1628;
}

/* Focus styles for accessibility */
:focus-visible {
    outline: 2px solid #c9a84c;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    nav,
    .mobile-menu,
    button {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .bg-navy-900,
    .bg-navy-800 {
        background: #fff !important;
    }
    
    .text-[#faf9f6],
    .text-navy-900 {
        color: #000 !important;
    }
    
    .text-gold-500 {
        color: #666 !important;
    }
}

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

/* High contrast mode support */
@media (forced-colors: active) {
    .btn-primary,
    .btn-secondary {
        border: 2px solid ButtonText;
    }
}

/* Ensure images don't overflow */
img {
    max-width: 100%;
    height: auto;
}

/* Improve touch targets on mobile */
@media (max-width: 767px) {
    a,
    button {
        min-height: 44px;
        min-width: 44px;
    }
}

/* Aspect ratio utilities */
.aspect-\[4\/5\] {
    aspect-ratio: 4/5;
}

/* Letter spacing utilities */
.tracking-\[0\.3em\] {
    letter-spacing: 0.3em;
}

.tracking-\[0\.2em\] {
    letter-spacing: 0.2em;
}

/* Gold gradient for decorative elements */
.gold-gradient {
    background: linear-gradient(135deg, #c9a84c 0%, #d4b965 50%, #c9a84c 100%);
}

/* Subtle texture overlay for backgrounds */
.bg-textured {
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(201, 168, 76, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(201, 168, 76, 0.03) 0%, transparent 50%);
}

/* Card hover effect */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(10, 22, 40, 0.15);
}

/* Image reveal animation */
.img-reveal {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1s ease;
}

.img-reveal.active {
    clip-path: inset(0 0 0 0);
}

/* Text gradient effect */
.text-gradient-gold {
    background: linear-gradient(135deg, #c9a84c, #d4b965);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Decorative corner accents */
.corner-accent {
    position: relative;
}

.corner-accent::before,
.corner-accent::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    border-color: #c9a84c;
    border-style: solid;
}

.corner-accent::before {
    top: -10px;
    left: -10px;
    border-width: 2px 0 0 2px;
}

.corner-accent::after {
    bottom: -10px;
    right: -10px;
    border-width: 0 2px 2px 0;
}
