/* ========== MEVCUT CSS'LERİNİZ AYNEN KALACAK ========== */
.custom-announcements,.custom-nav {
    align-items: center;
    display: flex;
    color: #fff;
}

.custom-nav {
    background: linear-gradient(327deg,#214a6e,#16213e);
    font-family: Poppins,sans-serif;
    justify-content: space-between;
    width: 90%;
    padding: 12px 20px;
    box-sizing: border-box;
    position: relative;
    flex-wrap: wrap;
    margin: 0 auto;
    z-index: 1000;
}

.custom-menu a,.hamburger-menu {
    border-radius: 5px;
    background: #ffffff1a;
}

.custom-announcements {
    font-size: 14px;
    height: 22px;
    gap: 10px;
    white-space: nowrap;
}

.custom-announcement-wrapper {
    overflow: hidden;
    width: 300px;
    height: 22px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.announcement-slider {
    position: relative;
    width: 100%;
    height: 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.announcement-slider div {
    position: absolute;
    width: 100%;
    text-align: center;
    transition: opacity .8s ease-in-out;
    opacity: 0;
    display: flex;
    align-items: center;
    height: 22px;
}

.announcement-slider div:first-child {
    opacity: 1;
    position: relative;
}

.custom-announcement-wrapper a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: .3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.custom-announcement-wrapper a:hover {
    color: #f39c12;
}

.custom-menu {
    list-style: none;
    display: flex;
    gap: 5px;
    padding: 0;
    margin: 0;
}

.custom-menu li {
    display: inline-block;
}

.custom-menu a {
    color: #fff;
    font-size: 11px;
    padding: 10px;
    transition: .3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.custom-menu a:hover {
    background: #45c8e7;
    color: #1b2945;
}

.hamburger-menu {
    display: none;
    cursor: pointer;
    font-size: 20px;
    padding: 10px 12px;
    transition: .3s;
    position: relative;
    z-index: 1001;
}

.hamburger-menu:hover {
    background: #f39c12;
    color: #1b2945;
}

/* ========== MENU OVERLAY (ARKA PLAN KARATMA) ========== */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity .3s ease-in-out;
}

.menu-overlay.show {
    display: block;
    opacity: 1;
}

/* ========== MOBİL MENÜ (GRID DÜZEN - YAN YANA) ========== */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: linear-gradient(180deg, #1b2945 0%, #16213e 100%);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    padding: 15px;
    margin: 0;
    list-style: none;
    z-index: 999;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, opacity 0.3s ease-out;
    opacity: 0;
    border-radius: 0 0 10px 10px;
    box-sizing: border-box;
}

.mobile-menu.show {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    max-height: 500px;
    opacity: 1;
    padding: 15px;
}

.mobile-menu li {
    list-style: none;
    margin: 0;
}

.mobile-menu a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 10px;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    transition: all .3s ease;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    text-align: center;
    min-height: 80px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu a i {
    font-size: 24px;
    margin-bottom: 5px;
}

.mobile-menu a:hover {
    background: #45c8e7;
    color: #1b2945;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(69, 200, 231, 0.3);
}

/* Mobil bildirim badge */
#faNotificationBadgeMobile {
    background: linear-gradient(135deg, #ff4444 0%, #cc0000 100%);
    color: white;
    border-radius: 10px;
    padding: 3px 8px;
    font-size: 10px;
    font-weight: bold;
    position: absolute;
    top: 5px;
    right: 5px;
    min-width: 20px;
    text-align: center;
}

/* Bildirim linki için özel stil */
.mobile-menu .fa-notification-menu-item {
    position: relative;
}

/* ========== LOGO SHINE ========== */
.logo-shine-wrapper {
    display: block;
    position: relative;
}

.logo-shine-link {
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.logo-shine-link:before {
    background: linear-gradient(to right, hsla(0, 0%, 100%, 0) 0%, hsla(0, 0%, 100%, 0.8) 100%);
    position: absolute;
    display: block;
    content: '';
    width: 50%;
    height: 100%;
    transform: skewX(-25deg);
    top: 0;
    left: -75%;
    z-index: 2;
    pointer-events: none;
}

.logo-shine-link:hover:before {
    animation: logoHover 0.6s ease-in-out;
}

@keyframes logoHover {
    100% {
        left: 125%;
    }
}

/* ========== QUOTE/CODE STYLES ========== */
.bbccode{
    width: 650px;
    background: #FFF;
    border: 1px solid #B71C1C;
    border-top: 4px solid #B71C1C;
    padding: 5px;
    color: #5e1b1b;
    font-size: 12px;
}

.bbccodetitle{
    font-weight: bold;
    font-size: 12px;
    border: 0px;
    border-bottom: 1px dashed #B71C1C;
    color: #5e1b1b;
    padding-bottom: 3px;
    margin-bottom: 5px;
}

.bbchtml{
    width: 650px;
    background: #FFF;
    border: 1px solid #c3ffa8;
    border-top: 4px solid #c3ffa8;
    padding: 5px;
    color: #7fa66e;
    font-size: 12px;
}

.bbchtmltitle{
    font-weight: bold;
    font-size: 12px;
    border: 0px;
    border-bottom: 1px dashed #82cc00;
    color: #82cc00;
    padding-bottom: 3px;
    margin-bottom: 5px;
}

.bbcphp{
    width: 650px;
    background: #FFF;
    border: 1px solid #ffa8a8;
    border-top: 4px solid #ffa8a8;
    padding: 5px;
    color: #990000;
    font-size: 12px;
}

.bbcphptitle{
    font-weight: bold;
    font-size: 12px;
    border: 0px;
    border-bottom: 1px dashed #cc0000;
    color: #000000;
    padding-bottom: 3px;
    margin-bottom: 5px;
}

.bbcquote{
    width: 650px;
    background: #FFF;
    border: 1px solid #C2CFDF;
    border-top: 4px solid #C2CFDF;
    color: #000000;
    padding: 5px;
    font-size: 12px;
}

.bbcquotetitle{
    font-weight: bold;
    font-size: 12px;
    border: 0px;
    border-bottom: 1px dashed #003366;
    color: #003366;
    padding-bottom: 3px;
    margin-bottom: 5px;
}

/* ========== RESPONSIVE DESIGN ========== */
@media screen and (max-width: 1024px) {
    .hamburger-menu {
        display: block;
    }

    .custom-menu {
        display: none;
    }
    
    .custom-announcements {
        font-size: 12px;
    }
    
    .custom-announcement-wrapper {
        width: 200px;
    }
}

@media screen and (max-width: 768px) {
    .custom-nav {
        width: 95%;
        padding: 10px 15px;
    }
    
    .mobile-menu.show {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        padding: 12px;
    }
    
    .mobile-menu a {
        font-size: 11px;
        padding: 12px 8px;
        min-height: 75px;
    }
    
    .mobile-menu a i {
        font-size: 20px;
    }
}

@media screen and (max-width: 480px) {
    .custom-announcements {
        font-size: 11px;
    }
    
    .custom-announcement-wrapper {
        width: 150px;
    }
    
    .mobile-menu.show {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 10px;
    }
    
    .mobile-menu a {
        font-size: 10px;
        padding: 10px 5px;
        min-height: 70px;
    }
    
    .mobile-menu a i {
        font-size: 18px;
    }
}

@media screen and (max-width: 360px) {
    .mobile-menu.show {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
    
    .mobile-menu a {
        font-size: 9px;
        padding: 8px 4px;
        min-height: 65px;
    }
}


/* Mobil Bildirim Badge Stili */
.mobile-notification-item {
    position: relative;
}

.fa-notification-badge-mobile {
    background: linear-gradient(135deg, #ff4444 0%, #cc0000 100%);
    color: white;
    border-radius: 12px;
    padding: 3px 8px;
    font-size: 10px;
    font-weight: bold;
    position: absolute;
    top: 8px;
    right: 8px;
    min-width: 18px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(255, 68, 68, 0.5);
    animation: fa-notification-pulse 2s infinite;
}

@keyframes fa-notification-pulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(255, 68, 68, 0.5);
    }
    50% { 
        transform: scale(1.1);
        box-shadow: 0 4px 12px rgba(255, 68, 68, 0.7);
    }
}
