/* Heroic Growth — Custom Styles */

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

/* Base font smoothing */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #fdf8f3;
}
::-webkit-scrollbar-thumb {
    background: #d4a0aa;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a1253c;
}

/* Selection color */
::selection {
    background: #fce7eb;
    color: #6e1d2f;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Scroll reveal animations — progressive enhancement */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        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; }
}

/* Mobile menu transitions */
#mobile-menu {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Navbar scroll state */
.navbar-scrolled {
    box-shadow: 0 1px 20px rgba(161, 37, 60, 0.06);
}

/* Service card hover */
.group:hover .group-hover\:bg-burgundy-100 {
    background-color: rgb(244 168 184 / 0.4);
}

/* Subtle image hover zoom */
.aspect-\[4\/5\] > img {
    transition: transform 0.6s ease;
}
.aspect-\[4\/5\]:hover > img {
    transform: scale(1.02);
}
