.site-header,
.site-header * {
    box-sizing: border-box;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #1a1a1a;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-container {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 40px;
}

.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.header-logo {
    display: flex;
    align-items: center;
}

.logo-link {
    display: inline-block;
    text-decoration: none;
}

.logo-image {
    height: 50px;
    width: auto;
    display: block;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    gap: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #F5F3EE;
    transition: all 0.3s ease;
}

.header-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: inline-block;
    position: relative;
    text-decoration: none;
    color:#F5F3EE;
    font-family: 'Roboto_Regular', sans-serif;
    font-size: 16px;
    font-weight: 400;
    padding: 10px 0;
    transition: color 0.3s ease;
}

.nav-item.active .nav-link::after,
.nav-link.active::after,
.nav-link:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background-color: #F5F3EE;
    transition: width 0.3s ease;
}

/* Dropdown Menu */
.nav-item.has-dropdown {
    position: relative;
}

.nav-dropdown-arrow {
    display: inline-block;
    margin-left: 4px;
    font-size: 10px;
    color: #F5F3EE;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.nav-item.has-dropdown:hover .nav-dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 200px;
    background-color: #FFFFFF;
    border-radius: 0.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    padding: 0.5rem 0;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    z-index: 1100;
}

.nav-item.has-dropdown:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown li {
    border-bottom: none;
}

.nav-dropdown li a {
    display: block;
    padding: 0.75rem 1.25rem;
    font-family: 'Roboto_Regular', sans-serif;
    font-size: 0.875rem;
    font-weight: 400;
    color: #0B0F0D;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s ease, background-color 0.3s ease;
    position: relative;
}

.nav-dropdown li a:hover {
    color: #c8a96e;
    background-color: #f9f9f9;
}

.nav-dropdown li:last-child a {
    border-bottom: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 30px;
}

.btn-get-quote {
    display: inline-block;
    padding: 12px 32px;
    background-color: #123326;
    color: #FFFFFF;
    text-decoration: none;
    font-family: 'Roboto_Bold', sans-serif;
    font-size: 14px;
    font-weight: 700;
    border-radius: 4px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-get-quote:hover {
    background-color: #dabb7e;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(200, 169, 110, 0.3);
}

.language-switch {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-link {
    text-decoration: none;
    color: #ffffff;
    font-family: 'Roboto_Regular', sans-serif;
    font-size: 14px;
    transition: color 0.3s ease;
}

.lang-link:hover,
.lang-link.active {
    color: #c8a96e;
}

.lang-separator {
    color: #666666;
    font-size: 12px;
}

@media screen and (max-width: 1440px) {
    .header-container {
        padding: 0 30px;
    }
    
    .nav-menu {
        gap: 30px;
    }
    
    .nav-link {
        font-size: 15px;
    }
    
    .header-actions {
        gap: 20px;
    }
}

@media screen and (max-width: 1200px) {
    .header-container {
        padding: 0 20px;
    }
    
    .nav-menu {
        gap: 20px;
    }
    
    .nav-link {
        font-size: 14px;
    }
    
    .btn-get-quote {
        padding: 10px 24px;
        font-size: 13px;
    }
}

@media screen and (max-width: 992px) {
    .header-main {
        flex-wrap: wrap;
        height: auto;
        padding: 15px 0;
        gap: 15px;
    }
    
    .header-logo {
        margin-right: auto;
    }
    
    .header-nav {
        order: 3;
        width: 100%;
        justify-content: flex-start;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .nav-link {
        font-size: 14px;
    }

    .nav-dropdown {
        min-width: 180px;
    }

    .nav-dropdown li a {
        font-size: 13px;
        padding: 0.625rem 1rem;
    }
}

@media screen and (max-width: 768px) {
    .header-container {
        padding: 0 15px;
    }
    
    .header-main {
        height: 60px;
        flex-wrap: nowrap;
    }
    
    .header-logo {
        flex-shrink: 0;
        margin-right: 0;
    }
    
    .logo-image {
        height: 36px;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .header-actions {
        gap: 10px;
        flex-shrink: 0;
    }
    
    .btn-get-quote {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .lang-link {
        font-size: 12px;
    }
    
    .lang-separator {
        font-size: 10px;
    }
    
    .header-nav {
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background-color: #1a1a1a;
        padding: 20px 15px;
        display: none;
        flex-direction: column;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    }
    
    .header-nav.show {
        display: flex;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }
    
    .nav-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-item:last-child {
        border-bottom: none;
    }
    
    .nav-link {
        display: block;
        padding: 12px 0;
        font-size: 15px;
    }
    
    .nav-item.active .nav-link::after,
    .nav-link.active::after,
    .nav-link:hover::after {
        display: none;
    }
    
    .nav-item.active .nav-link,
    .nav-link.active {
        color: #c8a96e;
    }

    .nav-item.has-dropdown {
        position: relative;
    }

    .nav-dropdown-arrow {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 10px;
        color: #F5F3EE;
        transition: transform 0.3s ease;
    }

    .nav-item.has-dropdown.open .nav-dropdown-arrow {
        transform: translateY(-50%) rotate(180deg);
    }

    .nav-dropdown {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        display: none;
        background-color: #2a2a2a;
        border-radius: 0;
        box-shadow: none;
        padding: 0;
        min-width: 0;
    }

    .nav-item.has-dropdown.open .nav-dropdown {
        display: block;
    }

    .nav-dropdown li a {
        color: #D8D6CF;
        padding: 10px 15px 10px 30px;
        font-size: 14px;
    }

    .nav-dropdown li a:hover {
        color: #c8a96e;
        background-color: rgba(255, 255, 255, 0.05);
    }
}

@media screen and (max-width: 480px) {
    .header-container {
        padding: 0 10px;
    }
    
    .header-main {
        height: 50px;
    }
    
    .logo-image {
        height: 28px;
    }
    
    .mobile-menu-btn {
        width: 36px;
        height: 36px;
    }
    
    .mobile-menu-btn span {
        width: 20px;
    }
    
    .btn-get-quote {
        padding: 5px 8px;
        font-size: 10px;
    }
    
    .language-switch {
        gap: 4px;
    }
    
    .lang-link {
        font-size: 10px;
    }
    
    .lang-separator {
        font-size: 10px;
    }
    
    .header-nav {
        top: 50px;
    }
}
