/* Custom styles for AlainaRay's Salon and Barber Lounge */

/* Smooth scroll offset for fixed navbar */
section[id] {
    scroll-margin-top: 80px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a1628;
}
::-webkit-scrollbar-thumb {
    background: #1b3a6e;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #2d5aa0;
}

/* Selection color */
::selection {
    background: rgba(212, 160, 23, 0.3);
    color: #f0cc5c;
}

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

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

/* Reduce motion preference */
@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;
    }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
    .float-slow, .float-medium, .float-fast {
        animation: none !important;
    }
}

/* Tablet adjustments */
@media (max-width: 768px) {
    .nav-glass {
        background: rgba(10, 22, 40, 0.98);
    }
}

/* Print styles */
@media print {
    .nav-glass, #back-to-top, .geo-circle, .geo-square, .geo-triangle {
        display: none !important;
    }
    body {
        background: white !important;
        color: black !important;
    }
}
