/* ========== CSS Variables ========== */
:root {
    --primary: #dd0000;
    --secondary: #1a1a1a;
    --header-bg: #dd0000;
    --nav-bg: #dd0000;
    --footer-bg: #1a1a1a;
    --accent: #ffd700;
    --topbar-bg: #465b82;
    --text: #333;
    --text-light: #666;
    --text-muted: #999;
    --bg: #fff;
    --bg-light: #f5f5f5;
    --bg-dark: #1a1a1a;
    --border: #e0e0e0;
    --radius: 6px;
    --shadow: 0 2px 8px rgba(0,0,0,0.08);
    --transition: all 0.3s ease;
    --container: 1220px;
    --font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ========== Reset ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); font-size: 14px; line-height: 1.6; color: var(--text); background: var(--bg-light); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ========== Container ========== */
.container { max-width: var(--container); margin: 0 auto; padding: 0 15px; }

/* ========== Utility Classes ========== */
.text-green { color: #28a745 !important; }
.text-red { color: #dc3545 !important; }
.text-primary { color: var(--primary) !important; }
.text-center { text-align: center; }
.d-none { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ========== Typography ========== */
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.3; color: var(--secondary); }
h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; }

/* ========== Section Title ========== */
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.section-title { font-size: 1.3rem; font-weight: 800; text-transform: uppercase; color: var(--primary); position: relative; padding-left: 0; }
.section-title::after { content: ''; display: inline-block; width: 60px; height: 3px; background: var(--border); margin-left: 12px; vertical-align: middle; }
.section-link { display: inline-flex; align-items: center; gap: 5px; background: var(--primary); color: #fff; padding: 6px 16px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.section-link:hover { opacity: 0.9; color: #fff; }

/* ========== Back to Top ========== */
.back-to-top { position: fixed; bottom: 30px; right: 30px; width: 44px; height: 44px; background: var(--primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; opacity: 0; visibility: hidden; transition: var(--transition); z-index: 999; box-shadow: var(--shadow); }
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--secondary); color: #fff; transform: translateY(-3px); }

/* ========== Ad Areas ========== */
.ad-area { text-align: center; margin: 20px auto; overflow: hidden; max-width: 100%; }
.ad-area img { display: inline-block; max-width: 100%; height: auto; border-radius: var(--radius); }
.ad-header_top, .ad-header_bottom { max-width: 728px; margin: 10px auto; }
.ad-headline_top, .ad-headline_bottom { max-width: 728px; margin: 15px auto; }
.ad-headline_top img, .ad-headline_bottom img { max-width: 728px; max-height: 90px; object-fit: contain; }
.ad-between_sections, .ad-between_sections_2 { max-width: 970px; margin: 25px auto; padding: 0 15px; }
.ad-single_top, .ad-single_middle, .ad-single_bottom { max-width: 100%; margin: 20px 0; }
.ad-sidebar, .ad-sidebar_sticky { max-width: 300px; margin: 15px auto; }
.ad-footer_top { max-width: 728px; margin: 15px auto; }
/* Sağ/Sol kenar reklamlar */
.ad-left_float, .ad-right_float { position: fixed; top: 50%; transform: translateY(-50%); z-index: 90; width: 160px; max-width: 160px; }
.ad-left_float { left: 8px; }
.ad-right_float { right: 8px; }
.ad-left_float img, .ad-right_float img { width: 160px; max-width: 160px; height: auto; border-radius: 6px; box-shadow: 0 2px 10px rgba(0,0,0,0.15); }
/* Mobilde gizle */
@media (max-width: 1300px) { .ad-left_float, .ad-right_float { display: none !important; } }

/* ========== Page Loader ========== */
.page-loader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: #fff; z-index: 99999; display: flex; align-items: center; justify-content: center; transition: opacity 0.3s; }
.page-loader.loaded { opacity: 0; pointer-events: none; }

/* ========== Category Badge ========== */
.cat-badge { display: inline-block; background: var(--primary); color: #fff; padding: 3px 10px; font-size: 11px; font-weight: 600; border-radius: 3px; text-transform: uppercase; }

/* ========== News Card Base ========== */
.news-card { background: #fff; border-radius: var(--radius); overflow: hidden; transition: var(--transition); }
.news-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.12); transform: translateY(-2px); }
.news-card .card-img { position: relative; overflow: hidden; }
.news-card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.news-card:hover .card-img img { transform: scale(1.05); }
.news-card .card-body { padding: 12px 15px; }
.news-card .card-title { font-size: 15px; font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-card .card-title a:hover { color: var(--primary); }
.news-card .card-meta { display: flex; align-items: center; gap: 10px; margin-top: 8px; font-size: 12px; color: var(--text-muted); }

/* ========== Overlay Card ========== */
.overlay-card { position: relative; border-radius: var(--radius); overflow: hidden; }
.overlay-card .card-img { height: 100%; }
.overlay-card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.overlay-card:hover .card-img img { transform: scale(1.08); }
.overlay-card .card-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px; background: linear-gradient(transparent, rgba(0,0,0,0.85)); color: #fff; }
.overlay-card .card-overlay .card-title { color: #fff; font-size: 16px; }
.overlay-card .card-overlay .card-title a { color: #fff; }
.overlay-card .card-overlay .card-title a:hover { opacity: 0.9; }
.overlay-card .card-overlay .cat-badge { margin-bottom: 8px; }
.overlay-card .card-overlay .card-meta { color: rgba(255,255,255,0.7); }

/* ========== Swiper Custom ========== */
.swiper-pagination-bullet { background: var(--primary); }
.swiper-button-next, .swiper-button-prev { color: var(--primary); }
