/* Resetare de bază și variabile de culoare */
:root {
    --primary-color: #0a2d57;
    --secondary-color: #f4f7fa;
    --text-color: #333;
    --light-text-color: #f8f9fa;
    --accent-color: #e63946; 
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--secondary-color);
    color: var(--text-color);
    line-height: 1.6;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Antet și Navigație */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}
header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px; /* Am mărit puțin înălțimea header-ului */
}

/* 1. Mărire logo în navigație */
.logo img {
    height: 45px; /* MĂRIT de la 35px la 45px */
    vertical-align: middle;
}

.nav-links { list-style: none; display: flex; gap: 30px; }
.nav-links a { text-decoration: none; color: var(--text-color); font-weight: 600; transition: color 0.3s ease; }
.nav-links a:hover { color: var(--primary-color); }
.hamburger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.hamburger span { display: block; width: 25px; height: 3px; background-color: var(--primary-color); }

/* Secțiunea Hero */
.hero {
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('skoda.webp');
    background-size: cover;
    background-position: center;
    padding: 60px 0; /* Am adăugat padding pentru flexibilitate */
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-text-color);
}

/* NOU: Stil pentru logo-ul din secțiunea Hero */
.hero-logo {
    height: 80px;       /* Dimensiune vizibilă */
    margin-bottom: 30px; /* Spațiu generos sub logo */
}

.hero-content h1 { font-size: 3rem; margin-bottom: 1rem; }
.hero-content p { font-size: 1.2rem; font-weight: 300; }

/* Secțiunea de Mărci/Divizii */
.brands-section { padding: 80px 0; text-align: center; }
.brands-section h2 { font-size: 2.5rem; color: var(--primary-color); margin-bottom: 1rem; }
.section-subtitle { max-width: 600px; margin: 0 auto 50px auto; color: #666; }
.brands-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.brand-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
    text-decoration: none;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.brand-card:hover { transform: translateY(-10px); box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); }
.brand-card img { width: 100%; height: 200px; object-fit: cover; }
.card-content { padding: 25px; text-align: left; flex-grow: 1; display: flex; flex-direction: column; }
.card-content h3 { color: var(--primary-color); margin-bottom: 10px; font-size: 1.4rem; }
.card-content p { flex-grow: 1; margin-bottom: 20px; }
.btn { display: inline-block; background-color: var(--primary-color); color: var(--light-text-color); padding: 10px 20px; border-radius: 5px; text-decoration: none; font-weight: 600; transition: background-color 0.3s ease; align-self: flex-start; }
.btn:hover { background-color: #072242; }

/* Subsol */
footer { background-color: #111; color: #ccc; text-align: center; padding: 40px 20px; }
footer p { margin-bottom: 5px; }

/* Media Queries pentru Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px; /* Ajustat la noua înălțime a header-ului */
        left: 0;
        width: 100%;
        background-color: #fff;
        padding: 20px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        text-align: center;
    }
    .nav-links.active { display: flex; }
    .hamburger { display: flex; }
    .hero-logo { height: 60px; } /* Ajustare logo hero pe mobil */
    .hero-content h1 { font-size: 2.2rem; }
    .brands-section h2 { font-size: 2rem; }
}