/* Custom styles for Stage 3 Automotive */

/* Ensure Tailwind base is loaded */
@tailwind base;
@tailwind components;
@tailwind utilities;

/* Additional custom styles */

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

@keyframes spin-reverse {
    from { transform: rotate(45deg); }
    to { transform: rotate(405deg); }
}

.animate-spin-slow {
    animation: spin-slow 20s linear infinite;
}

.animate-spin-reverse {
    animation: spin-reverse 15s linear infinite;
}

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

/* Noise texture overlay */
.noise-overlay {
    position: relative;
}

.noise-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    pointer-events: none;
}

/* Custom selection color */
::selection {
    background: rgba(75, 196, 176, 0.3);
    color: #fff;
}

/* Print styles */
@media print {
    nav, .mobile-menu, #backToTop { display: none !important; }
    body { background: white; color: black; }
    .bg-midnight-900, .bg-midnight-800 { background: white !important; }
    .text-white, .text-white\/80, .text-white\/60, .text-white\/50, .text-white\/40, .text-white\/70 { color: black !important; }
    .text-mint-400 { color: #2fa894 !important; }
}
