/* Custom styles for Monique's Personal Training */

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

/* Hero geometric animations */
.hero-geo {
    animation: float 6s ease-in-out infinite;
}

.geo-1 { animation-delay: 0s; }
.geo-2 { animation-delay: -2s; }
.geo-3 { animation-delay: -4s; }
.geo-4 { animation-delay: -1s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-20px) scale(1.02); }
}

/* Service card hover effect */
.service-card {
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-8px);
}

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

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

/* Navbar scroll effect */
nav.scrolled {
    background: rgba(255, 254, 251, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 20px rgba(123, 45, 59, 0.08);
}

/* Mobile menu */
.mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#mobileMenu.open .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

#mobileMenu.open .mobile-link:nth-child(1) { transition-delay: 0.1s; }
#mobileMenu.open .mobile-link:nth-child(2) { transition-delay: 0.15s; }
#mobileMenu.open .mobile-link:nth-child(3) { transition-delay: 0.2s; }
#mobileMenu.open .mobile-link:nth-child(4) { transition-delay: 0.25s; }

/* Mobile menu open state */
#mobileMenu.open {
    opacity: 1;
    pointer-events: all;
}

/* Hamburger animation */
#menuBtn.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
#menuBtn.active .bar:nth-child(2) {
    opacity: 0;
}
#menuBtn.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 1.5rem;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .hero-geo { animation: none; }
    .service-card { transform: none; }
    .service-card:hover { transform: none; }
    html { scroll-behavior: auto; }
    .reveal { transition: none; }
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #fdf2f4; }
::-webkit-scrollbar-thumb { background: #d94f67; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #7B2D3B; }
