:root {
    --bg-color: #0f172a;
    --surface-color: rgba(30, 41, 59, 0.6);
    --primary-color: #f97316;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --font-main: 'Outfit', sans-serif;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: #0f172a;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Yläpalkki */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 5%;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo { font-size: 1.5rem; font-weight: 800; }
.logo span { color: var(--primary-color); }

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover { color: var(--primary-color); }

.menu-toggle { display: none; cursor: pointer; }
.bar { width: 25px; height: 3px; background-color: var(--text-main); margin: 5px auto; transition: 0.3s; }

/* Etusivu / Hero */
.hero {
    padding: 10rem 5% 5rem; 
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at center, rgba(249, 115, 22, 0.1) 0%, transparent 70%);
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1rem;
    font-weight: 800;
}

.hero h1 span { color: var(--primary-color); }

.hero-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.hero-slogan {
    color: var(--text-main);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: var(--primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 800;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.3);
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icon:hover {
    color: #1877F2;
    transform: scale(1.1);
}

/* Palvelut - Bento Grid */
.services { padding: 5rem 5%; }
.section-title { text-align: center; font-size: 2.5rem; margin-bottom: 3rem; font-weight: 800; }

.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.bento-card {
    background: rgba(30, 41, 59, 0.6);
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    transition: transform 0.3s ease;
}

.bento-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.bento-card h3 { margin-bottom: 1rem; font-size: 1.4rem; color: #fff; }
.bento-card p { color: var(--text-muted); }

/* Karuselli (Palautteet) */
.testimonial-section {
    padding: 4rem 5%;
    margin: 3rem 0;
    background: linear-gradient(to right, rgba(0,0,0,0), rgba(249, 115, 22, 0.03), rgba(0,0,0,0));
}

.carousel-container {
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    box-sizing: border-box;
    padding: 1rem;
    text-align: center;
}

blockquote {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-style: italic;
    margin: 0 auto 1.5rem;
    color: var(--text-main);
}

cite {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 1.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active { background-color: var(--primary-color); }

/* Automerkit (Logobanneri) */
.car-brands-section {
    background-color: rgba(30, 41, 59, 0.3);
    padding: 4rem 5%;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.car-brands-section h2 {
    color: var(--text-main);
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    font-weight: 600;
}

.brand-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.brand-logos img {
    height: 45px;
    width: auto;
    opacity: 0.5;
    filter: grayscale(100%) brightness(200%);
    transition: all 0.3s ease;
}

.brand-logos img:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* Alatunniste */
.footer {
    background: #020617;
    padding: 4rem 5% 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.footer h3 { margin-bottom: 1.5rem; color: var(--primary-color); }
.footer p { color: var(--text-muted); margin-bottom: 0.8rem; }
.copyright { text-align: center; color: var(--text-muted); border-top: 1px solid rgba(255,255,255,0.05); padding-top: 2rem; font-size: 0.9rem; }

/* Animaatiot */
.fade-in { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Responsiivisuus - Mobiili */
@media (max-width: 768px) {
    .menu-toggle { display: block; }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(15, 23, 42, 0.98);
        flex-direction: column;
        padding: 0;
        text-align: center;
        gap: 1.5rem;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links.active { 
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        padding: 2rem 0;
    }
    
    .hero { padding: 8rem 5% 3rem; }
    .hero-actions { flex-direction: column; gap: 1rem; }
    .services { padding: 3rem 5%; }
}

/* --- HAMPURILAISVALIKON PAKKOSYÖTTÖ --- */
.menu-toggle { 
    display: none; 
    cursor: pointer; 
    z-index: 9999; /* Pitää valikon aina päällimmäisenä */
}

.menu-toggle .bar { 
    display: block;
    width: 30px; 
    height: 4px; 
    background-color: #ffffff !important; /* Pakotetaan valkoiseksi */
    margin: 6px auto; 
    transition: 0.3s; 
    border-radius: 2px;
}

@media screen and (max-width: 768px) {
    .menu-toggle { 
        display: block !important; /* Pakotetaan näkyviin mobiilissa */
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #0f172a !important; /* Tummansininen tausta */
        flex-direction: column;
        text-align: center;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.3s ease-in-out;
        padding: 0;
    }

    .nav-links.active { 
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
        padding: 2rem 0 !important;
        display: flex !important;
    }

    .nav-links li {
        margin: 15px 0;
    }
}