/* Custom styles for DJ Salon & Ethio Gift Shop */

:root {
    --emerald-800: #065f46;
    --emerald-600: #059669;
    --cream-50: #fefce8;
    --cream-800: #1c1917;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Scroll reveal animations - progressive enhancement */
@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }

    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Geometric accent shapes */
.geometric-accent {
    position: absolute;
    pointer-events: none;
}

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

::-webkit-scrollbar-track {
    background: #ecfdf5;
}

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

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

/* Mobile menu animation */
#mobile-menu-btn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#mobile-menu-btn.active .menu-line:nth-child(2) {
    opacity: 0;
}

#mobile-menu-btn.active .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 1.5rem;
}

/* Navbar scroll state */
.nav-scrolled {
    box-shadow: 0 4px 20px rgba(6, 95, 70, 0.1);
}

/* Service card hover glow */
.group:hover .w-14 {
    box-shadow: 0 8px 25px rgba(6, 95, 70, 0.3);
}

/* Gallery image hover */
.group img {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Button focus styles */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #34d399;
    outline-offset: 2px;
    border-radius: 0.5rem;
}

/* Form input focus */
input:focus,
textarea:focus,
select:focus {
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}

/* Subtle pattern overlay for cream sections */
.bg-cream-50::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(6, 95, 70, 0.03) 1px, transparent 0);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}

/* Print styles */
@media print {
    nav, #mobile-menu, .scroll-reveal {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
    }

    section {
        page-break-inside: avoid;
    }
}
