/*
Theme Name: HITERS
File: Modern Footer Design
Version: 1.0.0
Description: Красная, черная, белая цветовая палитра
*/

/* ==========================================
   FOOTER
   ========================================== */
.site-footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    color: var(--primary-white);
    padding: 80px 0 30px;
    border-top: 3px solid var(--primary-red);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

/* ==========================================
   FOOTER ABOUT
   ========================================== */
.footer-about {
    max-width: 350px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.2);
}

.footer-description {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* ==========================================
   FOOTER COLUMNS
   ========================================== */
.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-white);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-red);
}

/* ==========================================
   FOOTER NAVIGATION
   ========================================== */
.footer-menu,
.footer-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-menu a,
.footer-nav ul a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-menu a::before,
.footer-nav ul a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--primary-red);
}

.footer-menu a:hover,
.footer-nav ul a:hover {
    color: var(--primary-red);
    padding-left: 20px;
}

.footer-menu a:hover::before,
.footer-nav ul a:hover::before {
    opacity: 1;
    left: 0;
}

/* ==========================================
   FOOTER CONTACTS
   ========================================== */
.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-contact-item strong {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.footer-contact-item a,
.footer-contact-item span {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
}

.footer-contact-item a:hover {
    color: var(--primary-red);
}

/* ==========================================
   FOOTER SOCIAL
   ========================================== */
.footer-social {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-social-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 52px;
}

.footer-social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(227, 30, 36, 0.3), transparent);
    transition: left 0.5s ease;
}

.footer-social-link:hover::before {
    left: 100%;
}

.footer-social-link:hover {
    background: var(--primary-red);
    border-color: var(--primary-red);
    color: var(--primary-white);
    transform: translateX(6px);
    box-shadow: 0 4px 16px rgba(227, 30, 36, 0.4);
}

.footer-social-link svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.footer-social-link:hover svg {
    transform: scale(1.1) rotate(5deg);
}

/* ==========================================
   FOOTER BOTTOM
   ========================================== */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/* ==========================================
   MOBILE RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-about {
        grid-column: 1 / -1;
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .site-footer {
        padding: 60px 0 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-about {
        grid-column: 1;
    }

    .footer-title {
        font-size: 16px;
    }
}
