/* Custom styles for A-R Ranch */

/* Ensure all text meets contrast requirements */
.service-card h3 {
    color: #3b0764;
}

.service-card p {
    color: #4b5563;
}

.testimonial-card p {
    color: #374151;
}

/* Geometric shape animations - reduced motion */
@media (prefers-reduced-motion: reduce) {
    .geo-shape-1,
    .geo-shape-2,
    .geo-shape-3,
    .geo-shape-4,
    .geo-shape-5,
    .geo-shape-6 {
        animation: none !important;
    }
    .swiper-slide {
        transition: none !important;
    }
    .service-card {
        transition: none !important;
    }
    .testimonial-card {
        transition: none !important;
    }
}

/* Print styles */
@media print {
    .navbar, .mobile-menu, .geo-shape-1, .geo-shape-2, .geo-shape-3,
    .geo-shape-4, .geo-shape-5, .geo-shape-6 {
        display: none !important;
    }
    .hero-bg {
        background: #3b0764 !important;
    }
}

/* Touch device optimizations */
@media (hover: none) {
    .service-card:hover {
        transform: none;
        box-shadow: 0 4px 20px rgba(59, 7, 100, 0.08);
    }
    .service-card::before {
        display: none;
    }
}

/* Ensure form success message is visible */
#formSuccess {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Smooth focus visible outlines */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
}

/* Loading state for buttons */
button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}
