/* Base Styles */
.header {
    background-color: #EBEBEB;
    width: 100%;
    box-sizing: border-box;
    max-width: 1920px;
}

.main-container {
    border-radius: 32px;
    background-color: white;
    display: flex;
    padding: 32px;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 64px;
    width: auto;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.logo-img:hover {
    opacity: 0.8;
}

.header-components {
    display: flex;
    align-items: center;
    gap: 32px;
}

.button-standart {
    background: none;
    border: none;
    font-family: "TT Hoves", sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #2E2E2E;
    cursor: pointer;
    padding: 8px;
    transition: color 0.3s ease;
}

.button-standart:hover {
    color: #F88613;
}

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
}

.burger-line {
    display: block;
    width: 100%;
    height: 3px;
    background: #2E2E2E;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Burger Animation */
.burger-menu.active .burger-line:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.burger-menu.active .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* Popup Menu */
.menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1001;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu.active {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    opacity: 1;
}

.popup {
    display: flex;
    width: 100%;
    padding: 32px 64px;
    flex-direction: column;
    align-items: flex-start;
    gap: 64px;
    background: #F88613;
    border-radius: 0px 0px 48px 48px;
    box-sizing: border-box;
    position: relative;
}

.logo_layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.close-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin: -8px;
    transition: opacity 0.3s ease;
}

.close-button:hover {
    opacity: 0.8;
}

.popup-con {
    display: flex;
    flex-direction: column;
    gap: 64px;
    width: 100%;
}

.menu-buttons {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 24px;
    width: 100%;
}

.popup-button {
    background: none;
    border: none;
    color: white;
    font-family: "TT Hoves", sans-serif;
    font-size: 24px;
    font-weight: 500;
    cursor: pointer;
    padding: 12px;
    transition: opacity 0.3s ease;
}

.popup-button:hover {
    opacity: 0.8;
}

.razdelitel {
    height: 1px;
    width: 100%;
    background: #EBEBEB;
}

#razdelitel-header {
    background: #2E2E2E;
}

.popup-footer {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* Responsive Styles */
@media (max-width: 1280px) {
    .main-container {
        border-radius: 24px;
    }
    
    .header-components {
        display: none;
    }
    
    .burger-menu {
        display: flex;
    }
    
    .logo-img {
        height: 48px;
    }
}

@media (max-width: 768px) {
    .main-container {
        border-radius: 20px;
        padding: 24px;
    }
    
    .popup {
        padding: 24px 32px;
        gap: 24px;
        border-radius: 0px 0px 24px 24px;
    }
    
    .popup-con {
        gap: 48px;
    }
    
    .popup-button {
        font-size: 20px;
    }
    
    .menu-buttons {
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .main-container {
        border-radius: 16px;
        padding: 16px;
    }
    
    .logo-img {
        height: 32px;
    }
    
    .popup {
        padding: 24px;
        gap: 24px;
        border-radius: 0px 0px 20px 20px;
    }
    
    .popup-con {
        gap: 32px;
    }
    
    .popup-button {
        font-size: 18px;
    }
    
    .menu-buttons {
        gap: 12px;
    }
}