/* Custom styles for The Industry Salon & Spa */

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

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

::-webkit-scrollbar-track {
    background: #0a192f;
}

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

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

/* Animation for scroll indicator */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.animate-bounce {
    animation: bounce 2s infinite;
}

/* Form focus styles */
input:focus,
textarea:focus,
select:focus {
    outline: none;
}

/* Image aspect ratio utility */
.aspect-w-4 {
    position: relative;
    padding-bottom: calc(100% / (4 / 3));
}

.aspect-w-4 > * {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

/* Hover overlay effect */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

/* Responsive typography */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2rem;
    }
}

@media (min-width: 768px) {
    .font-serif {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .font-serif {
        font-size: 4rem;
    }
}

/* Reduced 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;
    }
}

/* Print styles */
@media print {
    nav,
    #contact-form,
    .animate-bounce {
        display: none;
    }
}
