/* Additional custom styles for Galaxy Group Auto Sales */

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

/* Focus visible styles */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px solid #A30052;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Selection color */
::selection {
    background: #A30052;
    color: white;
}

/* Geometric shape animations */
@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(var(--rotation, 0deg)); }
    50% { transform: translateY(-20px) rotate(var(--rotation, 0deg)); }
}

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

/* Card tilt effect on hover */
.feature-card {
    transform-style: preserve-3d;
    perspective: 1000px;
}

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

/* Subtle pattern overlay */
.pattern-overlay {
    background-image: radial-gradient(circle at 1px 1px, rgba(163, 0, 82, 0.05) 1px, transparent 0);
    background-size: 24px 24px;
}

/* Print styles */
@media print {
    .geo-circle, .geo-square, .animate-float, .animate-float-delayed {
        display: none;
    }
    
    nav, .mobile-menu {
        display: none;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .reveal-anim {
        opacity: 1 !important;
        transform: none !important;
    }
}
