/* Arda Sezen — Projeye özel stiller; CSS variables ile renk yönetimi, mobile-first, dergi/editorial stili. */

/* ============================================================
   TOP HEADER
   ============================================================ */
.top-header {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  font-size: 0.75rem;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.top-header-tagline { font-weight: 500; letter-spacing: 0.3px; }
.top-header-tagline i { color: var(--accent); margin-right: 5px; }
.top-social { display: flex; gap: 6px; }
.top-social-link {
  width: 26px; height: 26px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; transition: var(--transition); color: white;
  text-decoration: none;
}
.top-social-link.yt  { background: #ff0000; }
.top-social-link.ig  { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.top-social-link.tw  { background: #000; }
.top-social-link:hover { transform: translateY(-2px); opacity: 0.85; }
.top-divider { width: 1px; height: 18px; background: rgba(255,255,255,0.2); }

/* ============================================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================================ */
:root {
  --primary:     #2D6A4F;
  --secondary:   #1A6FA5;
  --accent:      #52B788;
  --dark:        #1B2E26;
  --text:        #2C3A2E;
  --muted:       #6B8F71;
  --light-bg:    #F4F9F6;
  --white:       #FFFFFF;
  --border:      #C8DFC9;
  --tile-hover-bg: #eaf7ef;   /* accent'in %12'si üzerine white — tile hover */
  --yt-bg:       #000000;     /* YouTube embed arka planı */
  --yt-red:      #cc0000;     /* YouTube ikonu hover kırmızısı */
  --card-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  --card-shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.14);
  --transition:  all 0.3s ease;
  --radius:      0.5rem;
  --radius-lg:   1rem;
  --font-heading: 'Montserrat', sans-serif;
  --font-body:    'Inter', sans-serif;
}

/* ============================================================
   GLOBAL RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--dark);
  line-height: 1.25;
}

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

a:hover {
  color: var(--primary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.section-white  { background: var(--white); }
.section-light  { background: var(--light-bg); }

/* ============================================================
   PRELOADER
   ============================================================ */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease;
}

#preloader.fade-out {
  opacity: 0;
  pointer-events: none;
}

/* ============================================================
   1. STICKY NAVBAR
   ============================================================ */
.navbar-main {
  position: sticky;
  top: 0;
  z-index: 1030;
}

#mainNav {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  z-index: 1030;
}

#mainNav.scrolled {
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  border-color: var(--border);
}

/* Logo */
.navbar-brand {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--dark) !important;
  font-size: 1.25rem;
  letter-spacing: -0.4px;
}

.navbar-brand:hover {
  color: var(--primary) !important;
}

/* Nav Links */
.navbar-nav .nav-link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text);
  padding: 0.5rem 0.75rem;
  transition: color 0.2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: var(--primary);
}

/* Dropdown */
.navbar-nav .dropdown-menu {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 0.5rem 0;
  min-width: 180px;
}

.navbar-nav .dropdown-item {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text);
  padding: 0.45rem 1rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.navbar-nav .dropdown-item:hover,
.navbar-nav .dropdown-item:focus {
  background: var(--light-bg);
  color: var(--primary);
}

/* Hamburger */
.navbar-toggler:focus {
  box-shadow: 0 0 0 2px var(--accent);
}

/* Nav Actions */
.nav-actions {
  padding-left: 0.5rem;
}

/* Icon Buttons */
.btn-icon {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  font-size: 1.1rem;
  padding: 0.3rem;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, background 0.2s ease;
}

.btn-icon:hover {
  color: var(--primary);
  background: var(--light-bg);
}

/* Language Toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8rem;
  font-weight: 600;
  user-select: none;
}

.lang-option {
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s ease;
  padding: 0.1rem 0.15rem;
}

.lang-option:hover,
.lang-option.active {
  color: var(--primary);
}

.lang-sep {
  color: var(--border);
}

/* Search Bar */
.search-bar-wrapper {
  background: var(--light-bg);
  border-top: 1px solid var(--border);
  padding: 0.75rem 0;
  animation: slideDown 0.25s ease;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.search-form {
  display: flex;
  gap: 0.5rem;
  max-width: 560px;
}

.search-form .form-control {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--white);
}

.search-form .form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(82, 183, 136, 0.2);
}

.search-form .btn {
  background: var(--primary);
  border-color: var(--primary);
  border-radius: var(--radius);
  padding: 0.4rem 0.9rem;
}

.search-form .btn:hover {
  background: var(--dark);
  border-color: var(--dark);
}

/* ============================================================
   2. KATEGORİ TİLES
   ============================================================ */
.section-tiles {
  background: var(--light-bg);
  padding: 2rem 0 2.25rem;
  border-bottom: 1px solid var(--border);
}

.tiles-grid {
  /* no override — Bootstrap row g-3 handles gap */
}

.tile-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.25rem 0.75rem;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  color: var(--text);
  transition: var(--transition);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
  text-decoration: none;
  min-height: 110px;
}

.tile-card:hover,
.tile-card:focus-visible {
  border-color: var(--accent);
  background: var(--tile-hover-bg);
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(45, 106, 79, 0.12);
  outline: none;
}

.tile-icon {
  font-size: 1.75rem;
  color: var(--primary);
  transition: color 0.2s ease;
  will-change: transform;
}

.tile-card:hover .tile-icon {
  color: var(--primary);
  transform: scale(1.1);
}

.tile-icon--youtube {
  color: var(--secondary);
}

.tile-card--youtube:hover .tile-icon--youtube {
  color: var(--yt-red);
}

.tile-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  color: inherit;
  line-height: 1.3;
}

/* ============================================================
   3. MAGAZINE FEATURED STRIP
   ============================================================ */
.section-featured {
  background: var(--dark);
  padding: 0;
  overflow: hidden;
}

.featured-inner {
  display: flex;
  flex-direction: column;
  min-height: 360px;
}

.featured-img-wrap {
  width: 100%;
  overflow: hidden;
  flex-shrink: 0;
  max-height: 260px;
}

.featured-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}

.featured-img-wrap:hover .featured-img {
  transform: scale(1.03);
}

.featured-content {
  padding: 1.75rem 1.25rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
}

.featured-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  width: fit-content;
}

.featured-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  line-height: 1.25;
  margin: 0;
}

.featured-title a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s ease;
}

.featured-title a:hover {
  color: var(--accent);
}

.featured-summary {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}

.featured-meta i {
  margin-right: 0.3rem;
}

.btn-featured {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius);
  border: none;
  transition: background 0.2s ease, transform 0.2s ease;
  text-decoration: none;
  width: fit-content;
}

.btn-featured:hover,
.btn-featured:focus-visible {
  background: var(--primary);
  color: var(--white);
  transform: translateX(3px);
}

/* Desktop layout */
@media (min-width: 768px) {
  .featured-inner {
    flex-direction: row;
    min-height: 420px;
  }

  .featured-img-wrap {
    width: 55%;
    max-height: none;
  }

  .featured-img {
    width: 100%;
    height: 100%;
    min-height: 420px;
  }

  .featured-content {
    width: 45%;
    padding: 3rem 3rem 3rem 3rem;
  }

  .featured-title {
    font-size: 1.65rem;
  }
}

@media (min-width: 1200px) {
  .featured-img-wrap {
    width: 58%;
  }

  .featured-content {
    width: 42%;
    padding: 3.5rem;
  }

  .featured-title {
    font-size: 1.9rem;
  }
}

/* ============================================================
   SHARED: SECTION PADDING & HEADERS
   ============================================================ */
.section-blog,
.section-youtube,
.section-popular,
.section-about {
  padding: 3.5rem 0;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--dark);
  margin: 0;
}

.section-tagline {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0.25rem 0 0;
}

.section-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--secondary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.2s ease, gap 0.2s ease;
}

.section-link:hover {
  color: var(--primary);
  gap: 0.55rem;
}

/* ============================================================
   4. BLOG CARDS GRID
   ============================================================ */
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.blog-card__img-wrap {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--light-bg);
}

.blog-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  will-change: transform;
}

.blog-card:hover .blog-card__img {
  transform: scale(1.04);
}

.blog-card__img-link {
  display: block;
}

.blog-card__body {
  padding: 1.125rem 1.25rem 1.375rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

/* Category Badge */
.blog-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
  width: fit-content;
}

.blog-card__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--dark);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}

.blog-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-card__title a:hover {
  color: var(--primary);
}

.blog-card__excerpt {
  font-size: 0.875rem;
  color: var(--text);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.6;
  flex: 1;
}

.blog-card__meta {
  display: flex;
  gap: 1rem;
  font-size: 0.775rem;
  color: var(--muted);
  margin-top: auto;
  padding-top: 0.375rem;
  border-top: 1px solid var(--border);
}

.blog-card__meta i {
  margin-right: 0.25rem;
}

/* ============================================================
   5. YOUTUBE VİTRİN
   ============================================================ */
.section-youtube {
  padding: 3.5rem 0;
}

.yt-video-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: var(--yt-bg);
}

.yt-video-wrap:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}

.yt-video-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--dark);
  margin: 0.625rem 0 0;
  padding: 0 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}

/* ============================================================
   6. EN POPÜLER YAZILAR
   ============================================================ */
.section-popular {
  padding: 3rem 0;
}

.popular-card {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1rem 1.125rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.popular-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 18px rgba(45, 106, 79, 0.1);
  transform: translateY(-3px);
}

.popular-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.75rem;
  color: var(--border);
  line-height: 1;
  min-width: 2rem;
  flex-shrink: 0;
}

.popular-img-link {
  flex-shrink: 0;
}

.popular-img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: var(--radius);
  flex-shrink: 0;
}

.popular-content {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}

.popular-badge {
  display: inline-block;
  background: var(--light-bg);
  color: var(--muted);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.65rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 100px;
  width: fit-content;
  border: 1px solid var(--border);
}

.popular-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--dark);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}

.popular-title a {
  color: inherit;
  text-decoration: none;
}

.popular-title a:hover {
  color: var(--primary);
}

/* ============================================================
   7. HAKKIMDA MİNİ SECTİON
   ============================================================ */
.section-about {
  padding: 4rem 0;
}

.about-avatar {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 5px solid var(--white);
  box-shadow: 0 4px 24px rgba(45, 106, 79, 0.18);
  margin: 0 auto;
}

.about-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.about-bio {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.btn-outline-about {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.6rem 1.375rem;
  border-radius: var(--radius);
  transition: var(--transition);
  text-decoration: none;
  margin-top: 0.5rem;
}

.btn-outline-about:hover,
.btn-outline-about:focus-visible {
  background: var(--primary);
  color: var(--white);
  transform: translateX(3px);
  outline: none;
}

/* ============================================================
   8. NEWSLETTER CTA
   ============================================================ */
.section-newsletter {
  background: var(--primary);
  padding: 4.5rem 0;
}

.newsletter-inner {
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.65rem;
  color: var(--white);
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.newsletter-sub {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.newsletter-form {
  width: 100%;
}

.newsletter-form-group {
  display: flex;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
}

.newsletter-input {
  flex: 1;
  padding: 0.85rem 1.125rem;
  border: none;
  font-size: 0.9rem;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  outline: none;
  min-width: 0;
}

.newsletter-input::placeholder {
  color: var(--muted);
}

.newsletter-input:focus {
  box-shadow: inset 0 0 0 2px var(--accent);
}

.newsletter-btn {
  background: var(--dark);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  border: none;
  padding: 0.85rem 1.5rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.newsletter-btn:hover {
  background: var(--accent);
}

.newsletter-privacy {
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.75rem;
}

/* Tablet/Desktop stacking fix */
@media (max-width: 420px) {
  .newsletter-form-group {
    flex-direction: column;
    border-radius: var(--radius);
  }

  .newsletter-input,
  .newsletter-btn {
    border-radius: 0;
  }

  .newsletter-btn {
    padding: 0.8rem 1rem;
  }
}

/* ============================================================
   9. FOOTER
   ============================================================ */
.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 4rem 0 0;
  border-top: 3px solid var(--primary);
}

.footer-cols {
  padding-bottom: 2.5rem;
}

/* Kolon 1 Marka */
.footer-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--white);
  display: inline-block;
  margin-bottom: 0.75rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-logo:hover {
  color: var(--accent);
}

.footer-bio {
  font-size: 0.85rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1rem;
}

.footer-socials {
  display: flex;
  gap: 0.625rem;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  transition: var(--transition);
  text-decoration: none;
}

.footer-social-link:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}

/* Kolon Headings */
.footer-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 1rem;
}

/* Footer Lists */
.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-list a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
  display: block;
}

.footer-list a:hover {
  color: var(--accent);
  padding-left: 4px;
}

/* Son Yazılar listesi — biraz daha kompakt */
.footer-posts a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.82rem;
  line-height: 1.45;
}

/* Footer Bottom Bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-copy,
.footer-credit {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}

/* ============================================================
   BACK TO TOP BUTTON
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 3px 12px rgba(45, 106, 79, 0.35);
  transition: background 0.2s ease, transform 0.2s ease, opacity 0.3s ease;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--dark);
  transform: translateY(-3px);
}

.back-to-top:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ============================================================
   RESPONSIVE — TABLET (768px)
   ============================================================ */
@media (min-width: 768px) {
  .section-blog,
  .section-youtube,
  .section-popular,
  .section-about {
    padding: 4.5rem 0;
  }

  .section-newsletter {
    padding: 5rem 0;
  }

  .newsletter-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .about-title {
    font-size: 1.85rem;
  }

  .about-avatar {
    width: 240px;
    height: 240px;
  }

  .tile-card {
    min-height: 120px;
    padding: 1.5rem 1rem;
  }

  .tile-icon {
    font-size: 2rem;
  }

  .tile-label {
    font-size: 0.85rem;
  }
}

/* ============================================================
   RESPONSIVE — DESKTOP (1200px)
   ============================================================ */
@media (min-width: 1200px) {
  .section-blog,
  .section-youtube,
  .section-popular,
  .section-about {
    padding: 5rem 0;
  }

  .section-newsletter {
    padding: 6rem 0;
  }

  .newsletter-title {
    font-size: 2.25rem;
  }

  .section-title {
    font-size: 1.875rem;
  }

  .about-title {
    font-size: 2rem;
  }

  .tile-card {
    padding: 1.75rem 1.25rem;
    min-height: 130px;
  }

  .featured-title {
    font-size: 2rem;
  }

  .featured-summary {
    font-size: 0.95rem;
  }
}

/* ============================================================
   FOCUS VISIBLE — Erişilebilirlik
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* AOS özel ayarlar — FOUC önleme */
[data-aos] {
  pointer-events: none;
}

[data-aos].aos-animate {
  pointer-events: auto;
}

/* ============================================================
   MEGA MENU — Masaüstü
   ============================================================ */

/* Desktop nav wrapper */
#desktopNav {
  /* flex: 1 kaldırıldı — nav-actions ms-auto ile sağa yaslanır */
}

.mega-nav {
  gap: 0;
  align-items: center;
}

.mega-item {
  position: static;
}

/* Trigger link */
.mega-trigger {
  position: relative;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}

.mega-trigger .fa-chevron-down {
  transition: transform 0.25s ease;
  display: inline-block;
  font-size: 0.65rem;
  vertical-align: middle;
}

.mega-item:hover .mega-trigger .fa-chevron-down {
  transform: rotate(180deg);
}

/* Mega panel */
.mega-panel {
  position: fixed;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--white);
  border-top: 3px solid var(--accent);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
  padding: 1.25rem 0;
  z-index: 1029;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  pointer-events: none;
}

.mega-item:hover .mega-panel,
.mega-item:focus-within .mega-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Featured link strip */
.mega-featured {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem 1rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1rem;
}

.mega-featured-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--primary);
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
}

.mega-featured-link:hover {
  color: var(--secondary);
  gap: 0.75rem;
}

.mega-featured-badge {
  background: var(--accent);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border-radius: 100px;
}

/* Grid columns */
.mega-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.mega-col-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--primary);
  margin: 0 0 0.5rem;
}

.mega-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.mega-col ul a {
  font-size: 0.875rem;
  color: var(--text);
  text-decoration: none;
  display: block;
  padding: 0.2rem 0;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.mega-col ul a:hover {
  color: var(--primary);
  padding-left: 4px;
}

/* 3-col grid variant */
.mega-grid:has(.mega-col:nth-child(3):last-child) {
  grid-template-columns: repeat(3, 1fr);
}

/* 2-col grid variant (Dünya mega menü) */
.mega-grid--2 {
  grid-template-columns: repeat(2, 1fr) !important;
  max-width: 600px;
}

/* Drawer bölge etiketi */
.drawer-region-label {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0.75rem 0 0.25rem;
  padding-left: 4px;
}

/* ============================================================
   OFF-CANVAS DRAWER — Mobil
   ============================================================ */
.drawer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #fff;
  font-size: 0.9rem;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.drawer-social:hover {
  transform: scale(1.1);
  opacity: 0.9;
  color: #fff;
}

/* Accordion button override */
.drawer-acc-btn {
  background: transparent !important;
  color: rgba(255, 255, 255, 0.85) !important;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: none !important;
  border: none;
  padding: 0.75rem 1rem;
}

.drawer-acc-btn::after {
  filter: invert(1);
  opacity: 0.6;
}

.drawer-acc-btn:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.05) !important;
}

/* Sub list */
.drawer-sub-list {
  list-style: none;
  padding: 0 1rem 0 2.5rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.drawer-sub-list a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  display: block;
  padding: 0.25rem 0;
  transition: color 0.2s ease;
}

.drawer-sub-list a:hover {
  color: var(--accent);
}

/* Single link */
.drawer-single-link {
  display: flex;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  padding: 0.6rem 0;
  text-decoration: none;
  transition: color 0.2s ease;
}

.drawer-single-link:hover {
  color: var(--accent);
}

/* Navbar scroll shrink */
#mainNav.scrolled {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

/* ============================================================
   HERO SWIPER SLIDER
   ============================================================ */
.hero-slider-section {
  position: relative;
  overflow: hidden;
}

.hero-swiper {
  width: 100%;
  height: 60vh;
  min-height: 360px;
}

@media (min-width: 768px) {
  .hero-swiper {
    height: 90vh;
    min-height: 500px;
    max-height: 900px;
  }
}

.hero-slide {
  position: relative;
  overflow: hidden;
}

/* Slide background */
.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
}

/* Ken Burns keyframe */
@keyframes kenburns {
  0%   { transform: scale(1); }
  100% { transform: scale(1.08); }
}

.swiper-slide-active .hero-slide-bg {
  animation: kenburns 8s ease-out forwards;
}

/* Gradient overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.72) 40%, rgba(0, 0, 0, 0.2));
  z-index: 1;
}

/* Content */
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-inner {
  max-width: 620px;
  padding: 1rem 0;
}

.hero-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 0.875rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--white);
  font-size: clamp(1.6rem, 4vw, 3.25rem);
  line-height: 1.15;
  margin-bottom: 0.875rem;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
}

.hero-desc {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(0.875rem, 1.5vw, 1.05rem);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-btns {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
  align-items: center;
}

.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.25s ease, transform 0.2s ease;
  white-space: nowrap;
}

.hero-btn-primary:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.hero-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: transparent;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.65rem 1.375rem;
  border-radius: var(--radius);
  border: 2px solid rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
  white-space: nowrap;
}

.hero-btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  color: #fff;
  transform: translateY(-2px);
}

/* Swiper nav buttons */
.hero-swiper-prev,
.hero-swiper-next {
  color: var(--white) !important;
  background: rgba(0, 0, 0, 0.35) !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  transition: background 0.2s ease !important;
}

.hero-swiper-prev:hover,
.hero-swiper-next:hover {
  background: rgba(0, 0, 0, 0.6) !important;
}

.hero-swiper-prev::after,
.hero-swiper-next::after {
  font-size: 1rem !important;
}

/* Swiper pagination */
.hero-pagination {
  bottom: 1.25rem !important;
}

.hero-pagination .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.55);
  opacity: 1;
  width: 8px;
  height: 8px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-pagination .swiper-pagination-bullet-active {
  background: var(--white);
  transform: scale(1.3);
}

/* ============================================================
   KATEGORİ TILES — Gradient Icon Wrap
   ============================================================ */
.tile-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

.tile-icon-wrap i {
  font-size: 1.6rem;
  color: white;
}

.category-tile:hover .tile-icon-wrap {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

/* ============================================================
   YOUTUBE VİTRİN — Tab Sistemi
   ============================================================ */

/* Tab butonları wrapper */
.yt-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

/* Tab buton */
.yt-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.yt-tab-btn:hover:not(.active) {
  border-color: var(--accent);
  color: var(--primary);
  background: var(--light-bg);
}

.yt-tab-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* Badge */
.yt-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.15);
  color: inherit;
  font-size: 0.7rem;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  padding: 0 0.3rem;
  border-radius: 100px;
  line-height: 1;
}

.yt-tab-btn:not(.active) .yt-badge {
  background: var(--border);
  color: var(--muted);
}

/* Grid */
.yt-grid {
  /* Bootstrap row class handles layout */
}

/* Video card footer: başlık + süre */
.yt-card-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.625rem;
  padding: 0 0.25rem;
}

.yt-video-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--dark);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
  flex: 1;
}

.yt-duration {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.7rem;
  color: var(--white);
  background: var(--dark);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 2px;
}

/* ============================================================
   FOOTER — Sosyal Medya Gradient İkonlar
   ============================================================ */
.footer-social-link--yt,
.footer-social-link--ig,
.footer-social-link--x {
  color: var(--white) !important;
}

.footer-social-link--yt:hover,
.footer-social-link--ig:hover,
.footer-social-link--x:hover {
  color: var(--white) !important;
  opacity: 0.85;
  background: inherit;
}

/* ============================================================
   GENEL İKON BOYUT ARTIŞI
   ============================================================ */
/* Dekoratif inline ikonlar: meta, section başlıkları */
.blog-card__meta i,
.featured-meta i,
.section-link i {
  font-size: 1.1rem;
}

.section-title i {
  font-size: 1.5rem;
}

/* Footer list ikonları */
.footer-list li i {
  font-size: 1.1rem;
}

/* ============================================================
   NAVBAR — Sağ Grup: Sadece Arama (top-header'a taşındı)
   ============================================================ */
.nav-right-group { gap: 8px; }
.search-toggle-btn {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1.5px solid var(--border);
  background: transparent; display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--text); font-size: 0.9rem;
  transition: var(--transition);
}
.search-toggle-btn:hover { background: var(--primary); color: white; border-color: var(--primary); }

/* Top-header dil seçici stili */
.lang-switcher { display: flex; align-items: center; gap: 4px; }
.lang-btn {
  display: flex; align-items: center; gap: 5px;
  padding: 5px 10px; border-radius: 6px; border: 1.5px solid rgba(255,255,255,0.2);
  background: transparent; font-size: 0.75rem; font-weight: 600;
  color: rgba(255,255,255,0.75); cursor: pointer; transition: var(--transition);
}
.lang-btn .fi { width: 18px; height: 14px; border-radius: 2px; display: inline-block; }
.lang-btn.active { background: var(--primary); color: white; border-color: var(--primary); }
.lang-btn:not(.active):hover { background: rgba(255,255,255,0.1); }

/* ============================================================
   KATEGORİ TILES — Görsel + Overlay + Badge
   ============================================================ */
.cat-tile {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: var(--card-shadow);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.cat-tile:hover { transform: scale(1.03); box-shadow: 0 16px 40px rgba(0,0,0,0.18); }
.cat-tile-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 0.6s ease;
}
.cat-tile:hover .cat-tile-img { transform: scale(1.08); }
.cat-tile-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.15) 55%, rgba(0,0,0,0.05) 100%);
  transition: background 0.3s;
}
.cat-tile:hover .cat-tile-overlay { background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 55%, rgba(0,0,0,0.1) 100%); }
.cat-count-badge {
  position: absolute; top: 12px; right: 12px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: white; font-size: 0.7rem; font-weight: 700;
  padding: 4px 10px; border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.3);
}
.cat-tile-body {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 16px;
}
.cat-tile-name {
  color: white; font-family: 'Montserrat', sans-serif;
  font-weight: 700; font-size: 1rem; display: block;
}

/* ============================================================
   ÖNE ÇIKANLAR — Featured Swiper Slider
   ============================================================ */
.featured-slider-section {
  padding: 3.5rem 0 0;
  overflow: hidden;
}
.featured-slider-section .section-header {
  margin-bottom: 1.5rem;
}
.featured-swiper { padding-bottom: 50px !important; }
.featured-card {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  height: 480px;
}
@media (max-width: 768px) { .featured-card { height: 320px; } }
.featured-card-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 0.6s ease;
}
.featured-swiper .swiper-slide-active .featured-card-img { transform: scale(1.03); }
.featured-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.8) 35%, rgba(0,0,0,0.1) 100%);
}
.featured-card-content {
  position: absolute; bottom: 40px; left: 40px; right: 50%;
  color: white;
}
@media (max-width: 768px) {
  .featured-card-content { left: 20px; right: 20px; bottom: 20px; }
}
.featured-badge {
  background: var(--accent); color: white;
  font-size: 0.65rem; font-weight: 800; letter-spacing: 2px;
  padding: 5px 12px; border-radius: 20px;
  display: inline-block; margin-bottom: 12px;
}
.featured-title {
  font-family: 'Montserrat', sans-serif; font-weight: 800;
  font-size: 1.8rem; line-height: 1.2; color: white;
  margin-bottom: 10px;
}
.featured-excerpt { font-size: 0.9rem; opacity: 0.85; margin-bottom: 20px; color: white; }
.btn-featured {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: white;
  padding: 10px 24px; border-radius: 50px;
  font-weight: 700; font-size: 0.85rem;
  text-decoration: none; transition: var(--transition);
  border: none;
}
.btn-featured:hover { background: white; color: var(--primary); }
.featured-next, .featured-prev {
  color: var(--white) !important;
  background: rgba(0,0,0,0.4) !important;
  width: 44px !important; height: 44px !important;
  border-radius: 50% !important;
}
.featured-next:hover, .featured-prev:hover { background: rgba(0,0,0,0.65) !important; }
.featured-next::after, .featured-prev::after { font-size: 1rem !important; }
.featured-pagination { bottom: 16px !important; }
.featured-pagination .swiper-pagination-bullet { background: rgba(255,255,255,0.5); opacity: 1; }
.featured-pagination .swiper-pagination-bullet-active { background: var(--primary); }

/* ============================================================
   BLOG CARDS — Yeni Modern Yapı
   ============================================================ */
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  border: 1px solid var(--border);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  height: 100%;
  display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(0,0,0,0.12); }
.blog-card-img-wrap {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 16/9; text-decoration: none;
}
.blog-card-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease; display: block;
}
.blog-card:hover .blog-card-img-wrap img { transform: scale(1.06); }
.blog-card-cat {
  position: absolute; top: 12px; left: 12px;
  background: var(--primary); color: white;
  font-size: 0.65rem; font-weight: 800; letter-spacing: 1.5px;
  padding: 4px 12px; border-radius: 20px; text-transform: uppercase;
}
.blog-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.blog-card-title {
  font-family: 'Montserrat', sans-serif; font-weight: 700;
  font-size: 1rem; line-height: 1.4; margin-bottom: 8px;
}
.blog-card-title a { color: var(--dark); text-decoration: none; }
.blog-card-title a:hover { color: var(--primary); }
.blog-card-excerpt {
  color: var(--muted); font-size: 0.85rem; line-height: 1.6;
  flex: 1; margin-bottom: 0;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.blog-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border);
}
.blog-card-author { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; font-weight: 600; color: var(--text); }
.author-avatar { border-radius: 50%; object-fit: cover; width: 32px; height: 32px; }
.blog-card-meta { display: flex; gap: 10px; font-size: 0.75rem; color: var(--muted); }
.blog-card-meta i { margin-right: 3px; }

/* ============================================================
   YOUTUBE KARTLARI — Yeni Yapı (beyaz arka plan, koyu başlık)
   ============================================================ */
.yt-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  border: 1px solid var(--border);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.yt-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.12); }
.yt-card-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.yt-card-thumb a.yt-thumb-link { display: block; width: 100%; height: 100%; position: relative; }
.yt-card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yt-play-overlay {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 52px; height: 52px;
  background: rgba(200,0,0,0.88); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.1rem; padding-left: 3px;
  transition: background 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}
.yt-card-thumb a.yt-thumb-link:hover .yt-play-overlay {
  background: #e00; transform: translate(-50%, -50%) scale(1.1);
}
.yt-duration-badge {
  position: absolute; bottom: 8px; right: 8px;
  background: rgba(0,0,0,0.8); color: white;
  font-size: 0.7rem; font-weight: 700;
  padding: 2px 7px; border-radius: 4px;
}
.yt-card-info {
  padding: 14px 16px;
  background: var(--white);
}
.yt-card-title {
  font-family: 'Montserrat', sans-serif; font-weight: 700;
  font-size: 0.9rem; line-height: 1.4; color: var(--dark);
  margin-bottom: 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.yt-card-meta {
  display: flex; gap: 12px; font-size: 0.75rem; color: var(--muted);
}
.yt-card-meta i { margin-right: 3px; color: var(--primary); }

/* ============================================================
   MEGA MENU — Renkli İkon + Link Yapısı
   ============================================================ */
.mega-panel-title {
  font-size: 0.65rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  color: var(--primary); margin-bottom: 8px; padding-bottom: 6px;
  border-bottom: 2px solid var(--accent);
}
.mega-link {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px; border-radius: var(--radius);
  text-decoration: none; color: var(--text);
  transition: background 0.2s ease;
}
.mega-link:hover { background: var(--light-bg); color: var(--primary); }
.mega-link-icon {
  width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; color: white;
}
.mega-link-text { display: flex; flex-direction: column; line-height: 1.2; }
.mega-link-text strong { font-size: 0.85rem; font-weight: 600; }
.mega-link-text small { font-size: 0.7rem; color: var(--muted); }

/* ============================================================
   FEATURED SLIDER — 2 Kart, Container İçinde
   ============================================================ */
.featured-card { height: 380px; }
@media (max-width: 768px) { .featured-card { height: 280px; } }
.featured-nav-btns button {
  width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--border); background: var(--white);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: var(--transition); color: var(--text);
}
.featured-nav-btns button:hover { background: var(--primary); color: white; border-color: var(--primary); }

/* ============================================================
   ARAMA MODALI — Full-screen Overlay
   ============================================================ */
.search-modal {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease;
}
.search-modal.open { opacity: 1; visibility: visible; }
.search-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(10,20,15,0.92);
  backdrop-filter: blur(8px);
}
.search-modal-inner {
  position: relative; z-index: 1;
  width: 100%; max-width: 680px; padding: 0 20px;
}
.search-modal-close {
  position: absolute; top: -60px; right: 20px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  color: white; font-size: 1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.search-modal-close:hover { background: var(--accent); border-color: var(--accent); }
.search-modal-hint {
  color: rgba(255,255,255,0.6); font-size: 0.85rem; text-align: center;
  margin-bottom: 20px; letter-spacing: 0.5px;
}
.search-modal-input-wrap {
  display: flex; align-items: center;
  background: white; border-radius: 50px;
  padding: 8px 8px 8px 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.search-modal-icon { color: var(--muted); font-size: 1rem; flex-shrink: 0; }
.search-modal-input {
  flex: 1; border: none; outline: none; background: transparent;
  font-size: 1.1rem; font-family: 'Inter', sans-serif; padding: 6px 12px;
  color: var(--dark);
}
.search-modal-submit {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: var(--primary); color: white; border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; cursor: pointer; transition: var(--transition);
}
.search-modal-submit:hover { background: var(--secondary); transform: scale(1.05); }
.search-trending { margin-top: 28px; text-align: center; }
.search-trending-label {
  color: rgba(255,255,255,0.5); font-size: 0.75rem; display: block; margin-bottom: 12px;
}
.search-trending-label i { color: #ff6b6b; margin-right: 4px; }
.search-trending-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.search-tag {
  background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 6px 16px; border-radius: 20px; font-size: 0.8rem;
  text-decoration: none; transition: var(--transition);
}
.search-tag:hover { background: var(--accent); color: white; border-color: var(--accent); }

/* ============================================================
   BAŞLIK FONTLARI — Playfair Display
   ============================================================ */
h1, h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
}
h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}
.featured-title { font-family: 'Playfair Display', serif; font-weight: 800; font-size: 1.3rem; }
.hero-slide-title { font-family: 'Playfair Display', serif; font-weight: 900; font-size: 2.8rem; }
.section-title { font-family: 'Playfair Display', serif; font-weight: 800; }
@media (max-width: 768px) { .hero-slide-title { font-size: 1.8rem; } }
.navbar-brand { font-family: 'Montserrat', sans-serif !important; font-weight: 800; }

/* ============================================================
   BLOG DETAY SAYFASI
   ============================================================ */

/* Breadcrumb */
.article-breadcrumb {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  background: var(--light-bg);
}
.article-breadcrumb .breadcrumb {
  margin: 0;
  font-size: 0.8rem;
}
.article-breadcrumb .breadcrumb-item a { color: var(--primary); }
.article-breadcrumb .breadcrumb-item.active { color: var(--muted); }
.article-breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: var(--muted); }

/* Article Header */
.article-header {
  padding: 3rem 0 2rem;
  background: var(--white);
}
.article-category-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--primary); color: #fff;
  font-size: 0.65rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  padding: 4px 14px; border-radius: 50px;
  margin-bottom: 1.25rem;
}
.article-title {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 1.25rem;
}
.article-lead {
  font-size: 1.125rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 700px;
}
.article-meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 1.25rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--muted);
}
.article-meta-author {
  display: flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--dark);
}
.article-meta-author img {
  width: 36px; height: 36px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--accent);
}
.article-meta-divider { width: 1px; height: 16px; background: var(--border); }
.article-meta-item { display: flex; align-items: center; gap: 5px; }
.article-meta-item i { color: var(--primary); font-size: 0.75rem; }

/* Hero image */
.article-hero {
  margin: 2rem 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/7;
}
.article-hero img {
  width: 100%; height: 100%; object-fit: cover;
}
.article-hero figcaption {
  padding: 0.5rem 0 0;
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
}

/* Article Layout */
.article-body-section { padding: 3rem 0 5rem; }

/* Main Content */
.article-content {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text);
}
.article-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--dark);
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--accent);
  display: inline-block;
}
.article-content h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin: 1.75rem 0 0.75rem;
}
.article-content p { margin-bottom: 1.25rem; }
.article-content ul, .article-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}
.article-content li { margin-bottom: 0.4rem; }
.article-content blockquote {
  border-left: 4px solid var(--accent);
  margin: 2rem 0;
  padding: 1rem 1.5rem;
  background: var(--light-bg);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--dark);
}
.article-content blockquote footer {
  font-size: 0.85rem;
  font-style: normal;
  color: var(--muted);
  margin-top: 0.5rem;
}

/* Tip / Info Box */
.tip-box {
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  display: flex; gap: 1rem; align-items: flex-start;
}
.tip-box--green { background: #eaf7ef; border-left: 4px solid var(--primary); }
.tip-box--blue  { background: #e8f4fd; border-left: 4px solid var(--secondary); }
.tip-box--amber { background: #fff8e6; border-left: 4px solid #f39c12; }
.tip-box__icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.tip-box--green .tip-box__icon { color: var(--primary); }
.tip-box--blue  .tip-box__icon { color: var(--secondary); }
.tip-box--amber .tip-box__icon { color: #f39c12; }
.tip-box__body { font-size: 0.9rem; line-height: 1.6; }
.tip-box__body strong { display: block; margin-bottom: 4px; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px; }

/* Inline Image */
.article-img {
  border-radius: var(--radius);
  overflow: hidden;
  margin: 2rem 0;
}
.article-img img { width: 100%; }
.article-img figcaption {
  font-size: 0.78rem;
  color: var(--muted);
  padding: 0.5rem 0.75rem;
  background: var(--light-bg);
  text-align: center;
}

/* Info Grid (istatistik kutuları) */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}
.info-grid-item {
  background: var(--light-bg);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
  border: 1px solid var(--border);
}
.info-grid-item .info-val {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.info-grid-item .info-label {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

/* Article Tags */
.article-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 2.5rem 0;
}
.article-tag {
  background: var(--light-bg);
  color: var(--text);
  border: 1px solid var(--border);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
}
.article-tag:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Share Bar */
.article-share {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
}
.article-share-label { font-size: 0.8rem; font-weight: 700; color: var(--dark); text-transform: uppercase; letter-spacing: 0.5px; }
.share-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  border: none; cursor: pointer;
}
.share-btn--tw   { background: #000; color: #fff; }
.share-btn--wa   { background: #25d366; color: #fff; }
.share-btn--copy { background: var(--light-bg); color: var(--text); border: 1px solid var(--border); }
.share-btn:hover { opacity: 0.85; transform: translateY(-1px); }

/* Author Card (end of article) */
.author-card {
  display: flex; gap: 1.5rem; align-items: flex-start;
  background: var(--light-bg);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--border);
  margin-bottom: 2.5rem;
}
.author-card img {
  width: 72px; height: 72px; border-radius: 50%; object-fit: cover;
  border: 3px solid var(--accent); flex-shrink: 0;
}
.author-card-body {}
.author-card-name {
  font-family: 'Playfair Display', serif;
  font-weight: 800; font-size: 1.1rem;
  color: var(--dark); margin-bottom: 4px;
}
.author-card-title { font-size: 0.78rem; color: var(--muted); margin-bottom: 0.75rem; }
.author-card-bio { font-size: 0.9rem; color: var(--text); line-height: 1.6; margin-bottom: 0.75rem; }

/* Sidebar */
.sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.sidebar-card-header {
  background: var(--primary);
  color: #fff;
  padding: 0.75rem 1.25rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.sidebar-card-body { padding: 1.25rem; }

/* TOC */
.toc-list { list-style: none; padding: 0; margin: 0; }
.toc-list li { border-bottom: 1px solid var(--border); }
.toc-list li:last-child { border-bottom: none; }
.toc-list a {
  display: block;
  padding: 0.5rem 0.25rem;
  font-size: 0.85rem;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.toc-list a:hover, .toc-list a.active {
  color: var(--primary);
  padding-left: 6px;
  font-weight: 600;
}

/* Sidebar popular posts */
.sidebar-post {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
}
.sidebar-post:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-post img {
  width: 60px; height: 60px;
  border-radius: var(--radius);
  object-fit: cover; flex-shrink: 0;
}
.sidebar-post-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sidebar-post:hover .sidebar-post-title { color: var(--primary); }
.sidebar-post-date { font-size: 0.72rem; color: var(--muted); margin-top: 4px; }

/* Related Posts */
.related-posts { padding: 4rem 0; background: var(--light-bg); }
.related-post-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
  height: 100%;
}
.related-post-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }
.related-post-card img { width: 100%; height: 180px; object-fit: cover; }
.related-post-card-body { padding: 1.25rem; }
.related-post-cat {
  font-size: 0.65rem; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--primary); margin-bottom: 0.5rem;
}
.related-post-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700; font-size: 0.95rem;
  color: var(--dark); margin-bottom: 0.5rem; line-height: 1.4;
}
.related-post-card:hover .related-post-title { color: var(--primary); }
.related-post-date { font-size: 0.75rem; color: var(--muted); }

@media (max-width: 991.98px) {
  .article-header { padding: 2rem 0 1.5rem; }
  .article-title { font-size: 1.8rem; }
}

/* ============================================================
   CUSTOM HOVER DROPDOWN NAV — Bootstrap JS'siz, saf CSS hover
   ============================================================ */
@media (min-width: 992px) {

  .nav-dropdown { position: relative; }

  .nav-dropdown-toggle .fa-chevron-down {
    transition: transform 0.2s ease;
    font-size: 0.65rem;
    vertical-align: middle;
    display: inline-block;
  }
  .nav-dropdown:hover > a .fa-chevron-down { transform: rotate(180deg); }

  /* Ana dropdown panel */
  .nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    min-width: 210px;
    background: var(--white);
    border: 1px solid var(--border);
    border-top: 3px solid var(--accent);
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
    padding: 0.4rem 0;
    z-index: 1029;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    pointer-events: none;
  }
  .nav-dropdown:hover > .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  /* Dropdown bağlantıları */
  .nav-dropdown-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
    white-space: nowrap;
    cursor: pointer;
    gap: 8px;
  }
  .nav-dropdown-item:hover { background: var(--light-bg); color: var(--primary); }
  .nav-dropdown-item .fa-chevron-right { font-size: 0.6rem; opacity: 0.35; margin-left: auto; }

  /* Submenu (fly-out sağa açılır) */
  .nav-dropdown-submenu { position: relative; list-style: none; }
  .nav-dropdown-menu--sub {
    top: -4px;
    left: 100%;
    max-height: 65vh;
    overflow-y: auto;
  }
  .nav-dropdown-submenu:hover > .nav-dropdown-menu--sub {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-dropdown-submenu > a { justify-content: space-between; }
  .nav-dropdown-submenu > a:hover { background: var(--light-bg); color: var(--primary); }

  /* Submenu üst sınır yoktur — ana menüden miras alır */
  .nav-dropdown-menu--sub { border-top: 3px solid var(--accent); }

  /* Scrollbar ince */
  .nav-dropdown-menu--sub::-webkit-scrollbar { width: 4px; }
  .nav-dropdown-menu--sub::-webkit-scrollbar-track { background: var(--light-bg); }
  .nav-dropdown-menu--sub::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }
}

/* Drawer bölge collapse toggle butonu */
.drawer-region-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: var(--accent);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.65rem 0.25rem;
  cursor: pointer;
  text-align: left;
}
.drawer-region-toggle:first-child { border-top: none; padding-top: 0.25rem; }
.drawer-region-toggle .fa-chevron-down {
  font-size: 0.65rem;
  transition: transform 0.2s ease;
  color: rgba(255,255,255,0.35);
  flex-shrink: 0;
}
.drawer-region-toggle[aria-expanded="true"] .fa-chevron-down { transform: rotate(180deg); }
