.header {
    background-color: #333;
    color: white;
    padding: 10px 20px;
    position: relative;
    z-index: 10;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    width: 60px; /* Logo-ul mai mare */
    height: auto;
    margin-right: 15px;
}

.site-title {
    font-size: 26px; /* Dimensiunea fontului pentru desktop */
    font-weight: bold;
    color: white;
}

/* Meniu de navigare */
nav {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
}

.nav-links li a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    transition: color 0.3s ease;
}

.nav-links li a:hover, .nav-links li a.active {
    color: #ff9900; /* Culoare accent pentru hover și link activ */
}

/* Hamburger pentru mobile */
.hamburger {
    background: none;
    border: none;
    color: white;
    font-size: 30px;
    display: none;
    cursor: pointer;
    transition: transform 0.3s ease, font-size 0.3s ease;
}

/* Media Queries pentru responsive design */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .site-title {
        font-size: 20px; /* Micșorăm numele site-ului pe mobil */
    }

    .nav-links {
        position: absolute;
        top: 60px;
        right: 0;
        background-color: #333;
        width: 100%;
        flex-direction: column;
        align-items: center;
        display: none;
        gap: 20px;
        padding: 20px 0;
        transform: scale(1);
        transition: transform 0.3s ease; /* Efect de scalare */
    }

    .nav-links li a {
        font-size: 16px; /* Micșorăm fontul pe mobil */
        padding: 8px 16px; /* Micșorăm padding-ul pe mobil */
    }

    .hamburger {
        display: block;
        margin-left: auto; /* Hamburger-ul este la dreapta */
    }

    /* Când butonul hamburger este activat, meniul devine mai mic */
    .hamburger.open + .nav-links {
        transform: scale(0.9); /* Micșorăm meniul când este deschis */
    }

    .nav-links.active {
        display: flex;
    }

    /* Modificare icon-ului hamburger la deschidere */
    .hamburger.open i {
        transform: rotate(90deg); /* Rotește icon-ul la 90° */
    }
}