/**
 * Footer Styles
 * 
 * @package Istochnik_Referral
 */

/* ==========================================================================
   Footer
   ========================================================================== */

.ak-footer {
    position: relative;
    background: #29275C;
    color: #FFFFFF;
    padding: 60px 0 40px;
    overflow: hidden;
}

.ak-footer-container {
    max-width: 1820px;
    margin: 0 auto;
    padding: 0 50px;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 1;
    align-items: flex-start;
}

/* Footer Logo Section */
.ak-footer-logo {
    display: flex;
    flex-direction: column;
}

.ak-footer-logo img {
    width: 200px;
    height: auto;
    max-width: 100%;
}

.ak-footer-copyright {
    font-family: 'TT Interfaces', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 18px;
    line-height: 115%;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.3);
}

/* Footer Links Sections */
.ak-footer-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ak-footer-section h4 {
    font-family: 'TT Interfaces', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -0.01em;
    margin-bottom: 10px;
    opacity: 0.7;
}

.ak-footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ak-footer-link {
    font-family: 'TT Interfaces', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    line-height: 115%;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: underline;
    transition: opacity 0.3s ease, color 0.3s ease;
}

.ak-footer-link:hover {
    opacity: 1;
    color: rgba(255, 255, 255, 0.8);
}

/* Footer Contacts */
.ak-footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-end;
}

.ak-footer-contact {
    font-family: 'TT Interfaces', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 18px;
    line-height: 115%;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.5);
    transition: opacity 0.3s ease, color 0.3s ease;
    text-align: right;
    text-decoration: none;
}

.ak-footer-contact:hover {
    opacity: 1;
    color: rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

/* Tablet - 1200px */
@media (max-width: 1200px) {
    .ak-footer-container {
        flex-wrap: wrap;
        gap: 30px;
    }
}

/* Tablet/Mobile - 968px */
@media (max-width: 968px) {
    .ak-footer {
        padding: 50px 0 30px;
    }
    
    .ak-footer-container {
        padding: 0 40px;
        gap: 25px;
    }
    
    .ak-footer-logo img {
        width: 180px;
    }
    
    .ak-footer-contacts {
        align-items: flex-start;
    }
    
    .ak-footer-contact {
        text-align: left;
    }
}

/* Mobile - 768px */
@media (max-width: 768px) {
    .ak-footer {
        padding: 40px 0 25px;
    }
    
    .ak-footer-container {
        flex-direction: column;
        padding: 0 30px;
        gap: 25px;
        align-items: center;
        text-align: center;
    }
    
    .ak-footer-logo {
        align-items: center;
    }
    
    .ak-footer-logo img {
        width: 160px;
    }
    
    .ak-footer-copyright {
        font-size: 16px;
        text-align: center;
    }
    
    .ak-footer-section {
        align-items: center;
    }
    
    .ak-footer-links {
        align-items: center;
    }
    
    .ak-footer-link {
        font-size: 12px;
        text-align: center;
    }
    
    .ak-footer-contacts {
        align-items: center;
    }
    
    .ak-footer-contact {
        font-size: 16px;
        text-align: center;
    }
}

/* Small Mobile - 480px */
@media (max-width: 480px) {
    .ak-footer {
        padding: 30px 0 20px;
    }
    
    .ak-footer-container {
        padding: 0 20px;
        gap: 20px;
        align-items: center;
        text-align: center;
    }
    
    .ak-footer-logo {
        align-items: center;
    }
    
    .ak-footer-logo img {
        width: 140px;
    }
    
    .ak-footer-copyright {
        font-size: 14px;
        text-align: center;
    }
    
    .ak-footer-section {
        align-items: center;
    }
    
    .ak-footer-links {
        align-items: center;
    }
    
    .ak-footer-link {
        font-size: 11px;
        text-align: center;
    }
    
    .ak-footer-contacts {
        align-items: center;
    }
    
    .ak-footer-contact {
        font-size: 14px;
        text-align: center;
    }
    
    .ak-footer-section h4 {
        font-size: 16px;
        text-align: center;
    }
}

.ak-footer-container--minimal {
    justify-content: flex-start;
}
