:root {
    --carbon: #2c3e50;
    --metallic: #95a5a6;
    --silver: #ecf0f1;
    --red: #e74c3c;
    --dark-red: #c0392b;
    --black: #1a1a1a;
    
    --font-display: 'Racing Sans One', cursive;
    --font-body: 'Exo 2', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-body);
    background-color: var(--black);
    color: var(--silver);
    line-height: 1.6;
    background-image: linear-gradient(45deg, #1a1a1a 25%, #222 25%, #222 50%, #1a1a1a 50%, #1a1a1a 75%, #222 75%, #222 100%);
    background-size: 20px 20px;
}

.container { width: 90%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; color: inherit; transition: 0.3s; }

/* Header */
.speed-header { padding: 15px 0; background: linear-gradient(to bottom, #2c3e50, #000); border-bottom: 3px solid var(--red); position: sticky; top: 0; z-index: 1000; box-shadow: 0 5px 20px rgba(0,0,0,0.5); }
.header-flex { display: flex; justify-content: space-between; align-items: center; }

.logo { font-family: var(--font-display); font-size: 2rem; color: var(--silver); font-style: italic; display: flex; align-items: center; }
.metallic { background: linear-gradient(to bottom, #fff, #999); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.rpm-gauge { font-size: 1.5rem; margin-left: 10px; color: var(--red); animation: pulse 2s infinite; }
@keyframes pulse { 0% { opacity: 0.5; } 50% { opacity: 1; } 100% { opacity: 0.5; } }

.speed-nav ul { display: flex; gap: 30px; list-style: none; align-items: center; }
.speed-nav a { font-weight: 700; color: var(--metallic); text-transform: uppercase; font-size: 0.9rem; letter-spacing: 1px; }
.speed-nav a:hover, .speed-nav a.active { color: var(--red); text-shadow: 0 0 10px var(--red); }

.btn-speed { background-color: var(--red); color: var(--white) !important; padding: 8px 25px; transform: skew(-20deg); font-weight: bold; border: 2px solid var(--red); }
.btn-speed:hover { background-color: transparent; color: var(--red) !important; }

/* Mobile Menu */
.mobile-toggle { display: none; background: none; border: 1px solid var(--silver); color: var(--silver); font-size: 1.5rem; cursor: pointer; padding: 5px 10px; }
.mobile-menu { position: fixed; top: 0; right: -100%; width: 250px; height: 100%; background: var(--black); z-index: 2000; padding: 40px; display: flex; flex-direction: column; transition: 0.3s; border-left: 3px solid var(--red); }
.mobile-menu.active { right: 0; }
.close-menu { align-self: flex-end; color: var(--red); background: none; border: none; font-size: 1.5rem; cursor: pointer; margin-bottom: 20px; }
.mobile-menu a { padding: 15px 0; border-bottom: 1px solid #333; font-family: var(--font-display); font-size: 1.2rem; }

/* Hero */
.hero-speed {
    height: 600px; background-size: cover; background-position: center; position: relative;
}
.hero-overlay {
    width: 100%; height: 100%; background: linear-gradient(to right, rgba(0,0,0,0.9), rgba(0,0,0,0.2)); display: flex; align-items: center;
}
.hero-content { padding-left: 10%; max-width: 800px; }
.speed-tag { background-color: var(--red); color: var(--white); padding: 5px 15px; font-weight: bold; font-family: var(--font-display); transform: skew(-20deg); display: inline-block; margin-bottom: 20px; }
.hero-content h1 { font-family: var(--font-display); font-size: 4rem; line-height: 1; margin-bottom: 20px; font-style: italic; text-shadow: 3px 3px 0 #000; }
.hero-content p { font-size: 1.2rem; color: var(--metallic); margin-bottom: 40px; max-width: 600px; }

.hero-btns a { margin-right: 20px; display: inline-block; padding: 15px 40px; font-family: var(--font-display); text-transform: uppercase; font-size: 1.2rem; transform: skew(-20deg); text-align: center; }
.btn-primary { background: linear-gradient(to bottom, #e74c3c, #c0392b); color: var(--white); border: none; }
.btn-primary:hover { filter: brightness(1.2); }
.btn-secondary { border: 2px solid var(--silver); color: var(--silver); }
.btn-secondary:hover { background-color: var(--silver); color: var(--black); }

/* Fleet Grid */
.section-padding { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-family: var(--font-display); font-size: 3rem; font-style: italic; color: var(--silver); margin-bottom: 10px; }
.chrome-line { width: 150px; height: 4px; background: linear-gradient(90deg, transparent, #fff, transparent); margin: 0 auto; }

.car-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.car-card { background: #222; border: 1px solid #444; border-radius: 10px; overflow: hidden; transition: 0.3s; position: relative; }
.car-card:hover { transform: translateY(-10px); border-color: var(--red); box-shadow: 0 0 20px rgba(231, 76, 60, 0.3); }
.car-badge { position: absolute; top: 10px; left: 10px; background: var(--red); color: white; padding: 2px 10px; font-weight: bold; font-size: 0.8rem; transform: skew(-20deg); }
.car-card img { width: 100%; height: 200px; object-fit: cover; }
.car-info { padding: 20px; }
.car-info h3 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 5px; color: var(--white); }
.car-info p { color: var(--metallic); font-size: 0.9rem; margin-bottom: 15px; }
.price-row { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #333; padding-top: 15px; }
.price { font-size: 1.5rem; font-weight: bold; color: var(--silver); }
.price small { font-size: 0.8rem; font-weight: normal; color: #777; }
.rent-btn { background-color: var(--silver); color: var(--black); padding: 5px 20px; font-weight: bold; border-radius: 5px; }
.rent-btn:hover { background-color: var(--red); color: white; }

/* About */
.page-header { background: linear-gradient(45deg, #000, #333); padding: 60px 0; text-align: center; border-bottom: 2px solid var(--red); }
.page-header h1 { font-family: var(--font-display); font-size: 3rem; font-style: italic; color: var(--white); }

.about-engine { display: flex; gap: 50px; align-items: center; }
.text-block { flex: 1; }
.text-block h2 { font-family: var(--font-display); font-size: 2.5rem; color: var(--red); margin-bottom: 20px; font-style: italic; }
.features { list-style: none; margin-top: 20px; }
.features li { margin-bottom: 15px; font-size: 1.1rem; color: var(--silver); }
.img-block { flex: 1; }
.img-block img { width: 100%; border: 2px solid var(--metallic); border-radius: 5px; }

/* Feedback */
.feedback-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.feedback-card { background: #111; padding: 30px; border-left: 5px solid var(--red); }
.driver-icon { font-size: 2.5rem; margin-bottom: 15px; }
.feedback-card h3 { font-family: var(--font-display); margin-bottom: 10px; color: var(--silver); }
.feedback-card p { font-style: italic; color: #999; margin-bottom: 20px; }
.user { color: var(--red); font-weight: bold; text-align: right; }

/* Contact Form */
.booking-engine { display: flex; background: #222; border: 1px solid #444; }
.contact-info { flex: 1; background-color: var(--black); padding: 50px; }
.contact-info h2 { font-family: var(--font-display); color: var(--red); margin-bottom: 20px; }
.details p { margin-bottom: 10px; font-size: 1.1rem; border-bottom: 1px solid #333; padding-bottom: 10px; }

.metallic-form { flex: 1.5; padding: 50px; background: linear-gradient(135deg, #2c3e50, #34495e); }
.form-row { display: flex; gap: 20px; margin-bottom: 20px; }
.form-group { flex: 1; margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 5px; font-weight: bold; font-size: 0.9rem; color: var(--silver); }
.form-group input, .form-group select { width: 100%; padding: 12px; background: #ecf0f1; border: none; border-radius: 3px; font-family: var(--font-body); color: #333; }
.submit-btn { width: 100%; background-color: var(--red); color: var(--white); border: none; padding: 15px; font-family: var(--font-display); font-size: 1.5rem; cursor: pointer; transition: 0.3s; transform: skew(-10deg); }
.submit-btn:hover { background-color: var(--white); color: var(--red); }

/* Legal */
.contract-doc { max-width: 800px; margin: 0 auto; background: #151515; padding: 50px; border: 1px solid #333; }
.contract-doc h1 { font-family: var(--font-display); text-align: center; color: var(--silver); }
.contract-doc h3 { color: var(--red); margin-top: 30px; margin-bottom: 10px; font-family: var(--font-display); font-size: 1.5rem; }

/* Footer */
.speed-footer { background-color: #000; padding: 50px 0; border-top: 5px solid var(--red); text-align: center; margin-top: auto; }
.f-brand { font-family: var(--font-display); font-size: 2rem; color: var(--white); font-style: italic; margin-bottom: 20px; }
.f-links a { color: #777; margin: 0 15px; font-weight: bold; text-transform: uppercase; }
.f-links a:hover { color: var(--red); }
.copyright { margin-top: 30px; font-size: 0.8rem; color: #555; }

@media (max-width: 900px) {
    .speed-nav { display: none; }
    .mobile-toggle { display: block; }
    .hero-content h1 { font-size: 2.5rem; }
    .car-grid, .about-engine, .feedback-grid, .booking-engine { grid-template-columns: 1fr; flex-direction: column; }
    .form-row { flex-direction: column; gap: 0; }
    .hero-btns { display: flex; flex-direction: column; gap: 15px; }
    .btn-primary, .btn-secondary { margin: 0; text-align: center; }
}