/* ===== BASE & TOKENS ===== */
:root {
    --bg-main: #0b0f19;
    --bg-surface: #131a2a;
    --bg-surface-hover: #1c263b;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-color: #3b82f6; /* Dynamic Blue */
    --accent-hover: #2563eb;
    --accent-glow: rgba(59, 130, 246, 0.35);
    
    --border-subtle: #1e293b;
    --border-active: #334155;
    
    --radius-md: 12px;
    --radius-lg: 20px;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== UTILITIES ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 5rem 0;
}

.text-center { text-align: center; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }
.mt-4 { margin-top: 2rem; }
.mt-auto { margin-top: auto; }
.text-secondary { color: var(--text-secondary); }

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

/* ===== COMPONENTS ===== */
.btn-primary, .btn-secondary, .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--accent-color);
    color: #fff;
    box-shadow: 0 4px 14px var(--accent-glow);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

.btn-secondary {
    background: var(--bg-surface-hover);
    color: var(--text-primary);
    border: 1px solid var(--border-active);
}

.btn-secondary:hover {
    background: var(--border-active);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-active);
}

.btn-outline:hover {
    border-color: var(--text-primary);
    transform: translateY(-2px);
}

.btn-large {
    padding: 0.875rem 2.25rem;
    font-size: 1.125rem;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(11, 15, 25, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.75rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.logo-accent {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a:not(.btn-primary) {
    font-weight: 500;
    color: var(--text-secondary);
}

.nav-links a:not(.btn-primary):hover {
    color: var(--text-primary);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    /* Placeholder gradient simulating a sleek garage / studio lighting setup */
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.15), transparent 40%),
                radial-gradient(circle at bottom left, rgba(59, 130, 246, 0.1), transparent 50%),
                rgba(0,0,0,0.4); /* overlay */
    background-size: cover;
    z-index: -1;
}

/* Optional: if you add a real background image to hero-bg */
/* .hero-bg { background-image: url('/images/hero-bg.jpg'); } */

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    background: linear-gradient(to right, #ffffff, #a5b4fc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero .tagline {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== INCLUSIONS ===== */
.inclusions {
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.inclusions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.check-list {
    display: grid;
    gap: 1.25rem;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.125rem;
    font-weight: 500;
    padding: 1rem;
    background: rgba(255,255,255,0.03);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    transition: var(--transition);
}

.check-list li:hover {
    background: rgba(255,255,255,0.06);
    border-color: var(--border-active);
    transform: translateX(5px);
}

.check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    font-size: 0.875rem;
    flex-shrink: 0;
}

/* ===== PRICING ===== */
.pricing-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    position: relative;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-active);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card-glow {
    position: absolute;
    top: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    background: var(--accent-glow);
    filter: blur(80px);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 50%;
    pointer-events: none;
}

.pricing-card:hover .card-glow {
    opacity: 1;
}

.popular-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-color);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-card.popular {
    border-color: var(--accent-color);
    background: linear-gradient(180deg, var(--bg-surface) 0%, rgba(59, 130, 246, 0.05) 100%);
}

.price-header {
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.price-header h3 {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.price-amount {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
}

.currency {
    font-size: 1.5rem;
    vertical-align: super;
    margin-right: 0.25rem;
}

.vehicle-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.badge {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-subtle);
    padding: 0.35rem 0.85rem;
    border-radius: 6px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* ===== ADD-ONS ===== */
.addon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.addon-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: var(--transition);
}

.addon-card:hover {
    border-color: var(--border-active);
    background: var(--bg-surface-hover);
}

.addon-icon {
    font-size: 2rem;
    background: rgba(59, 130, 246, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.addon-content h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.addon-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.addon-price {
    font-weight: 800;
    color: var(--accent-color);
    margin-left: auto;
    white-space: nowrap;
}

/* ===== GALLERY ===== */
.gallery-placeholder-msg {
    background: rgba(59, 130, 246, 0.1);
    border: 1px dashed var(--accent-color);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    color: var(--text-secondary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--bg-surface);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}


/* ===== FOOTER ===== */
.footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-subtle);
    padding-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.footer-info p {
    color: var(--text-secondary);
}

.footer-contact h3 {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
}

.contact-link {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

.contact-link:hover {
    color: var(--accent-color);
}

.footer-bottom {
    background: rgba(0,0,0,0.2);
    padding: 1.5rem 0;
    text-align: center;
    border-top: 1px solid var(--border-subtle);
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.admin-link-wrapper {
    margin-top: 1.5rem;
}

.footer-admin-link {
    font-size: 0.75rem;
    color: var(--text-secondary);
    opacity: 0.5;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-admin-link:hover {
    color: var(--accent-color);
    opacity: 1;
}

/* ===== ANIMATIONS ===== */
.animate-fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards cubic-bezier(0.25, 0.8, 0.25, 1);
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* simple hidden on mobile for MVP, or add hamburger later */
    }
    
    .inclusions-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .pricing-card {
        padding: 2rem 1.5rem;
    }
    
    .addon-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .addon-price {
        margin-left: 0;
        margin-top: 1rem;
    }
}

/* ===== FORMS ===== */
.form-input {
    width: 100%;
    padding: 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-active);
    background: var(--bg-main);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px var(--accent-glow);
}
