/* Custom styles for Sweetwater Oaks Home */

/* Ensure smooth rendering */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Hero text shadow for readability */
#hero h1 {
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* Geometric shape animations - respects reduced motion */
@media (prefers-reduced-motion: no-preference) {
    .animate-float {
        animation: float 6s ease-in-out infinite;
    }
    .animate-float-reverse {
        animation: float-reverse 7s ease-in-out infinite;
    }
    .animate-pulse-slow {
        animation: pulse-slow 4s ease-in-out infinite;
    }
}

/* Feature card stagger animation */
@media (prefers-reduced-motion: no-preference) {
    .feature-card {
        opacity: 1;
    }
}

/* Navbar scroll effect */
#navbar.scrolled {
    box-shadow: 0 4px 20px rgba(80, 7, 36, 0.15);
}

/* Amber line gradient animation */
.amber-line {
    background: linear-gradient(90deg, #f59e0b, #d97706, #f59e0b);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Input focus styles */
input:focus, select:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

/* Button ripple effect */
button, a {
    position: relative;
    overflow: hidden;
}

/* Mobile menu transitions */
#mobileMenu {
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}
#mobileMenu.open {
    max-height: 400px;
    opacity: 1;
}

/* Print styles */
@media print {
    .geo-circle, .geo-square, .animate-float, .animate-float-reverse, .animate-pulse-slow {
        display: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .feature-card {
        border: 2px solid currentColor;
    }
}

/* Reduced motion - ensure all content is visible */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
    .animate-float, .animate-float-reverse, .animate-pulse-slow {
        animation: none;
    }
}
