/* Custom styles for Song'n Bird Gardens */

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

/* Prevent content flash on scroll reveal */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
}

/* Service card hover - text color fix */
.service-card h3,
.service-card p {
    transition: color 0.3s ease;
}

/* Navbar scroll state */
.navbar-scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #faf5ec;
}
::-webkit-scrollbar-thumb {
    background: #e0654a;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #c23520;
}

/* Selection color */
::selection {
    background: #f3b8a8;
    color: #3d2e24;
}

/* Mobile menu animation */
#mobileMenu {
    animation: slideDown 0.3s ease;
}
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Gallery hover overlay */
.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(61, 46, 36, 0.3) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 0.75rem;
    pointer-events: none;
}
.gallery-item:hover::after {
    opacity: 1;
}

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