/* Custom styles for In"Spa"Ration */

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

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

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

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

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

/* Navigation transitions */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #a11736;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile menu button animation */
#menu-icon {
    transition: transform 0.3s ease;
}

/* Scroll reveal animations */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .scroll-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Hero section background parallax effect */
#hero {
    background-attachment: fixed;
}

/* Image hover effects */
.group:hover .group-hover\\:scale-110 {
    transform: scale(1.1);
}

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

/* Mobile menu transitions */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

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

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

/* Gallery image transitions */
.group:hover img {
    transform: scale(1.1);
}

img {
    transition: transform 0.7s ease;
}

/* Custom selection color */
::selection {
    background: #a11736;
    color: white;
}

/* Form focus styles */
input:focus, textarea:focus {
    outline: none;
    border-color: #a11736;
    box-shadow: 0 0 0 3px rgba(161, 23, 54, 0.1);
}

/* Loading animation for images */
img {
    background: linear-gradient(135deg, #fefefe 0%, #faf4f4 100%);
}

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