:root {
    --footer-background: #2c2c28;
    --footer-text: #fff;
    --footer-secondary: #999;
    --footer-accent: #D1A23E;
}

.site-footer {
    background-color: var(--footer-background);
    color: var(--footer-text);
    position: relative;
    margin-top: 0;
    width: 100%;
    padding: 60px 0 0;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 500px;
    height: 500px;
    background-image: url('../img/footer_shape.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left top;
    opacity: 0.8;
    z-index: 1;
    transform: translateY(40px);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    position: relative;
    z-index: 2;
}

.footer-navigation {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.footer-title {
    color: var(--footer-secondary);
    font-size: 0.9rem;
    margin-bottom: 25px;
    font-weight: normal;
}

.nav-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.nav-columns ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-columns ul li {
    margin-bottom: 12px;
}

.nav-columns ul li a {
    color: var(--footer-text);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.nav-columns ul li a:hover {
    color: var(--footer-accent);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #444;
    position: relative;
    z-index: 2;
}

.footer-bottom p {
    color: var(--footer-secondary);
    margin: 0;
    font-size: 0.85rem;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-phones,
.contact-emails {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-contact p {
    color: var(--footer-text);
    margin: 8px 0;
    font-size: 0.9rem;
}

.footer-contact a {
    color: var(--footer-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--footer-accent);
}

.footer-social .footer-title {
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background-color: #3a3a35;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--footer-text);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--footer-accent);
    color: #000;
}

.social-icons .icon {
    font-weight: bold;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .site-footer::before {
        width: 300px;
        height: 225px;
        transform: translateX(-80px) translateY(10px);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px;
    }
    
    .nav-columns {
        grid-template-columns: 1fr;
        gap: 20px;
    }
      .footer-contact {
        text-align: center;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        text-align: left;
    }
    
    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .site-footer::before {
        width: 250px;
        height: 188px;
        transform: translateX(-60px) translateY(5px);
    }
    
    .footer-content {
        padding: 0 15px;
    }
    
    .nav-columns {
        gap: 15px;
    }
}
