/* ==========================================================================
   T&M Cars and Tech - DEEL 1 VAN 2: Basis, Navigatie & Banner
   ========================================================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    font-family: '-apple-system', BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #0b0f19; /* Ultra diepe automotive dark mode */
    color: #f1f5f9;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Symmetrische basis: Alles op de pagina lijnt exact even breed uit */
.container, .page-container, .nav-container, .contact-container, .footer-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* ==========================================================================
   Navigatiebalk
   ========================================================================== */
.navbar {
    background-color: rgba(11, 15, 25, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 14px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    height: 50px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    color: #94a3b8;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: #fff;
}

.btn-nav {
    background-color: #0076ff;
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-nav:hover {
    background-color: #005ecb;
    box-shadow: 0 0 15px rgba(0, 118, 255, 0.4);
}

/* ==========================================================================
   Hero Banner / Homepage Kop
   ========================================================================== */
.hero {
    background: radial-gradient(circle at center, rgba(15, 32, 67, 0.5) 0%, rgba(11, 15, 25, 1) 100%), url('hero-image.jpg') no-repeat center center/cover;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 0 80px 0;
}

.hero-content {
    max-width: 750px;
    margin: 0 auto;
    padding: 0 24px;
}

.badge {
    background-color: rgba(0, 118, 255, 0.12);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.25);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 24px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(180deg, #fff 30%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 1rem;
}

.btn-primary {
    background-color: #0076ff;
    color: white;
}

.btn-primary:hover {
    background-color: #005ecb;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 118, 255, 0.3);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.04);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}
/* ==========================================================================
   T&M Cars and Tech - DEEL 2 VAN 2: Expertises, Formulier & Mobiele Fix
   ========================================================================== */

.services-section {
    padding: 100px 0;
    background-color: #0f1422;
}

.services-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
}

.section-intro {
    text-align: center;
    color: #94a3b8;
    font-size: 1.15rem;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    width: 100%;
}

.service-card {
    background-color: #161f32;
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 40px;
    border-radius: 14px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    width: calc(50% - 15px);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(0, 118, 255, 0.25);
}

.service-icon {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #fff;
}

.service-card p {
    color: #94a3b8;
    font-size: 1rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-link {
    color: #0076ff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
    margin-top: auto;
}

.service-card:hover .service-link {
    color: #38bdf8;
}

.page-container {
    margin-top: 140px;
    margin-bottom: 80px;
}

.page-container h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
    color: #fff;
}

.details-content {
    background-color: #161f32;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.text-block h2 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 16px;
}

.text-block p {
    color: #cbd5e1;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.spec-list {
    list-style: none;
    margin-bottom: 45px;
}

.spec-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 16px;
    color: #cbd5e1;
    font-size: 1.05rem;
}

.spec-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #38bdf8;
    font-weight: bold;
}

.portfolio-section {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    margin-bottom: 30px;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.photo-card {
    background-color: #0b0f19;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.photo-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.contact-section {
    padding: 100px 0;
    background-color: #0b0f19;
}

.contact-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
}

.contact-section p {
    text-align: center;
    color: #94a3b8;
    margin-bottom: 40px;
}

.contact-form {
    background-color: #161f32;
    padding: 45px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    width: 100%;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    color: #94a3b8;
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    background-color: #0b0f19;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 14px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none;
    border-color: #0076ff;
    box-shadow: 0 0 0 3px rgba(0, 118, 255, 0.15);
}

.btn-submit {
    width: 100%;
    background: linear-gradient(90deg, #0076ff, #005ecb);
    color: #fff;
    border: none;
    padding: 16px;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 118, 255, 0.2);
    transition: all 0.2s ease;
}

.btn-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 118, 255, 0.4);
}

footer {
    background-color: #090d16;
    padding: 50px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-logo {
    height: 42px;
    margin-bottom: 20px;
    opacity: 0.7;
}

footer p {
    font-size: 0.9rem;
    color: #64748b;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero {
        padding-top: 120px;
        min-height: auto;
    }

    .hero-content h1 {
        font-size: 2.3rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .services-grid {
        flex-direction: column !important;
        gap: 16px !important;
    }

    .service-card {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: auto 1fr !important;
        gap: 20px !important;
        padding: 24px !important;
        text-align: left !important;
    }

    .service-icon {
        font-size: 2.2rem !important;
        margin-bottom: 0 !important;
        padding-top: 4px !important;
    }

    .service-card h3 {
        font-size: 1.25rem !important;
        margin-bottom: 6px !important;
    }

    .service-card p {
        margin-bottom: 12px !important;
        font-size: 0.95rem !important;
    }

    .photo-grid {
        grid-template-columns: 1fr;
    }

    .services-section h2, .contact-section h2, .page-container h1 {
        font-size: 2rem;
    }

    .details-content, .contact-form {
        padding: 24px;
    }
}
