/* Custom styles for Gloria Beauty Salon */

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

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

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

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

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

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

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

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

/* Navbar styles */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav-scrolled .nav-link {
    color: #5c2633 !important;
}

.nav-scrolled .nav-logo {
    color: #5c2633 !important;
}

/* Mobile menu */
.mobile-link {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    color: #5c2633;
    font-weight: 600;
    transition: background-color 0.2s;
}

.mobile-link:hover {
    background-color: #faf5f7;
}

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

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

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

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

/* Input focus styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    ring: 2px;
}

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

/* Hero gradient overlay fix */
.hero-gradient {
    background: linear-gradient(135deg, rgba(92, 38, 51, 0.95) 0%, rgba(49, 15, 23, 0.9) 100%);
}

/* Print styles */
@media print {
    nav, #contact, .scroll-reveal {
        display: none;
    }
}
