.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.site-main {
    padding: 40px 0;
}

.site-header {
    background: var(--header-bg);
    padding: 10px 0;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    flex: 1;
    justify-content: flex-start;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    width: auto;
    height: 70px;
    object-fit: contain;
}

.main-nav {
    display: flex;
    flex: 1;
    justify-content: flex-end;
}

.main-nav ul {
    display: flex;
    gap: 20px;
    list-style: none;
}

.main-nav a {
    color: var(--white);
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: var(--primary-color);
}

.site-footer {
    padding: 40px 0 20px;
    background: var(--header-bg);
    color: var(--white);
    font-size: 14px;
    text-align: center;
}

.site-footer p {
    margin-top: 10px;
    color: var(--body-bg);
    font-size: 14px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.social-icons a {
    display: flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #444;
    color: var(--white);
    font-size: 18px;
    text-decoration: none;
    transition: 0.3s;
}

.social-icons a:hover {
    transform: scale(1.1);
}

.social-icons a:nth-child(1) {
    background: #1877f2;
}

.social-icons a:nth-child(2) {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.social-icons a:nth-child(3) {
    background: var(--primary-color);
}

@media (max-width: 768px) {
    .site-header .container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .logo,
    .header-search,
    .main-nav {
        width: 100%;
        flex: none;
        justify-content: center;
    }

    .logo img {
        height: 50px;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 10px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .logo img {
        height: 55px;
    }
}
