/* ===== Custom Styles for The Hive Salon ===== */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf2f8;
}
::-webkit-scrollbar-thumb {
    background: #c9448c;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #6B3A6B;
}

/* Floating card animation */
.floating-card {
    animation: float 4s ease-in-out infinite;
}
.floating-card:nth-child(2) {
    animation-delay: -1s;
}
.floating-card:nth-child(3) {
    animation-delay: -2s;
}

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

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

/* Gallery items */
.gallery-item {
    cursor: pointer;
}
.gallery-item:hover img {
    transform: scale(1.05);
}

/* Testimonial cards */
.testimonial-card {
    transition: transform 0.3s ease, background 0.3s ease;
}
.testimonial-card:hover {
    transform: translateY(-4px);
}

/* Navbar scroll effect */
nav.scrolled {
    background: rgba(253, 242, 248, 0.95) !important;
    backdrop-blur-lg;
    box-shadow: 0 1px 20px rgba(107, 58, 107, 0.08);
}

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

.reveal.hidden-reveal {
    opacity: 0;
    transform: translateY(30px);
}

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

/* Hero stat cards - always visible */
.floating-card {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Gradient text utility */
.gradient-text {
    background: linear-gradient(135deg, #6B3A6B, #c9448c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Selection color */
::selection {
    background: #f9d4ec;
    color: #4a2549;
}

/* Mobile menu transitions */
#mobileMenu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .floating-card {
        display: none;
    }
    
    #hero {
        min-height: auto;
        padding: 8rem 0 4rem;
    }
}
