/* ============================================
   INTEGRITY MOTORS LLC — Custom Styles
   ============================================ */

/* Base */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: #020610;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #040D1A;
}
::-webkit-scrollbar-thumb {
    background: rgba(74, 222, 128, 0.3);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(74, 222, 128, 0.5);
}

/* Selection */
::selection {
    background: rgba(74, 222, 128, 0.3);
    color: #ffffff;
}

/* ============================================
   GEOMETRIC SHAPES (Hero Background)
   ============================================ */
.geo-shape {
    position: absolute;
    opacity: 0.6;
    pointer-events: none;
}

.geo-circle-1 {
    top: 10%;
    left: 5%;
    width: 120px;
    height: 120px;
    border: 2px solid rgba(74, 222, 128, 0.15);
    border-radius: 50%;
}

.geo-circle-2 {
    top: 60%;
    left: 15%;
    width: 60px;
    height: 60px;
    background: rgba(74, 222, 128, 0.08);
    border-radius: 50%;
}

.geo-rect-1 {
    top: 25%;
    right: 35%;
    width: 80px;
    height: 80px;
    border: 2px solid rgba(74, 222, 128, 0.1);
    transform: rotate(45deg);
}

.geo-diamond {
    bottom: 20%;
    right: 10%;
    width: 100px;
    height: 100px;
    border: 2px solid rgba(74, 222, 128, 0.08);
    transform: rotate(45deg);
}

/* ============================================
   NAVIGATION
   ============================================ */
#navbar {
    background: transparent;
    transition: background 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}

#navbar.scrolled {
    background: rgba(4, 13, 26, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* ============================================
   VEHICLE CARDS
   ============================================ */
.vehicle-card {
    will-change: transform;
}

.vehicle-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(74, 222, 128, 0.08);
}

/* ============================================
   FEATURE CARDS
   ============================================ */
.feature-card {
    will-change: transform;
}

.feature-card:hover {
    transform: translateY(-2px);
}

/* ============================================
   PROCESS CARDS
   ============================================ */
.process-card {
    will-change: transform;
}

.process-card:hover {
    transform: translateY(-4px);
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   (Progressive enhancement — content is
   visible by default, JS adds animation)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* ============================================
   MOBILE MENU
   ============================================ */
.mobile-link {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-link:last-child {
    border-bottom: none;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .geo-circle-1 {
        width: 60px;
        height: 60px;
    }
    .geo-circle-2 {
        width: 30px;
        height: 30px;
    }
    .geo-rect-1 {
        width: 40px;
        height: 40px;
    }
    .geo-diamond {
        width: 50px;
        height: 50px;
    }
}

/* ============================================
   FORM FOCUS STATES
   ============================================ */
input:focus,
textarea:focus {
    outline: none;
}

/* ============================================
   ANIMATED BACKGROUND SHAPES
   ============================================ */
@keyframes float-slow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes float-medium {
    0%, 100% { transform: translateY(0px) rotate(45deg); }
    50% { transform: translateY(-15px) rotate(50deg); }
}

.geo-circle-1 {
    animation: float-slow 8s ease-in-out infinite;
}

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

.geo-rect-1 {
    animation: float-medium 7s ease-in-out infinite;
}

.geo-diamond {
    animation: float-slow 9s ease-in-out infinite;
}
