/* Custom styles for Atomic Lux Salon */

/* Smooth scroll offset for fixed nav */
html {
    scroll-padding-top: 80px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fafafa;
}
::-webkit-scrollbar-thumb {
    background: #d946ef;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a21caf;
}

/* Selection color */
::selection {
    background: #d946ef;
    color: white;
}

/* Subtle hover effects on images */
img {
    transition: transform 0.5s ease;
}

/* Gradient text utility */
.gradient-text {
    background: linear-gradient(135deg, #a21caf, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Loading animation for page transitions */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

body {
    animation: fadeIn 0.5s ease;
}

/* Mobile menu animation */
#mobileMenu.open {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 500px;
    }
}

/* Hamburger menu animation */
#menuToggle.active #menuLine1 {
    transform: rotate(45deg) translate(5px, 5px);
}
#menuToggle.active #menuLine2 {
    opacity: 0;
}
#menuToggle.active #menuLine3 {
    width: 6px;
    transform: rotate(-45deg) translate(5px, -5px);
}

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

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

/* Print styles */
@media print {
    nav, .reveal, button, iframe {
        display: none !important;
    }
    body {
        color: black;
        background: white;
    }
}
