/* Premium Footer - Professional & Publish Ready */
:root {
    --calm-primary: #4B89AC;
    --calm-secondary: #5BC0BE;
    --background-main: #FAFAFA;
    --card-bg: #FFFFFF;
    --border-soft: #EBEBEB;
    --text-main: #333333;
    --text-soft: #555555;
    --text-light: #FFFFFF;
    --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.site-footer {
    position: relative;
    background: linear-gradient(135deg, #FFFFFF 0%, #FAFBFC 100%);
    color: var(--text-soft);
    overflow: hidden;
    margin-top: 6rem;
    border-top: 3px solid;
    border-image: linear-gradient(90deg, #2563EB 0%, #1E40AF 50%, #5BC0BE 100%) 1;
    font-size: 0.95rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Remove background animations */
.footer-bg-animation,
.gradient-orb,
.orb-1,
.orb-2,
.orb-3 {
    display: none;
}

.footer-content {
    position: relative;
    z-index: 1;
}

.footer-main {
    padding: 5rem 2rem 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 3rem;
}

/* Premium Brand Column */
.footer-col {
    display: flex;
    flex-direction: column;
}

.brand-col {
    padding-right: 2rem;
}

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.brand-icon-circle {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--calm-primary);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
    border: 2px solid #BFDBFE;
    font-size: 28px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    padding: 8px;
}

.brand-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.brand-icon-circle:hover {
    transform: translateY(-4px) rotate(5deg);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.25);
    background: linear-gradient(135deg, #DBEAFE 0%, #BFDBFE 100%);
}

.brand-icon-circle:hover .brand-logo {
    transform: scale(1.1);
}

.brand-name {
    font-size: 1.75rem;
    font-weight: 900;
    background: linear-gradient(135deg, #2563EB 0%, #1E40AF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.8px;
}

.brand-tagline {
    font-size: 1rem;
    color: var(--text-main);
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: -0.2px;
}

.brand-description {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-soft);
    margin-bottom: 1.25rem;
    font-weight: 500;
}

/* Social links – integrated in brand column */
.footer-social {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.footer-social .social-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FFFFFF 0%, #FAFBFC 100%);
    border: 2px solid #E5E7EB;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: #6B7280;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.footer-social .social-btn:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: transparent;
}

.footer-social .social-btn.instagram:hover {
    background: linear-gradient(135deg, #E4405F 0%, #C13584 100%);
    color: white;
}

.footer-social .social-btn.linkedin:hover {
    background: linear-gradient(135deg, #0077B5 0%, #005885 100%);
    color: white;
}

.footer-social .social-btn.youtube:hover {
    background: linear-gradient(135deg, #FF0000 0%, #CC0000 100%);
    color: white;
}

/* Premium Headings & Links */
.footer-heading {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #1F2937;
    letter-spacing: -0.3px;
}

.heading-icon {
    font-size: 1.2rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #6B7280;
    text-decoration: none;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    padding: 6px 0;
    border-radius: 8px;
}

.link-arrow {
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #2563EB;
    font-size: 0.9rem;
    font-weight: 800;
}

.footer-links a:hover {
    color: #2563EB;
    padding-left: 8px;
    background: linear-gradient(135deg, #EFF6FF 0%, transparent 100%);
}

.footer-links a:hover .link-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Premium Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 12px 16px;
    background: linear-gradient(135deg, #FAFBFC 0%, #F8FAFC 100%);
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    color: #6B7280;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    font-size: 0.95rem;
}

.contact-item:hover {
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    color: #1E40AF;
    border-color: #BFDBFE;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #FFFFFF 0%, #FAFBFC 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563EB;
    border: 2px solid #BFDBFE;
    font-size: 0.9rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    background: linear-gradient(135deg, #DBEAFE 0%, #BFDBFE 100%);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

/* Footer Contact Highlight */
.contact-highlight .contact-info {
    margin-bottom: 0;
}

.contact-highlight .contact-item {
    padding: 10px 14px;
    background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
    border: 2px solid #0EA5E9;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.1);
}

.contact-highlight .contact-item:hover {
    background: linear-gradient(135deg, #E0F2FE 0%, #BAE6FD 100%);
    border-color: #0284C7;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(14, 165, 233, 0.2);
}

.contact-highlight .contact-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #FFFFFF 0%, #F0F9FF 100%);
    border: 2px solid #0EA5E9;
    color: #0EA5E9;
    font-size: 1.1rem;
    border-radius: 8px;
}

.contact-highlight .contact-item:hover .contact-icon {
    background: linear-gradient(135deg, #E0F2FE 0%, #BAE6FD 100%);
    transform: scale(1.15) rotate(8deg);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.25);
}

.contact-highlight .contact-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-highlight .contact-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #0C4A6E;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-highlight .contact-link {
    color: #0369A1;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.contact-highlight .contact-link:hover {
    color: #0284C7;
}

/* Premium Footer Bottom */
.footer-bottom {
    background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
    padding: 1.75rem 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    color: var(--text-soft);
    font-size: 0.9rem;
}

.copyright-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.copyright-text {
    font-weight: 600;
    color: #6B7280;
    margin: 0;
}

.copyright-text strong {
    color: #1F2937;
    font-weight: 800;
}

.made-with {
    font-size: 0.85rem;
    color: #9CA3AF;
    font-weight: 500;
    margin: 0;
}

.payment-section {
    display: flex;
    align-items: center;
}

.payment-logos-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 12px 20px;
}

.payment-logo-footer {
    height: auto;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.payment-logo-footer.iyzico-logo-footer {
    max-height: 45px;
}

.payment-logo-footer.all-payment-logo-footer {
    max-height: 55px;
    border-radius: 8px;
}

.payment-logo-footer:hover {
    transform: scale(1.05);
}

.payment-badge-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 12px 20px;
    background: linear-gradient(135deg, #FFFFFF 0%, #FAFBFC 100%);
    border-radius: 16px;
    border: 2px solid #E5E7EB;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.payment-badge-wrapper:hover {
    border-color: #BFDBFE;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
    transform: translateY(-2px);
}

.payment-icon {
    width: 28px;
    height: 28px;
    color: #2563EB;
    flex-shrink: 0;
}

.payment-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.payment-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.payment-provider {
    font-size: 1rem;
    font-weight: 800;
    color: #2563EB;
    letter-spacing: -0.3px;
}

.secure-badge {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
    flex-shrink: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .brand-col {
        grid-column: 1 / -1;
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .contact-highlight {
        grid-column: 1 / -1;
        margin: 2rem 0;
        text-align: center;
    }

    .contact-highlight .contact-info {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 2rem;
    }

    .footer-main {
        padding: 4rem 2rem 2.5rem;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .site-footer {
        margin-top: 4rem;
    }

    .footer-main {
        padding: 3rem 1.5rem 2rem;
    }

    .footer-bottom {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .footer-main {
        padding: 2.5rem 1rem 1.5rem;
    }

    .brand-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .brand-icon-circle {
        width: 48px;
        height: 48px;
        font-size: 24px;
    }

    .brand-name {
        font-size: 1.5rem;
    }

    .footer-heading {
        font-size: 1rem;
    }

    .contact-item {
        padding: 10px 14px;
        font-size: 0.9rem;
    }

    .contact-icon {
        width: 36px;
        height: 36px;
    }

    .contact-highlight .contact-info {
        flex-direction: column;
        gap: 12px;
        padding: 0;
    }

    .contact-highlight .contact-item {
        padding: 8px 12px;
        justify-content: center;
    }

    .contact-highlight .contact-icon {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .contact-highlight .contact-label {
        font-size: 0.75rem;
    }

    .contact-highlight .contact-link {
        font-size: 0.85rem;
    }

    .footer-social .social-btn {
        width: 40px;
        height: 40px;
    }

    .payment-badge-wrapper {
        padding: 10px 16px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .payment-logos-footer {
        flex-direction: column;
        gap: 15px;
        padding: 10px;
    }
    
    .payment-logo-footer.iyzico-logo-footer {
        max-height: 35px;
    }
    
    .payment-logo-footer.all-payment-logo-footer {
        max-height: 45px;
    }
}

/* ============================================
   DARK THEME FOOTER STYLES
   ============================================ */

html[data-theme="dark"] .site-footer,
html.dark-theme .site-footer {
    background: linear-gradient(135deg, #1e1e1e 0%, #252525 100%);
    color: #b0b0b0;
    border-image: linear-gradient(90deg, #60a5fa 0%, #3b82f6 50%, #6ee7b7 100%) 1;
}

html[data-theme="dark"] .brand-icon-circle,
html.dark-theme .brand-icon-circle {
    background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%);
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.25);
}

html[data-theme="dark"] .brand-icon-circle:hover,
html.dark-theme .brand-icon-circle:hover {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    box-shadow: 0 8px 24px rgba(96, 165, 250, 0.35);
}

html[data-theme="dark"] .brand-name,
html.dark-theme .brand-name {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

html[data-theme="dark"] .brand-tagline,
html.dark-theme .brand-tagline {
    color: #f5f5f5;
}

html[data-theme="dark"] .brand-description,
html.dark-theme .brand-description {
    color: #b0b0b0;
}

html[data-theme="dark"] .footer-heading,
html.dark-theme .footer-heading {
    color: #f5f5f5;
}

html[data-theme="dark"] .footer-links a,
html.dark-theme .footer-links a {
    color: #b0b0b0;
}

html[data-theme="dark"] .footer-links a:hover,
html.dark-theme .footer-links a:hover {
    color: #60a5fa;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.1) 0%, transparent 100%);
}

html[data-theme="dark"] .link-arrow,
html.dark-theme .link-arrow {
    color: #60a5fa;
}

html[data-theme="dark"] .contact-item,
html.dark-theme .contact-item {
    background: linear-gradient(135deg, #252525 0%, #2a2a2a 100%);
    border-color: #404040;
    color: #b0b0b0;
}

html[data-theme="dark"] .contact-item:hover,
html.dark-theme .contact-item:hover {
    background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%);
    border-color: #60a5fa;
    color: #ffffff;
}

html[data-theme="dark"] .contact-icon,
html.dark-theme .contact-icon {
    background: linear-gradient(135deg, #333333 0%, #404040 100%);
    border-color: #4b5563;
    color: #60a5fa;
}

html[data-theme="dark"] .contact-item:hover .contact-icon,
html.dark-theme .contact-item:hover .contact-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff;
}

/* Dark Theme Footer Contact Highlight */
html[data-theme="dark"] .contact-highlight .contact-item,
html.dark-theme .contact-highlight .contact-item {
    background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%);
    border-color: #0ea5e9;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.2);
}

html[data-theme="dark"] .contact-highlight .contact-item:hover,
html.dark-theme .contact-highlight .contact-item:hover {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    border-color: #0284c7;
    box-shadow: 0 6px 16px rgba(14, 165, 233, 0.3);
}

html[data-theme="dark"] .contact-highlight .contact-icon,
html.dark-theme .contact-highlight .contact-icon {
    background: linear-gradient(135deg, #252525 0%, #2a2a2a 100%);
    border-color: #0ea5e9;
    color: #0ea5e9;
}

html[data-theme="dark"] .contact-highlight .contact-item:hover .contact-icon,
html.dark-theme .contact-highlight .contact-item:hover .contact-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff;
}

html[data-theme="dark"] .contact-highlight .contact-label,
html.dark-theme .contact-highlight .contact-label {
    color: #7dd3fc;
}

html[data-theme="dark"] .contact-highlight .contact-link,
html.dark-theme .contact-highlight .contact-link {
    color: #38bdf8;
}

html[data-theme="dark"] .contact-highlight .contact-link:hover,
html.dark-theme .contact-highlight .contact-link:hover {
    color: #0ea5e9;
}

html[data-theme="dark"] .footer-social .social-btn,
html.dark-theme .footer-social .social-btn {
    background: linear-gradient(135deg, #252525 0%, #2a2a2a 100%);
    border-color: #404040;
    color: #b0b0b0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

html[data-theme="dark"] .footer-social .social-btn:hover,
html.dark-theme .footer-social .social-btn:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] .footer-bottom,
html.dark-theme .footer-bottom {
    background: linear-gradient(135deg, #1a1a1a 0%, #252525 100%);
    border-top-color: #333333;
}

html[data-theme="dark"] .copyright-text,
html.dark-theme .copyright-text {
    color: #b0b0b0;
}

html[data-theme="dark"] .copyright-text strong,
html.dark-theme .copyright-text strong {
    color: #f5f5f5;
}

html[data-theme="dark"] .made-with,
html.dark-theme .made-with {
    color: #888888;
}

html[data-theme="dark"] .payment-badge-wrapper,
html.dark-theme .payment-badge-wrapper {
    background: linear-gradient(135deg, #252525 0%, #2a2a2a 100%);
    border-color: #404040;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

html[data-theme="dark"] .payment-badge-wrapper:hover,
html.dark-theme .payment-badge-wrapper:hover {
    border-color: #60a5fa;
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.2);
}

html[data-theme="dark"] .payment-icon,
html.dark-theme .payment-icon {
    color: #60a5fa;
}

html[data-theme="dark"] .payment-label,
html.dark-theme .payment-label {
    color: #888888;
}

html[data-theme="dark"] .payment-provider,
html.dark-theme .payment-provider {
    color: #60a5fa;
}

html[data-theme="dark"] .secure-badge,
html.dark-theme .secure-badge {
    background: linear-gradient(135deg, #6ee7b7 0%, #34d399 100%);
    box-shadow: 0 2px 8px rgba(110, 231, 183, 0.3);
}

html[data-theme="dark"] .payment-logo-footer,
html.dark-theme .payment-logo-footer {
    filter: brightness(0.9);
    opacity: 0.95;
}

html[data-theme="dark"] .payment-logo-footer:hover,
html.dark-theme .payment-logo-footer:hover {
    filter: brightness(1.1);
    opacity: 1;
}

/* ============================================
   Doküman Popup (Gizlilik, İade Şartları vb.)
   ============================================ */
.iade-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.iade-popup-overlay.show {
    opacity: 1;
}
.iade-popup-overlay .iade-popup-box {
    background: #fff;
    border-radius: 16px;
    max-width: 900px;
    width: 90%;
    max-height: 85vh;
    height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
    animation: docPopupIn 0.3s ease-out;
}
@keyframes docPopupIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
.iade-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    flex-shrink: 0;
}
.iade-popup-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
}
.iade-popup-close {
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.iade-popup-close:hover {
    background: rgba(255,255,255,0.35);
}
.iade-popup-iframe {
    flex: 1;
    min-height: 0;
    border: none;
    width: 100%;
}
@media (max-width: 600px) {
    .iade-popup-overlay .iade-popup-box {
        width: 95%;
        max-height: 90vh;
        height: 90vh;
    }
}
/* Doküman Popup - Dark Theme */
html[data-theme="dark"] .iade-popup-overlay .iade-popup-box,
html.dark-theme .iade-popup-overlay .iade-popup-box {
    background: #1e1e1e;
}
html[data-theme="dark"] .iade-popup-header,
html.dark-theme .iade-popup-header {
    background: linear-gradient(135deg, #4c51bf 0%, #5b21b6 100%);
}