/* Custom styles for Herndon Farm */

/* Smooth scroll padding for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Custom selection color */
::selection {
    background-color: #365026;
    color: #fefdf8;
}

/* Subtle pattern overlay for hero */
.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 25% 25%, rgba(158, 192, 126, 0.08) 0%, transparent 50%),
                      radial-gradient(circle at 75% 75%, rgba(254, 253, 248, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Geometric shape animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(3deg); }
}

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

@keyframes rotate-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.geo-circle {
    animation: float 8s ease-in-out infinite;
}

.geo-circle:nth-child(2) {
    animation: float-slow 10s ease-in-out infinite;
    animation-delay: -3s;
}

.geo-square {
    animation: float 12s ease-in-out infinite;
    animation-delay: -5s;
}

.geo-square:nth-child(2) {
    animation: rotate-slow 30s linear infinite;
}

/* Service card hover effects */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
}

/* Navbar scroll effect */
.nav-scrolled {
    box-shadow: 0 4px 20px rgba(54, 80, 38, 0.1);
}

/* Button focus states */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #365026;
    outline-offset: 2px;
}

/* Mobile menu transitions */
.mobile-menu {
    z-index: 50;
}

/* Print styles */
@media print {
    nav, .mobile-menu, #contactForm, .geo-circle, .geo-square, .geo-line {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .hero-bg {
        background: #365026 !important;
    }
}
