/* Custom styles for Francesca's Hair Studio */

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

/* Floating animation for stat cards */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

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

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

.animate-float-delayed {
    animation: float-delayed 3.5s ease-in-out infinite;
    animation-delay: 0.5s;
}

/* Navbar scroll effect */
.navbar-scrolled {
    background: rgba(254, 252, 251, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(114, 47, 55, 0.08);
}

/* Mobile menu transitions */
.mobile-link {
    position: relative;
}

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

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

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

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

/* Selection color */
::selection {
    background: #f8c5c9;
    color: #722F37;
}

/* Image loading placeholder */
img {
    background-color: #fce4e6;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #722F37;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .animate-float,
    .animate-float-delayed {
        animation: none;
    }

    html {
        scroll-behavior: auto;
    }

    img,
    .group:hover img {
        transition: none;
    }
}

/* Tablet adjustments */
@media (max-width: 768px) {
    #hero h1 {
        font-size: 2.5rem;
    }
}

/* Print styles */
@media print {
    nav,
    #contactForm,
    .animate-float,
    .animate-float-delayed {
        display: none;
    }

    body {
        color: #000;
        background: #fff;
    }
}
