/* ===================================
   MODERN ÜST MENÜ BAR TASARIMI
   Konya Valiliği - Yeni Tema Renkleri
   =================================== */

/* Modern Topbar Container - TAMAMEN KALDIRILDI */
.navbar-topbar-modern {
    display: none !important; /* Topbar tamamen kaldırıldı */
}

.topbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

/* Sol Taraf - İletişim Bilgileri */
.topbar-left-modern {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
}

.topbar-info {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.topbar-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    position: relative;
}

.topbar-link i {
    font-size: 0.8rem;
    color: var(--color-red); /* Yeşil */
    transition: transform 0.3s ease;
}

.topbar-link:hover {
    color: #ffffff;
    background: rgba(13, 107, 74, 0.15);
}

.topbar-link:hover i {
    transform: scale(1.1);
    color: var(--color-red); /* Yeşil */
}

/* Sağ Taraf - Auth Butonları */
.topbar-right-modern {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

/* Modern Action Butonları */
.topbar-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    white-space: nowrap;
}

.topbar-action-btn i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.topbar-action-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.topbar-action-btn:hover::before {
    opacity: 1;
}

.topbar-action-btn > * {
    position: relative;
    z-index: 1;
}

/* Giriş Butonu */
.topbar-login {
    background: rgba(13, 107, 74, 0.2);
    border-color: rgba(13, 107, 74, 0.4);
    color: #ffffff;
}

.topbar-login:hover {
    background: rgba(13, 107, 74, 0.3);
    border-color: var(--color-red);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 107, 74, 0.3);
}

/* Kayıt Butonu */
.topbar-register {
    background: linear-gradient(135deg, var(--color-red) 0%, rgba(13, 107, 74, 0.8) 100%);
    border-color: var(--color-red);
    color: #ffffff;
}

.topbar-register:hover {
    background: linear-gradient(135deg, rgba(13, 107, 74, 0.9) 0%, var(--color-red) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(13, 107, 74, 0.4);
}

/* Profil Butonu */
.topbar-profile {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.topbar-profile:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Çıkış Butonu */
.topbar-logout {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
    color: #ffffff;
}

.topbar-logout:hover {
    background: rgba(239, 68, 68, 0.3);
    border-color: #ef4444;
    transform: translateY(-2px);
}

/* Admin Butonu */
.topbar-admin {
    background: rgba(251, 191, 36, 0.2);
    border-color: rgba(251, 191, 36, 0.4);
    color: #ffffff;
}

.topbar-admin:hover {
    background: rgba(251, 191, 36, 0.3);
    border-color: #fbbf24;
    transform: translateY(-2px);
}

/* Bildirim Butonu */
.topbar-notification {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    position: relative;
    padding: 0.5rem 0.75rem;
}

.topbar-notification:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.notification-badge-modern {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--color-red); /* Yeşil */
    color: #ffffff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    border: 2px solid rgba(20, 91, 157, 0.95);
    box-shadow: 0 2px 6px rgba(13, 107, 74, 0.4);
    animation: pulse-badge 2s ease infinite;
}

@keyframes pulse-badge {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Bildirim Dropdown */
.notification-wrapper {
    position: relative;
}

.notification-dropdown-modern {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 360px;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(20, 91, 157, 0.1);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(20, 91, 157, 0.15),
                0 4px 16px rgba(13, 107, 74, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10002;
    overflow: hidden;
}

.notification-dropdown-modern.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.notification-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(20, 91, 157, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(20, 91, 157, 0.02);
}

.notification-header h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.notification-header a {
    font-size: 0.85rem;
    color: var(--color-red); /* Yeşil */
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.notification-header a:hover {
    color: var(--color-red-dark); /* Koyu yeşil */
}

.notification-list {
    max-height: 400px;
    overflow-y: auto;
}

.notification-loading {
    padding: 3rem 2rem;
    text-align: center;
    color: var(--text-secondary);
}

.notification-loading i {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    color: var(--color-red); /* Yeşil */
    opacity: 0.6;
}

.notification-loading p {
    margin: 0;
    font-size: 0.9rem;
}

/* Responsive Tasarım */
@media (max-width: 992px) {
    .topbar-container {
        padding: 0 1.5rem;
        gap: 1rem;
    }
    
    .topbar-info {
        gap: 1rem;
    }
    
    .topbar-link span {
        display: none;
    }
    
    .topbar-action-btn span {
        display: none;
    }
    
    .topbar-action-btn {
        padding: 0.5rem;
        min-width: 40px;
        justify-content: center;
    }
}

@media (max-width: 992px) {
    /* Topbar mobilde tamamen gizli */
    .navbar-topbar-modern.topbar-desktop-only {
        display: none !important;
    }
}

@media (max-width: 640px) {
    /* Topbar mobilde tamamen gizli */
    .navbar-topbar-modern.topbar-desktop-only {
        display: none !important;
    }
    
    .topbar-container {
        padding: 0 1rem;
        gap: 0.5rem;
        height: auto !important;
        max-height: none !important;
    }
    
    .topbar-info {
        gap: 0.5rem;
    }
    
    .topbar-link {
        padding: 0.3rem 0.5rem;
        font-size: 0.75rem;
    }
    
    .topbar-right-modern {
        gap: 0.5rem;
    }
    
    .notification-dropdown-modern {
        min-width: 300px;
        right: -1rem;
    }
}

/* Bildirim Öğeleri */
.notification-item-modern {
    display: block;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(20, 91, 157, 0.08);
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.notification-item-modern:hover {
    background: rgba(13, 107, 74, 0.05);
}

.notification-item-modern:last-child {
    border-bottom: none;
}

.notification-content {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.notification-text {
    flex: 1;
}

.notification-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.notification-message {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.notification-date {
    color: var(--text-light);
    font-size: 0.75rem;
}

.notification-dot {
    width: 8px;
    height: 8px;
    background: var(--color-red); /* Yeşil */
    border-radius: 50%;
    margin-top: 0.5rem;
    flex-shrink: 0;
}

