/* Custom styles for Frequency Audio */

:root {
    --color-coral-400: #ff8a72;
    --color-coral-500: #ff5c3d;
    --color-coral-600: #f02e0c;
    --color-charcoal-900: #1e2126;
    --color-charcoal-950: #0f1114;
}

html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f6f6f7;
}
::-webkit-scrollbar-thumb {
    background: #c7c9cd;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a1a5aa;
}

/* Selection */
::selection {
    background: #ff8a72;
    color: #1e2126;
}

/* Reveal animations — progressive enhancement only */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Mobile menu transitions */
#mobileMenu {
    animation: slideDown 0.2s ease-out;
}

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

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

/* Input focus states */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* Smooth image loading */
img {
    loading: lazy;
}

/* Gallery hover effects */
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

/* Coral gradient text utility */
.text-coral-gradient {
    background: linear-gradient(135deg, #ff8a72, #f02e0c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
