/* styles.css - tam, eksiksiz dosya */
:root {
  --bg-dark: #000;
  --text-light: #fff;
  --accent: #00c4b4;
  --muted: #999;
  --max-width: 1200px;
}

/* Reset / base */
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  font-family: Inter, Arial, sans-serif;
  background: #f9fafb;
  color: #111;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.main-header {
  background: var(--bg-dark);
  color: var(--text-light);
  width: 100%;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
}

/* Main nav */
.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  transition: color 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--accent);
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown > a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.dropdown-menu {
  position: absolute;
  background: #111;
  top: 42px;
  left: 0;
  display: none;
  flex-direction: column;
  padding: 8px 0;
  border-radius: 4px;
  min-width: 180px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
  z-index: 20;
}

.dropdown-menu li {
  padding: 6px 16px;
  display: none;
}

.dropdown-menu a {
  text-transform: none;
  font-weight: 500;
  color: #eee;
  display: block;
}

.dropdown-menu a:hover {
  color: var(--accent);
}

.dropdown:hover .dropdown-menu {
  display: flex;
}

/* Search icon */
.search-icon {
  color: var(--text-light);
  font-size: 1.1rem;
  cursor: pointer;
}

/* Small screens: hide desktop nav, show hamburger (basic) */
@media (max-width: 900px) {
  .nav-container { height: 56px; }
  .main-nav ul { gap: 16px; }
  .main-nav a { font-size: 0.85rem; }
}

/* Hero + content area */
.hero {
  margin-top: 30px;
  padding: 20px 0;
}
.hero h1 {
  margin: 0;
  font-size: 1.8rem;
}
.lead {
  color: var(--muted);
  margin-top: 8px;
}

/* Grid of cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
}

.card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}


.card-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 auto;
}

.card-title a {
  text-decoration: none;
  color: inherit;
  display: inline-block; /* bazı tarayıcılarda daha kararlı davranır */
}

.card-title a:hover {
  text-decoration: underline;
}

.card time {
  font-size: 0.8rem;
  color: var(--muted);
}

.card-title {
  font-size: 1rem;
  margin: 0;
  color: #111;
}

.excerpt {
  color: #555;
  font-size: 0.92rem;
  margin: 0;
}

.meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.tag {
  background: #f1f5f9;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  color: #111827;
}

.read-more {
  text-decoration: none;
  font-weight: 600;
  color: var(--accent);
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 30px;
  color: #777;
  font-size: 0.9rem;
  margin-top: 40px;
}

/* Accessibility tiny tweak: make dropdown keyboard focusable */
.dropdown > a:focus + .dropdown-menu,
.dropdown-menu a:focus {
  display: flex;
}

/* If you want sticky header: uncomment below */
/*
.main-header {
  position: sticky;
  top: 0;
  z-index: 50;
}
*/


/* Featured strip (left big + right 3 stacked) */
.featured{
  display:grid;
  grid-template-columns: 2fr 1fr; /* solda büyük */
  gap:24px;
  margin-top:24px;
}

/* Left big feature */
.feat-main{
  background:#fff;
  border-radius:10px;
  overflow:hidden;
  box-shadow:0 4px 16px rgba(0,0,0,.08);
  display:flex;
  flex-direction:column;
}
.feat-img img{ width:100%; height:360px; object-fit:cover; display:block; }
.feat-body{ padding:16px 18px; }
.feat-body time{ color:#6b7280; font-size:.85rem; display:block; margin-bottom:6px; }
.feat-body h2{ margin:6px 0 8px; font-size:1.35rem; line-height:1.25; }
.feat-body h2 a{ color:#111; text-decoration:none; }
.feat-body p{ color:#4b5563; margin:0; }

/* Right side list */
.feat-side{ display:grid; gap:16px; }
.side-item{
  display:grid;
  grid-template-columns: 120px 1fr;
  gap:12px;
  background:#fff;
  border-radius:10px;
  overflow:hidden;
  box-shadow:0 4px 16px rgba(0,0,0,.08);
  align-items:center;
  padding:10px;
}
.side-item .thumb img{ width:120px; height:80px; object-fit:cover; display:block; border-radius:6px; }
.side-body time{ color:#6b7280; font-size:.78rem; display:block; }
.side-body h3{ font-size:1rem; margin:4px 0 4px; line-height:1.25; }
.side-body h3 a{ color:#111; text-decoration:none; }
.side-excerpt{ color:#6b7280; font-size:.9rem; margin:0; }

/* Hover states */
.feat-body h2 a:hover,
.side-body h3 a:hover{ color: var(--accent); }

/* Responsive */
@media (max-width: 980px){
  .featured{ grid-template-columns:1fr; }
  .feat-img img{ height:280px; }
}
@media (max-width: 560px){
  .side-item{ grid-template-columns: 1fr; }
  .side-item .thumb img{ width:100%; height:160px; }
}




/* ===== LOGO STYLE ===== */
.logo {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo img {
  height: 36px;          
  width: auto;
  object-fit: contain;
  display: block;
}

@media (max-width: 900px) {
  .logo img {
    height: 30px;
  }
}




/* Force no-underline on card titles */
.grid .card .card-body .card-title > a,
.grid .card .card-body .card-title > a:link,
.grid .card .card-body .card-title > a:visited {
  text-decoration: none !important;
  color: inherit !important;
}

.grid .card .card-body .card-title > a:hover {
  text-decoration: underline;
}


