/* Custom styles for OddWorld Tattoo Studio */

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

/* Hide scrollbar for cleaner look */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf6f3;
}
::-webkit-scrollbar-thumb {
    background: #d4375e;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #b92346;
}

/* Reveal animations - progressive enhancement */
.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(30px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* FAQ accordion */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-content.open {
    max-height: 200px;
}

.faq-icon {
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.faq-btn[aria-expanded="true"] .faq-icon {
    transform: rotate(0deg);
}

/* Navbar scroll effect */
.nav-scrolled #nav-bg {
    opacity: 1;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #d4375e;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Button hover glow */
button[type="submit"]:hover {
    box-shadow: 0 0 30px rgba(212, 55, 94, 0.3);
}

/* Gallery image hover overlay */
.group:hover .group-hover\:scale-110 {
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Custom selection color */
::selection {
    background: #d4375e;
    color: white;
}
