/* Custom styles for American Driving Academy */

/* Smooth scroll offset for fixed navbar */
html {
    scroll-padding-top: 80px;
}

/* Selection color */
::selection {
    background: rgba(20, 184, 166, 0.3);
    color: #f0fdf9;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #060d1f;
}
::-webkit-scrollbar-thumb {
    background: #142d58;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #1a3a72;
}

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

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

.geo-square {
    animation: float 6s ease-in-out infinite;
}

.geo-square:nth-child(odd) {
    animation: float-slow 8s ease-in-out infinite;
}

/* Gradient text utility */
.text-gradient-mint {
    background: linear-gradient(135deg, #5eead4, #14b8a6, #0d9488);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Pulse dot animation */
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

/* Card shine effect */
.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.03), transparent);
    transition: left 0.5s ease;
    pointer-events: none;
}
.service-card:hover::after {
    left: 120%;
}

/* Focus visible for accessibility */
*:focus-visible {
    outline: 2px solid #5eead4;
    outline-offset: 2px;
}

/* Reduced motion */
@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; }
    .marquee-track { animation: none; }
}

/* Tablet adjustments */
@media (max-width: 768px) {
    .geo-circle.w-96 {
        display: none;
    }
}
