/* Ayyıldız Haber Ajansı - Blue Theme Styles */

:root {
    /* Blue Theme Colors */
    --primary-blue: #1e40af;
    --dark-blue: #1e3a8a;
    --light-blue: #dbeafe;
    --accent-blue: #3b82f6;
    
    /* Legacy red variables now pointing to blue */
    --primary-red: #1e40af;
    --dark-red: #1e3a8a;
    --light-red: #dbeafe;
    --accent-red: #3b82f6;
    
    /* Common colors */
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --border-color: #e5e7eb;
    --bg-light: #f9fafb;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #fff;
}

.container-fluid {
    max-width: 1200px;
}

/* Sidebar reklamları container genişliğinden etkilenmesin */
.sidebar-ads-left,
.sidebar-ads-right {
    position: fixed !important;
    z-index: 1000 !important;
}

/* Header Styles - Tam Ekran Genişliği */
.header-top {
    background: var(--primary-blue);
    color: white;
    padding: 8px 0;
    font-size: 0.9rem;
    width: 100vw;
    position: relative;
    margin-left: -250px; /* Body margin'ini etkisiz hale getir */
    margin-right: -250px;
}

.header-top .current-date {
    font-weight: 500;
}

.header-top .weather-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-top .weather-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.main-header {
    background: white;
    border-bottom: 3px solid var(--primary-blue);
    padding: 15px 0;
    width: 100vw;
    position: relative;
    margin-left: -250px; /* Body margin'ini etkisiz hale getir */
    margin-right: -250px;
}

.logo-img {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.logo h1 {
    color: var(--primary-blue);
    font-weight: bold;
    font-size: 2.2rem;
    margin: 0;
}

.logo .tagline {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-top: -2px;
}

/* Navigation - Tam Ekran Genişliği */
.main-nav {
    background: var(--dark-blue);
    padding: 0;
    width: 100vw;
    position: relative;
    margin-left: -250px; /* Body margin'ini etkisiz hale getir */
    margin-right: -250px;
}

.navbar-nav .nav-link {
    color: white !important;
    padding: 15px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-right: 1px solid rgba(255,255,255,0.1);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background-color: var(--primary-blue);
    color: white !important;
}

/* Mobile Navbar Toggler */
.navbar-toggler {
    border: 1px solid rgba(255,255,255,0.3);
    padding: 6px 10px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255,255,255,0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 1.5em;
    height: 1.5em;
}

/* Search Bar */
.search-form {
    display: flex;
    align-items: center;
}

.search-form .form-control {
    border: none;
    border-radius: 20px 0 0 20px;
    padding: 8px 15px;
}

.search-form .btn {
    border-radius: 0 20px 20px 0;
    background: var(--primary-blue);
    border: none;
    color: white;
    padding: 8px 15px;
}

/* Breaking News Ticker - Tam Ekran Genişliği ve Katman Sabitleme */
.breaking-news {
    background: var(--primary-blue);
    color: white;
    padding: 10px 0;
    overflow: hidden;
    position: relative;
    z-index: 10;
    width: 100vw;
    margin-left: calc(-50vw + 50%); /* Merkezde kal ve tam genişlikte yayıl */
}

/* Konteynerin içindekiler */
.breaking-news .container {
    display: flex;
    align-items: center;
    gap: 15px;
    overflow: hidden;
    position: relative;
    z-index: 11;
}

/* "SON DAKİKA" etiketi */
.breaking-news .breaking-label {
    background: var(--dark-blue);
    padding: 5px 15px;
    font-weight: bold;
    border-radius: 3px;
    flex-shrink: 0;
    z-index: 13;
    white-space: nowrap;
}

/* Ticker alanı */
.breaking-news .news-ticker {
    flex-grow: 1;
    overflow: hidden;
    position: relative;
    z-index: 12;
    white-space: nowrap;
}

/* Kaydırılan içerik */
.breaking-news .news-ticker .ticker-content {
    display: inline-block;
    white-space: nowrap;
    animation: scroll-left 45s linear infinite;
}

/* Her bir haber elemanı */
.breaking-news .news-ticker .ticker-content > span {
    display: inline-block;
    margin-right: 80px;
    font-weight: 500;
    transition: color 0.3s ease;
}

/* Hover efekti */
.breaking-news .news-ticker a:hover {
    color: #fff !important;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

/* Animasyon */
@keyframes scroll-left {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .breaking-news .news-ticker .ticker-content {
        animation-duration: 35s;
    }

    .breaking-news .news-ticker .ticker-content > span {
        margin-right: 50px;
        font-size: 14px;
    }

    .breaking-news .breaking-label {
        font-size: 14px;
        padding: 4px 10px;
    }
}


/* News Cards */
.news-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    margin-bottom: 25px;
    overflow: hidden;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.news-card .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.news-card:hover .card-img-top {
    transform: scale(1.05);
}

.news-card .card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.4;
    flex-shrink: 0;
}

.news-card .card-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.news-card .card-title a:hover {
    color: var(--primary-blue);
}

.news-card .card-text {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
    flex: 1;
}

.news-meta {
    display: flex;
    justify-content: between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-light);
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
    flex-shrink: 0;
}

.news-meta .category-badge {
    background: var(--primary-red);
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
}

/* Featured News */
.featured-news {
    background: var(--light-red);
    padding: 30px 0;
    margin: 30px 0;
}

.featured-news h2 {
    color: var(--primary-red);
    font-weight: bold;
    margin-bottom: 25px;
    text-align: center;
}

.featured-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.featured-card .card-img-top {
    height: 200px;
    flex-shrink: 0;
}

.featured-card .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Sidebar */
.sidebar-section {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 25px;
    overflow: hidden;
}

.sidebar-section .section-header {
    background: var(--primary-red);
    color: white;
    padding: 15px 20px;
    font-weight: bold;
    font-size: 1.1rem;
}

.sidebar-section .section-content {
    padding: 20px;
}

/* Currency Widget */
.currency-item, .weather-item-widget, .prayer-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.currency-item:last-child,
.weather-item-widget:last-child,
.prayer-item:last-child {
    border-bottom: none;
}

.currency-symbol {
    font-weight: bold;
    color: var(--primary-red);
}

.currency-values {
    text-align: right;
    font-size: 0.9rem;
}

.currency-values .buy {
    color: #059669;
    font-weight: 500;
}

.currency-values .sell {
    color: #1e40af;
    font-weight: 500;
}

/* Weather Widget */
.weather-item-widget .weather-icon {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-right: 10px;
}

.weather-temp {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-blue);
}

/* Prayer Times Widget */
.prayer-item .prayer-name {
    font-weight: 500;
}

.prayer-item .prayer-time {
    font-weight: bold;
    color: var(--primary-blue);
}

/* Recommended News */
.recommended-news-item {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
    border-radius: 8px;
    padding: 10px;
}

.recommended-news-item:hover {
    background-color: rgba(30, 64, 175, 0.05);
}

.recommended-news-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 10px;
}

.recommended-news-item img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 12px;
}

.recommended-news-item .content {
    flex: 1;
}

.recommended-news-item .title {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 8px;
}

.recommended-news-item .title a {
    text-decoration: none;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.recommended-news-item .title a:hover {
    color: var(--primary-blue);
}

.recommended-news-item .meta {
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.recommended-news-item .category-badge {
    font-size: 0.6rem;
    padding: 2px 6px;
}

/* Popular News */
.popular-news-item {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.popular-news-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.popular-news-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 15px;
}

.popular-news-item .content {
    flex: 1;
}

.popular-news-item .title {
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 5px;
}

.popular-news-item .title a {
    text-decoration: none;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.popular-news-item .title a:hover {
    color: var(--primary-blue);
}

.popular-news-item .meta {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 40px 0 20px;
    margin-top: 50px;
}

.footer h5 {
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.footer .footer-links {
    list-style: none;
    padding: 0;
}

.footer .footer-links li {
    margin-bottom: 8px;
}

.footer .footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer .footer-links a:hover {
    color: var(--primary-blue);
}

.footer-bottom {
    border-top: 1px solid #374151;
    margin-top: 30px;
    padding-top: 20px;
    text-align: center;
    color: #9ca3af;
}

/* News Detail Page */
.news-detail {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 30px;
    margin-bottom: 30px;
}

.news-detail .news-title {
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.news-detail .news-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--text-light);
}

.news-detail .featured-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 25px;
}

.news-detail .news-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.news-detail .news-content p {
    margin-bottom: 20px;
}

/* Live TV Player */
.live-player-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 320px;
    height: 240px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    z-index: 9999;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-blue);
    user-select: none;
}

.live-player-container.minimized {
    height: 50px;
}

.live-player-container.minimized .live-player-content {
    display: none;
}

.live-player-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: white;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: move;
    user-select: none;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
}

.live-indicator .fa-circle {
    font-size: 0.7rem;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.live-text {
    font-size: 0.7rem;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.channel-name {
    font-size: 0.8rem;
    font-weight: 500;
}

.player-controls {
    display: flex;
    gap: 4px;
}

.btn-player-control {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
    font-size: 0.7rem;
    position: relative;
    z-index: 10001;
}

.btn-player-control:hover {
    background: rgba(255,255,255,0.3);
}

.live-player-content {
    width: 100%;
    height: calc(100% - 34px);
    position: relative;
}

.live-player-content iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Video Error Overlay */
.video-error-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.error-content {
    text-align: center;
    padding: 20px;
}

.error-content i {
    font-size: 2rem;
    color: #ffc107;
    margin-bottom: 10px;
}

.error-content p {
    margin: 10px 0;
    color: #6c757d;
    font-size: 0.9rem;
}

.live-player-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9998;
}

.btn-live-toggle {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(30, 64, 175, 0.4);
    font-weight: 600;
    font-size: 0.85rem;
}

.btn-live-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(30, 64, 175, 0.5);
}

.btn-live-toggle i {
    font-size: 0.9rem;
}

/* Mobile responsiveness for live player */
@media (max-width: 768px) {
    .live-player-container {
        width: 280px;
        height: 200px;
        bottom: 15px;
        right: 15px;
    }
    
    .btn-live-toggle {
        padding: 10px 14px;
        font-size: 0.8rem;
    }
    
    .live-player-header {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
    
    .channel-name {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .live-player-container {
        width: 250px;
        height: 180px;
        bottom: 10px;
        right: 10px;
    }
    
    .btn-live-toggle span {
        display: none;
    }
    
    .btn-live-toggle {
        width: 45px;
        height: 45px;
        border-radius: 50%;
        padding: 0;
        justify-content: center;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo h1 {
        font-size: 2rem;
    }
    
    .navbar-nav .nav-link {
        padding: 10px 15px;
    }
    
    .news-card .card-img-top {
        height: 180px;
    }
    
    .featured-card .card-img-top {
        height: 200px;
    }
    
    .news-detail {
        padding: 20px;
    }
    
    .news-detail .news-title {
        font-size: 1.5rem;
    }
    
    .breaking-news .breaking-label {
        margin-right: 10px;
        margin-bottom: 5px;
    }
    
    .header-top .weather-info {
        gap: 10px;
    }
    
    .popular-news-item {
        flex-direction: column;
        text-align: center;
    }
    
    .popular-news-item img {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .news-card .card-body {
        padding: 15px;
    }
    
    .sidebar-section .section-content {
        padding: 15px;
    }
    
    .news-detail {
        padding: 15px;
    }
    
    .weather-info {
        display: none;
    }
}

/* Admin Panel Styles */
.admin-sidebar {
    background: var(--text-dark);
    min-height: 100vh;
    color: white;
}

.admin-sidebar .nav-link {
    color: #ccc;
    padding: 12px 20px;
    border-radius: 0;
    transition: all 0.3s ease;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    background: var(--primary-red);
    color: white;
}

.admin-header {
    background: white;
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
}

.admin-content {
    padding: 30px;
    background: var(--bg-light);
    min-height: calc(100vh - 70px);
}

.stats-card {
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    margin-bottom: 25px;
}

.stats-card .stats-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-red);
    display: block;
}

.stats-card .stats-label {
    color: var(--text-light);
    margin-top: 5px;
}

.admin-table {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.admin-table .table {
    margin: 0;
}

.admin-table .table thead {
    background: var(--primary-red);
    color: white;
}

.btn-primary {
    background: var(--primary-red);
    border-color: var(--primary-red);
}

.btn-primary:hover {
    background: var(--dark-red);
    border-color: var(--dark-red);
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.slide-up {
    transform: translateY(20px);
    opacity: 0;
    animation: slideUp 0.5s ease forwards;
}

@keyframes slideUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Loading Spinner */
.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-red);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Utility Classes */
.text-red {
    color: var(--primary-red) !important;
}

.bg-red {
    background-color: var(--primary-red) !important;
}

.border-red {
    border-color: var(--primary-red) !important;
}

.hover-scale:hover {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

.shadow-custom {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* News Slider Styles */
.news-slider-section {
    padding: 20px 0;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.carousel {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.slider-news-item {
    background: white;
    padding: 30px;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.slider-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 300px;
}

.slider-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.slider-image:hover img {
    transform: scale(1.05);
}

.slider-image-fallback {
    height: 300px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 2px solid var(--border-color);
}

.fallback-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    opacity: 0.7;
}

.slider-content {
    padding-left: 30px;
}

.slider-category {
    margin-bottom: 15px;
}

.slider-title {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 15px;
}

.slider-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.slider-title a:hover {
    color: var(--primary-red);
}

.slider-summary {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.slider-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: var(--text-light);
}

.slider-date,
.slider-views {
    display: flex;
    align-items: center;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    background: var(--primary-red);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.9;
    transition: all 0.3s ease;
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    background: var(--dark-red);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

/* Carousel Indicators */
.carousel-indicators {
    bottom: 20px;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
    background: transparent;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.carousel-indicators [data-bs-target].active {
    background: var(--primary-red);
    opacity: 1;
}

/* Responsive Design for Slider */
@media (max-width: 768px) {
    .slider-news-item {
        padding: 20px;
        min-height: auto;
    }
    
    .slider-content {
        padding-left: 0;
        padding-top: 20px;
    }
    
    .slider-title {
        font-size: 20px;
    }
    
    .slider-image,
    .slider-image-fallback {
        height: 200px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    .carousel-control-prev {
        left: 10px;
    }
    
    .carousel-control-next {
        right: 10px;
    }
}

/* Yeniden Yazılmış Reklam Sistemi */
/* Reklam Containerları - Bootstrap sınıflarını zorunlu override */
div.sidebar-ads-left,
div.sidebar-ads-left.d-none,
div.sidebar-ads-left.d-xl-block,
div.sidebar-ads-left.d-none.d-xl-block,
.sidebar-ads-left {
    position: fixed !important;
    left: 15px;
    top: 120px;
    max-height: calc(100vh - 200px); /* Maksimum yükseklik - ekrana sığar */
    z-index: 50;
    display: flex !important;
    flex-direction: column;
    gap: 30px;
    width: 220px;
    overflow-y: auto;
    padding: 10px 0;
    visibility: visible !important;
    opacity: 1 !important;
}

div.sidebar-ads-right,
div.sidebar-ads-right.d-none,
div.sidebar-ads-right.d-lg-block,
div.sidebar-ads-right.d-none.d-lg-block,
.sidebar-ads-right {
    position: fixed !important;
    right: 15px;
    top: 120px;
    max-height: calc(100vh - 200px); /* Maksimum yükseklik - ekrana sığar */
    z-index: 50;
    display: flex !important;
    flex-direction: column;
    gap: 30px;
    width: 220px;
    overflow-y: auto;
    padding: 10px 0;
    visibility: visible !important;
    opacity: 1 !important;
}

.vertical-ads-container {
    margin: 20px 0;
}

.vertical-banner-ad {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    width: 220px;
    position: relative;
    border: 2px solid #f1f3f4;
    margin-bottom: 25px;
    height: auto; /* Otomatik yükseklik - içeriğe göre ayarlanır */
    min-height: 200px; /* En az 200px yükseklik */
}

/* Kapatma Butonu Stilleri - VPS Uyumlu */
.ad-close-btn {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    background: rgba(0,0,0,0.8) !important;
    color: white !important;
    border: none !important;
    border-radius: 50% !important;
    width: 28px !important;
    height: 28px !important;
    font-size: 14px !important;
    cursor: pointer !important;
    z-index: 100 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
    font-family: inherit !important;
    line-height: 1 !important;
}

.ad-close-btn:hover {
    background: rgba(220, 53, 69, 0.9) !important;
    transform: scale(1.1) !important;
}

.ad-close-btn:active {
    transform: scale(0.95) !important;
}

/* Üst ve Alt Banner Sistemleri */
.top-banner-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.top-banner-container.hidden {
    transform: translateY(-100%);
}

.bottom-banner-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.bottom-banner-container.hidden {
    transform: translateY(100%);
}

.horizontal-banner-ad {
    width: 100%;
    max-height: 120px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.horizontal-banner-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Header padding adjustment for top banner */
body.has-top-banner {
    padding-top: 120px;
}

body.has-bottom-banner {
    padding-bottom: 120px;
}

.vertical-banner-ad:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    border-color: var(--primary-blue);
}

.vertical-banner-image {
    width: 100%;
    height: auto; /* Otomatik yükseklik - fotoğrafın orijinal oranını korur */
    max-height: none; /* Maksimum yükseklik sınırlamasını kaldır */
    object-fit: contain; /* Kırpma yapmak yerine tüm görüntüyü göster */
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
}

.vertical-banner-ad:hover .vertical-banner-image {
    transform: scale(1.02);
}

.vertical-banner-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px;
    font-size: 10px;
    font-weight: 600;
    color: #fff;
    text-align: center;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Basit Popup Advertisement Styles */
.simple-popup-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 9999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    background: rgba(0, 0, 0, 0.8) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s ease !important;
}

.simple-popup-overlay.show {
    opacity: 1 !important;
    visibility: visible !important;
}

.simple-popup-backdrop {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: transparent !important;
    cursor: pointer !important;
}

.simple-popup-container {
    position: relative !important;
    background: white !important;
    border-radius: 12px !important;
    max-width: 500px !important;
    max-height: 80vh !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5) !important;
    transform: scale(0.8) !important;
    transition: transform 0.3s ease !important;
    overflow: hidden !important;
}

.simple-popup-overlay.show .simple-popup-container {
    transform: scale(1) !important;
}

.simple-popup-close {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    background: #dc3545 !important;
    color: white !important;
    border: none !important;
    border-radius: 50% !important;
    width: 35px !important;
    height: 35px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 10 !important;
    font-size: 16px !important;
    transition: all 0.2s ease !important;
}

.simple-popup-close:hover {
    background: #c82333 !important;
    transform: scale(1.1) !important;
}

.simple-popup-content {
    padding: 0 !important;
}

.simple-popup-image {
    width: 100% !important;
    height: auto !important;
    max-height: 400px !important;
    object-fit: contain !important;
    display: block !important;
}

.simple-popup-title {
    padding: 15px 20px 10px !important;
    font-size: 18px !important;
    font-weight: bold !important;
    color: #333 !important;
    text-align: center !important;
    border-top: 1px solid #eee !important;
}

.simple-popup-description {
    padding: 0 20px 20px !important;
    font-size: 14px !important;
    color: #666 !important;
    text-align: center !important;
    line-height: 1.5 !important;
}

/* Mobile responsive popup */
@media (max-width: 768px) {
    .simple-popup-overlay {
        padding: 10px !important;
    }
    
    .simple-popup-container {
        max-width: 95vw !important;
        max-height: 90vh !important;
        border-radius: 8px !important;
    }
    
    .simple-popup-image {
        max-height: 300px !important;
    }
    
    .simple-popup-title {
        font-size: 16px !important;
        padding: 12px 15px 8px !important;
    }
    
    .simple-popup-description {
        font-size: 13px !important;
        padding: 0 15px 15px !important;
    }
}

.popup-ad-container {
    position: relative;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 24px;
    box-shadow: 
        0 40px 100px rgba(0, 0, 0, 0.5),
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    max-width: 650px;
    max-height: 85vh;
    overflow: hidden;
    transform: scale(0.7) translateY(50px) rotateX(15deg);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.popup-ad-overlay.show .popup-ad-container {
    transform: scale(1) translateY(0) rotateX(0deg);
}

.popup-ad-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    padding: 10px 15px;
    background: linear-gradient(135deg, rgba(0,0,0,0.8), rgba(0,0,0,0.6));
    display: flex;
    justify-content: flex-end;
    align-items: center;
    backdrop-filter: blur(5px);
}

.popup-ad-label {
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.popup-close-btn {
    background: linear-gradient(135deg, #ff3b30, #ff6b6b) !important;
    color: #fff !important;
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 50% !important;
    width: 48px !important;
    height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 20px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    line-height: 1 !important;
    backdrop-filter: blur(15px) !important;
    box-shadow: 
        0 8px 25px rgba(255, 59, 48, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
    font-family: inherit !important;
    text-decoration: none !important;
    outline: none !important;
}

.popup-close-btn:hover {
    background: linear-gradient(135deg, #ff1744, #ff5722) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
    transform: scale(1.15) rotate(180deg) !important;
    box-shadow: 
        0 12px 35px rgba(255, 23, 68, 0.5),
        0 0 0 2px rgba(255, 255, 255, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
}

.popup-ad-content {
    position: relative;
    overflow: hidden;
}

.popup-ad-link {
    display: block;
    position: relative;
    text-decoration: none;
    color: inherit;
}

.popup-ad-image {
    width: 100%;
    height: auto;
    max-height: 65vh;
    object-fit: cover;
    display: block;
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0 0 24px 24px;
    filter: brightness(0.95) contrast(1.05);
}

.popup-ad-image.loaded {
    opacity: 1;
    filter: brightness(1) contrast(1.05);
}

.popup-ad-image.error {
    opacity: 1;
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    min-height: 300px;
}

.popup-image-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--primary-blue);
    font-size: 16px;
    font-weight: 500;
    z-index: 5;
    background: rgba(255, 255, 255, 0.9);
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    backdrop-filter: blur(5px);
}

.popup-image-loader i {
    font-size: 24px;
    margin-bottom: 10px;
    display: block;
    color: var(--primary-blue);
}

.popup-ad-image.loaded + .popup-image-loader,
.popup-ad-image.error + .popup-image-loader {
    display: none;
}

.popup-ad-title {
    padding: 25px 30px;
    font-size: 20px;
    font-weight: 800;
    color: #1a1a1a;
    text-align: center;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    letter-spacing: 0.3px;
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.popup-ad-description {
    padding: 0 30px 30px;
    font-size: 15px;
    color: #555;
    text-align: center;
    line-height: 1.6;
    font-weight: 400;
    letter-spacing: 0.2px;
    opacity: 0.9;
}

/* Popup Mobile Responsive */
@media (max-width: 768px) {
    .popup-ad-overlay {
        padding: 15px;
        background: linear-gradient(
            135deg,
            rgba(20, 20, 20, 0.95),
            rgba(40, 40, 40, 0.90),
            rgba(20, 20, 20, 0.95)
        );
    }
    
    .popup-ad-container {
        max-width: 95vw;
        max-height: 90vh;
        border-radius: 20px;
        transform: scale(0.85) translateY(30px);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .popup-ad-overlay.show .popup-ad-container {
        transform: scale(1) translateY(0);
    }
    
    .popup-ad-header {
        padding: 10px 15px;
    }
    
    .popup-close-btn {
        width: 42px;
        height: 42px;
        font-size: 18px;
        top: 15px;
        right: 15px;
    }
    
    .popup-ad-image {
        max-height: 55vh;
        border-radius: 0 0 20px 20px;
    }
    
    .popup-ad-title {
        font-size: 18px;
        padding: 20px 25px;
        font-weight: 700;
    }
    
    .popup-ad-description {
        font-size: 14px;
        padding: 0 25px 25px;
        line-height: 1.5;
    }
    
    .popup-image-loader {
        padding: 15px 20px;
        font-size: 14px;
        border-radius: 12px;
    }
    
    .popup-image-loader i {
        font-size: 20px;
    }
}
}

.popup-ad-content img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.popup-ad-content a {
    display: block;
    text-decoration: none;
}

.popup-ad-content a:hover img {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

/* Mobile responsive popup */
@media (max-width: 768px) {
    .popup-ad-overlay {
        padding: 15px;
    }
    
    .popup-ad-container {
        max-width: 90vw;
        max-height: 70vh;
    }
    
    .popup-ad-close {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
}

/* Widget Styles */
.widget-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    border: 1px solid #e9ecef;
    margin-bottom: 20px;
}

.widget-header {
    background: var(--primary-blue);
    color: white;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.widget-header h5 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
}

.widget-content {
    padding: 16px;
}

.currency-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f1f1f1;
}

.currency-item:last-child {
    border-bottom: none;
}

.currency-symbol {
    font-weight: 600;
    color: var(--primary-blue);
}

.currency-rates {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.currency-rates small {
    font-size: 11px;
    color: #666;
    line-height: 1.2;
}

.weather-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f1f1f1;
}

.weather-item:last-child {
    border-bottom: none;
}

.city-name {
    font-weight: 600;
    color: var(--text-dark);
}

.weather-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.temperature {
    font-weight: 600;
    color: var(--primary-blue);
}

.popular-news-item {
    padding: 10px 0;
    border-bottom: 1px solid #f1f1f1;
}

.popular-news-item:last-child {
    border-bottom: none;
}

.news-link {
    text-decoration: none;
    color: var(--text-dark);
}

.news-link:hover .news-title {
    color: var(--primary-blue);
}

.news-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.news-views {
    color: #666;
    font-size: 11px;
}

.prayer-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid #f1f1f1;
}

.prayer-item:last-child {
    border-bottom: none;
}

.prayer-name {
    font-weight: 500;
    color: var(--text-dark);
}

.prayer-time {
    font-weight: 600;
    color: var(--primary-blue);
}

/* Footer - Tam Ekran Genişliği */
.footer {
    background: var(--dark-blue);
    color: white;
    padding: 40px 0 20px;
    width: 100vw;
    position: relative;
    margin-left: -250px; /* Body margin'ini etkisiz hale getir */
    margin-right: -250px;
}

.footer h5 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer p {
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.social-links a {
    display: inline-block;
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 35px;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-blue);
}

/* Breadcrumb (Yol Görünümü) Stilleri */
.breadcrumb {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid #dee2e6;
}

.breadcrumb-item {
    font-size: 14px;
    font-weight: 500;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 16px;
    margin: 0 8px;
}

.breadcrumb-item a {
    color: var(--primary-blue);
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.breadcrumb-item a:hover {
    background: rgba(52, 144, 220, 0.1);
    color: var(--dark-blue);
}

.breadcrumb-item.active {
    color: var(--text-dark);
    font-weight: 600;
}

/* Content Area Reserved Space for Ads */
body {
    margin-left: 250px; /* Sol reklam alanı rezervasyonu */
    margin-right: 250px; /* Sağ reklam alanı rezervasyonu */
}

/* Enhanced Responsive Design - Daha geniş ekranlarda da reklam göster */
@media (max-width: 1599.98px) {
    body {
        margin-left: 200px;
        margin-right: 200px;
    }
    
    /* Tam ekran alanları için margin ayarı */
    .header-top,
    .main-header,
    .main-nav,
    .breaking-news,
    .footer {
        margin-left: -200px;
        margin-right: -200px;
    }
    
    .sidebar-ads-left {
        left: 10px;
        width: 180px;
    }
    
    .sidebar-ads-right {
        right: 10px;
        width: 180px;
    }
    
    .vertical-banner-ad {
        width: 180px;
    }
    
    .vertical-banner-image {
        height: 400px;
    }
}

@media (max-width: 1399.98px) {
    body {
        margin-left: 0;
        margin-right: 0;
    }
    
    /* Tam ekran alanları için margin sıfırla */
    .header-top,
    .main-header,
    .main-nav,
    .breaking-news,
    .footer {
        margin-left: 0;
        margin-right: 0;
    }
    
    /* Küçük ekranlar için de zorla görünür yap */
    div.sidebar-ads-left,
    div.sidebar-ads-left.d-none,
    div.sidebar-ads-left.d-xl-block,
    .sidebar-ads-left {
        left: 5px !important;
        width: 160px !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    div.sidebar-ads-right,
    div.sidebar-ads-right.d-none,
    div.sidebar-ads-right.d-lg-block,
    .sidebar-ads-right {
        right: 5px !important;
        width: 160px !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .vertical-banner-ad {
        width: 160px !important;
        display: block !important;
    }
    
    .vertical-banner-image {
        height: 350px !important;
    }
}

/* Bootstrap d-none Override - En yüksek öncelikli kurallar */
@media (max-width: 1199.98px) {
    .sidebar-ads-left.d-none.d-xl-block {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

@media (max-width: 991.98px) {
    .sidebar-ads-right.d-none.d-lg-block {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

/* Global override - tüm Bootstrap sınıflarını etkisiz hale getir */
.sidebar-ads-left,
.sidebar-ads-right {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: fixed !important;
    z-index: 1000 !important;
}

/* Büyük ekranlar için özel kurallar */
@media (min-width: 1200px) {
    .sidebar-ads-left,
    .sidebar-ads-right {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: fixed !important;
        z-index: 1000 !important;
    }
    
    .vertical-banner-ad {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

@media (min-width: 1400px) {
    .sidebar-ads-left,
    .sidebar-ads-right {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: fixed !important;
        z-index: 1000 !important;
    }
}

@media (max-width: 991.98px) {
    .vertical-ads-container {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .widget-card {
        margin-bottom: 15px;
    }
}

@media (max-width: 767.98px) {
    .widget-content {
        padding: 12px;
    }
    
    .widget-header {
        padding: 10px 12px;
    }
    
    .widget-header h5 {
        font-size: 13px;
    }
}

/* =============================================
   VPS DEPLOYMENT CSS FIX - CRITICAL OVERRIDES
   UPDATED: 2025-07-06 for Complete VPS Compatibility
   ============================================= */

/* VPS Sunucu İçin Zorla CSS Kuralları */
.ad-close-btn,
button.ad-close-btn,
.popup-close-btn,
button.popup-close-btn {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    background: rgba(0,0,0,0.8) !important;
    color: white !important;
    border: none !important;
    border-radius: 50% !important;
    width: 28px !important;
    height: 28px !important;
    font-size: 14px !important;
    cursor: pointer !important;
    z-index: 999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: Arial, sans-serif !important;
    line-height: 1 !important;
    text-decoration: none !important;
    outline: none !important;
    pointer-events: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.popup-close-btn,
button.popup-close-btn {
    width: 48px !important;
    height: 48px !important;
    font-size: 20px !important;
    background: linear-gradient(135deg, #ff3b30, #ff6b6b) !important;
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
}

/* VPS POPUP REKLAM OVERRIDE - COMPLETE RESET */
.simple-popup-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 9999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    background: rgba(0, 0, 0, 0.8) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s ease !important;
    transform: none !important;
}

.simple-popup-overlay.show {
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important;
}

.simple-popup-container {
    position: relative !important;
    background: white !important;
    border-radius: 12px !important;
    max-width: 500px !important;
    width: 90vw !important;
    max-height: 80vh !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5) !important;
    transform: scale(0.8) !important;
    transition: transform 0.3s ease !important;
    overflow: hidden !important;
    margin: auto !important;
}

.simple-popup-overlay.show .simple-popup-container {
    transform: scale(1) !important;
}

.simple-popup-close {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    background: #dc3545 !important;
    color: white !important;
    border: none !important;
    border-radius: 50% !important;
    width: 35px !important;
    height: 35px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 10 !important;
    font-size: 16px !important;
    transition: all 0.2s ease !important;
    font-family: Arial, sans-serif !important;
    line-height: 1 !important;
    text-decoration: none !important;
    outline: none !important;
    pointer-events: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.simple-popup-close:hover {
    background: #c82333 !important;
    transform: scale(1.1) !important;
}

.simple-popup-image {
    width: 100% !important;
    height: auto !important;
    max-height: 400px !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

.simple-popup-title {
    padding: 15px 20px 10px !important;
    font-size: 18px !important;
    font-weight: bold !important;
    color: #333 !important;
    text-align: center !important;
    border-top: 1px solid #eee !important;
    margin: 0 !important;
}

.simple-popup-description {
    padding: 0 20px 20px !important;
    font-size: 14px !important;
    color: #666 !important;
    text-align: center !important;
    line-height: 1.5 !important;
    margin: 0 !important;
}

/* VPS MOBILE RESPONSIVE POPUP FIX */
@media (max-width: 768px) {
    .simple-popup-overlay {
        padding: 10px !important;
    }
    
    .simple-popup-container {
        max-width: 95vw !important;
        width: 95vw !important;
        max-height: 90vh !important;
        border-radius: 8px !important;
    }
    
    .simple-popup-image {
        max-height: 300px !important;
    }
    
    .simple-popup-title {
        font-size: 16px !important;
        padding: 12px 15px 8px !important;
    }
    
    .simple-popup-description {
        font-size: 13px !important;
        padding: 0 15px 15px !important;
    }
    
    .simple-popup-close {
        width: 30px !important;
        height: 30px !important;
        font-size: 14px !important;
        top: 8px !important;
        right: 8px !important;
    }
}

/* Reklam Containerları VPS Override */
.sidebar-ads-left,
.sidebar-ads-right,
div.sidebar-ads-left,
div.sidebar-ads-right {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: fixed !important;
    z-index: 50 !important;
    pointer-events: auto !important;
}

.vertical-banner-ad,
.popup-ad-overlay,
.popup-ad-container {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* Font Awesome Icons VPS Fix */
.fa,
.fas,
.far,
.fal,
.fab {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "Font Awesome 5 Free", "Font Awesome 5 Pro", "FontAwesome" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    display: inline-block !important;
    text-rendering: auto !important;
    -webkit-font-smoothing: antialiased !important;
}

/* Bootstrap Override for VPS */
.d-none {
    display: none !important;
}

.d-xl-block {
    display: block !important;
}

.d-lg-block {
    display: block !important;
}

/* Zorla Görünür Kılma */
@media (min-width: 1200px) {
    .sidebar-ads-left.d-none.d-xl-block,
    .sidebar-ads-right.d-none.d-lg-block {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

/* Admin Panel İçin Görsel Küçültme */
.admin-news-thumb,
.news-thumb {
    width: 45px !important;
    height: 45px !important;
    object-fit: cover !important;
    border-radius: 6px !important;
    border: 1px solid #dee2e6 !important;
    flex-shrink: 0 !important;
}

/* Admin Panel Tablo Stilleri */
.admin-table .table th,
.admin-table .table td {
    padding: 8px 12px !important;
    vertical-align: middle !important;
}

.admin-table .news-title {
    font-size: 14px !important;
    font-weight: 600 !important;
    margin-bottom: 4px !important;
}

.admin-table .news-summary {
    font-size: 12px !important;
    color: #6c757d !important;
    margin-bottom: 0 !important;
}

/* VPS Genel CSS Güvenlik */
* {
    box-sizing: border-box !important;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    line-height: 1.6 !important;
}
/* VPS Cache Buster - 1751820468 */
