/* ===================================
   Dil Seçici Stilleri
   =================================== */
.language-selector {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: rgba(26, 31, 46, 0.95);
    padding: 15px 10px;
    border-radius: 50px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(201, 169, 97, 0.2);
    transition: all 0.3s ease;
}

.language-selector:hover {
    box-shadow: 0 8px 35px rgba(201, 169, 97, 0.3);
}

.lang-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid transparent;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.lang-btn:hover {
    background: rgba(201, 169, 97, 0.2);
    transform: scale(1.1);
}

.lang-btn.active {
    background: linear-gradient(135deg, #C9A961, #E5C88A);
    color: #0F1419;
    border-color: #C9A961;
    box-shadow: 0 0 15px rgba(201, 169, 97, 0.5);
}

.lang-btn .flag-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

/* Tooltip */
.lang-btn::before {
    content: attr(data-tooltip);
    position: absolute;
    right: 55px;
    background: rgba(26, 31, 46, 0.95);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lang-btn:hover::before {
    opacity: 1;
}

/* RTL Desteği */
body.rtl {
    direction: rtl;
}

body.rtl .language-selector {
    right: auto;
    left: 20px;
}

body.rtl .lang-btn::before {
    right: auto;
    left: 55px;
}

/* ===================================
   Çerez Bildirimi Stilleri
   =================================== */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(15, 20, 25, 0.98) 0%, rgba(26, 31, 46, 0.98) 100%);
    backdrop-filter: blur(10px);
    padding: 25px;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    transition: bottom 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-top: 2px solid rgba(201, 169, 97, 0.3);
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-banner.animate {
    animation: cookieSlideIn 0.5s ease forwards;
}

@keyframes cookieSlideIn {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.cookie-content {
    flex: 1;
    min-width: 300px;
}

.cookie-title {
    font-size: 18px;
    font-weight: 700;
    color: #C9A961;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-title i {
    font-size: 24px;
}

.cookie-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.cookie-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cookie-btn.accept {
    background: linear-gradient(135deg, #C9A961, #E5C88A);
    color: #0F1419;
}

.cookie-btn.accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(201, 169, 97, 0.4);
}

.cookie-btn.reject {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-btn.reject:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.cookie-btn.settings {
    background: transparent;
    color: #C9A961;
    border: 1px solid #C9A961;
}

.cookie-btn.settings:hover {
    background: rgba(201, 169, 97, 0.1);
}

/* Çerez Ayarları Modal */
.cookie-settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    padding: 20px;
}

.cookie-settings-modal.show {
    display: flex;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.cookie-settings-content {
    background: linear-gradient(135deg, #0F1419 0%, #1A1F2E 100%);
    border-radius: 15px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 30px;
    position: relative;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(201, 169, 97, 0.2);
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-settings-header {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(201, 169, 97, 0.2);
}

.cookie-settings-title {
    font-size: 24px;
    font-weight: 700;
    color: #C9A961;
    margin-bottom: 10px;
}

.cookie-settings-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.cookie-settings-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-settings-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.cookie-category {
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(201, 169, 97, 0.1);
}

.cookie-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.cookie-category-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
}

.cookie-category-description {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

/* Toggle Switch */
.cookie-switch {
    position: relative;
    width: 50px;
    height: 26px;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.2);
    transition: 0.4s;
    border-radius: 34px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .cookie-slider {
    background: linear-gradient(135deg, #C9A961, #E5C88A);
}

input:checked + .cookie-slider:before {
    transform: translateX(24px);
}

input:disabled + .cookie-slider {
    opacity: 0.5;
    cursor: not-allowed;
}

.cookie-settings-footer {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(201, 169, 97, 0.2);
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

/* Bildirim */
.cookie-notification {
    position: fixed;
    top: 100px;
    right: -400px;
    background: linear-gradient(135deg, #0F1419 0%, #1A1F2E 100%);
    color: var(--white);
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 10002;
    transition: right 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-left: 3px solid #C9A961;
}

.cookie-notification.show {
    right: 20px;
}

.cookie-notification i {
    font-size: 20px;
    color: #C9A961;
}

.cookie-notification.success {
    border-left-color: #4CAF50;
}

.cookie-notification.success i {
    color: #4CAF50;
}

.cookie-notification.info {
    border-left-color: #2196F3;
}

.cookie-notification.info i {
    color: #2196F3;
}

/* Responsive */
@media (max-width: 768px) {
    .language-selector {
        right: 10px;
        padding: 10px 8px;
    }
    
    .lang-btn {
        width: 35px;
        height: 35px;
        font-size: 12px;
    }
    
    .cookie-container {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-actions {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .cookie-settings-content {
        padding: 20px;
        margin: 10px;
    }
    
    .cookie-settings-title {
        font-size: 20px;
    }
    
    .cookie-notification {
        right: 10px;
        left: 10px;
        width: auto;
    }
    
    .cookie-notification.show {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .language-selector {
        flex-direction: row;
        top: auto;
        bottom: 100px;
        right: 50%;
        transform: translateX(50%);
        padding: 8px 15px;
        border-radius: 30px;
    }
    
    .cookie-banner {
        padding: 20px 15px;
    }
    
    .cookie-title {
        font-size: 16px;
    }
    
    .cookie-text {
        font-size: 13px;
    }
    
    .cookie-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-btn {
        width: 100%;
    }
}
