/* HEADER TRANSPARENT */
.mega-navbar {
    background: transparent; /* Scoatem dunga neagră */
    width: 100%;
    padding: 20px 0;
    position: absolute; /* Plutește peste fundal */
    top: 0;
    left: 0;
    z-index: 9999;
}

.nav-container {
    max-width: 98%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-right-side {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centrat pe orizontală */
    justify-content: center; /* Centrat pe verticală */
    width: 280px; 
    flex-shrink: 0;
    gap: 5px;
}
/* STÂNGA: LOGO ȘI TITLU */
.logo-section {
    display: flex;
    align-items: center;
    flex: 1; /* Forțăm stânga să ocupe spațiu egal cu dreapta */
    justify-content: flex-start;
}

.giant-logo {
    height: 120px; /* Dimensiune rezonabilă pe desktop */
    width: auto;
    /* Scoatem position absolute de aici dacă vrem să fie stabil */
    filter: drop-shadow(5px 5px 15px rgba(0,0,0,0.7));
    z-index: 10000;
    transition: all 0.3s ease;
}

.site-title {
    color: #00bfff;
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1.2;
    text-transform: uppercase;
    white-space: nowrap; /* Împiedică titlul să sară pe două rânduri */
    margin-right: 50px !important;
}

/* CENTRU: BUTOANE (Le lăsăm așa cum le ai, doar le aerisim) */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
    flex: 0 0 auto;
    justify-content: center;
}

.nav-menu a {
    display: inline-block;    /* Permite butonului să aibă o lățime fixă */
    min-width: 110px;         /* OBLIGATORIU: Toate butoanele vor avea CEL PUȚIN 110px */
    text-align: center;       /* Textul ("Home"/"Acasă") va sta fix pe mijlocul butonului */
    padding: 10px 15px;       /* Spațiu interior ca butoanele să nu fie înghesuite */
    color: white;             /* Culoarea textului */
    text-decoration: none;    /* Scoate linia de sub link */
    transition: all 0.3s;     /* Face efectul de hover (când pui mouse-ul) mai fin */
}

/* Efect când pui mouse-ul pe butoane */
.nav-menu a:hover {
    color: #00bfff;           /* Se schimbă în albastru la hover */
}

/* DREAPTA: CONTACT (Rezolvăm înghesuiala) */
.contact-sidebar {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-align: center; /* Textul stă pe mijloc */
}

.c-link {
    display: flex; /* Asigură-te că are flex ca să funcționeze centrarea */
    align-items: center;
    justify-content: center; /* Pune iconița și textul pe mijlocul rândului */
    gap: 8px;
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
}

.c-link:hover { color: #00bfff; }

.wa-accent { 
    color: #25d366 !important; 
    font-weight: bold;
}

/* LIMBI (RO/GB) */
.language-switch-header {
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.language-switch-header a {
    cursor: pointer; /* Face să apară mânuța la hover */
    font-size: 1rem;
    transition: transform 0.2s ease;
    display: inline-block;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif !important;
}

.language-switch-header a:hover {
    transform: scale(1.2); /* Se mărește puțin când pui mouse-ul */
}

.language-switch-header .sep {
    color: #00bfff;
    opacity: 0.5;
    font-weight: bold;
}

/* CONTACT & LIMBĂ (DREAPTA) */
.nav-right-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Aliniem totul la dreapta marginii */
    flex: 1; /* Forțăm dreapta să ocupe spațiu egal cu stânga */
    width: auto; /* Scoatem lățimea fixă de 280px care poate împinge meniul */
}