/* Custom styles for Laura Speed - Huff Realty */

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

/* Subtle gradient accent */
.gradient-accent {
    background: linear-gradient(135deg, #2D5A3D 0%, #3A734E 100%);
}

/* Custom focus styles */
input:focus, select:focus, textarea:focus {
    outline: none;
}

/* Animation delays for staggered reveals */
.reveal:nth-child(1) { transition-delay: 0ms; }
.reveal:nth-child(2) { transition-delay: 100ms; }
.reveal:nth-child(3) { transition-delay: 200ms; }
.reveal:nth-child(4) { transition-delay: 300ms; }
.reveal:nth-child(5) { transition-delay: 400ms; }
.reveal:nth-child(6) { transition-delay: 500ms; }

/* Hero text shimmer */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Floating animation for decorative elements */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Pulse animation for CTA */
@keyframes pulse-soft {
    0%, 100% { box-shadow: 0 0 0 0 rgba(45, 90, 61, 0.3); }
    50% { box-shadow: 0 0 0 10px rgba(45, 90, 61, 0); }
}

/* Ensure all images have smooth loading */
img {
    transition: opacity 0.3s ease;
}

img[data-src] {
    opacity: 0;
}

img.loaded {
    opacity: 1;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    section[id] {
        scroll-margin-top: 70px;
    }

    .hero-overlay {
        background: linear-gradient(135deg, rgba(30,63,43,0.88) 0%, rgba(45,90,61,0.78) 50%, rgba(26,46,31,0.88) 100%);
    }
}

/* Print styles */
@media print {
    nav, .mobile-menu, #contactForm, .animate-bounce {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
    }

    .hero-overlay {
        background: rgba(45, 90, 61, 0.9) !important;
    }
}
