/* =================================================================== */
/* MODERN FOOTER STYLES                                              */
/* =================================================================== */
.modern-footer {
    background-color: #045129; /* Koyu Yeşil Arka Plan */
    color: #e0e0e0;
    padding: 60px 0 20px 0;
    font-family: 'Manrope', sans-serif; /* Ana font */
}

.modern-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- ÜST BÖLÜM --- */
.footer-main {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr; /* 4 sütunlu yapı */
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-column {
    padding-top: 10px;
}

/* Sütun 1: Logo ve Açıklama */
.footer-about .footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
}

.footer-description {
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 250px;
}

/* Sütun 2,3,4: Linkler */
.footer-links .footer-heading {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-links ul a:hover {
    color: white;
    padding-left: 5px;
}

/* --- ALT BÖLÜM --- */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    flex-wrap: wrap; /* Mobilde alt alta gelmesi için */
    gap: 15px;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: #bdbdbd;
    text-decoration: none;
    font-size: 0.8rem;
}
.footer-legal a:hover {
    color: white;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: #bdbdbd;
    font-size: 1rem;
}
.footer-social a:hover {
    color: white;
}

.footer-credit {
    font-size: 0.8rem;
    color: #bdbdbd;
}

/* =================================================================== */
/* MOBİL GÖRÜNÜM (768px ve altı)                                     */
/* =================================================================== */

.mobile-only {
    display: none; /* Masaüstünde akordiyonu gizle */
}

@media (max-width: 768px) {
    .desktop-only {
        display: none; /* Mobilde masaüstü linklerini gizle */
    }
    .mobile-only {
        display: block; /* Mobilde akordiyonu göster */
    }

    .footer-main {
        grid-template-columns: 1fr; /* Tek sütuna düşür */
        gap: 20px;
    }

    .footer-about {
        text-align: center;
        /* DÜZELTME: Logo ve yazının merkezlenmesi için footer-about'u flex container yapıyoruz */
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .footer-about .footer-logo {
        justify-content: center;
    }
    .footer-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-accordion {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .footer-accordion summary {
        padding: 15px 0;
        cursor: pointer;
        list-style: none; /* Firefox'taki oku kaldır */
        position: relative;
    }
    .footer-accordion summary::-webkit-details-marker {
        display: none; /* Chrome/Safari'deki oku kaldır */
    }
    .footer-accordion summary::after {
        content: '+';
        position: absolute;
        right: 10px;
        font-size: 1.5rem;
        transition: transform 0.2s ease;
    }

    .footer-accordion[open] summary::after {
        transform: rotate(45deg);
    }
    
    .footer-accordion ul {
        padding: 0 0 15px 15px; /* Açılınca görünecek linklerin stili */
    }
    
    .mobile-footer-buttons {
        margin-top: 30px;
        text-align: center;
    }
    .whatsapp-button {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        background-color: #25D366;
        color: white;
        padding: 12px 25px;
        border-radius: 30px;
        text-decoration: none;
        font-weight: 600;
        margin-bottom: 20px;
    }
    .whatsapp-button i {
        font-size: 1.2rem;
    }
    
    .contact-icons {
        display: flex;
        justify-content: center;
        gap: 30px;
    }
    .contact-icons a {
        color: white;
        font-size: 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }
}