/* style.css */
:root {
    --bg-color: #0f0f12;       /* Deep charcoal/black */
    --card-bg: #1a1a1f;        /* Slightly lighter for cards */
    --accent: #00d4ff;         /* Neon Cyan */
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --font-heading: 'Arial', sans-serif; /* We can swap for Google Fonts later */
    --nav-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

/* --- Navigation --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    height: var(--nav-height);
    background: rgba(15, 15, 18, 0.95);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #333;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 2px;
    color: var(--text-main);
    text-transform: uppercase;
}

.logo span {
    color: var(--accent);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent);
}

/* --- Buttons --- */
.btn {
    padding: 12px 30px;
    border: 2px solid var(--accent);
    background: transparent;
    color: var(--accent);
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn:hover {
    background: var(--accent);
    color: #000;
    box-shadow: 0 0 15px var(--accent); /* glowing effect */
}

/* --- Hero Section --- */
.hero {
    height: calc(100vh - var(--nav-height));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 5px;
}

.hero p {
    font-size: 1.2rem;
    color: #ddd;
    margin-bottom: 40px;
    max-width: 600px;
}

/* --- Footer --- */
footer {
    padding: 40px;
    text-align: center;
    background: #050505;
    color: var(--text-muted);
    border-top: 1px solid #333;
    margin-top: 50px;
}
/* --- Add to the bottom of style.css --- */

/* Grid for the Models Page */
.showroom-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 50px;
}

.car-card {
    background: var(--card-bg);
    border: 1px solid #333;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.car-card:hover {
    transform: translateY(-10px); /* Lifts up slightly on hover */
    border-color: var(--accent);
}

.car-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.car-info {
    padding: 20px;
}

.car-info h3 {
    color: var(--text-main);
    margin-bottom: 10px;
}

.price {
    color: var(--accent);
    font-size: 1.2rem;
    font-weight: bold;
    display: block;
    margin-bottom: 15px;
}

/* Tech Page - Alternating Layout */
.tech-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 50px;
    gap: 50px;
}

/* Reverses the order for every even section (Zig-Zag effect) */
.tech-section:nth-child(even) {
    flex-direction: row-reverse; 
    background-color: #121215;
}

.tech-text {
    flex: 1;
}

.tech-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--accent);
}

.tech-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.1);
}

.tech-image img {
    width: 100%;
    height: auto;
    display: block;
}
/* --- Contact Form Styles (Add to bottom of style.css) --- */
.form-container {
    max-width: 600px;
    margin: 50px auto;
    background: var(--card-bg);
    padding: 40px;
    border-radius: 8px;
    border-top: 3px solid var(--accent);
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--accent);
    font-weight: bold;
    font-size: 0.9rem;
}

.form-group input, 
.form-group textarea, 
.form-group select {
    width: 100%;
    padding: 12px;
    background: #0f0f12;
    border: 1px solid #333;
    color: white;
    border-radius: 4px;
    outline: none;
    transition: border 0.3s ease;
}

.form-group input:focus, 
.form-group textarea:focus, 
.form-group select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.2);
}

/* About Page Text Styling */
.story-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    font-size: 1.1rem;
    color: #ccc;
}