/* Nevşehir Üniversitesi Kırmızı Tema Çerez Bildirimi */
#nevsehir-cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #292828;
    color: #e0e0e0;
    padding: 15px 20px;
    text-align: center;
    box-shadow: 0 -4px 20px rgba(144, 15, 15, 0.3);
    border-top: 3px solid #900f0f;
    z-index: 10000;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: none;
}

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

.cookie-text {
    flex: 1;
    min-width: 300px;
    text-align: left;
    font-size: 14px;
    line-height: 1.6;
}

.cookie-text strong {
    color: #900f0f;
    font-weight: 600;
}

.cookie-text a {
    color: #900f0f;
    text-decoration: underline;
    transition: all 0.3s ease;
    font-weight: 500;
}

.cookie-text a:hover {
    color: #ff3333;
    text-decoration: none;
    background-color: rgba(144, 15, 15, 0.1);
    padding: 2px 5px;
    border-radius: 3px;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.cookie-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    min-width: 110px;
    letter-spacing: 0.5px;
}

.cookie-accept {
    background-color: #900f0f;
    color: #ffffff;
    box-shadow: 0 3px 8px rgba(144, 15, 15, 0.4);
    border: 1px solid #900f0f;
}

.cookie-accept:hover {
    background-color: #b81414;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(144, 15, 15, 0.5);
    border-color: #b81414;
}

.cookie-reject {
    background-color: #3a3a3a;
    color: #ffffff;
    border: 1px solid #5a5a5a;
}

.cookie-reject:hover {
    background-color: #4a4a4a;
    transform: translateY(-3px);
    border-color: #7a7a7a;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.cookie-settings {
    background-color: transparent;
    color: #900f0f;
    text-decoration: none;
    padding: 10px 20px;
    border: 1px solid #900f0f;
    border-radius: 6px;
}

.cookie-settings:hover {
    color: #ffffff;
    background-color: rgba(144, 15, 15, 0.15);
    border-color: #b81414;
    transform: translateY(-3px);
    text-decoration: none;
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .cookie-text {
        text-align: center;
        min-width: auto;
        padding: 0 10px;
        font-size: 13px;
    }

    .cookie-buttons {
        width: 100%;
        padding: 0 10px;
        gap: 10px;
    }

    .cookie-btn {
        flex: 1;
        padding: 12px 15px;
        min-width: auto;
        font-size: 13px;
    }

    #nevsehir-cookie-consent {
        padding: 20px 15px;
    }
}

/* Küçük mobil cihazlar */
@media (max-width: 480px) {
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cookie-btn {
        width: 100%;
    }

    #nevsehir-cookie-consent {
        padding: 20px 12px;
        border-top-width: 3px;
    }
}

/* Kapatma butonu */
.cookie-close {
    position: absolute;
    top: 12px;
    right: 15px;
    background: rgba(144, 15, 15, 0.1);
    border: 1px solid rgba(144, 15, 15, 0.3);
    color: #e0e0e0;
    font-size: 22px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.9;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-weight: 300;
}

.cookie-close:hover {
    opacity: 1;
    background: rgba(144, 15, 15, 0.25);
    color: #900f0f;
    transform: scale(1.1);
    border-color: rgba(144, 15, 15, 0.5);
}

/* Küçük ekranlar için kapatma butonu ayarı */
@media (max-width: 480px) {
    .cookie-close {
        top: 8px;
        right: 10px;
        width: 28px;
        height: 28px;
        font-size: 18px;
    }
}

/* Animasyon */
#nevsehir-cookie-consent {
    animation: slideUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: bottom;
}

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

/* Gizleme animasyonu */
#nevsehir-cookie-consent.hiding {
    animation: slideDown 0.4s ease forwards;
}

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

/* Kırmızı ton geçişleri */
.cookie-accept {
    background: linear-gradient(135deg, #900f0f 0%, #b81414 100%);
}

.cookie-accept:hover {
    background: linear-gradient(135deg, #b81414 0%, #d61919 100%);
}

/* Farklı kırmızı ton seçenekleri (isteğe bağlı) */
#nevsehir-cookie-consent.dark-red {
    background: #1a1a1a;
    border-top-color: #900f0f;
    box-shadow: 0 -4px 20px rgba(144, 15, 15, 0.4);
}

#nevsehir-cookie-consent.red-gradient {
    background: linear-gradient(135deg, #292828 0%, #1e1e1e 100%);
    border-top: 3px solid #900f0f;
}

#nevsehir-cookie-consent.with-red-pattern {
    background-color: #292828;
    background-image:
        linear-gradient(rgba(144, 15, 15, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(144, 15, 15, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Kırmızı tema renk değişkenleri */
:root {
    --nevsehir-black: #292828;
    --nevsehir-red: #900f0f;
    --nevsehir-light-red: #b81414;
    --nevsehir-bright-red: #ff3333;
    --nevsehir-gray: #3a3a3a;
    --nevsehir-light-gray: #e0e0e0;
}

/* Butonlara kırmızı glow efekti */
.cookie-accept:active {
    box-shadow: 0 0 15px rgba(144, 15, 15, 0.6);
}

/* Linklere kırmızı underline efekti */
.cookie-text a {
    position: relative;
}

.cookie-text a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: #900f0f;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.cookie-text a:hover::after {
    transform: scaleX(1);
}