/* ═══════════════════════════════════════════════════════════════
   SAYTAD BAKLAVA — Blog Stylesheet
   Version: 2.0 | saytad.com
   ═══════════════════════════════════════════════════════════════ */

/* ─── READING PROGRESS BAR ─── */
.reading-bar {
  position: fixed; top: 0; left: 0;
  height: 3px; background: var(--gold);
  z-index: 9999; transition: width 0.1s linear; width: 0%;
}

/* ─── BLOG LIST PAGE HERO ─── */
.blog-hero {
  position: relative;
  height: 52vh;
  min-height: 380px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 35%;
  transform: scale(1.04);
  animation: heroZoom 10s ease-out forwards;
  will-change: transform;
}

.blog-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    160deg,
    rgba(8,6,2,0.82) 0%,
    rgba(15,12,7,0.58) 50%,
    rgba(8,6,2,0.88) 100%
  );
}

.blog-hero-content {
  position: relative; z-index: 2;
  text-align: center;
  padding: 0 2rem;
}

.blog-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.8rem;
  font-size: 0.68rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.2rem;
  opacity: 0; animation: fadeUp 0.9s 0.3s ease forwards;
}
.blog-hero-eyebrow::before, .blog-hero-eyebrow::after {
  content: ''; display: block; width: 30px; height: 1px;
  background: var(--gold);
}

.blog-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1;
  opacity: 0; animation: fadeUp 0.9s 0.5s ease forwards;
}
.blog-hero-title em {
  display: block;
  font-style: italic;
  color: var(--gold-light);
  font-weight: 300;
}

.blog-hero-sub {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  margin-top: 1.2rem;
  opacity: 0; animation: fadeUp 0.9s 0.7s ease forwards;
}

/* ─── BLOG GRID SECTION ─── */
.blog-section {
  padding: 5rem 3rem 6rem;
  max-width: 1380px;
  margin: 0 auto;
}

.blog-section-header {
  text-align: center;
  margin-bottom: 4rem;
}

/* Override section-label for centered blog header */
.blog-section-header .section-label {
  justify-content: center;
}
.blog-section-header .section-label::after { display: none; }

/* ─── BLOG GRID ─── */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 2.4rem;
}

/* Featured post spans full width */
.blog-card--featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 4px 40px rgba(15,12,7,0.08);
  transition: box-shadow 0.35s, transform 0.35s;
}
.blog-card--featured:hover {
  box-shadow: 0 12px 60px rgba(15,12,7,0.14);
  transform: translateY(-3px);
}

.blog-card--featured .blog-card-img {
  position: relative;
  overflow: hidden;
  min-height: 420px;
}
.blog-card--featured .blog-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}
.blog-card--featured:hover .blog-card-img img { transform: scale(1.04); }

.blog-card--featured .blog-card-body {
  padding: 3.5rem 3.2rem;
  display: flex; flex-direction: column; justify-content: center;
  background: var(--dark);
}

/* Standard post cards */
.blog-card {
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 4px 32px rgba(15,12,7,0.07);
  transition: box-shadow 0.35s, transform 0.35s;
  display: flex; flex-direction: column;
  text-decoration: none;
}
.blog-card:hover {
  box-shadow: 0 10px 48px rgba(15,12,7,0.13);
  transform: translateY(-4px);
}

.blog-card .blog-card-img {
  position: relative;
  overflow: hidden;
  height: 260px;
}
.blog-card .blog-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
  filter: brightness(0.93);
}
.blog-card:hover .blog-card-img img { transform: scale(1.05); filter: brightness(1); }

.blog-card .blog-card-body {
  padding: 2rem 2.2rem 2.4rem;
  flex: 1;
  display: flex; flex-direction: column;
}

/* ─── CARD BODY ELEMENTS ─── */
.blog-card-tag {
  display: inline-block;
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}

.blog-card--featured .blog-card-tag { color: var(--gold-light); }

.blog-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.18;
  color: var(--dark);
  margin-bottom: 1rem;
  transition: color 0.2s;
  text-decoration: none;
}
.blog-card--featured .blog-card-title {
  font-size: 2.2rem;
  color: var(--white);
}
.blog-card--featured .blog-card-title em {
  font-style: italic; color: var(--gold-light);
}
.blog-card:hover .blog-card-title { color: var(--gold); }
.blog-card--featured:hover .blog-card-title { color: var(--gold-light); }

.blog-card-excerpt {
  font-size: 0.88rem;
  line-height: 1.78;
  color: var(--text-light);
  flex: 1;
  margin-bottom: 1.5rem;
}
.blog-card--featured .blog-card-excerpt { color: rgba(255,255,255,0.45); }

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 1.6rem;
}
.blog-card:not(.blog-card--featured) .blog-card-meta { color: var(--text-light); }

.blog-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(184,134,46,0.35);
  padding-bottom: 2px;
  align-self: flex-start;
  transition: color 0.2s, border-color 0.2s;
}
.blog-card--featured .blog-card-cta { color: var(--gold-light); border-color: rgba(212,168,75,0.35); }
.blog-card-cta:hover { color: var(--gold-light); border-color: var(--gold-light); }

/* ─── ARTICLE / POST PAGE ─── */
.post-hero {
  position: relative;
  height: 70vh;
  min-height: 480px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.post-hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 12s ease-out;
  will-change: transform;
}

.post-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,8,3,0.92) 0%, rgba(10,8,3,0.45) 50%, rgba(10,8,3,0.2) 100%);
}

.post-hero-content {
  position: relative; z-index: 2;
  padding: 3.5rem 4rem;
  max-width: 900px;
}

.post-breadcrumb {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.2rem;
}
.post-breadcrumb a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s;
}
.post-breadcrumb a:hover { color: var(--gold-light); }
.post-breadcrumb span { color: rgba(255,255,255,0.25); }

.post-tag {
  display: inline-block;
  font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-light);
  border: 1px solid rgba(212,168,75,0.4);
  padding: 0.25rem 0.8rem;
  margin-bottom: 1.2rem;
}

.post-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.post-hero-title em { font-style: italic; color: var(--gold-light); }

.post-hero-meta {
  display: flex; align-items: center; gap: 1.4rem;
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  flex-wrap: wrap;
}
.post-hero-meta .dot {
  width: 3px; height: 3px;
  background: var(--gold); border-radius: 50%;
}

/* ─── ARTICLE BODY ─── */
.article-wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 4rem 2rem 5rem;
}

.article-lead {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(184,134,46,0.2);
}

.article-body h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem; font-weight: 400;
  color: var(--dark); line-height: 1.2;
  margin: 3rem 0 1.2rem;
}
.article-body h2 em { font-style: italic; color: var(--gold); }

.article-body p {
  font-size: 1rem; line-height: 1.9;
  color: var(--text-mid); margin-bottom: 1.5rem;
}
.article-body p:first-child::first-letter {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4.5rem; font-weight: 600;
  float: left; line-height: 0.8;
  margin-right: 0.12em; margin-top: 0.08em;
  color: var(--gold);
}

.pull-quote {
  border-left: 3px solid var(--gold);
  margin: 2.5rem 0;
  padding: 1.2rem 2rem;
  background: var(--cream-2);
}
.pull-quote p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; font-weight: 400; font-style: italic;
  color: var(--dark-3); line-height: 1.5; margin: 0;
}
.pull-quote p::first-letter { font-size: 1.5rem; }

/* Article images */
.article-img { margin: 2.8rem 0; }
.article-img img { width: 100%; display: block; max-height: 520px; object-fit: cover; }

.article-img-wide { margin: 2.8rem -6rem; }
.article-img-wide img { width: calc(100% + 12rem); display: block; max-height: 440px; object-fit: cover; }

.article-img figcaption {
  font-size: 0.75rem; letter-spacing: 0.08em;
  color: var(--text-light); margin-top: 0.7rem; font-style: italic;
}

/* Image placeholders */
.article-img-placeholder { margin: 2.8rem 0; }
.placeholder-block {
  background: var(--cream-2);
  border: 2px dashed rgba(184,134,46,0.3);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 300px; gap: 0.9rem;
}
.placeholder-block .ph-icon { font-size: 2.4rem; opacity: 0.45; }
.placeholder-block .ph-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-light);
}
.article-img-placeholder figcaption {
  font-size: 0.75rem; letter-spacing: 0.08em;
  color: var(--text-light); margin-top: 0.8rem; font-style: italic;
  line-height: 1.65;
  border-left: 2px solid rgba(184,134,46,0.25);
  padding-left: 0.9rem;
}

/* Article divider */
.article-divider {
  display: flex; align-items: center; gap: 1rem; margin: 3rem 0;
}
.article-divider::before, .article-divider::after {
  content: ''; flex: 1; height: 1px;
  background: rgba(184,134,46,0.2);
}
.article-divider span { color: var(--gold); font-size: 1rem; }

/* ─── RELATED POSTS ─── */
.related { background: var(--dark); padding: 5rem 3rem; }
.related-inner { max-width: 1200px; margin: 0 auto; }
.related-label {
  font-size: 0.68rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.6rem;
}
.related-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem; font-weight: 300;
  color: var(--white); margin-bottom: 3rem;
}
.related-title em { font-style: italic; color: var(--gold-light); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.related-card { text-decoration: none; display: block; }
.related-card-img { overflow: hidden; height: 200px; margin-bottom: 1.2rem; }
.related-card-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.6s ease; filter: brightness(0.82);
}
.related-card:hover .related-card-img img { transform: scale(1.06); filter: brightness(1); }
.related-card-tag {
  font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.6rem;
}
.related-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem; font-weight: 400;
  color: rgba(255,255,255,0.75); line-height: 1.25;
  transition: color 0.2s;
}
.related-card:hover .related-card-title { color: var(--gold-light); }

/* ─── BLOG RESPONSIVE ─── */
@media (max-width: 960px) {
  .blog-section { padding: 3rem 1.5rem 4rem; }
  .blog-grid { grid-template-columns: 1fr; gap: 2rem; }
  .blog-card--featured { grid-column: 1; grid-template-columns: 1fr; }
  .blog-card--featured .blog-card-img { min-height: 280px; }
  .post-hero-content { padding: 2rem 1.5rem; }
  .article-wrap { padding: 2.5rem 1.2rem 3.5rem; }
  .article-img-wide { margin: 2rem 0; }
  .article-img-wide img { width: 100%; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .newsletter-band { padding: 3rem 1.5rem; }
}
@media (max-width: 580px) {
  .blog-card--featured .blog-card-body { padding: 2rem 1.5rem; }
  .blog-card--featured .blog-card-title { font-size: 1.6rem; }
  .related-grid { grid-template-columns: 1fr; }
  .post-hero { min-height: 360px; }
  .nl-form { flex-direction: column; }
  .nl-input { border-right: 1px solid rgba(180,130,50,0.25); }
}


/* ─── BLOG HERO BACKGROUND ─── */
.blog-hero-bg {
  background-image: url('../images/FistikliBaklavaMainpage.jpg');
}

/* ─── BLOG CARD READ LINK ─── */
.blog-read-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(184,134,46,0.35);
  padding-bottom: 2px;
  align-self: flex-start;
  transition: color 0.2s, border-color 0.2s;
  margin-top: auto;
}
.blog-read-link:hover {
  color: var(--gold-light);
  border-color: var(--gold-light);
}
.blog-card--featured .blog-read-link {
  color: var(--gold-light);
  border-color: rgba(212,168,75,0.35);
}

/* ─── IMAGE OVERLAY TAG ─── */
.img-overlay-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dark);
  background: var(--gold);
  padding: 0.2rem 0.65rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  z-index: 2;
}

/* ─── META DOT ─── */
.meta-dot {
  width: 3px;
  height: 3px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ─── STAT ROW (Gaziantep Story) ─── */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 3rem 0;
  border-top: 1px solid rgba(184,134,46,0.2);
  border-bottom: 1px solid rgba(184,134,46,0.2);
  padding: 2rem 0;
  text-align: center;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin: 0 !important;
}
.stat-lbl {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  line-height: 1.4;
  margin: 0 !important;
}

/* ─── GUIDE TABLE (Kadayıf varieties) ─── */
.guide-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2.5rem 0;
  font-size: 0.9rem;
  overflow: hidden;
}
.guide-table thead tr {
  background: var(--dark);
  color: var(--gold-light);
}
.guide-table th {
  padding: 0.9rem 1.1rem;
  text-align: left;
  font-family: 'Outfit', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: none;
}
.guide-table td {
  padding: 0.85rem 1.1rem;
  color: var(--text-mid);
  line-height: 1.6;
  border-bottom: 1px solid rgba(184,134,46,0.12);
  vertical-align: top;
}
.guide-table tbody tr:nth-child(even) {
  background: var(--cream-2);
}
.guide-table tbody tr:hover {
  background: var(--gold-pale);
}
.guide-table tbody tr td:first-child {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark-3);
  white-space: nowrap;
}

/* ─── VARIETIES GRID (Cold Baklava) ─── */
.varieties-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
  margin: 2.5rem 0;
}
.variety-card {
  background: var(--cream-2);
  padding: 1.8rem;
  border-left: 3px solid var(--gold);
  transition: background 0.2s, transform 0.2s;
}
.variety-card:hover {
  background: var(--gold-pale);
  transform: translateY(-2px);
}
.variety-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 0.6rem;
}
.variety-card p {
  font-size: 0.88rem;
  line-height: 1.72;
  color: var(--text-mid);
  margin: 0 !important;
}
.variety-card p::first-letter { font-size: 0.88rem !important; float: none !important; }

@media (max-width: 680px) {
  .varieties-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; }
  .guide-table { font-size: 0.78rem; }
  .guide-table th, .guide-table td { padding: 0.7rem 0.7rem; }
}
