/**
 * Footer Enhanced Styles
 * Dinamik footer için geliştirilmiş CSS
 */

/* Footer Background for Green Theme */
.site-footer {
    background: linear-gradient(135deg, #2c5530 0%, #1e3a21 100%) !important;
}

/* Footer About Section */
.footer__about .footer__about-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer__contact-info {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer__contact-info li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    padding: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.5;
}

.footer__contact-info li:last-child {
    margin-bottom: 0;
}

.footer__contact-info li i {
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    margin-top: 0;
    flex-shrink: 0;
    text-align: center;
    font-size: 14px;
}

.footer__contact-info li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer__contact-info li a:hover {
    color: #fff;
}

/* Footer Social Media */
.footer__social {
    display: flex;
    gap: 10px;
    align-items: center;
}

.footer__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer__social a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Footer Logo - Always white */
.footer__logo img {
    max-height: 60px;
    width: auto;
    filter: brightness(0) invert(1) !important;
    -webkit-filter: brightness(0) invert(1) !important;
}

/* Footer Links Enhancement */
.footer__links li {
    margin-bottom: 8px;
}

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

/* SVG Icon colors */
.footer__links svg path {
    fill: rgba(255, 255, 255, 0.5) !important;
}

.footer__links a:hover svg path {
    fill: #fff !important;
}

.footer__links a {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
    padding: 2px 0;
}

.footer__links a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer__links a span {
    margin-right: 8px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* Widget Title Enhancement */
.footer__widget .widget-title {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer__widget .widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 1px;
}

/* Copyright Area Enhancement */
.footer__copyright-wrapper {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__copyright-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.footer__copyright-text a {
    color: #ff5e14;
    text-decoration: none;
    font-weight: 500;
}

.footer__copyright-text a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 991px) {
    .footer__widget {
        margin-bottom: 40px;
    }
    
    .footer__social {
        justify-content: flex-start;
        margin-top: 20px;
    }
}

@media (max-width: 767px) {
    .site-footer {
        padding-top: 40px;
    }
    
    .footer__widget {
        margin-bottom: 30px;
        text-align: left;
    }
    
    .footer__widget .widget-title {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .footer__contact-info li {
        font-size: 13px;
        margin-bottom: 10px;
    }
    
    .footer__links a {
        font-size: 13px;
    }
    
    .footer__social {
        justify-content: flex-start;
        gap: 8px;
    }
    
    .footer__social a {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
    
    .footer__copyright {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer__copyright-text {
        font-size: 12px;
        order: 2;
    }
    
    .footer__copyright-img {
        order: 1;
    }
}

@media (max-width: 575px) {
    /* Footer padding düzeltmesi */
    .site-footer {
        padding: 40px 0 20px !important;
    }
    
    .site-footer .container {
        padding: 0 15px !important;
    }
    
    /* Column düzeltmeleri - Yan yana gösterim için */
    .footer__custom-col {
        padding: 0 8px !important;
        margin-bottom: 35px !important;
    }
    
    /* İlk column (logo ve iletişim) tam genişlik */
    .footer__custom-col:first-child {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        margin-bottom: 40px !important;
        text-align: center !important;
    }
    
    /* Hızlı Linkler ve Hizmetlerimiz yan yana */
    .footer__custom-col:nth-child(2),
    .footer__custom-col:nth-child(3) {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
    
    /* Newsletter tam genişlik */
    .footer__custom-col:last-child {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        margin-top: 20px !important;
        text-align: center !important;
    }
    
    /* Logo responsive - Merkezi hizalama */
    .footer__logo {
        text-align: center !important;
        margin-bottom: 20px !important;
    }
    
    .footer__logo img {
        max-height: 45px !important;
        width: auto !important;
        margin: 0 auto !important;
    }
    
    /* About text - Merkezi ve orantılı */
    .footer__about-text {
        font-size: 14px !important;
        line-height: 1.7 !important;
        color: rgba(255, 255, 255, 0.85) !important;
        margin-bottom: 25px !important;
        text-align: center !important;
        padding: 0 10px !important;
    }
    
    /* İletişim bilgileri - Merkezi ve orantılı */
    .footer__contact-info {
        text-align: left !important;
        display: inline-block !important;
        margin: 0 auto !important;
    }
    
    .footer__contact-info li {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 0 !important;
        word-break: break-word !important;
        margin-bottom: 15px !important;
        min-height: 22px !important;
    }
    
    .footer__contact-info li i {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-width: 24px !important;
        width: 24px !important;
        height: 24px !important;
        margin-right: 12px !important;
        margin-top: 0 !important;
        font-size: 14px !important;
        flex-shrink: 0 !important;
        text-align: center !important;
        background: rgba(255, 255, 255, 0.1) !important;
        border-radius: 50% !important;
    }
    
    .footer__contact-info li a,
    .footer__contact-info li span {
        display: inline-flex !important;
        align-items: center !important;
        line-height: 1.5 !important;
        font-size: 14px !important;
        height: auto !important;
        color: rgba(255, 255, 255, 0.9) !important;
    }
    
    /* Widget başlıkları - Daha belirgin */
    .footer__widget .widget-title {
        font-size: 17px !important;
        margin-bottom: 18px !important;
        font-weight: 600 !important;
        color: #fff !important;
        padding-bottom: 10px !important;
    }
    
    .footer__widget .widget-title::after {
        width: 30px !important;
        height: 2px !important;
        background: rgba(255, 255, 255, 0.4) !important;
    }
    
    /* Footer linkleri - Yan yana düzen için optimizasyon */
    .footer__links {
        padding-left: 0 !important;
    }
    
    .footer__links li {
        margin-bottom: 10px !important;
    }
    
    .footer__links a {
        font-size: 13px !important;
        padding: 5px 0 !important;
        color: rgba(255, 255, 255, 0.85) !important;
        display: flex !important;
        align-items: center !important;
        transition: all 0.2s ease !important;
    }
    
    .footer__links a:hover {
        color: #fff !important;
        padding-left: 3px !important;
    }
    
    /* Yan yana columnlar için link düzeni */
    .footer__custom-col:nth-child(2) .footer__links li,
    .footer__custom-col:nth-child(3) .footer__links li {
        margin-bottom: 8px !important;
    }
    
    /* SVG ikonları orantılı boyut */
    .footer__links svg {
        width: 11px !important;
        height: 11px !important;
        margin-right: 6px !important;
    }
    
    /* Sosyal medya butonları - Merkezi ve orantılı */
    .footer__social {
        display: flex !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 10px !important;
        margin-top: 25px !important;
    }
    
    .footer__social a {
        width: 38px !important;
        height: 38px !important;
        font-size: 16px !important;
        background: rgba(255, 255, 255, 0.12) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        border-radius: 10px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        transition: all 0.3s ease !important;
    }
    
    .footer__social a:hover {
        background: rgba(255, 255, 255, 0.2) !important;
        transform: translateY(-2px) !important;
    }
    
    /* Copyright alanı */
    .footer__copyright-wrapper {
        padding: 15px 0 !important;
    }
    
    .footer__copyright {
        flex-direction: column !important;
        gap: 10px !important;
    }
    
    .footer__copyright-text {
        font-size: 12px !important;
        text-align: center !important;
        line-height: 1.5 !important;
    }
    
    /* Grid düzeltmesi */
    .site-footer .row {
        margin: 0 -10px !important;
    }
    
    .site-footer [class*="col-"] {
        padding: 0 10px !important;
    }
}