/* 
  HABER SİNYALİ
  V2 Premium Design System
  Deep Midnight + Signal Gold
*/

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

:root {
  /* --- Palette: Signal & Midnight --- */
  --c-primary: #FACC15;
  /* Signal Gold */
  --c-dark: #0F172A;
  /* Midnight Navy */
  --c-dark-soft: #1E293B;
  --c-text: #64748B;
  /* Muted Slate */
  --c-text-strong: #1E293B;
  --c-white: #FFFFFF;
  --c-bg: #F8FAFC;
  --c-accent: #38BDF8;
  /* Sky Blue Accent */

  /* --- Typography --- */
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* --- Shadows --- */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 25px 50px -12px rgba(15, 23, 42, 0.15);
  --shadow-primary: 0 10px 15px -3px rgba(250, 204, 21, 0.3);

  /* --- Geometry --- */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 32px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: var(--c-bg);
  color: var(--c-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  display: block;
  object-fit: cover;
  transition: var(--transition);
}

/* --- Utilities --- */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Header / Navigation --- */
.topbar {
  background-color: var(--c-dark);
  color: var(--c-white);
  padding: 12px 0;
  border-bottom: 4px solid var(--c-primary);
}

.topbar-left {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

.brand-logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.8rem;
  letter-spacing: -0.05em;
  color: var(--c-white);
  text-transform: uppercase;
}

.brand-logo span {
  color: var(--c-primary);
}

.topbar-badges {
  display: flex;
  gap: 12px;
}

.topbar-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--c-white);
  padding: 8px 16px;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar-badge:hover {
  background: var(--c-primary);
  color: var(--c-dark);
  border-color: var(--c-primary);
}

.live-dot {
  width: 10px;
  height: 10px;
  background-color: #EF4444;
  border-radius: 50%;
  box-shadow: 0 0 10px #EF4444;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.3;
    transform: scale(1.2);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* NAV */

.nav {
  background: #fff;
  color: var(--text-main);
  border-bottom: 1px solid #ddd;
  border-top: 1px solid #ddd;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  justify-content: center;
}

.nav-inner::-webkit-scrollbar {
  display: none;
}

.nav-main-link {
  font-weight: 900;
  font-size: 13px;
  white-space: nowrap;
  padding: 16px 24px;
  border-right: 1px solid #ddd;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: 'Arial', sans-serif;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 13px;
  white-space: nowrap;
}

.nav-link {
  opacity: 1;
  position: relative;
  padding: 16px 24px;
  border-right: 1px solid #ddd;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: background 0.2s ease;
  font-family: 'Arial', sans-serif;
}

.nav-link::after {
  display: none;
}

.nav-link:hover {
  background: #f8f9fa;
}

/* --- Layouts --- */
.page {
  max-width: 1320px;
  margin: 48px auto;
  padding: 0 24px;
}

.grid-main {
  display: grid;
  grid-template-columns: minmax(0, 850px) 1fr;
  gap: 40px;
  margin-bottom: 64px;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* --- Cards --- */
.card {
  background: var(--c-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card:hover .card-img img {
  transform: scale(1.1);
}

.card-body {
  padding: 24px;
}

.card-tag {
  background: var(--c-primary);
  color: var(--c-dark);
  display: inline-block;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--c-dark-soft);
  line-height: 1.3;
  margin-bottom: 12px;
}

/* Hero Card */
.card--hero {
  border-radius: var(--radius-lg);
  position: relative;
}

.card--hero .card-img {
  aspect-ratio: 16/9;
}

.card--hero .card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 48px;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.95) 40%, rgba(15, 23, 42, 0) 100%);
  color: white;
  z-index: 2;
}

.card--hero .card-title {
  font-size: 2.8rem;
  color: white;
  margin-bottom: 16px;
}

.card--hero .card-excerpt {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Grid-4 (Small news) */
.card-grid-4 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Sidebar */
.right-column .section-heading {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--c-dark);
  border-left: 6px solid var(--c-primary);
  padding-left: 16px;
  margin-bottom: 32px;
}

.list-news {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.list-item {
  display: flex;
  gap: 16px;
  background: var(--c-white);
  padding: 12px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.list-thumb {
  width: 100px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(15, 23, 42, 0.05);
}

.list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.list-meta-tag {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--c-accent);
  text-transform: uppercase;
}

.list-meta-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--c-dark-soft);
  line-height: 1.4;
}

/* Slider (V2) */
.slider {
  margin-top: 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.slider-main {
  height: 550px;
  position: relative;
  overflow: hidden;
}

.slider-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.95) 60%);
  padding: 60px;
  color: white;
  z-index: 10;
}

.slider-overlay h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 12px;
  line-height: 1.2;
}

.slider-overlay p {
  font-size: 1.1rem;
  opacity: 0.8;
  max-width: 800px;
}

.slider-pagination {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 15;
}

.slider-dot {
  width: 40px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background: var(--c-primary);
  width: 80px;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 23, 42, 0.5);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 15;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-arrow:hover {
  background: var(--c-primary);
  color: var(--c-dark);
}

.slider-arrow.left {
  left: 24px;
}

.slider-arrow.right {
  right: 24px;
}

/* Article Detail */
.article-detail {
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.article-header {
  margin-bottom: 48px;
}

.article-title {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 900;
  color: var(--c-dark);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.article-meta {
  display: inline-block;
  background: var(--c-primary);
  color: var(--c-dark);
  padding: 4px 12px;
  border-radius: 99px;
  font-weight: 800;
  font-size: 0.8rem;
  margin-bottom: 12px;
}

.article-image {
  margin: 0;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.article-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.article-body {
  font-family: var(--font-body);
  font-size: 1.15rem;
  color: #334155;
  line-height: 1.9;
  padding: 48px 0;
}

.article-body p:first-of-type::first-letter {
  background: var(--c-primary);
  color: var(--c-dark);
  padding: 5px 10px;
  border-radius: 7px;
  font-family: var(--font-display);
}

/* Popüler (Most Searched) */
.most-searched {
  background: var(--c-dark);
  padding: 48px;
  border-radius: var(--radius-lg);
  color: white;
  margin-top: 64px;
}

.most-tab.active {
  background: var(--c-primary);
  color: rgb(255, 255, 255);
}

.most-tab.active:hover {
  background: var(--c-primary);
}

.most-tab {
  width: 100px;
  height: 30px;
  border-radius: 15px;
  font-weight: bold;
  background: #fffffff8;
  transition: background 0.4s ease, color 0.4s ease;
  cursor: pointer;
}

.most-tab:hover {
  background: var(--c-primary);
  color: rgb(255, 255, 255);
}

.most-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
}

/* Footer */
.footer {
  background: var(--c-dark);
  color: var(--c-white);
  padding: 80px 0 40px;
  border-top: 8px solid var(--c-primary);
  margin-top: 100px;
}

.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.5rem;
  color: white;
  margin-bottom: 48px;
  display: block;
}

.footer-logo span {
  color: var(--c-primary);
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 48px;
  margin-bottom: 64px;
}

.footer-heading {
  color: var(--c-primary);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 12px;
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--c-primary);
  padding-left: 8px;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

/* Responsive */
@media (max-width: 1200px) {
  .grid-main {
    grid-template-columns: 1fr;
  }

  .right-column {
    display: none;
  }
}

@media (max-width: 768px) {
  .card-grid-4 {
    grid-template-columns: 1fr;
  }

  .article-title {
    font-size: 2.5rem;
  }

  .slider-overlay h2 {
    font-size: 2rem;
  }
}