/* Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    overflow-x: hidden;
}

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

::-webkit-scrollbar-track {
    background: #f9f0fb;
}

::-webkit-scrollbar-thumb {
    background: #d797db;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a53dab;
}

/* Selection */
::selection {
    background: #e8c2eb;
    color: #4a1d4f;
}

/* Navbar */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-blur-lg;
    box-shadow: 0 1px 0 rgba(123, 45, 142, 0.08);
}

/* Mobile menu */
.mobile-link {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(123, 45, 142, 0.08);
    transition: color 0.3s ease;
}

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

/* Process cards */
.process-card {
    padding: 2rem 1.5rem;
    border-radius: 1.5rem;
    transition: all 0.4s ease;
}

.process-card:hover {
    background: white;
    box-shadow: 0 20px 60px rgba(123, 45, 142, 0.08);
    transform: translateY(-4px);
}

/* Vehicle cards */
.vehicle-card {
    border-radius: 1.5rem;
    padding: 1rem;
    transition: all 0.4s ease;
}

.vehicle-card:hover {
    background: white;
    box-shadow: 0 20px 60px rgba(123, 45, 142, 0.1);
}

/* Testimonial cards */
.testimonial-card {
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: rgba(250, 204, 21, 0.3);
}

/* Scroll reveal animations (below fold only) */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.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;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
}

/* Form focus states */
input:focus,
textarea:focus {
    outline: none;
}

/* Smooth image loading */
img {
    opacity: 1;
    transition: opacity 0.3s ease;
}

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

/* Thin line decoration */
.line-decoration {
    position: relative;
}

.line-decoration::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, #FACC15, transparent);
}

/* Button hover glow */
.btn-glow:hover {
    box-shadow: 0 0 40px rgba(250, 204, 21, 0.3);
}

/* Subtle pattern overlay for sections */
.pattern-overlay {
    background-image: radial-gradient(circle at 1px 1px, rgba(123, 45, 142, 0.04) 1px, transparent 0);
    background-size: 24px 24px;
}

/* Hero floating elements */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

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

.hero-float-1 {
    animation: float 6s ease-in-out infinite;
}

.hero-float-2 {
    animation: float-delayed 8s ease-in-out infinite;
}

/* Fade in on scroll for hero subtitle */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content > * {
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.3s; }
.hero-content > *:nth-child(3) { animation-delay: 0.5s; }
.hero-content > *:nth-child(4) { animation-delay: 0.7s; }
