/* Eray Ship Supply — Blog sayfaları (ana sitenin siyah/altın teması) */
:root {
  --black: #000;
  --black-2: #0a0a0a;
  --black-3: #141414;
  --gray-1: #1a1a1a;
  --gray-2: #2a2a2a;
  --gray-t: #999;
  --gray-l: #ccc;
  --white: #fff;
  --gold: #c9a961;
  --gold-l: #d4b876;
  --gold-d: #b89a52;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-l); }

.b-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.b-narrow { max-width: 780px; }

/* Header */
.b-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(0, 0, 0, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 169, 97, .15);
}
.b-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 76px; }
.b-logo { display: flex; align-items: center; gap: .75rem; color: var(--white); }
.b-logo img { width: 44px; height: 44px; object-fit: contain; }
.b-logo span { font-family: var(--serif); font-weight: 700; letter-spacing: .08em; font-size: 1.05rem; }
.b-nav { display: flex; gap: 1.75rem; }
.b-nav a { color: var(--gray-l); font-size: .9rem; letter-spacing: .04em; text-transform: uppercase; position: relative; }
.b-nav a:hover, .b-nav a.active { color: var(--gold); }
.b-nav a.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--gold); }
.b-lang { display: flex; gap: .25rem; }
.b-lang a {
  font-size: .78rem; font-weight: 600; color: var(--gray-t);
  padding: .3rem .55rem; border: 1px solid transparent; border-radius: 3px;
}
.b-lang a.active { color: var(--gold); border-color: var(--gold); }

/* Hero */
.b-hero { padding: 5rem 0 3rem; text-align: center; background: radial-gradient(ellipse at top, rgba(201,169,97,.10), transparent 60%); }
.b-eyebrow { color: var(--gold); letter-spacing: .3em; text-transform: uppercase; font-size: .75rem; margin: 0 0 1rem; }
.b-hero h1 { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.8rem); margin: 0 0 1rem; font-weight: 700; }
.b-intro { color: var(--gray-t); max-width: 620px; margin: 0 auto; font-size: 1.05rem; }

/* Grid */
.b-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2rem; padding: 1rem 0 3rem; }
.b-card {
  background: var(--black-3); border: 1px solid var(--gray-1); border-radius: 6px; overflow: hidden;
  display: flex; flex-direction: column; transition: transform .25s, border-color .25s, box-shadow .25s;
}
.b-card:hover { transform: translateY(-4px); border-color: rgba(201,169,97,.4); box-shadow: 0 0 30px rgba(201,169,97,.12); }
.b-card-img { aspect-ratio: 16 / 9; background: var(--gray-1); display: block; overflow: hidden; }
.b-card-img img { width: 100%; height: 100%; object-fit: cover; }
.b-card-ph { display: flex; align-items: center; justify-content: center; height: 100%; font-family: var(--serif); font-size: 2rem; color: var(--gold-d); letter-spacing: .2em; }
.b-card-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.b-card-body h2 { font-family: var(--serif); font-size: 1.35rem; line-height: 1.35; margin: .25rem 0 .75rem; }
.b-card-body h2 a { color: var(--white); }
.b-card-body h2 a:hover { color: var(--gold); }
.b-card-body p { color: var(--gray-t); margin: 0 0 1rem; font-size: .95rem; }
.b-more { margin-top: auto; font-size: .85rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.b-meta { color: var(--gray-t); font-size: .8rem !important; letter-spacing: .03em; margin: 0; }
.b-empty { text-align: center; color: var(--gray-t); padding: 3rem 0; }

.b-pager { display: flex; justify-content: space-between; align-items: center; padding: 0 0 3rem; color: var(--gray-t); font-size: .9rem; }

/* Post */
.b-post-head { padding-top: 3.5rem; padding-bottom: 2rem; }
.b-back { font-size: .85rem; letter-spacing: .05em; text-transform: uppercase; }
.b-post-head h1 { font-family: var(--serif); font-size: clamp(2rem, 4.5vw, 3.1rem); line-height: 1.2; margin: 1.25rem 0 1rem; }
.b-cover { margin: 0 auto 2.5rem; max-width: 1000px; }
.b-cover img { width: 100%; border-radius: 6px; aspect-ratio: 16 / 9; object-fit: cover; }

.b-content { font-size: 1.075rem; color: #e6e6e6; }
.b-content h2, .b-content h3, .b-content h4 { font-family: var(--serif); color: var(--white); line-height: 1.3; margin: 2.2rem 0 .9rem; }
.b-content h2 { font-size: 1.75rem; }
.b-content h3 { font-size: 1.4rem; }
.b-content h4 { font-size: 1.15rem; }
.b-content p { margin: 0 0 1.3rem; }
.b-content a { text-decoration: underline; text-underline-offset: 3px; }
.b-content ul, .b-content ol { padding-left: 1.4rem; margin: 0 0 1.3rem; }
.b-content li { margin-bottom: .4rem; }
.b-content li::marker { color: var(--gold); }
.b-content blockquote { margin: 1.8rem 0; padding: .5rem 0 .5rem 1.4rem; border-left: 3px solid var(--gold); color: var(--gray-l); font-style: italic; }
.b-content img { border-radius: 6px; margin: 1.8rem auto; }
.b-content hr { border: 0; border-top: 1px solid var(--gray-2); margin: 2.5rem 0; }
.b-content table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .95rem; }
.b-content th, .b-content td { border: 1px solid var(--gray-2); padding: .6rem .8rem; text-align: left; }
.b-content th { background: var(--gray-1); color: var(--gold); }
.b-content code { background: var(--gray-1); padding: .1rem .35rem; border-radius: 3px; font-size: .9em; }
.b-content pre { background: var(--gray-1); padding: 1rem; border-radius: 6px; overflow-x: auto; }

/* CTA */
.b-cta {
  margin: 3rem 0 4rem; padding: 2.5rem 2rem; text-align: center;
  border: 1px solid rgba(201,169,97,.35); border-radius: 6px;
  background: linear-gradient(135deg, rgba(201,169,97,.08), transparent);
}
.b-cta h2 { font-family: var(--serif); margin: 0 0 .5rem; font-size: 1.7rem; }
.b-cta p { color: var(--gray-t); margin: 0 0 1.5rem; }
.b-btn {
  display: inline-block; padding: .85rem 2rem; background: var(--gold); color: var(--black) !important;
  font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: .85rem; border-radius: 3px;
  text-decoration: none !important;
}
.b-btn:hover { background: var(--gold-l); }
.b-404 { padding: 7rem 0; }
.b-404 .b-btn { margin-top: 2rem; }

/* Footer */
.b-footer { border-top: 1px solid var(--gray-1); padding: 2.5rem 0; text-align: center; color: var(--gray-t); font-size: .9rem; }
.b-footer p { margin: .3rem 0; }
.b-footer-title { font-family: var(--serif); color: var(--gold); font-size: 1.3rem; }
.b-footer-copy { font-size: .8rem; margin-top: 1rem !important; }

@media (max-width: 860px) {
  .b-nav { display: none; }
  .b-logo span { font-size: .9rem; }
  .b-grid { grid-template-columns: 1fr; }
  .b-hero { padding: 3.5rem 0 2rem; }
}
