/* Footer - Sade ve Şık */
.footer {
    background: linear-gradient(135deg, #1A202C 0%, #2D3748 100%);
    color: #FFFFFF;
    padding: 3rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

/* Sol Bölüm - Logo ve Sosyal Medya */
.footer-info {
    display: flex;
    flex-direction: column;
}

.footer-logo h2 {
    color: #FFFFFF;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-weight: 700;
}

.footer-info p {
    color: #CBD5E0;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #CBD5E0;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #4299E1;
    color: #FFFFFF;
    transform: translateY(-2px);
}

/* Orta ve Sağ Bölümler */
.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-links {
    margin-bottom: 2rem;
}

.footer-links h3 {
    color: #FFFFFF;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

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

.footer-links ul li a {
    color: #CBD5E0;
    transition: color 0.2s ease;
    font-size: 0.95rem;
}

.footer-links ul li a:hover {
    color: #4299E1;
}

/* İletişim Bölümü */
.footer-contact h3 {
    color: #FFFFFF;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-contact p {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    color: #CBD5E0;
    font-size: 0.95rem;
}

.footer-contact i {
    margin-right: 0.75rem;
    color: #4299E1;
    width: 16px;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #A0AEC0;
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.footer-legal a {
    color: #A0AEC0;
    transition: color 0.2s ease;
    font-size: 0.9rem;
}

.footer-legal a:hover {
    color: #4299E1;
}

.payment-methods {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.payment-methods i {
    font-size: 1.5rem;
    color: #A0AEC0;
    transition: color 0.2s ease;
}

.payment-methods i:hover {
    color: #4299E1;
}

/* Responsive */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-info {
        grid-column: span 2;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 2rem 0 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-info {
        grid-column: span 1;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 1rem;
    }
}



/* =================================================================== */
/* GELİŞMİŞ ÇEREZ TERCİH SİSTEMİ STİLLERİ */
/* =================================================================== */

/* Çerez Banner Stilleri (Güncellenmiş) */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
    border-top: 3px solid var(--accent);
    box-shadow: 0 -4px 20px var(--modal-shadow);
    padding: 20px;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.cookie-consent-banner.show {
    transform: translateY(0);
}

.cookie-banner-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-banner-content {
    flex: 1;
    min-width: 300px;
}

.cookie-banner-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--warning-bg);
    border-radius: 50%;
    margin-right: 15px;
    color: var(--warning);
    font-size: 1.2rem;
}

.cookie-banner-text {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.cookie-banner-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 5px;
}

.cookie-banner-description {
    color: var(--text-body);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.cookie-banner-link {
    color: var(--text-link);
    text-decoration: underline;
    font-weight: 500;
}

.cookie-banner-link:hover {
    color: var(--text-link-hover);
}

.cookie-banner-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

/* Çerez Tercih Modal'ı */
.cookie-preferences-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--modal-overlay);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.cookie-preferences-overlay.show {
    opacity: 1;
    visibility: visible;
}

.cookie-preferences-modal {
    background-color: var(--modal-bg);
    border-radius: 12px;
    box-shadow: 0 10px 40px var(--modal-shadow);
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
}

.cookie-preferences-overlay.show .cookie-preferences-modal {
    transform: scale(1) translateY(0);
}

.cookie-preferences-header {
    padding: 25px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-preferences-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-heading);
    display: flex;
    align-items: center;
    gap: 10px;
}

.close-preferences {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.close-preferences:hover {
    color: var(--text-body);
    background-color: var(--bg-secondary);
}

.cookie-preferences-content {
    padding: 25px;
}

.cookie-preferences-intro {
    margin-bottom: 25px;
    padding: 15px;
    background-color: var(--info-bg);
    border-radius: 8px;
    border-left: 4px solid var(--info);
}

.cookie-preferences-intro p {
    margin: 0;
    color: var(--text-body);
    font-size: 0.95rem;
}

.cookie-category {
    margin-bottom: 20px;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
}

.cookie-category-header {
    background-color: var(--bg-secondary);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.cookie-category-header:hover {
    background-color: var(--border);
}

.cookie-category-info {
    flex: 1;
}

.cookie-category-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cookie-category-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
}

.cookie-toggle {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.toggle-switch {
    position: relative;
    width: 50px;
    height: 26px;
    background-color: var(--text-muted);
    border-radius: 13px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.toggle-switch.active {
    background-color: var(--success);
}

.toggle-switch.disabled {
    background-color: var(--btn-primary);
    cursor: not-allowed;
}

.toggle-switch::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 22px;
    height: 22px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-switch.active::after {
    transform: translateX(24px);
}

.toggle-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-body);
}

.required-label {
    background-color: var(--error);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.cookie-category-details {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: var(--bg-tertiary);
}

.cookie-category.expanded .cookie-category-details {
    padding: 20px;
    max-height: 300px;
}

.cookie-category-expand {
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.cookie-category.expanded .cookie-category-expand {
    transform: rotate(180deg);
}

.cookie-details-list {
    list-style: none;
    margin: 0;
}

.cookie-details-list li {
    padding: 8px 0;
    border-bottom: 1px solid var(--divider);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-details-list li:last-child {
    border-bottom: none;
}

.cookie-name {
    font-weight: 500;
    color: var(--text-heading);
}

.cookie-purpose {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.cookie-preferences-footer {
    padding: 25px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}


/* Animasyonlar */
@keyframes cookieSlideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes cookieSlideDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

.cookie-consent-banner.animate-in {
    animation: cookieSlideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.cookie-consent-banner.animate-out {
    animation: cookieSlideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Responsive */
@media (max-width: 768px) {
    .cookie-banner-container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .cookie-banner-content {
        min-width: auto;
    }

    .cookie-banner-text {
        flex-direction: column;
        text-align: center;
    }

    .cookie-banner-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .cookie-banner-actions {
        width: 100%;
        justify-content: center;
    }

    .cookie-banner-actions .btn {
        flex: 1;
        min-width: 120px;
    }

    .cookie-preferences-modal {
        width: 95%;
        margin: 10px;
    }

    .cookie-preferences-header {
        padding: 20px;
    }

    .cookie-preferences-content {
        padding: 20px;
    }

    .cookie-preferences-footer {
        padding: 20px;
        flex-direction: column;
    }

    .footer-actions-left,
    .footer-actions-right {
        width: 100%;
        justify-content: center;
    }

    .cookie-category-header {
        padding: 15px;
    }

    .cookie-preferences-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .cookie-consent-banner {
        padding: 15px;
    }

    .cookie-banner-actions {
        flex-direction: column;
        width: 100%;
    }

    .cookie-banner-actions .btn {
        width: 100%;
    }
}