/*
Theme Name: İskenderun Aktüel
Theme URI: https://akteul.vistanithec.com/
Author: İskenderun Aktüel
Author URI: https://akteul.vistanithec.com/
Description: Iskenderun Aktuel Modern Haber Temasi.
Version: 1.1
Text Domain: iskenderun-aktuel
*/

/* Reset & Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;700;900&family=Inter:wght@400;600;700&display=swap');

:root {
    --primary: #d32f2f;
    --primary-dark: #b71c1c;
    --dark: #121212;
    --darker: #0a0a0a;
    --light: #f5f5f5;
    --white: #ffffff;
    --text: #333333;
    --text-light: #777777;
    --border: #e0e0e0;
    --shadow: 0 10px 30px rgba(0,0,0,0.1);
    --radius: 8px;
    --font-head: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
img { max-width: 100%; height: auto; display: block; }

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header-top { background: var(--darker); color: var(--white); font-size: 14px; font-weight: 600; }
.header-top-container { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; }
.live-data-strip { display: flex; gap: 25px; }
.data-item { display: flex; align-items: center; gap: 8px; }
.data-item span { color: var(--text-light); font-weight: 400; }
.data-item strong { color: var(--white); }

.site-header { background: var(--white); box-shadow: 0 4px 15px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 1000; }
.header-main-container { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.site-branding h1 { font-family: var(--font-head); font-weight: 900; font-size: 28px; color: var(--primary); text-transform: uppercase; letter-spacing: -1px; }
.site-branding a { color: var(--primary); }
.main-navigation ul { display: flex; list-style: none; gap: 30px; }
.main-navigation a { font-family: var(--font-head); font-weight: 700; font-size: 16px; text-transform: uppercase; color: var(--dark); }
.main-navigation a:hover { color: var(--primary); }

/* Breaking News */
.breaking-wrapper { background: var(--white); border-bottom: 1px solid var(--border); display: flex; align-items: center; height: 50px; overflow: hidden; }
.breaking-label { background: var(--primary); color: var(--white); font-family: var(--font-head); font-weight: 900; font-size: 14px; padding: 0 25px; height: 100%; display: flex; align-items: center; text-transform: uppercase; position: relative; z-index: 2; }
.breaking-ticker { flex: 1; overflow: hidden; position: relative; display: flex; align-items: center; height: 100%; background: var(--white); }
.ticker-track { display: flex; white-space: nowrap; animation: ticker 40s linear infinite; }
.ticker-track:hover { animation-play-state: paused; }
.ticker-item { padding: 0 30px; font-weight: 600; font-size: 15px; color: var(--dark); position: relative; }
.ticker-item::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 6px; height: 6px; background: var(--primary); border-radius: 50%; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Hero Slider */
.hero-section { margin: 30px 0 50px 0; }
.swiper-hero { width: 100%; height: 650px; background: var(--darker); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.swiper-slide { position: relative; display: flex; align-items: flex-end; }
.slide-bg { position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 1; }
.slide-bg img { width: 100%; height: 100%; object-fit: cover; }
.slide-bg::after { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%); z-index: 2; }
.slide-content-wrapper { position: relative; z-index: 10; width: 100%; padding: 50px; padding-bottom: 80px; }
.title-main-box { background: var(--white); color: var(--darker); font-family: var(--font-head); font-size: 56px; font-weight: 900; padding: 10px 30px; line-height: 1; letter-spacing: -2px; display: inline-block; margin-bottom: 0; }
.title-sub-box { background: var(--darker); color: var(--white); font-family: var(--font-head); font-size: 32px; font-weight: 700; padding: 15px 30px; line-height: 1.2; display: inline-block; max-width: 90%; }
.title-sub-box span.highlight { color: #ffeb3b; }
.swiper-button-next, .swiper-button-prev { color: var(--white) !important; background: rgba(0,0,0,0.6); width: 60px !important; height: 100px !important; top: 50% !important; transform: translateY(-50%); margin-top: 0 !important; }
.swiper-pagination-bullet { width: 14px !important; height: 14px !important; background: rgba(255,255,255,0.5) !important; opacity: 1 !important; }
.swiper-pagination-bullet-active { background: var(--primary) !important; transform: scale(1.3); }

/* Grid & Cards */
.block-title { font-family: var(--font-head); font-size: 24px; font-weight: 900; color: var(--darker); margin-bottom: 25px; display: flex; align-items: center; gap: 15px; }
.block-title::before { content: ''; width: 6px; height: 24px; background: var(--primary); }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; }
.news-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.03); transition: 0.3s; }
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.card-content { padding: 20px; }
.card-cat { color: var(--primary); font-weight: 700; font-size: 13px; text-transform: uppercase; margin-bottom: 10px; display: block; }
.card-title { font-family: var(--font-head); font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--darker); margin-bottom: 10px; }
.card-excerpt { color: var(--text-light); font-size: 14px; }

/* Responsive */
@media (max-width: 992px) { .swiper-hero { height: 500px; } .title-main-box { font-size: 36px; } .title-sub-box { font-size: 22px; } }
@media (max-width: 768px) { .header-top-container { flex-direction: column; gap: 10px; } .main-navigation { display: none; } .swiper-hero { height: 400px; } .title-main-box { font-size: 24px; } .title-sub-box { font-size: 16px; } }
