/* Custom styles for New Image Salon */

/* Smooth focus outlines for accessibility */
*:focus-visible {
    outline: 2px solid #7DD8C5;
    outline-offset: 2px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0B1D3A;
}
::-webkit-scrollbar-thumb {
    background: #334e68;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #486581;
}

/* Selection color */
::selection {
    background: #7DD8C5;
    color: #0B1D3A;
}

/* Navbar scroll effect */
#nav.scrolled {
    box-shadow: 0 4px 20px rgba(11, 29, 58, 0.3);
}

/* Hero decorative elements */
.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(125, 216, 197, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* Service card hover lift */
.group:hover {
    transform: translateY(-4px);
}

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

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

/* Button ripple effect */
button, a {
    -webkit-tap-highlight-color: transparent;
}

/* Prevent layout shift on images */
img {
    max-width: 100%;
    height: auto;
}

/* Gallery hover overlay */
.rounded-2xl.overflow-hidden {
    position: relative;
}

/* Print styles */
@media print {
    header, #nav, .reveal {
        display: block !important;
        opacity: 1 !important;
    }
    section {
        page-break-inside: avoid;
    }
}
