/* Tek Çubuk Footer CSS - AncientARK */
:root {
    --primary-gold: #E6C67A;
    --secondary-red: #7A1F1F;
    --tertiary-purple: #3C1F7A;
    --bg-dark: #0e0f0a;
    --footer-bg: rgba(15, 14, 10, 0.95);
    --text-light: #FFFFFF;
    --text-muted: rgba(255, 255, 255, 0.7);
    --border-accent: rgba(230, 198, 122, 0.2);
    --transition-normal: all 0.2s ease;
    --transition-slow: all 0.3s ease;
}

/* Genel Ayarlar */
html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Footer Ana Yapı - Tek Çubuk */
.site-footer {
    width: 100%;
    background: linear-gradient(135deg, var(--footer-bg) 0%, rgba(15, 15, 20, 0.98) 100%);
    color: var(--text-light);
    margin-top: auto;
    border-top: 2px solid var(--border-accent);
    position: relative;
    z-index: 100;
}

/* Ana Footer Çubuğu */
.footer-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 20px;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 40px;
    gap: 15px;
}

/* Sol Taraf - Logo */
.footer-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.footer-logo {
    font-weight: bold;
    font-size: 1rem;
    color: var(--primary-gold);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.footer-tagline {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.footer-separator {
    color: var(--border-accent);
    margin: 0 4px;
    font-size: 0.8rem;
}

/* Orta - Sosyal Medya */
.footer-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.footer-socials {
    display: flex;
    gap: 12px;
    align-items: center;
}

.footer-social {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1.1rem;
    transition: var(--transition-normal);
    padding: 6px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.footer-social:hover {
    color: var(--primary-gold);
    background: rgba(230, 198, 122, 0.1);
    transform: translateY(-2px);
}

.footer-social.disabled {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}

/* Sağ Taraf - Linkler ve Copyright */
.footer-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-link {
    background: none;
    border: none;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.75rem;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.footer-link:hover {
    color: var(--primary-gold);
    background: rgba(230, 198, 122, 0.1);
}

.footer-link i {
    font-size: 0.7rem;
}

.footer-copyright {
    font-size: 0.7rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.ssl-badge {
    height: 12px;
    opacity: 0.7;
}

/* Genişletilmiş İçerik - Overlay */
.footer-expanded {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    display: none;
    z-index: 10000;
    overflow-y: auto;
    padding: 20px;
    box-sizing: border-box;
}

.footer-expanded-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
    margin-bottom: 60px;
}

/* Footer Detay Kartları */
.footer-detail {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1a1a1a 100%);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--border-accent);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.footer-detail h4 {
    color: var(--primary-gold);
    font-size: 1.1rem;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 2px solid var(--border-accent);
    padding-bottom: 8px;
}

.footer-detail h4 i {
    font-size: 1rem;
}

.footer-detail p {
    color: var(--text-muted);
    line-height: 1.6;
    margin: 8px 0;
    font-size: 0.9rem;
}

/* İletişim Detayı */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.contact-info i {
    color: var(--primary-gold);
    width: 16px;
    text-align: center;
}

.contact-info a {
    color: var(--primary-gold);
    text-decoration: none;
    transition: var(--transition-normal);
}

.contact-info a:hover {
    color: var(--text-light);
    text-decoration: underline;
}

/* Sosyal Medya Grid */
.social-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.social-detailed {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: 8px;
    background: rgba(230, 198, 122, 0.05);
    border: 1px solid var(--border-accent);
    text-decoration: none;
    color: var(--text-muted);
    transition: var(--transition-normal);
}

.social-detailed:hover {
    background: rgba(230, 198, 122, 0.15);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 198, 122, 0.2);
}

.social-detailed.disabled {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}

.social-detailed i {
    font-size: 1.2rem;
    color: var(--primary-gold);
}

.social-detailed span {
    font-weight: 500;
}

/* Kapatma Butonu */
.footer-close {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-gold);
    color: var(--bg-dark);
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-normal);
    box-shadow: 0 4px 20px rgba(230, 198, 122, 0.4);
}

.footer-close:hover {
    background: var(--text-light);
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 6px 25px rgba(230, 198, 122, 0.6);
}

/* Modal Stilleri (Aynı Kalıyor) */
.legal-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: modalFadeIn 0.25s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0px);
    }

    to {
        opacity: 1;
        backdrop-filter: blur(6px);
    }
}

.modal-backdrop {
    position: absolute;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.modal-content {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1a1a1a 100%);
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    max-width: 700px;
    max-height: 85vh;
    width: 90%;
    margin: 15px;
    border: 1px solid var(--border-accent);
    position: relative;
    animation: modalSlideIn 0.25s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-30px) scale(0.95);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-accent);
    background: rgba(230, 198, 122, 0.05);
    border-radius: 12px 12px 0 0;
}

.modal-header h2 {
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-header h2 i {
    color: var(--primary-gold);
    font-size: 1.1rem;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.modal-close:hover {
    background: rgba(230, 198, 122, 0.1);
    color: var(--text-light);
    transform: scale(1.1);
}

.modal-body {
    padding: 20px;
    max-height: 60vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-gold) var(--bg-dark);
}

.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-track {
    background: var(--bg-dark);
    border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: var(--primary-gold);
    border-radius: 3px;
}

.modal-text {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.9rem;
}

.modal-footer {
    padding: 15px 20px;
    border-top: 1px solid var(--border-accent);
    text-align: right;
    background: rgba(230, 198, 122, 0.02);
    border-radius: 0 0 12px 12px;
}

.modal-btn {
    background: var(--primary-gold);
    color: var(--bg-dark);
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition-normal);
}

.modal-btn:hover {
    background: var(--text-light);
    transform: scale(1.05);
}

/* Tablet Görünüm */
@media (max-width: 1024px) {
    .footer-bar {
        padding: 8px 15px;
        gap: 12px;
    }

    .footer-socials {
        gap: 10px;
    }

    .footer-social {
        font-size: 1rem;
        padding: 5px;
    }

    .footer-expanded-content {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 40px;
    }
}

/* Mobil Görünüm */
@media (max-width: 768px) {
    .footer-bar {
        flex-direction: column;
        gap: 8px;
        padding: 10px 15px;
    }

    .footer-left {
        order: 1;
    }

    .footer-center {
        order: 2;
    }

    .footer-right {
        order: 3;
        flex-direction: column;
        gap: 6px;
    }

    .footer-links {
        gap: 4px;
    }

    .footer-link {
        font-size: 0.7rem;
        padding: 3px 6px;
    }

    .footer-separator {
        font-size: 0.7rem;
    }

    .footer-copyright {
        font-size: 0.65rem;
    }

    .footer-expanded {
        padding: 15px;
    }

    .footer-expanded-content {
        margin-top: 30px;
        margin-bottom: 80px;
    }

    .footer-detail {
        padding: 15px;
    }

    .social-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

/* Küçük Mobil */
@media (max-width: 480px) {
    .footer-bar {
        padding: 8px 10px;
    }

    .footer-logo {
        font-size: 0.9rem;
    }

    .footer-tagline {
        font-size: 0.7rem;
    }

    .footer-socials {
        gap: 8px;
    }

    .footer-social {
        font-size: 0.9rem;
        padding: 4px;
    }

    .footer-link {
        font-size: 0.65rem;
        padding: 2px 4px;
    }

    .footer-copyright {
        font-size: 0.6rem;
    }

    .footer-expanded {
        padding: 10px;
    }

    .footer-detail {
        padding: 12px;
    }

    .footer-detail h4 {
        font-size: 1rem;
    }
}

/* Footer veya içerik alanındaki bağlantılar */
.footer-detail a,
.modal-body a,
.modal-text a {
    color: var(--primary-gold);
    text-decoration: none;
    transition: var(--transition-normal);
}

.footer-detail a:hover,
.modal-body a:hover,
.modal-text a:hover {
    color: var(--text-light);
    text-decoration: underline;
}