/*
Bu yazılım anxcure.com'a aittir.
Tüm hakları anxcure.com tarafından saklıdır.
İzinsiz kullanım, kopyalama veya dağıtım yasaktır.
© 2025 anxcure.com. Tüm hakları saklıdır.
*/

:root {
    --ana-renk: #4FD1C5;
    --ikincil-renk: #38B2AC;
    --vurgu-renk: #81E6D9;
    --metin-acik: #FFFFFF;
    --metin-koyu: #000000;
    --arkaplan-acik: #F7FAFC;
    --arkaplan-koyu: #319795;
    --kart-arkaplan: #FFFFFF;
    --kart-hover: #E6FFFA;
    --nav-arkaplan: rgba(79, 209, 197, 0.95);
    --golge-renk: rgba(79, 209, 197, 0.2);
    --accent-color: #4FD1C5;
    --background-dark: #E6FFFA;
    --background-darker: #B2F5EA;
    --card-bg: #FFFFFF;
    --card-hover: #E6FFFA;
    --background-light: #FFFFFF;
    --gradient-start: #4FD1C5;
    --gradient-end: #38B2AC;
    --shadow-color: rgba(79, 209, 197, 0.2);
    --neon-glow: #4FD1C5;
    --koyu: #285E61;
    --shadow-strong: 0 4px 15px rgba(79, 209, 197, 0.15);
}

/* ===== DARK THEME VARIABLES ===== */
[data-theme="dark"] {
    --metin-acik: #1A202C;
    --metin-koyu: #F7FAFC;
    --arkaplan-acik: #1A202C;
    --arkaplan-koyu: #2D3748;
    --kart-arkaplan: #2D3748;
    --kart-hover: #4A5568;
    --card-bg: #2D3748;
    --card-hover: #4A5568;
    --background-light: #2D3748;
    --shadow-color: rgba(0, 0, 0, 0.3);
    --shadow-strong: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.footer {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%) !important;
    color: #fff !important;
    padding: 50px 0 20px;
    position: relative;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3) !important;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin-top: auto;
}

[data-theme="dark"] .footer {
    background: var(--kart-arkaplan);
    color: var(--metin-koyu);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

.footer-marka {
    margin-bottom: 30px;
    text-align: center;
}

.footer-logo {
    height: 45px;
    margin-bottom: 15px;
}

.footer-baslik {
    color: #fff !important;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

[data-theme="dark"] .footer-baslik {
    color: var(--metin-koyu);
}

.footer-iletisim {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-iletisim li {
    margin-bottom: 18px; /* satırlar arası boşluk */
    display: flex;
    align-items: flex-start; /* çok satırlı metinde hizayı sabitle */
    gap: 0; /* sabit margin ile hizalama kontrolü */
    line-height: 1.6; /* okunabilirlik */
    color: rgba(255, 255, 255, 0.8) !important;
}

[data-theme="dark"] .footer-iletisim li {
    color: var(--metin-gri);
}

.footer-iletisim li i {
    color: #4FD1C5;
    font-size: 18px;
    flex: 0 0 26px; /* tüm ikonlar için sabit genişlik */
    width: 26px;
    margin-right: 10px; /* metin boşluğu */
    margin-top: 2px; /* metinle üst hizayı eşitle */
    text-align: center;
}

/* İletişim metinleri için hizalama düzeltmeleri */
.footer-iletisim li a,
.footer-iletisim li span {
    display: inline-block;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.footer-sosyal {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    justify-content: center;
}

.sosyal-link {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8) !important;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

[data-theme="dark"] .sosyal-link {
    background: var(--kart-arkaplan);
    color: var(--metin-gri);
    border: 1px solid var(--border-color);
}

.sosyal-link:hover {
    background: var(--ana-renk);
    color: #fff;
    transform: translateY(-3px);
    border-color: var(--ana-renk);
}

[data-theme="dark"] .sosyal-link:hover {
    background: var(--ana-renk);
    color: var(--metin-koyu);
    border-color: var(--ana-renk);
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
    text-align: center;
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.9rem;
}

[data-theme="dark"] .footer-bottom {
    border-top: 1px solid var(--border-color);
    color: var(--metin-gri);
}

.footer-bottom p {
    margin: 0;
}

[data-theme="dark"] .footer-bottom p {
    color: var(--metin-gri);
}

@media (max-width: 768px) {
    .footer {
        padding: 30px 0 15px;
    }
    
    .footer-marka {
        margin-bottom: 20px;
    }
    
    .footer-baslik {
        margin-top: 20px;
        font-size: 1rem;
    }
    
    .footer-sosyal {
        margin-top: 15px;
    }
}

/* ===== INDEX1.CSS'DEN TAŞINAN FOOTER STİLLERİ ===== */

/* Modern Footer Stilleri */
.footer.modern-footer {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%) !important;
    color: #fff !important;
    padding: 60px 0 30px;
}

.modern-footer {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%) !important;
    color: #fff !important;
    padding: 60px 0 30px;
}

.footer-brand {
    margin-bottom: 30px;
    text-align: center;
}

.footer-logo {
    height: 80px;
    margin-bottom: 20px;
    background: transparent;
    border-radius: 8px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    filter: brightness(1.1);
}

.footer-brand h5 {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 10px;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}

/* İkonlardan sonraki başlık için ekstra boşluk */
.footer .footer-social + * {
    margin-top: 14px;
}

.modern-footer h5 {
    font-size: 1.1rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: 20px;
    color: #fff !important;
}

.footer-links {
    list-style: none;
    padding: 0;
}

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

.footer-links a {
    color: rgba(255,255,255,0.7) !important;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--ana-renk);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--ana-renk);
    color: #fff;
    transform: translateY(-2px);
}

.footer-divider {
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin: 40px 0 20px;
}

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

.footer-legal a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--ana-renk);
}

/* Footer Sosyal Medya ve Yasal Linkler */
.footer-social {
    display: flex;
    gap: 16px;
    margin-top: 18px;
    margin-bottom: 18px; /* ikonlar ile başlık/bağlantılar arasına boşluk */
}

.footer-social a {
    width: 38px;
    height: 38px;
    background: rgba(79, 209, 197, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ana-renk);
    border: 1px solid rgba(79, 209, 197, 0.3);
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--ana-renk);
    color: #fff;
    border-color: var(--ana-renk);
    transform: translateY(-3px) scale(1.08);
}

.footer ul li a {
    color: rgba(255,255,255,0.7) !important;
    text-decoration: none;
    transition: color 0.3s;
}

.footer ul li a:hover {
    color: var(--ana-renk) !important;
}

.footer ul li {
    color: rgba(255,255,255,0.8) !important;
    display: flex;
    align-items: flex-start; /* çok satırlı metinler üstten hizalansın */
    gap: 10px;
    line-height: 1.6;
}

.footer ul li i {
    color: var(--ana-renk) !important;
    margin-right: 8px;
    font-size: 16px;
    flex: 0 0 22px; /* sabit ikon sütunu */
    width: 22px;
    text-align: center;
    margin-top: 2px; /* metin üst hizasıyla eşitle */
}

/* Yasal linkler için ek stil */
.footer ul.mt-2 li a {
    font-size: 0.97rem;
    opacity: 0.85;
}

.footer {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%) !important;
    color: #fff !important;
    padding: 4rem 0 2rem;
}

[data-theme="dark"] .footer {
    background-color: var(--arkaplan-koyu);
    color: var(--metin-acik);
}

.footer h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

[data-theme="dark"] .footer h4 {
    color: var(--metin-acik);
}

.footer p {
    color: #CBD5E0;
    margin-bottom: 1rem;
}

[data-theme="dark"] .footer p {
    color: var(--metin-gri);
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer ul li a {
    color: #CBD5E0;
    text-decoration: none;
    transition: color 0.3s ease;
}

[data-theme="dark"] .footer ul li a {
    color: var(--metin-gri);
}

.footer ul li a:hover {
    color: var(--vurgu-renk);
}

[data-theme="dark"] .footer ul li a:hover {
    color: var(--ana-renk);
}

/* Modal Styles */
.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-header {
    background: linear-gradient(135deg, #4FD1C5 0%, #38B2AC 100%);
    color: white;
    border-radius: 15px 15px 0 0;
    border-bottom: none;
    padding: 20px 25px;
}

.modal-header .btn-close {
    filter: invert(1);
    opacity: 0.8;
}

.modal-header .btn-close:hover {
    opacity: 1;
}

.modal-title {
    font-weight: 600;
    font-size: 1.3rem;
}

.modal-body {
    padding: 30px 25px;
    max-height: 70vh;
    overflow-y: auto;
}

.privacy-content h6,
.terms-content h6 {
    color: #4FD1C5;
    font-weight: 600;
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.privacy-content h6:first-child,
.terms-content h6:first-child {
    margin-top: 0;
}

.privacy-content p,
.terms-content p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.privacy-content ul,
.terms-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.privacy-content li,
.terms-content li {
    color: #666;
    margin-bottom: 8px;
    line-height: 1.5;
}

.modal-footer {
    border-top: 1px solid #eee;
    padding: 20px 25px;
    background-color: #f8f9fa;
    border-radius: 0 0 15px 15px;
}

.modal-footer .btn {
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: 500;
}

/* Dark Mode Modal Styles */
[data-theme="dark"] .modal-content {
    background-color: var(--kart-arkaplan);
    color: var(--metin-koyu);
}

[data-theme="dark"] .modal-body {
    background-color: var(--kart-arkaplan);
}

[data-theme="dark"] .privacy-content p,
[data-theme="dark"] .terms-content p {
    color: var(--metin-gri);
}

[data-theme="dark"] .privacy-content li,
[data-theme="dark"] .terms-content li {
    color: var(--metin-gri);
}

[data-theme="dark"] .modal-footer {
    background-color: var(--arkaplan-koyu);
    border-top-color: rgba(79, 209, 197, 0.2);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

[data-theme="dark"] .footer-bottom {
    border-top: 1px solid rgba(79, 209, 197, 0.2);
}