/* Custom styles for Tapis Rouge Wellness Team */

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

/* Base styles */
body {
    font-family: 'Montserrat', sans-serif;
}

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

@media (prefers-reduced-motion: no-preference) {
    .reveal-content {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .reveal-content.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar scroll effect */
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(128, 0, 32, 0.1);
}

.navbar-scrolled .logo-text {
    color: #800020 !important;
}

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

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

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

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

/* Form focus styles */
input:focus,
select:focus,
textarea:focus {
    border-color: #800020 !important;
    box-shadow: 0 0 0 3px rgba(128, 0, 32, 0.1) !important;
}

/* Button hover effects */
a, button {
    transition: all 0.3s ease;
}

/* Image hover zoom */
img {
    transition: transform 0.3s ease;
}

/* Hero text animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal-content {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Stagger animation delays */
.reveal-content:nth-child(1) { animation-delay: 0.1s; }
.reveal-content:nth-child(2) { animation-delay: 0.2s; }
.reveal-content:nth-child(3) { animation-delay: 0.3s; }
.reveal-content:nth-child(4) { animation-delay: 0.4s; }
.reveal-content:nth-child(5) { animation-delay: 0.5s; }
.reveal-content:nth-child(6) { animation-delay: 0.6s; }

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

#mobile-menu.open {
    max-height: 400px;
}

/* Card hover lift */
.group:hover .group-hover\\:scale-105 {
    transform: scale(1.05);
}

/* Print styles */
@media print {
    nav, .animate-bounce, #contact-form {
        display: none !important;
    }
    
    body {
        color: #000 !important;
        background: #fff !important;
    }
}
