/* --- 🌟 MEGA FOOTER STİLLERİ --- */

/* 1. Bülten (Newsletter) Alanı */
.newsletter-section {
    background-color: var(--f-bulten-bg, #1e3a8a);
    color: var(--f-bulten-yazi, #ffffff);
    padding: 40px 0;
}

.newsletter-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.newsletter-text {
    display: flex;
    align-items: center;
    gap: 15px;
}

.newsletter-text i {
    font-size: 2.5rem;
}

.newsletter-text h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
}

.newsletter-text p {
    margin: 5px 0 0 0;
    font-size: 0.85rem;
    opacity: 0.9;
}

.newsletter-form {
    flex: 1;
    max-width: 600px;
    display: flex;
    height: 48px;
}

.newsletter-form input {
    flex: 1;
    padding: 0 20px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-family: 'Inter', sans-serif;
    outline: none;
}

.newsletter-form button {
    background-color: #374151; /* Koyu gri/siyah buton */
    color: #fff;
    border: none;
    padding: 0 30px;
    border-radius: 0 4px 4px 0;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.3s;
}

.newsletter-form button:hover {
    background-color: #111827;
}

/* 2. Ana Footer Alanı */
.mega-footer {
    background-color: var(--f-bg, #f8fafc);
    color: var(--f-yazi, #4b5563);
    padding: 60px 0 20px 0;
    font-family: 'Inter', sans-serif;
}

.footer-top-grid {
    display: grid;
    grid-template-columns: 1fr 3fr; /* Sol taraf 1 birim, Sağ taraf 3 birim */
    gap: 40px;
    margin-bottom: 40px;
}

/* Sol Sütun (Logo & İletişim) */
.footer-left .footer-logo {
    display: block;
    margin-bottom: 20px;
}

.footer-left .footer-logo img {
    max-width: 180px;
    height: auto;
}

.footer-left .footer-contact-text {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #fff;
    color: var(--f-ikon, #f97316);
    border-radius: 50%;
    text-decoration: none;
    font-size: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.social-icons a:hover {
    background-color: var(--f-ikon, #f97316);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Sağ Sütunlar (Menüler) */
.footer-menus-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 Eşit Sütun */
    gap: 20px;
}

.footer-menu-col h4 {
    color: var(--f-baslik, #111827);
    font-size: 1rem;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-menu-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu-col ul li {
    margin-bottom: 12px;
}

.footer-menu-col ul li a {
    color: var(--f-yazi, #4b5563);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-menu-col ul li a:hover {
    color: var(--f-ikon, #f97316);
}

/* 3. Footer Alt (Copyright & Ödeme) */
.footer-bottom {
    border-top: 1px solid rgba(0,0,0,0.08);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.footer-payment-img {
    max-height: 30px;
}

/* 📱 MOBİL UYUMLULUK */
@media (max-width: 1024px) {
    .footer-top-grid { grid-template-columns: 1fr; }
    .newsletter-container { flex-direction: column; text-align: center; }
    .newsletter-form { width: 100%; }
}

@media (max-width: 768px) {
    .footer-menus-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
}

@media (max-width: 480px) {
    /* Menüleri yan yana 2'li sütun yapar */
    .footer-menus-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 15px;
    }
    .newsletter-text { flex-direction: column; }
}

/* --- 🎯 YENİ: WHATSAPP FLOATING BUTON STİLLERİ --- */
.whatsapp-floating-wrapper {
    position: fixed;
    z-index: 999999; /* Sitedeki her şeyin üstünde durmasını sağlar */
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wa-tooltip {
    background: #fff;
    color: #334155;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    white-space: nowrap;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none; /* Farenin baloncuğa takılmasını önler */
}

/* Fare butonun üzerine geldiğinde baloncuğu göster */
.whatsapp-floating-wrapper:hover .wa-tooltip {
    opacity: 1;
    transform: translateY(0);
}

.whatsapp-floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Dikkat çekmesi için hafif nabız atma efekti */
    animation: wa-pulse 2s infinite; 
}

.whatsapp-floating-btn:hover {
    transform: scale(1.1);
    animation: none; /* Üzerine gelindiğinde animasyon durur */
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

@keyframes wa-pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.15); }
    70% { box-shadow: 0 0 0 15px rgba(0, 0, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); }
}