* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Arial, sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #f8f9fa;
    color: #333;
}

/* Стили для заголовка */
header {
    background: white;
    padding: 15px 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1920px;
    margin: 0 auto;
    gap: 20px;
}



.logo img {
    height: 100px;
    width: auto;
    border-radius: 0%;
}

.nav-buttons {
    display: flex;
    gap: 25px;
}

.nav-btn {
    padding: 8px 0;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 16px;
    color: #333;
    position: relative;
}

.nav-btn:hover,
.nav-btn.active {
    color: #244fac;
}

.nav-btn.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #244fac;
}

.search-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-input {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 25px;
    width: 200px;
    font-size: 14px;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-primary {
    background-color: #244fac;
    color: white;
}

.btn-primary:hover {
    background-color: #d165ec;
}

.btn-icon {
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: transparent;
    border: none;
    cursor: pointer;
}

/* Счетчики для иконок */
.icon-counter {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Красное сердце по умолчанию */
.btn-icon:first-child img {
    filter: brightness(0) saturate(100%) invert(26%) sepia(89%) saturate(7483%) hue-rotate(355deg) brightness(91%) contrast(87%);
}

.page-layout {
    display: flex;
    min-height: calc(100vh - 80px);
}

.sidebar {
    width: 250px;
    background: #244fac;
    padding: 20px;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
}

.main-content {
    flex: 1;
    padding: 20px;
    background: #f8f9fa;
}

.nav-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.nav-section-title {
    color: #244fac;
    font-weight: bold;
    font-size: 12px;
    margin: 10px 0 5px 0;
    text-transform: uppercase;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
    font-size: 14px;
}

.nav-item:hover {
    background-color: #d165ec;
}

.nav-item img {
    width: 18px;
    height: 18px;
}

.nav-item span {
    color: #f5f5f5;
}
/* Стили для футера */

footer {
    background: #244fac;
    padding: 50px 70px;
    margin-top: auto;
}

/* Основной блок */
.footer-main {
    display: flex;
    justify-content: space-between;
    gap: 60px;
}

.footer-left,
.footer-right {
    flex: 1;
}

/* Профиль */
.profile {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 25px;
}

.profile img {
    width: 200%;
    border-radius: 0%;
}

.profile h3 {
    font-size: 18px;
    font-weight: 600;
}

.profile p {
    color: #777;
    margin-top: 2px;
}

/* Контакты */
.contact-info {
    list-style: none;
    margin: 20px 0 30px 0;
    color: #f5f5f5;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 10px 0;
    font-size: 15px;
}

.contact-info img {
    width: 22px;
}

/* Соцсети */
.social h4 {
    font-size: 17px;
    margin-bottom: 5px;
    color: #f5f5f5;
}

.social p {
    color:#f5f5f5;
    margin-bottom: 12px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons img {
    width: 30px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.social-icons img:hover {
    opacity: 0.7;
}

/* Правая часть */
.footer-right h3 {
    font-size: 20px;
    margin-bottom: 5px;
    color: #f5f5f5;
}

.footer-right p {
    color: #f5f5f5;
    margin-bottom: 20px;
}

/* Форма */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
}

.contact-form textarea {
    height: 120px;
    resize: none;
}

.contact-form button {
    padding: 14px;
    background: #3785ff;
    border: none;
    color: white;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    transition: 0.2s;
}

.contact-form button:hover {
    background: #2e6de0;
}

/* Нижняя линия */
.footer-bottom-line {
    height: 1px;
    background: #dcdcdc;
    margin: 30px 0;
}

/* Нижний текст */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bottom-links a {
    margin-right: 25px;
    text-decoration: none;
    color: #f5f5f5;
    font-size: 14px;
}

.bottom-links a:hover {
    text-decoration: underline;
}

.footer-bottom .rights {
    font-size: 14px;
    color: #f5f5f5;
}

/* Мобильная версия */
@media (max-width: 900px) {
    .footer-main {
        flex-direction: column;
        gap: 40px;
    }
}