/* 
 * Family Vans Of Miami Llc — Custom Styles
 * Vibrant modern design with teal + slate grey palette
 */

/* Base reset and smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Ensure all text is readable against backgrounds */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #2dd4bf;
    outline-offset: 2px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0f172a;
}

::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0d9488;
}

/* Selection color */
::selection {
    background: rgba(45, 212, 191, 0.3);
    color: #f8fafc;
}

/* Geometric decorative elements */
.geo-circle {
    border-radius: 50%;
    border: 2px solid rgba(45, 212, 191, 0.2);
}

.geo-square {
    border: 2px solid rgba(45, 212, 191, 0.15);
    transform: rotate(45deg);
}

/* Gradient text utility */
.gradient-text {
    background: linear-gradient(135deg, #2dd4bf, #14b8a6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card hover glow effect */
.card-glow:hover {
    box-shadow: 0 0 40px rgba(45, 212, 191, 0.15);
}

/* Button press effect */
.btn-press:active {
    transform: scale(0.97);
}

/* Reduced motion support */
@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;
    }
    
    .floating-card,
    .floating-card-delayed {
        animation: none;
    }
    
    .spin-slow {
        animation: none;
    }
    
    .pulse-ring {
        animation: none;
    }
    
    .reveal-section {
        opacity: 1;
        transform: none;
    }
}

/* Tablet and up */
@media (min-width: 768px) {
    .hero-bg-pattern {
        background-size: 40px 40px;
    }
}

/* Large screens */
@media (min-width: 1024px) {
    .hero-bg-pattern {
        background-size: 48px 48px;
    }
}
