/* --- 1. RESET & VARIABLES --- */
:root {
    --c-primary: #d32f2f;
    --c-secondary: #0f2c58;
    --c-text: #333;
    --c-bg: #f4f6f8;
    --f-body: 'Inter', sans-serif;
    --f-head: 'Roboto Slab', serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--f-body); color: var(--c-text); background: #fff; line-height: 1.6; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; padding: 0; margin: 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.d-flex { display: flex; flex-wrap: wrap; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }
.desktop-only { display: block; }
.mobile-only { display: none; }

/* --- 2. HEADER --- */
.moz-topbar { background: #f8f8f8; border-bottom: 1px solid #eee; font-size: 12px; padding: 6px 0; color: #666; }
.tb-left span { margin-right: 15px; }
.moz-mainbar { padding: 20px 0; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.03); position: relative; z-index: 10; }
.site-logo h1 { font-size: 32px; margin: 0; color: var(--c-secondary); font-family: var(--f-head); letter-spacing: -1px; }

/* Menü */
.moz-menu > li { display: inline-block; margin-left: 20px; position: relative; }
.moz-menu > li > a { font-weight: 700; font-size: 15px; text-transform: uppercase; color: var(--c-secondary); }
.moz-menu > li:hover > a { color: var(--c-primary); }
/* Dropdown */
.moz-menu .sub-menu { position: absolute; top: 100%; left: 0; background: #fff; min-width: 200px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); display: none; border-top: 3px solid var(--c-primary); }
.moz-menu li:hover .sub-menu { display: block; }
.moz-menu .sub-menu li { display: block; margin: 0; }
.moz-menu .sub-menu a { display: block; padding: 10px 15px; border-bottom: 1px solid #f5f5f5; font-size: 14px; }

.moz-bottombar { background: var(--c-secondary); color: #fff; height: 40px; overflow: hidden; }
.ticker-label { background: var(--c-primary); height: 40px; padding: 0 15px; display: flex; align-items: center; font-weight: 800; font-size: 13px; }
.ticker-content { flex: 1; padding: 0 15px; display: flex; align-items: center; font-size: 14px; font-weight: 500; }

/* --- 3. HERO SECTION (SLIDER) --- */
.moz-home-wrapper { padding-top: 25px; }
.hero-grid { display: grid; grid-template-columns: 2.5fr 1fr; gap: 20px; }
.main-slider-wrap { position: relative; background: #000; border-radius: 4px; overflow: hidden; height: 500px; }
.swiper-slide { position: relative; height: 100%; }
.slide-bg { width: 100%; height: 100%; background-size: cover; background-position: center; transition: transform 0.5s; }
.swiper-slide:hover .slide-bg { transform: scale(1.05); }
.slide-info { position: absolute; bottom: 40px; left: 0; right: 0; padding: 30px; background: linear-gradient(to top, rgba(0,0,0,0.9), transparent); color: #fff; pointer-events: none; }
.slide-info h2 { font-size: 32px; line-height: 1.2; margin: 5px 0 0; font-family: var(--f-head); text-shadow: 0 2px 5px rgba(0,0,0,0.5); }
.slide-info .cat { background: var(--c-primary); padding: 3px 8px; font-size: 11px; font-weight: 700; border-radius: 2px; text-transform: uppercase; }

/* Numaralı Pagination */
.moz-numbered-pagination { position: absolute; bottom: 0; left: 0; width: 100%; height: 40px; background: #fff; display: flex; z-index: 5; border-top: 1px solid #eee; }
.swiper-pagination-bullet { flex: 1; height: 40px; border-radius: 0; background: transparent; opacity: 1; margin: 0 !important; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; color: #888; border-right: 1px solid #f0f0f0; transition: 0.2s; cursor: pointer; }
.swiper-pagination-bullet-active { background: var(--c-primary); color: #fff !important; }

/* Yan Liste */
.side-title { margin: 0 0 10px; font-size: 14px; font-weight: 800; border-bottom: 2px solid var(--c-primary); display: inline-block; text-transform: uppercase; color: var(--c-secondary); }
.side-item { display: flex; gap: 10px; margin-bottom: 12px; border-bottom: 1px solid #eee; padding-bottom: 12px; }
.side-item img { width: 90px; height: 70px; object-fit: cover; border-radius: 3px; }
.side-item h3 { font-size: 14px; margin: 0; line-height: 1.4; color: #333; font-weight: 600; }
.side-item:hover h3 { color: var(--c-primary); }

/* --- 4. GRID LAYOUT --- */
.section-head { font-size: 20px; border-bottom: 2px solid #eee; margin: 40px 0 20px; padding-bottom: 10px; color: var(--c-secondary); font-family: var(--f-head); }
.section-head span { border-bottom: 2px solid var(--c-primary); padding-bottom: 10px; }
.grid-layout { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-card img { width: 100%; height: 180px; object-fit: cover; border-radius: 4px; margin-bottom: 10px; }
.grid-card h4 { font-size: 16px; margin: 0; font-weight: 700; line-height: 1.4; }

/* --- 5. CONTENT + SIDEBAR --- */
.row-layout { display: grid; grid-template-columns: 2.5fr 1fr; gap: 40px; margin-bottom: 50px; }
.list-item { display: flex; gap: 20px; margin-bottom: 25px; border-bottom: 1px solid #eee; padding-bottom: 25px; }
.list-item .l-img img { width: 240px; height: 160px; object-fit: cover; border-radius: 4px; }
.list-item h3 { font-size: 22px; margin: 5px 0 10px; font-family: var(--f-head); }
.list-item p { color: #666; font-size: 14px; margin: 0; }

/* Widget */
.widget { margin-bottom: 30px; border: 1px solid #eee; padding: 20px; border-radius: 4px; }
.widget-title { font-size: 16px; font-weight: 800; border-left: 4px solid var(--c-primary); padding-left: 10px; text-transform: uppercase; margin-bottom: 20px; color: var(--c-secondary); }

/* --- 6. SINGLE PAGE --- */
.moz-post-block { padding-bottom: 60px; }
.breadcrumb-wrap { padding: 15px 15px; font-size: 13px; color: #888; }
.entry-title { font-size: 40px; line-height: 1.2; margin-bottom: 15px; color: #111; }
.entry-meta { margin-bottom: 20px; font-size: 14px; color: #666; }
.entry-meta span { margin-right: 15px; }
.entry-body { font-size: 18px; line-height: 1.8; color: #222; }
.entry-body p { margin-bottom: 20px; }
.moz-inline-related { background: #fff9f9; border-left: 4px solid var(--c-primary); padding: 20px; margin: 30px 0; }
.next-post-sep { height: 50px; background: #f4f6f8; margin: 0 -100%; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; position: relative; }
.next-post-sep::after { content: 'SONRAKİ HABER'; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: #333; color: #fff; padding: 5px 20px; font-size: 12px; font-weight: bold; border-radius: 20px; }

/* Loader */
#moz-ajax-loader { text-align: center; padding: 40px; display: none; }
.spinner { width: 40px; height: 40px; border: 4px solid #eee; border-top: 4px solid var(--c-primary); border-radius: 50%; animation: spin 1s linear infinite; margin: 0 auto 10px; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* --- 7. RESPONSIVE --- */
@media (max-width: 768px) {
    .desktop-only { display: none !important; }
    .mobile-only { display: block !important; }
    .hero-grid, .grid-layout, .row-layout { grid-template-columns: 1fr; }
    .main-slider-wrap { height: 300px; margin: 0 -15px; border-radius: 0; }
    .slide-info h2 { font-size: 20px; }
    .moz-numbered-pagination { overflow-x: auto; justify-content: flex-start; }
    .swiper-pagination-bullet { flex: none; width: 40px; }
    .list-item { flex-direction: column; }
    .list-item .l-img img { width: 100%; height: auto; }
}