/* Minava Teknoloji - Ultra Clean Light Blog Theme */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #e31c79;
  --primary-hover: #c1176d;
  --primary-light: #fdf2f8;
  --primary-border: #fbcfe8;
  --bg-page: #F8FAFC;
  --card-bg: #FFFFFF;
  --card-border: #E2E8F0;
  --pill-bg: #F1F5F9;
  --text-main: #0F172A;
  --text-body: #334155;
  --text-muted: #64748B;
  --font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

body {
  font-family: var(--font);
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.8;
  font-size: 15px;
  min-height: 100vh;
}

/* Header & Navigation */
header.site-header {
  border-bottom: 1px solid var(--card-border);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 16px 24px;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}

.brand-logo img {
  height: 32px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: opacity 0.2s ease;
}

.brand-logo:hover img {
  opacity: 0.85;
}

.header-cta {
  background: var(--primary);
  color: #fff;
  padding: 8px 20px;
  border-radius: 9999px;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.25s ease;
  box-shadow: 0 2px 10px rgba(227, 28, 121, 0.2);
}

.header-cta:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(227, 28, 121, 0.35);
}

/* Breadcrumb Header Section */
.breadcrumb-hero {
  text-align: center;
  padding: 36px 20px 20px;
  background: #ffffff;
  border-bottom: 1px solid var(--card-border);
  margin-bottom: 36px;
}

.breadcrumb-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.breadcrumbs {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

.breadcrumbs span.current {
  color: var(--text-main);
  font-weight: 600;
}

/* Main Layout Grid */
.layout-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 80px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 36px;
  align-items: start;
}

@media (max-width: 960px) {
  .layout-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* Hero Feature Banner in Content */
.featured-hero-banner {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.featured-hero-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: var(--primary);
}

.featured-hero-banner h1 {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.35;
  letter-spacing: -0.02em;
}

/* Cover Image inside Post */
.post-cover-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 24px;
  border: 1px solid var(--card-border);
}

.post-cover-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Meta Pills Bar */
.meta-pills-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.meta-pill {
  background: #ffffff;
  color: var(--text-body);
  border: 1px solid var(--card-border);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.meta-pill.category-pill {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary-border);
  font-weight: 600;
}

.star-rating {
  color: #f59e0b;
  font-size: 0.95rem;
  letter-spacing: 2px;
  display: inline-flex;
  align-items: center;
}

/* Article Typography */
article.blog-article {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  color: var(--text-body);
}

article.blog-article h2 {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 36px 0 16px;
  letter-spacing: -0.01em;
  border-left: 4px solid var(--primary);
  padding-left: 12px;
}

article.blog-article h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 24px 0 12px;
}

article.blog-article p {
  margin-bottom: 20px;
  font-size: 1.025rem;
  line-height: 1.85;
}

article.blog-article ul, article.blog-article ol {
  margin-bottom: 24px;
  padding-left: 24px;
}

article.blog-article li {
  margin-bottom: 10px;
  font-size: 1rem;
}

article.blog-article strong {
  color: var(--text-main);
  font-weight: 600;
}

/* Callout Box */
.callout-box {
  background: #fdf2f8;
  border-left: 4px solid var(--primary);
  border-radius: 0 16px 16px 0;
  padding: 24px;
  margin: 32px 0;
  border-top: 1px solid var(--primary-border);
  border-right: 1px solid var(--primary-border);
  border-bottom: 1px solid var(--primary-border);
}

.callout-box p {
  color: #1e293b;
  margin-bottom: 0;
}

/* Table Wrapper */
.table-wrapper {
  overflow-x: auto;
  margin: 28px 0;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--card-border);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

th, td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--card-border);
}

th {
  background: #F1F5F9;
  color: var(--text-main);
  font-weight: 600;
}

td {
  color: var(--text-body);
}

tr:last-child td {
  border-bottom: none;
}

/* In-Content CTA Box */
article.blog-article .article-cta,
.article-cta {
  background: linear-gradient(135deg, #111827 0%, #1e1b4b 100%);
  border: 1px solid rgba(227, 28, 121, 0.45);
  border-radius: 20px;
  padding: 40px 32px;
  margin: 48px 0;
  text-align: center;
  color: #ffffff !important;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.15);
  position: relative;
  overflow: hidden;
}

article.blog-article .article-cta::before,
.article-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(227, 28, 121, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

article.blog-article .article-cta h3,
.article-cta h3 {
  font-size: 1.65rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin-top: 0 !important;
  margin-bottom: 12px !important;
  letter-spacing: -0.01em !important;
  border-left: none !important;
  padding-left: 0 !important;
}

article.blog-article .article-cta p,
.article-cta p {
  color: #e2e8f0 !important;
  font-size: 1.025rem !important;
  line-height: 1.7 !important;
  max-width: 560px !important;
  margin: 0 auto 24px !important;
}

.cta-button-group {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.btn-whatsapp {
  background: #25D366;
  color: #ffffff !important;
  padding: 12px 26px;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: #20bd5a;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

.btn-primary-quote {
  background: var(--primary);
  color: #ffffff !important;
  padding: 12px 26px;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.2s;
}

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

/* Sidebar Styles */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: sticky;
  top: 96px;
}

.sidebar-widget {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.widget-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  padding-left: 10px;
  border-left: 3px solid var(--primary);
}

/* Search Box */
.search-form {
  position: relative;
}

.search-input {
  width: 100%;
  background: #F8FAFC;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 12px 42px 12px 16px;
  color: var(--text-main);
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: all 0.2s;
}

.search-input:focus {
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(227, 28, 121, 0.15);
}

.search-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

/* Category List */
.category-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.category-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--text-body);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: all 0.2s;
  background: #F8FAFC;
  border: 1px solid transparent;
}

.category-link:hover {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary-border);
  transform: translateX(4px);
}

.category-link.active {
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
  border-color: var(--primary-border);
  border-left: 3px solid var(--primary);
}

/* Trending / Recent Posts in Sidebar */
.trending-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.trending-item {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  color: inherit;
  padding: 8px;
  border-radius: 12px;
  transition: all 0.2s;
}

.trending-item:hover {
  background: var(--primary-light);
  transform: translateX(4px);
}

.trending-thumb {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  border: 1px solid var(--primary-border);
}

.trending-info h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 4px;
}

.trending-info span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Grid for Blog Index Listing */
.blog-feed-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.feed-card {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.feed-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(227, 28, 121, 0.12);
}

.feed-card-hero {
  background: #ffffff;
  padding: 32px 28px;
  border-bottom: 1px solid var(--card-border);
}

.feed-card-hero h2 {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.35;
}

.feed-card-body {
  padding: 24px 28px;
  background: #fafafa;
}

.feed-card-desc {
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 20px;
}

/* Footer */
footer.site-footer {
  border-top: 1px solid var(--card-border);
  padding: 36px 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  background: #ffffff;
}

footer.site-footer a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

/* ============================================
   RESPONSIVE — Tablet (max 960px)
   ============================================ */
@media (max-width: 960px) {
  .layout-container {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0 16px 60px;
  }

  .sidebar {
    position: static;
    top: auto;
  }

  .featured-hero-banner {
    padding: 28px 20px;
  }

  .featured-hero-banner h1 {
    font-size: 1.65rem;
  }

  article.blog-article {
    padding: 24px 20px;
  }

  article.blog-article h2 {
    font-size: 1.3rem;
  }

  .feed-card-hero {
    padding: 24px 20px;
  }

  .feed-card-hero h2 {
    font-size: 1.25rem;
  }

  .feed-card-body {
    padding: 18px 20px;
  }

  .breadcrumb-title {
    font-size: 1.5rem;
  }
}

/* ============================================
   RESPONSIVE — Mobile (max 640px)
   ============================================ */
@media (max-width: 640px) {
  /* Header */
  header.site-header {
    padding: 12px 16px;
  }

  .brand-logo img {
    height: 26px;
  }

  .header-cta {
    padding: 7px 14px;
    font-size: 0.8rem;
  }

  /* Layout */
  .layout-container {
    padding: 0 12px 48px;
    gap: 24px;
  }

  /* Breadcrumb */
  .breadcrumb-hero {
    padding: 24px 16px 16px;
    margin-bottom: 20px;
  }

  .breadcrumb-title {
    font-size: 1.2rem;
  }

  .breadcrumbs {
    font-size: 0.78rem;
  }

  /* Hero banner */
  .featured-hero-banner {
    padding: 20px 16px;
    border-radius: 14px;
  }

  .featured-hero-banner h1 {
    font-size: 1.35rem;
    line-height: 1.4;
  }

  /* Meta pills — wrap on mobile, smaller */
  .meta-pills-bar {
    gap: 6px;
    margin-bottom: 18px;
  }

  .meta-pill {
    font-size: 0.72rem;
    padding: 4px 10px;
  }

  /* Article */
  article.blog-article {
    padding: 18px 14px;
    border-radius: 14px;
  }

  article.blog-article h2 {
    font-size: 1.15rem;
    margin: 24px 0 12px;
  }

  article.blog-article h3 {
    font-size: 1.05rem;
  }

  article.blog-article p {
    font-size: 0.95rem;
    line-height: 1.8;
  }

  /* Article CTA */
  .article-cta {
    padding: 28px 18px;
    border-radius: 14px;
    margin: 32px 0;
  }

  .article-cta h3 {
    font-size: 1.25rem !important;
  }

  .article-cta p {
    font-size: 0.9rem !important;
  }

  .cta-button-group {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }

  .btn-whatsapp,
  .btn-primary-quote {
    text-align: center;
    justify-content: center;
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  /* Feed cards */
  .blog-feed-grid {
    gap: 20px;
  }

  .feed-card {
    border-radius: 14px;
  }

  .feed-card-hero {
    padding: 18px 16px;
  }

  .feed-card-hero h2 {
    font-size: 1.1rem;
    line-height: 1.4;
  }

  .feed-card-body {
    padding: 14px 16px;
  }

  .feed-card-desc {
    font-size: 0.88rem;
  }

  /* Sidebar */
  .sidebar-widget {
    padding: 18px 14px;
    border-radius: 14px;
  }

  .widget-title {
    font-size: 1rem;
  }

  .trending-thumb {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }

  .trending-info h4 {
    font-size: 0.8rem;
  }

  /* Callout */
  .callout-box {
    padding: 18px 14px;
  }

  /* Table */
  th, td {
    padding: 12px 14px;
    font-size: 0.85rem;
  }

  /* Footer */
  footer.site-footer {
    padding: 24px 16px;
    font-size: 0.8rem;
  }
}
