/* css/header.css */
.site-header {
    background: #ffffff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.site-header.fixed {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    max-height: 60px;
    width: auto;
    transition: all 0.3s ease;
}

.logo img:hover {
    opacity: 0.9;
}

.header-contacts {
    text-align: right;
}

.phone {
    margin-bottom: 5px;
}

.phone a {
    font-size: 1.4em;
    font-weight: 600;
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.phone a:hover {
    color: #b7975c;
}

.address {
    color: #7f8c8d;
    font-size: 0.95em;
}

.address i {
    color: #b7975c;
    margin-right: 5px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background: #2c3e50;
    transition: all 0.3s;
    border-radius: 3px;
}

/* Анимация гамбургера */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.main-nav {
    padding: 12px 0;
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 40px;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    padding: 5px 0;
    transition: color 0.3s ease;
    font-size: 1.05em;
    position: relative;
}

.nav-menu a:hover {
    color: #b7975c;
}

/* Стили для активного пункта меню */
.nav-menu a.active {
    color: #b7975c;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #b7975c;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 100%;
        opacity: 1;
    }
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 999;
    border-top: 1px solid #eee;
}

.mobile-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu li {
    margin-bottom: 15px;
}

.mobile-menu a {
    color: #2c3e50;
    text-decoration: none;
    font-size: 1.1em;
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-menu a:hover {
    color: #b7975c;
    padding-left: 10px;
}

/* Стили для активного пункта в мобильном меню */
.mobile-menu a.active {
    color: #b7975c;
    font-weight: 500;
    border-bottom-color: #b7975c;
    padding-left: 10px;
}

.mobile-menu a.active::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #b7975c;
    font-size: 1.2em;
}

@media (max-width: 992px) {
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
}

@media (max-width: 768px) {
    .header-contacts {
        display: none;
    }
    
    .logo img {
        max-height: 50px;
    }
}