/* header-styles.css */

:root {
    --rt-primary-color: #00c194;
    --rt-primary-dark: #00a376;
    --rt-primary-light3: #EAF7F4;
    --rt-text-main: #1a1a1a;
    --rt-text-muted: #7a7a7a;
}

/* Основной контейнер хедера */
.rt-header {
    background: #fff;
    width: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    font-family: inherit;
}

.rt-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

/* Левая часть */
.rt-header__left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.rt-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.rt-logo__img {
    max-height: 45px;
    width: auto;
}

.rt-logo__text {
    font-size: 14px;
    font-weight: 700;
    color: var(--rt-text-main);
    line-height: 1.3;
}

.rt-socials {
    display: flex;
    gap: 8px;
}

.rt-socials__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--rt-primary-light3);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.rt-socials__link:hover {
    background: var(--rt-primary-color);
}

.rt-socials__link:hover svg path {
    fill: #fff;
}

/* Правая часть */
.rt-header__right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.rt-contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.rt-contacts__label {
    font-size: 12px;
    color: var(--rt-text-muted);
    margin-bottom: 4px;
}

.rt-contacts__phones {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.rt-contacts__phones a {
    text-decoration: none;
    color: var(--rt-text-main);
    font-weight: 700;
    font-size: 16px;
    transition: color 0.2s;
}

.rt-contacts__phones a:hover {
    color: var(--rt-primary-color);
}

.rt-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.rt-actions__hours {
    font-size: 12px;
    color: var(--rt-text-muted);
}

/* Кнопки */
.rt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    white-space: nowrap;
}

.rt-btn--outline {
    background: transparent;
    border: 2px solid var(--rt-primary-color);
    color: var(--rt-primary-color);
}

.rt-btn--outline:hover {
    background: var(--rt-primary-color);
    color: #fff;
}

.rt-btn--primary {
    background: var(--rt-primary-color);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 193, 148, 0.3);
}

.rt-btn--primary:hover {
    background: var(--rt-primary-dark);
    transform: translateY(-1px);
}

/* Меню */
.rt-nav {
    border-top: 1px solid #f0f0f0;
    background: #fff;
}

.rt-nav .top_menu {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    list-style: none;
}

.rt-nav .top_menu li a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: var(--rt-text-main);
    font-weight: 500;
    transition: color 0.2s;
}

.rt-nav .top_menu li a:hover {
    color: var(--rt-primary-color);
}

/* Адаптив */
@media (max-width: 992px) {
    .rt-container {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
    
    .rt-header__left, 
    .rt-header__right {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    .rt-contacts, 
    .rt-contacts__phones, 
    .rt-actions {
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .rt-header__left {
        flex-direction: column;
    }
    
    .rt-logo {
        flex-direction: column;
        text-align: center;
    }
}