/* Общие стили */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html, body {
    min-height: 100vh;
    background-color: #faebd7;
    font-family: 'Arial', sans-serif;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* NAVBAR */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    padding: 0 40px;
}

.navbar h2 {
    color: #dea69b;
    font-weight: 600;
}

.navbar ul {
    display: flex;
    flex-wrap: wrap;
}

.navbar ul li {
    list-style: none;
}

.navbar ul li a {
    text-decoration: none;
    color: #000;
    font-size: 17px;
    margin-right: 20px;
    padding: 8px 5px;
    border-radius: 5px;
    transition: all 0.25s ease;
}

.navbar ul li a:hover {
    background-color: #dea69b;
    color: #fff;
}

/* FOOTER */
footer {
    background-color: #1c1c1c;
    color: #eaeaea;
    padding: 15px 30px;
    border-top: 3px solid #dea69b;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
}

.footer-left-center {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-left, .footer-center {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-left a, .footer-center a {
    color: #eaeaea;
    text-decoration: none;
    font-size: 14px;
}

.footer-left a:hover, .footer-center a:hover {
    color: #dea69b;
}

/* Соцсети */
.footer-right {
    display: flex;
    gap: 12px;
}

.footer-right a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #333;
    transition: transform 0.3s, box-shadow 0.3s, filter 0.3s;
}

.footer-right a img {
    width: 24px;
    height: 24px;
}

.footer-right a:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    filter: brightness(1.2);
}

/* Footer bottom */
.footer-bottom {
    text-align: center;
    margin-top: 10px;
    font-size: 12px;
    color: #ccc;
}

/* Адаптивность */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .footer-left-center {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .footer-left, .footer-center {
        gap: 10px;
        justify-content: center;
    }
}