/**
 * Neizlesem.com Modern Footer Styles
 * Header ile uyumlu tasarım
 * 
 * @package Neizlesem_Theme
 * @version 1.0.0
 */

/* ===================================
   FOOTER VARIABLES
   =================================== */
:root {
    /* Footer Colors */
    --footer-bg: #0f0f0f;
    --footer-bg-light: #1a1a1a;
    --footer-text: #cccccc;
    --footer-text-light: #ffffff;
    --footer-border: rgba(255, 255, 255, 0.1);
    --footer-hover: #e50914;
    
    /* App Store Colors */
    --google-play-bg: #01875f;
    --app-store-bg: #000000;
}

/* Light Theme */
[data-theme="light"] {
    --footer-bg: #f8f9fa;
    --footer-bg-light: #ffffff;
    --footer-text: #666666;
    --footer-text-light: #333333;
    --footer-border: rgba(0, 0, 0, 0.1);
    --footer-hover: #e50914;
}

/* ===================================
   FOOTER STRUCTURE
   =================================== */

.site-footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 4rem 0 2rem;
    margin-top: auto;
    border-top: 1px solid var(--footer-border);
    font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.site-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===================================
   FOOTER MAIN CONTENT
   =================================== */

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

/* ===================================
   FOOTER BRAND SECTION
   =================================== */

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--footer-text-light);
    transition: color var(--transition-fast);
}

.footer-brand-link:hover {
    color: var(--footer-hover);
}

.footer-brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: "Poppins", sans-serif;
}

.footer-description {
    color: var(--footer-text);
    line-height: 1.6;
    margin: 0;
    max-width: 300px;
}

.footer-social-media {
    margin-top: 1.5rem;
}

.footer-brand .social-media-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ===================================
   APP DOWNLOAD BUTTONS
   =================================== */

.app-download-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 1rem;
}

.app-download-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    max-width: 200px;
}

.app-download-btn.google-play {
    background: var(--google-play-bg);
    border-color: var(--google-play-bg);
}

.app-download-btn.app-store {
    background: var(--app-store-bg);
    border-color: #333333;
}

.app-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.app-download-btn i {
    font-size: 24px;
}

.download-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.download-text small {
    font-size: 11px;
    opacity: 0.8;
}

.download-text strong {
    font-size: 14px;
    font-weight: 600;
}

/* ===================================
   FOOTER NAVIGATION
   =================================== */

.footer-navigation {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-title {
    color: var(--footer-text-light);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    font-family: "Poppins", sans-serif;
}

.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-menu li {
    margin: 0;
}

.footer-menu a {
    color: var(--footer-text);
    text-decoration: none;
    font-size: 14px;
    transition: color var(--transition-fast);
    line-height: 1.5;
}

.footer-menu a:hover {
    color: var(--footer-hover);
}

/* ===================================
   SOCIAL MEDIA LINKS
   =================================== */

.social-media-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--footer-bg-light);
    color: var(--footer-text);
    text-decoration: none;
    border-radius: 50%;
    transition: all var(--transition-fast);
    font-size: 18px;
}

.social-link:hover {
    color: white;
    transform: translateY(-2px);
}

.social-link.facebook:hover {
    background: #1877f2;
}

.social-link.twitter:hover {
    background: #1da1f2;
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link.youtube:hover {
    background: #ff0000;
}

.social-link.linkedin:hover {
    background: #0077b5;
}

/* ===================================
   APP DOWNLOAD SECTION
   =================================== */

.app-download-section {
    margin-top: 0;
}

/* ===================================
   FOOTER BOTTOM
   =================================== */

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--footer-border);
    gap: 2rem;
}

.footer-copyright p,
.footer-credits p {
    margin: 0;
    font-size: 14px;
    color: var(--footer-text);
}

.footer-copyright strong {
    color: var(--footer-text-light);
    font-weight: 600;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* Tablet */
@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    

    
    .footer-brand .social-media-links {
        justify-content: center;
    }
    
    .footer-navigation {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .app-download-section {
        text-align: center;
    }
    
    .app-download-buttons {
        align-items: center;
    }
    
    .footer-brand .social-media-links {
        justify-content: center;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .site-footer {
        padding: 3rem 0 1.5rem;
    }
    
    .site-footer .container {
        padding: 0 1.5rem;
    }
    
    .footer-main {
        gap: 2rem;
    }
    
    .footer-brand {
        align-items: center !important;
        text-align: center !important;
    }
    
    .footer-brand-link {
        justify-content: center;
    }
    
    .footer-description {
        text-align: center !important;
        margin: 0 auto !important;
        width: 100%;
        max-width: none;
    }
    
    .footer-navigation {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .app-download-section {
        margin-top: 1.5rem;
    }
    
    .app-download-buttons {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .app-download-btn {
        max-width: none;
        flex: 1;
        min-width: 160px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .site-footer {
        padding: 2rem 0 1rem;
    }
    
    .site-footer .container {
        padding: 0 1rem;
    }
    
    .footer-main {
        gap: 1.5rem;
    }
    
    .footer-brand {
        align-items: center !important;
        text-align: center !important;
    }
    
    .footer-brand-link {
        justify-content: center;
    }
    
    .footer-description {
        text-align: center !important;
        margin: 0 auto !important;
        width: 100%;
        max-width: none;
    }
    
    .footer-brand-text {
        font-size: 1.3rem;
    }
    
    .app-download-section {
        margin-top: 1rem;
    }
    
    .app-download-buttons {
        flex-direction: column;
        gap: 8px;
    }
    
    .app-download-btn {
        max-width: 200px;
        margin: 0 auto;
    }
    
    .social-media-links {
        gap: 8px;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}

/* ===================================
   THEME TRANSITIONS
   =================================== */

.site-footer,
.footer-brand-link,
.footer-menu a,
.social-link,
.app-download-btn {
    transition: background-color var(--transition-normal), 
                color var(--transition-normal),
                border-color var(--transition-normal),
                transform var(--transition-fast);
}

/* ===================================
   ACCESSIBILITY
   =================================== */

.app-download-btn:focus,
.social-link:focus,
.footer-menu a:focus {
    outline: 2px solid var(--footer-hover);
    outline-offset: 2px;
}

/* Skip link for footer navigation */
.skip-footer {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-footer:focus {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
}
