/* --- Variables --- */
:root {
    --color-black: #0a0a0a;
    --color-carbon: #1c1c1c;
    --color-red: #e63946;       /* Racing Red */
    --color-red-glow: #ff4d5a;
    --color-white: #ffffff;
    --color-grey: #b0b0b0;
    
    --font-display: 'Audiowide', cursive;
    --font-body: 'Rajdhani', sans-serif;
    
    --shadow: 0 10px 30px rgba(0,0,0,0.5);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-body);
    background-color: var(--color-black);
    color: var(--color-grey);
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; filter: contrast(1.1); }

/* --- Header --- */
.garage-header {
    background-color: rgba(10, 10, 10, 0.95);
    padding: 20px 0;
    position: sticky; top: 0; z-index: 1000;
    border-bottom: 2px solid var(--color-carbon);
}

.container { width: 90%; max-width: 1400px; margin: 0 auto; }
.header-content { display: flex; justify-content: space-between; align-items: center; }

.logo { font-family: var(--font-display); font-size: 1.8rem; color: var(--color-white); letter-spacing: 1px; }
.red-text { color: var(--color-red); }

.racing-nav ul { display: flex; gap: 30px; align-items: center; }
.racing-nav a { font-weight: 700; color: var(--color-white); font-size: 1rem; letter-spacing: 1px; }
.racing-nav a:hover, .racing-nav a.active { color: var(--color-red); text-shadow: 0 0 10px var(--color-red); }

.btn-red { background-color: var(--color-red); color: var(--color-white) !important; padding: 8px 25px; clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); font-weight: bold; font-family: var(--font-display); transition: 0.3s; }
.btn-red:hover { background-color: var(--color-white); color: var(--color-black) !important; }

.mobile-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 6px; }
.carbon-bar { width: 35px; height: 3px; background-color: var(--color-white); }

/* --- Mobile Menu --- */
.mobile-menu {
    position: fixed; top: 0; right: -100%; width: 100%; height: 100%;
    background-color: var(--color-black); z-index: 2000;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    transition: 0.3s ease;
}
.mobile-menu.active { right: 0; }
.close-menu { position: absolute; top: 20px; right: 20px; font-size: 2rem; color: var(--color-red); background: none; border: none; cursor: pointer; }
.mobile-menu a { font-family: var(--font-display); font-size: 2rem; margin: 15px 0; color: var(--color-white); }
.mobile-menu a:hover { color: var(--color-red); }

/* --- Hero --- */
.hero-video { position: relative; height: 700px; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.hero-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center; z-index: -2;
}
.overlay-mesh {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle, transparent 20%, #0a0a0a 100%);
    background-size: 4px 4px;
    z-index: -1;
}

.hero-content { z-index: 1; max-width: 900px; padding: 20px; }
.badge-carbon { background: #333; color: #fff; padding: 5px 15px; border: 1px solid #555; font-weight: bold; letter-spacing: 2px; display: inline-block; margin-bottom: 20px; }
.hero h1 { font-family: var(--font-display); font-size: 4rem; line-height: 1.1; margin-bottom: 20px; color: var(--color-white); text-transform: uppercase; }
.outline-text { -webkit-text-stroke: 1px var(--color-red); color: transparent; }
.hero p { font-size: 1.5rem; color: #ccc; margin-bottom: 40px; font-weight: 300; }

.btn-red-glow { background: transparent; border: 2px solid var(--color-red); color: var(--color-white); padding: 15px 40px; font-family: var(--font-display); font-size: 1.2rem; cursor: pointer; box-shadow: 0 0 15px rgba(230, 57, 70, 0.3); }
.btn-red-glow:hover { background: var(--color-red); box-shadow: 0 0 30px rgba(230, 57, 70, 0.8); }

/* --- Services Strip --- */
.services-strip { background-color: var(--color-carbon); padding: 40px 0; border-bottom: 1px solid #333; }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.s-card { text-align: center; border-right: 1px solid #333; padding: 0 10px; }
.s-card:last-child { border-right: none; }
.s-card h3 { color: var(--color-white); font-family: var(--font-display); margin-bottom: 5px; font-size: 1.2rem; }
.s-card.active h3 { color: var(--color-red); }

/* --- Portfolio Grid --- */
.section-padding { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-family: var(--font-display); font-size: 2.5rem; color: var(--color-white); margin-bottom: 10px; }
.red-line { width: 100px; height: 4px; background-color: var(--color-red); margin: 0 auto; }

.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.gallery-item { position: relative; overflow: hidden; border: 1px solid #333; }
.gallery-item.large { grid-column: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.gallery-item:hover img { transform: scale(1.05); filter: grayscale(100%); }
.caption {
    position: absolute; bottom: 0; left: 0; width: 100%; padding: 20px;
    background: linear-gradient(to top, #000, transparent);
    transform: translateY(100%); transition: 0.3s;
}
.gallery-item:hover .caption { transform: translateY(0); }
.caption h4 { color: var(--color-red); font-family: var(--font-display); font-size: 1.5rem; }
.caption span { color: #fff; font-weight: bold; }

/* --- Process & Brands (About) --- */
.page-title { text-align: center; margin-bottom: 60px; }
.page-title h1 { font-family: var(--font-display); font-size: 3rem; color: var(--color-white); }

.process-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-bottom: 80px; }
.step-card { background: var(--color-carbon); padding: 40px; border: 1px solid #333; position: relative; }
.step-card.highlight { border-color: var(--color-red); }
.step-num { font-family: var(--font-display); font-size: 3rem; color: #333; position: absolute; top: 10px; right: 20px; }
.step-card h3 { color: var(--color-white); font-size: 1.5rem; margin-bottom: 15px; font-weight: 700; }

.brand-showcase { text-align: center; border-top: 1px solid #333; padding-top: 40px; }
.brands-flex { display: flex; justify-content: center; gap: 50px; margin-top: 20px; flex-wrap: wrap; }
.brands-flex span { font-family: var(--font-display); font-size: 1.5rem; color: #555; }

/* --- Reviews --- */
.reviews-dark { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.review-item { background: var(--color-carbon); padding: 30px; border-left: 3px solid var(--color-red); }
.r-head { display: flex; justify-content: space-between; margin-bottom: 15px; border-bottom: 1px solid #333; padding-bottom: 10px; }
.r-car { color: var(--color-white); font-weight: bold; font-family: var(--font-display); }
.r-stars { color: var(--color-red); }
.review-item p { font-style: italic; margin-bottom: 15px; color: #ccc; }
.r-user { text-align: right; font-weight: bold; color: var(--color-grey); }

/* --- Contact & Forms --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; }
.contact-card { background: var(--color-carbon); padding: 40px; border: 1px solid #333; }
.contact-card h3 { font-family: var(--font-display); color: var(--color-white); font-size: 1.8rem; margin-bottom: 20px; }
.c-info { margin: 20px 0; font-size: 1.2rem; color: var(--color-white); }
.working-hours { border-top: 1px solid #333; padding-top: 20px; color: #888; }

.carbon-form { background: #111; padding: 40px; border: 1px solid #333; }
.carbon-form h3 { color: var(--color-red); font-family: var(--font-display); margin-bottom: 25px; }
.form-row { margin-bottom: 20px; }
.form-row input, .form-row select { width: 100%; padding: 15px; background: #000; border: 1px solid #333; color: #fff; font-family: var(--font-body); font-size: 1.1rem; }
.form-row input:focus, .form-row select:focus { border-color: var(--color-red); outline: none; }
.btn-full-red { width: 100%; background: var(--color-red); color: #fff; padding: 15px; border: none; font-family: var(--font-display); font-size: 1.2rem; cursor: pointer; transition: 0.3s; }
.btn-full-red:hover { background: #fff; color: #000; }

/* --- Legal --- */
.warranty-content { max-width: 800px; margin: 0 auto; background: var(--color-carbon); padding: 60px; }
.warranty-content h1 { font-family: var(--font-display); color: var(--color-white); }
.red-line-small { width: 60px; height: 3px; background: var(--color-red); margin: 20px 0 40px; }
.warranty-content h3 { color: var(--color-red); margin-top: 30px; margin-bottom: 10px; font-weight: 700; }

/* --- Footer --- */
.garage-footer { background-color: #050505; padding: 50px 0; margin-top: auto; border-top: 1px solid #222; text-align: center; }
.f-logo { font-family: var(--font-display); font-size: 2rem; margin-bottom: 15px; color: #fff; }
.f-social a { color: #666; margin: 0 10px; font-weight: bold; }
.f-social a:hover { color: var(--color-red); }
.copyright { margin-top: 20px; font-size: 0.8rem; color: #444; }

@media (max-width: 992px) {
    .racing-nav { display: none; }
    .mobile-toggle { display: flex; }
    .hero h1 { font-size: 2.5rem; }
    .strip-grid, .gallery-grid, .process-steps, .reviews-dark, .contact-grid { grid-template-columns: 1fr; }
    .gallery-item.large { grid-column: span 1; }
}