header {
    background: linear-gradient(180deg, #e8f0ee 0%, #fff 100%);
    color: #004022;
    padding: 8px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    width: 100%;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
}

.header-logo {
    width: 200px;
    height: auto;
}

nav {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav ul li {
    position: relative;
    padding-bottom: 5px;
}

nav ul li a:link, 
nav ul li a:visited, 
nav ul li a:active {
    color: #004022;
    text-decoration: none;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    background-color: #005b2e;
    color: #fff;
    border-radius: 4px;
}

.dropdown .dropbtn {
    cursor: pointer;
}

.dropdown .dropbtn i {
    margin-left: 0.5rem;
    font-size: 0.8rem;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a:link, 
.dropdown-content a:visited, 
.dropdown-content a:active {
    color: #004022;
    padding: 12px 16px;
    display: block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dropdown-content a:hover {
    background-color: #005b2e;
    color: #fff;
    border-radius: 4px;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.submenu {
    position: relative;
    padding-bottom: 5px;
}

.submenu-trigger {
    display: flex;
    align-items: center;
}

.submenu-trigger i {
    margin-left: 0.5rem;
    font-size: 0.8rem;
}

.submenu-content {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    background-color: #fff;
    min-width: 250px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
}

.submenu-content a:link, 
.submenu-content a:visited, 
.submenu-content a:active {
    color: #004022;
    padding: 12px 16px;
    display: block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.submenu-content a:hover {
    background-color: #005b2e;
    color: #fff;
    border-radius: 4px;
}

.submenu:hover .submenu-content {
    display: block;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-phone {
    color: #004022;
    font-size: 1.1rem;
    text-decoration: none;
    transition: color 0.3s;
}

.header-phone:hover {
    color: #003018;
}

.phone-container {
    background: #d9e0dd;
    padding: 0.5rem 1rem;
    border: 1px solid #004022;
    border-radius: 50px;
    font-weight: 700;
    color: #004022;
    transition: all 0.3s ease;
}

.header-phone:hover .phone-container {
    background: #c8d3cf;
    color: #003018;
}

.language-selector {
    position: relative;
}

.language-toggle {
    background: #d9e0dd;
    padding: 0.5rem;
    border: 1px solid #004022;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.language-toggle:hover {
    background: #c8d3cf;
}

.language-toggle i {
    color: #004022;
    font-size: 1rem;
}

.language-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 2px);
    right: 0;
    background: #fff;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    border-radius: 4px;
    min-width: 100px;
    z-index: 1;
}

.language-selector:hover .language-dropdown {
    display: block;
}

.language-option {
    display: block;
    padding: 0.5rem 1rem;
    color: #004022;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.language-option:hover {
    background: #f5f5f5;
}

.language-option.active {
    font-weight: bold;
    background: #e8f0ee;
}

.header-cta {
    background-color: #005b2e;
    color: #fff;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 4px;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.header-cta:hover {
    background-color: #003018;
}

.search-icon {
    margin-left: auto;
    position: relative;
}

.search-icon a {
    display: flex;
    align-items: center;
    padding: 10px;
    color: #333;
    font-size: 1.2rem;
}

.search-icon a:hover {
    color: #fff;
    background: #005b2e;
    border-radius: 4px;
}

.search-dropdown {
    position: fixed;
    background: #fff;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    border-radius: 4px;
    width: 250px;
    z-index: 1000;
    padding: 10px;
    top: 70px;
    right: 15px;
}

.search-form {
    display: flex;
    gap: 8px;
}

.search-form input {
    padding: 7px;
    width: 100%;
    border: 1px solid #d9e0dd;
    border-radius: 5px;
    font-size: 0.8rem;
}

.search-form button {
    padding: 7px 14px;
    background: #005b2e;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.8rem;
}

.search-form button:hover {
    background: #003018;
}

.burger-menu {
    display: none;
    font-size: 1.8rem;
    color: #004022;
    cursor: pointer;
    padding: 10px;
}

/* Mobile menu */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
}

.mobile-menu-overlay.active {
    display: block;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background: #fff;
    box-shadow: -4px 0 15px rgba(0,0,0,0.2);
    transition: right 0.35s ease;
    z-index: 1001;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    padding: 20px;
    text-align: right;
}

.close-menu {
    font-size: 2rem;
    color: #004022;
    cursor: pointer;
}

.mobile-menu-top {
    padding: 20px;
    border-bottom: 1px solid #e8f0ee;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-phone {
    font-size: 1.3rem;
    font-weight: 700;
    color: #004022;
    text-align: center;
}

.mobile-lang .language-toggle {
    justify-content: center;
    padding: 10px;
    background: #d9e0dd;
    border-radius: 8px;
}

.mobile-search-form {
    display: flex;
    gap: 10px;
}

.mobile-search-form input {
    flex: 1;
    padding: 12px;
    border: 1px solid #d9e0dd;
    border-radius: 8px;
}

.mobile-search-form button {
    padding: 12px 18px;
    background: #005b2e;
    color: #fff;
    border: none;
    border-radius: 8px;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu ul li a {
    display: block;
    padding: 18px 25px;
    color: #004022;
    text-decoration: none;
    font-size: 1.2rem;
    border-bottom: 1px solid #e8f0ee;
}

.mobile-dropdown > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-dropdown.active > a i {
    transform: rotate(90deg);
}

.mobile-dropdown-content {
    display: none;
    background: #f5f5f5;
}

.mobile-dropdown.active .mobile-dropdown-content {
    display: block;
}

.mobile-dropdown-content a {
    padding-left: 50px;
    font-size: 1.1rem;
}

/* Media queries */
@media (max-width: 767px) {
    .header-content {
        padding: 10px 15px;
    }

    .header-logo {
        width: 180px;
    }

    nav, .header-contact, .search-icon {
        display: none;
    }

    .burger-menu {
        display: block;
    }

    .search-dropdown {
        width: 90%;
        max-width: 300px;
        left: 5%;
        right: auto;
    }
}

@media (max-width: 479px) {
    .header-logo {
        width: 150px;
    }
}