/* Custom Styles for Bay Hill First Nails */

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

/* Floating animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(12deg); }
    50% { transform: translateY(-20px) rotate(12deg); }
}

@keyframes float-delay {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-delay {
    animation: float-delay 5s ease-in-out infinite;
    animation-delay: 1s;
}

.animate-spin-slow {
    animation: spin-slow 20s linear infinite;
}

/* Floating stat cards */
.floating-card {
    background: white;
    border-radius: 1rem;
    padding: 1rem 1.25rem;
    box-shadow: 0 10px 40px rgba(100, 20, 60, 0.1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.card-1 {
    animation: float 6s ease-in-out infinite;
}

.card-2 {
    animation: float 5s ease-in-out infinite;
    animation-delay: 0.5s;
}

.card-3 {
    animation: float 7s ease-in-out infinite;
    animation-delay: 1s;
}

/* Service card hover effects */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1rem;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card > * {
    position: relative;
    z-index: 1;
}

/* Navbar scroll effect */
#navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(100, 20, 60, 0.08);
}

/* Mobile menu transitions */
#mobileMenu.open {
    transform: translateY(0) !important;
    opacity: 1 !important;
    pointer-events: all !important;
}

/* Intersection Observer animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

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

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

::-webkit-scrollbar-thumb {
    background: #d94064;
    border-radius: 4px;
}

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

/* Focus styles */
*:focus-visible {
    outline: 2px solid #d94064;
    outline-offset: 2px;
}

/* Geometric shape decorations */
.geo-square {
    position: absolute;
    border-radius: 0.5rem;
    opacity: 0.15;
}

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

/* Ensure images don't cause layout shift */
img {
    max-width: 100%;
    height: auto;
}
