/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Container styles */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Footer styles */
.site-footer {
    background-color: #f8f9fa;
    padding: 1.75rem 0;
    border-top: 1px solid #e5e5e5;
    width: 100%;
    margin-top: auto;
}

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

/* Contact and Help Center styles */
.contact-info,
.help-center {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.icon-wrapper {
    width: 44px;
    height: 44px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-wrapper i {
    color: #495057;
    font-size: 1.25rem;
}

.contact-details,
.help-details {
    display: flex;
    flex-direction: column;
}

.title {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 0.125rem;
}

.phone,
.email {
    font-size: 0.938rem;
    color: #495057;
    font-weight: 500;
    cursor: pointer;
}

/* Language selection styles */
.language-select {
    margin-left: auto;
    margin-right: 2rem;
}

.btn-language {
    background: white;
    border: 1px solid #dee2e6;
    padding: 0.5rem 0.75rem;
    color: #212529;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    min-width: 80px;
    justify-content: center;
    font-weight: 500;
}

.btn-language:hover {
    background-color: #f8f9fa;
}

.flag-icon {
    width: 18px;
    height: auto;
}

/* QR code styles */
.qr-code {
    width: 90px;
    padding: 6px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    background: white;
    text-align: center;
}

.qr-image {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.qr-text {
    font-size: 9px;
    color: #dc3545;
    margin-top: 4px;
    line-height: 1.2;
    font-weight: 500;
}

/* Legal text styles */
.legal-text {
    font-size: 0.75rem;
    color: #6c757d;
    text-align: center;
    padding-top: 1.25rem;
    border-top: 1px solid #e5e5e5;
    line-height: 1.5;
}

.legal-text p {
    max-width: 1000px;
    margin: 0 auto;
}

/* Responsive styles */
@media (max-width: 992px) {
    .footer-content {
        flex-wrap: wrap;
        gap: 1.5rem;
        justify-content: center;
    }

    .language-select {
        margin: 0;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 1.25rem 0 1rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 0.75rem;
    }

    .contact-info,
    .help-center,
    .language-select,
    .qr-code {
        width: 100%;
        justify-content: center;
    }

    .icon-wrapper {
        width: 36px;
        height: 36px;
        border-radius: 50%;
    }

    .icon-wrapper i {
        font-size: 0.875rem;
    }

    .title {
        font-size: 0.75rem;
    }

    .phone,
    .email {
        font-size: 0.813rem;
    }

    .qr-code {
        width: 80px;
        padding: 4px;
        margin: 0.25rem 0;
    }

    .qr-text {
        font-size: 8px;
        margin-top: 3px;
    }

    .legal-text {
        padding: 0.75rem 0 0;
        font-size: 0.625rem;
        border-top: 1px solid #eee;
    }

    .legal-text p {
        max-width: 100%;
        line-height: 1.4;
    }
}

/* Mobil alt menü olduğunda footer'a ek margin ekle */
@media (max-width: 767.98px) {
    .site-footer {
        margin-bottom: 65px;
    }
}

/* --- Yeni Eklenen Alanın Stilleri --- */

.footer-bottom-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    margin-top: 20px;
    margin-bottom: 20px;
    border-top: 1px solid #e9ecef; /* Üstüne ince bir çizgi */
    border-bottom: 1px solid #e9ecef; /* Altına ince bir çizgi */
    flex-wrap: wrap; /* Mobilde taşarsa aşağı kayması için */
    gap: 15px;
}

/* Sosyal Medya İkonları */
.social-media {
    display: flex;
    gap: 15px;
}

.social-media a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #f8f9fa;
    color: #495057;
    border-radius: 50%; /* Yuvarlak ikonlar */
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #dee2e6;
}

.social-media a:hover {
    background-color: #0d6efd; /* Hover rengi (Theme renginizle değiştirin) */
    color: #fff;
    transform: translateY(-2px); /* Hafif yukarı kalkma efekti */
    border-color: #0d6efd;
}

/* Sözleşme Linkleri */
.contract-links {
    font-size: 0.9rem;
    color: #6c757d;
}

.contract-links a {
    color: #6c757d;
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 500;
}

.contract-links a:hover {
    color: #0d6efd; /* Hover rengi */
    text-decoration: underline;
}

.contract-links .separator {
    margin: 0 8px;
    color: #dee2e6;
    font-size: 0.8rem;
}

/* Mevcut linklerdeki inline style'ları temizlemek için genel kural */
.help-details a {
    text-decoration: none;
    color: #6c757d;
    transition: color 0.2s;
}
.help-details a:hover {
    color: #000;
}

/* --- Responsive (Mobil) Ayarlar --- */
@media (max-width: 768px) {
    .footer-bottom-nav {
        flex-direction: column; /* Mobilde alt alta diz */
        text-align: center;
        gap: 20px;
    }

    .contract-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        line-height: 1.8;
    }

    .contract-links .separator {
        display: none; /* Mobilde dikey çizgileri gizle */
    }

    .contract-links a {
        margin: 0 10px; /* Linkler arasına boşluk koy */
    }
}
