/* Custom styles for Dion's Blossom and Board */

/* Smooth scroll offset for fixed navbar */
html {
    scroll-padding-top: 80px;
}

/* Reveal animation - progressive enhancement, gated by prefers-reduced-motion */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* Focus visible for accessibility */
*:focus-visible {
    outline: 2px solid #0d9488;
    outline-offset: 2px;
}

/* Subtle pattern for hero overlay */
#hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 25% 25%, rgba(13, 148, 136, 0.15) 0%, transparent 50%),
                      radial-gradient(circle at 75% 75%, rgba(13, 148, 136, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

/* Gallery hover effects */
#gallery .reveal img {
    transition: transform 0.5s ease;
}

#gallery .reveal:hover img {
    transform: scale(1.05);
}

/* Button hover lift effect */
button, a {
    transition: all 0.2s ease;
}

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

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

/* Service card hover */
#services .reveal:hover {
    transform: translateY(-4px);
}

#services .reveal {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Counter animation for stats */
.stats-number {
    display: inline-block;
}
