/* Blue Heron — Custom Styles */

/* Base typography */
html {
    scroll-padding-top: 80px;
}

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

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

.hero-card:nth-child(1) { animation: float 4s ease-in-out infinite; }
.hero-card:nth-child(2) { animation: float 4s ease-in-out infinite 0.5s; }
.hero-card:nth-child(3) { animation: float 4s ease-in-out infinite 1s; }

/* Smooth focus states */
input:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(26, 60, 40, 0.1);
}

/* Button ripple effect */
.btn-primary, .btn-secondary {
    position: relative;
    overflow: hidden;
}

/* Selection color */
::selection {
    background: #1a3c28;
    color: #faf8f5;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f5f0e8;
}
::-webkit-scrollbar-thumb {
    background: #b8d0c0;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #8fb89a;
}

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

/* Tablet */
@media (max-width: 768px) {
    .font-serif {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }
}

/* Mobile */
@media (max-width: 640px) {
    .hero-card {
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}
