/* =============================================
   Footer Section
   ============================================= */

.site-footer {
    background-color: #0a1628;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

/* Decorative Background */
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(227, 41, 42, 0.5), transparent);
}

/* Main Footer */
.footer-main {
    padding: 80px 0 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 50px;
}

/* Footer Brand */
.footer-brand {
    padding-right: 40px;
}

.footer-logo {
    margin-bottom: 24px;
}

.footer-logo img {
    height: 60px;
    width: auto;
}

.footer-desc {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 28px;
}

/* Social Links */
.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: var(--white);
    font-size: 1.125rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

/* Footer Columns */
.footer-column {
    
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 28px;
    font-family: var(--font-heading);
    position: relative;
    padding-bottom: 16px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links li:last-child {
    margin-bottom: 0;
}

.footer-links a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a::before {
    content: '';
    width: 6px;
    height: 6px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-links a:hover::before {
    opacity: 1;
}

/* Contact Info */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact li:last-child {
    margin-bottom: 0;
}

.footer-contact li i {
    width: 20px;
    color: var(--secondary-color);
    font-size: 1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--white);
}

/* Newsletter */
.footer-newsletter {
    margin-top: 24px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-input {
    flex: 1;
    padding: 14px 18px;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--white);
    font-size: 0.9375rem;
    transition: all 0.3s ease;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--secondary-color);
    background-color: rgba(255, 255, 255, 0.12);
}

.newsletter-btn {
    padding: 14px 20px;
    background-color: var(--secondary-color);
    border: none;
    border-radius: 10px;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    background-color: var(--accent-color);
}

.newsletter-btn i {
    font-size: 1rem;
}

/* Footer Bottom */
.footer-bottom {
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer-copyright {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-copyright a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
}

.footer-copyright a:hover {
    color: var(--white);
}

.footer-bottom-links {
    display: flex;
    gap: 30px;
}

.footer-bottom-links a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--white);
}

/* =============================================
   Responsive Styles
   ============================================= */

@media (max-width: 1199px) {
    .footer-grid {
        gap: 40px;
    }
    
    .footer-brand {
        padding-right: 20px;
    }
}

@media (max-width: 991px) {
    .footer-main {
        padding: 60px 0 50px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px 30px;
    }
    
    .footer-brand {
        grid-column: span 2;
        padding-right: 0;
        text-align: center;
    }
    
    .footer-logo {
        display: flex;
        justify-content: center;
    }
    
    .footer-desc {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links a {
        justify-content: center;
    }
    
    .footer-links a::before {
        display: none;
    }
    
    .footer-contact li {
        justify-content: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .footer-bottom-links {
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .footer-main {
        padding: 50px 0 40px;
    }
    
    .footer-logo img {
        height: 50px;
    }
    
    .footer-title {
        font-size: 1rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
}

/* =============================================
   RTL (Arapça) Desteği
   ============================================= */

[dir="rtl"] .footer-brand {
    padding-right: 0;
    padding-left: 40px;
}

[dir="rtl"] .footer-title::after {
    left: auto;
    right: 0;
}

[dir="rtl"] .footer-links a:hover {
    padding-left: 0;
    padding-right: 4px;
}

[dir="rtl"] .footer-contact li {
    flex-direction: row-reverse;
    text-align: right;
}

[dir="rtl"] .footer-bottom-content {
    flex-direction: row-reverse;
}

[dir="rtl"] .footer-bottom-links {
    flex-direction: row-reverse;
}

@media (max-width: 1199px) {
    [dir="rtl"] .footer-brand {
        padding-left: 20px;
    }
}

@media (max-width: 991px) {
    [dir="rtl"] .footer-brand {
        padding-left: 0;
    }
}

@media (max-width: 768px) {
    [dir="rtl"] .footer-title::after {
        right: 50%;
        transform: translateX(50%);
    }
    
    [dir="rtl"] .footer-contact li {
        flex-direction: row;
        text-align: center;
    }
    
    [dir="rtl"] .footer-bottom-content {
        flex-direction: column;
    }
}
