/* Identitate Vizuală Com Sol Integration SRL */
:root {
    --primary: #002b5e;
    --accent: #00a8e8;
    --white: #ffffff;
    --light: #f8f9fa;
    --dark: #121212;
    --transition: all 0.3s ease;
    --header-height: 55px; /* Înălțime redusă pentru un aspect zvelt */
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body { 
    font-family: 'Inter', sans-serif; 
    line-height: 1.6; 
    color: var(--dark); 
}

header {
    background: var(--primary);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height); /* Aplicare înălțime din variabilă */
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    max-width: 1400px;
    margin: auto;
    height: 100%;
}

.logo {
    color: var(--white);
    font-size: 1.1rem; /* Dimensiune redusă pentru a se potrivi în 55px */
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
}

.logo span { color: var(--accent); }

nav { height: 100%; }

nav ul { 
    display: flex; 
    list-style: none; 
    height: 100%;
}

.nav-item { 
    position: relative; 
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    padding: 0 15px; /* Spațiere orizontală ușor redusă */
    font-weight: 500;
    font-size: 0.85rem; /* Font adaptat la header-ul îngust */
    height: 100%;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.nav-link:hover { background: rgba(255,255,255,0.1); color: var(--accent); }

/* --- REZOLVARE PROBLEMĂ SUBMENIU --- */
.dropdown {
    position: absolute;
    top: 100%; /* Se lipește exact sub header-ul de 55px */
    left: 0;
    background: var(--white);
    min-width: 280px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: none;
    border-top: 3px solid var(--accent);
    padding: 0; 
}

.dropdown a {
    color: var(--dark);
    padding: 12px 20px; /* Padding vertical ajustat */
    text-decoration: none;
    display: block;
    font-size: 0.8rem; /* Font discret pentru submeniu */
    border-bottom: 1px solid #f0f0f0;
    transition: var(--transition);
}

.dropdown a:hover { 
    background: var(--light); 
    color: var(--accent); 
    padding-left: 25px; 
}

/* Afișare la hover pe nav-item */
.nav-item:hover .dropdown { 
    display: block; 
}

/* Utilitare */
.section { padding: 60px 5%; max-width: 1300px; margin: auto; } /* Padding redus pentru a câștiga spațiu vertical */
.btn { padding: 10px 25px; border-radius: 4px; text-decoration: none; font-weight: 600; display: inline-block; transition: var(--transition); }
.btn-primary { background: var(--accent); color: white; border: none; }
.btn-primary:hover { background: #008cc2; transform: translateY(-1px); }