/* static/css/style.css */
:root {
    --bg-dark: #050505;
    --primary-color: #3498db; /* Blue accent from your image logo */
    --text-white: #ffffff;
    --text-gray: #a0a0a0;
    --border-color: rgba(255, 255, 255, 0.1);
    
    /* Glow Colors */
    --glow-red: #ff3b30;
    --glow-orange: #ff9500;
    --glow-yellow: #ffcc00;
}

body {
    margin: 0;
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Russo One', sans-serif; /* The blocky sports font */
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

/* === SECTION 1: HERO === */
.hero-section {
    position: relative;
    height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    /* Dark moody car background */
    background: url('https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?q=80&w=2047&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    filter: brightness(0.4);
    z-index: -1;
}

header {
    display: flex;
    justify-content: space-between;
    padding: 2rem 5%;
    z-index: 10;
}

.logo { font-size: 1.5rem; font-weight: bold; }
.nav-link { font-size: 0.9rem; letter-spacing: 2px; }

.hero-container {
    display: flex;
    justify-content: flex-end; /* Push form to right */
    align-items: center;
    padding: 0 10%;
    height: 100%;
}

.hero-form-card {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    width: 400px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.hero-form-card h3 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    text-align: center;
}

/* === SECTION 2: BANNER === */
.text-banner {
    text-align: center;
    padding: 6rem 1rem;
}

.text-banner h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.text-banner p { color: var(--text-gray); font-size: 1.1rem; letter-spacing: 1px; }

/* === SECTION 3: VISUAL TRANSFORMATION === */
.split-section {
    display: flex;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 5%;
    align-items: center;
    gap: 4rem;
}

.split-content { flex: 1; min-width: 300px; }
.split-image { flex: 1; min-width: 300px; }

.section-title { font-size: 2rem; margin-bottom: 1rem; }
.section-desc { color: var(--text-gray); margin-bottom: 3rem; line-height: 1.6; }

.feature-list { list-style: none; padding: 0; }
.feature-list li { margin-bottom: 2rem; }
.feature-list strong { display: block; color: var(--primary-color); margin-bottom: 0.5rem; letter-spacing: 1px; }
.feature-list span { color: #ccc; font-size: 0.9rem; }

/* The Red Glowing Frame */
.glow-frame {
    position: relative;
    border: 2px solid var(--glow-red);
    padding: 10px;
    box-shadow: 0 0 30px rgba(255, 59, 48, 0.2);
}

.glow-frame img {
    width: 100%;
    display: block;
    filter: brightness(0.8) contrast(1.2);
}

.image-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-family: 'Russo One', sans-serif;
    font-size: 1.5rem;
    text-shadow: 0 2px 10px black;
}

/* === SECTION 4: TECH GRID === */
.tech-grid-section {
    position: relative;
    padding: 6rem 5%;
    overflow: hidden;
    background: #080808;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
}

/* The Blueprint Grid Background Effect */
.grid-bg {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
}

.section-header { position: relative; z-index: 1; text-align: center; margin-bottom: 4rem; }

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.tech-card {
    background: rgba(20, 20, 20, 0.8);
    padding: 2rem;
    border: 1px solid #333;
    transition: transform 0.3s;
}

.tech-card:hover { transform: translateY(-5px); }

/* Individual Glow Borders */
.border-red { border-color: var(--glow-red); box-shadow: 0 0 15px rgba(255, 59, 48, 0.1); }
.border-orange { border-color: var(--glow-orange); box-shadow: 0 0 15px rgba(255, 149, 0, 0.1); }
.border-yellow { border-color: var(--glow-yellow); box-shadow: 0 0 15px rgba(255, 204, 0, 0.1); }

.tech-card h4 { margin: 1rem 0; font-size: 1.1rem; }
.tech-card p { font-size: 0.9rem; color: #888; }
.icon { font-size: 2rem; }

/* === SECTION 5: GALLERY === */
.gallery-section { padding: 6rem 5%; background: #050505; }
.gallery-section h2 { margin-bottom: 3rem; text-align: center; }

.gallery-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.main-gal-img { position: relative; height: 400px; border: 1px solid #333; }
.main-gal-img img { width: 100%; height: 100%; object-fit: cover; }
.tag {
    position: absolute; bottom: 0; left: 0;
    background: var(--glow-red); color: black;
    padding: 5px 10px; font-weight: bold; font-size: 0.8rem;
}

.process-steps {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.step-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #111;
    padding: 10px;
    border: 1px solid #222;
}

.step-card img { width: 80px; height: 60px; object-fit: cover; }
.step-card span { font-weight: bold; letter-spacing: 1px; font-size: 0.9rem; }

/* Mobile Fixes */
@media (max-width: 900px) {
    .hero-container { justify-content: center; }
    .hero-form-card { width: 100%; max-width: 400px; }
    .gallery-layout { grid-template-columns: 1fr; }
    .hero-bg { background-position: 70% center; } /* Shift car on mobile */
}
