/*
Theme Name: Tecim Nakliyat
Author: Tecim Nakliyat
Description: Tecim Nakliyat icin ozel koyu tema
Version: 1.0
*/

:root {
  --navy: #070d1a;
  --navy2: #0d1b2e;
  --navy3: #112036;
  --gold: #f59e0b;
  --gold2: #fbbf24;
  --gold3: #d97706;
  --white: #f8fafc;
  --text: #e2e8f0;
  --muted: #94a3b8;
  --dim: #475569;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--navy);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
a { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold2); }
img { max-width: 100%; height: auto; display: block; }

/* HEADER */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7,13,26,.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(245,158,11,.18);
  box-shadow: 0 4px 24px rgba(0,0,0,.6);
}
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  height: 68px; display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
}
.site-branding a {
  display: flex; align-items: center; gap: 10px;
  color: var(--white); font-weight: 800; font-size: 1.1rem;
}
.site-branding .tagline { font-size: .7rem; color: var(--muted); font-weight: 400; display: block; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  color: var(--muted); font-size: .88rem; font-weight: 500;
  padding: 6px 12px; border-radius: 8px; transition: all .2s;
}
.main-nav a:hover { color: var(--white); background: rgba(255,255,255,.06); }
.nav-phone { color: var(--gold) !important; font-weight: 700 !important; }
.nav-wa { background: rgba(37,211,102,.12) !important; color: #25d366 !important; border: 1px solid rgba(37,211,102,.3); }
.nav-wa:hover { background: rgba(37,211,102,.22) !important; color: #25d366 !important; }

/* Header CTA area */
.header-cta { display: flex; align-items: center; gap: 10px; }
.btn-call {
  background: linear-gradient(135deg, var(--gold), var(--gold3));
  color: var(--navy) !important; font-weight: 800; font-size: .85rem;
  padding: 8px 16px; border-radius: 10px;
  display: flex; align-items: center; gap: 6px;
  box-shadow: 0 4px 14px rgba(245,158,11,.3);
  transition: transform .2s, box-shadow .2s; white-space: nowrap;
}
.btn-call:hover { transform: translateY(-1px); box-shadow: 0 6px 22px rgba(245,158,11,.4); color: var(--navy) !important; }

/* Hamburger toggle */
.nav-toggle {
  display: none; background: none; border: 1px solid rgba(255,255,255,.15);
  cursor: pointer; padding: 8px; border-radius: 8px;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: transform .3s, opacity .3s;
  transform-origin: center;
}
/* Hamburger → X animation */
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* LAYOUT */
.site-main {
  max-width: 1200px; margin: 0 auto; padding: 48px 24px;
  display: grid; grid-template-columns: 1fr 300px; gap: 40px;
  min-height: 60vh;
}
.site-main.no-sidebar { grid-template-columns: 1fr; max-width: 860px; }

/* PAGE HERO */
.page-hero {
  background: linear-gradient(135deg, var(--navy2), var(--navy3));
  border-bottom: 1px solid rgba(245,158,11,.1);
  padding: 48px 24px; text-align: center;
}
.page-hero h1 { color: var(--white); font-size: 2rem; font-weight: 800; }
.page-hero h1 span { color: var(--gold); }
.page-hero p { color: var(--muted); margin-top: 10px; }

/* BLOG LISTING */
.posts-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; }
.section-title { font-size: 1.5rem; font-weight: 800; color: var(--white); margin-bottom: 28px; }
.section-title span { color: var(--gold); }

/* Post card thumbnail */
.post-thumb { display: block; overflow: hidden; border-radius: 12px 12px 0 0; margin: -26px -26px 16px; }
.post-thumb img { width: 100%; height: 200px; object-fit: cover; display: block; transition: transform .4s; }
.post-card:hover .post-thumb img { transform: scale(1.04); }

/* Single post featured image */
.post-featured-img { margin-bottom: 28px; border-radius: 14px; overflow: hidden; }
.post-featured-img img { width: 100%; max-height: 420px; object-fit: cover; display: block; border-radius: 14px; }

.post-card {
  background: var(--navy2);
  border: 1px solid rgba(245,158,11,.1);
  border-radius: 16px; padding: 26px;
  display: flex; flex-direction: column; gap: 10px;
  overflow: hidden;
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.post-card:hover {
  border-color: rgba(245,158,11,.45);
  box-shadow: 0 12px 40px rgba(0,0,0,.5);
  transform: translateY(-3px);
}
.post-cats { display: flex; flex-wrap: wrap; gap: 6px; }
.post-cats a {
  background: rgba(245,158,11,.12); color: var(--gold);
  border: 1px solid rgba(245,158,11,.25); border-radius: 6px;
  padding: 2px 10px; font-size: .74rem; font-weight: 600;
}
.post-cats a:hover { background: rgba(245,158,11,.25); }
.post-card h2 { font-size: 1.05rem; font-weight: 700; line-height: 1.35; }
.post-card h2 a { color: var(--white); }
.post-card h2 a:hover { color: var(--gold); }
.post-meta { color: var(--dim); font-size: .78rem; }
.post-excerpt { color: var(--muted); font-size: .9rem; line-height: 1.65; flex: 1; }
.btn-read {
  background: linear-gradient(135deg, var(--gold), var(--gold3));
  color: var(--navy) !important; font-weight: 700; font-size: .83rem;
  padding: 8px 16px; border-radius: 8px; display: inline-flex;
  align-items: center; gap: 5px; align-self: flex-start; margin-top: 4px;
  transition: transform .2s, box-shadow .2s;
}
.btn-read:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(245,158,11,.35); }

/* PAGINATION */
.pagination { margin-top: 36px; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.pagination a, .pagination span {
  background: var(--navy2); border: 1px solid rgba(245,158,11,.2);
  color: var(--muted); padding: 8px 16px; border-radius: 8px; font-size: .88rem; transition: all .2s;
}
.pagination a:hover { border-color: var(--gold); color: var(--gold); }
.pagination .current { background: var(--gold); color: var(--navy); font-weight: 700; border-color: var(--gold); }

/* SINGLE POST */
.single-post { background: var(--navy2); border: 1px solid rgba(245,158,11,.1); border-radius: 20px; padding: 44px; }
.single-post h1 { font-size: 1.9rem; font-weight: 800; color: var(--white); line-height: 1.3; margin: 16px 0 12px; }
.post-meta-bar {
  color: var(--dim); font-size: .82rem;
  padding: 14px 0; border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06); margin-bottom: 32px;
  display: flex; gap: 16px; flex-wrap: wrap;
}
.post-content { color: var(--muted); line-height: 1.85; }
.post-content p { margin-bottom: 1.4em; }
.post-content h2 { color: var(--gold2); font-size: 1.25rem; font-weight: 700; margin: 2em 0 .7em; padding-bottom: .4em; border-bottom: 1px solid rgba(245,158,11,.18); }
.post-content h3 { color: var(--white); font-size: 1.05rem; margin: 1.5em 0 .6em; }
.post-content ul, .post-content ol { padding-left: 1.6em; margin-bottom: 1.4em; }
.post-content li { margin-bottom: .5em; }
.post-content strong { color: var(--white); font-weight: 700; }
.post-content a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.post-content blockquote { border-left: 3px solid var(--gold); padding-left: 20px; margin: 1.5em 0; font-style: italic; }

/* CTA BOX */
.cta-box {
  background: linear-gradient(135deg, rgba(245,158,11,.1), rgba(217,119,6,.06));
  border: 1px solid rgba(245,158,11,.28); border-radius: 16px;
  padding: 32px; text-align: center; margin-top: 48px;
}
.cta-box h3 { color: var(--gold2); font-size: 1.25rem; margin-bottom: 8px; }
.cta-box p { color: var(--muted); margin-bottom: 20px; }
.cta-btns { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold3));
  color: var(--navy) !important; font-weight: 800;
  padding: 12px 28px; border-radius: 12px;
  box-shadow: 0 4px 16px rgba(245,158,11,.3);
}
.btn-wa { background: #25d366; color: #fff !important; font-weight: 700; padding: 12px 24px; border-radius: 12px; }

/* SIDEBAR */
.sidebar { display: flex; flex-direction: column; gap: 20px; }
.widget-box { background: var(--navy2); border: 1px solid rgba(245,158,11,.1); border-radius: 14px; padding: 22px; }
.widget-box h3 { color: var(--gold); font-size: .92rem; font-weight: 700; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid rgba(245,158,11,.15); }
.widget-box ul { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.widget-box ul li a { color: var(--muted); font-size: .88rem; padding: 6px 0; display: block; border-bottom: 1px solid rgba(255,255,255,.04); transition: all .2s; }
.widget-box ul li a:hover { color: var(--gold); padding-left: 6px; }
.contact-widget { background: linear-gradient(135deg, rgba(245,158,11,.1), rgba(217,119,6,.06)); border: 1px solid rgba(245,158,11,.25); border-radius: 14px; padding: 22px; text-align: center; }
.contact-widget h3 { color: var(--gold2); margin-bottom: 8px; }
.contact-widget p { color: var(--muted); font-size: .86rem; margin-bottom: 16px; }
.btn-wa-sm { background: rgba(37,211,102,.12); color: #25d366 !important; border: 1px solid rgba(37,211,102,.3); padding: 8px; border-radius: 10px; font-size: .86rem; font-weight: 600; display: block; text-align: center; margin-top: 8px; }

/* CTA BAND */
.footer-cta-band {
  background: linear-gradient(135deg, #0d1b2e, #112036);
  border-top: 1px solid rgba(245,158,11,.2);
  border-bottom: 1px solid rgba(245,158,11,.12);
  padding: 28px 24px;
}
.footer-cta-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.footer-cta-text strong { display: block; color: var(--white); font-size: 1.1rem; font-weight: 800; margin-bottom: 4px; }
.footer-cta-text span { color: var(--muted); font-size: .9rem; }
.footer-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-cta-call {
  background: linear-gradient(135deg, var(--gold), var(--gold3));
  color: var(--navy) !important; font-weight: 800; font-size: .9rem;
  padding: 11px 22px; border-radius: 10px;
  display: inline-flex; align-items: center; gap: 7px;
  box-shadow: 0 4px 14px rgba(245,158,11,.3);
  transition: transform .2s, box-shadow .2s;
}
.btn-cta-call:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(245,158,11,.45); color: var(--navy) !important; }
.btn-cta-wa {
  background: #25d366; color: #fff !important; font-weight: 700; font-size: .9rem;
  padding: 11px 22px; border-radius: 10px;
  display: inline-flex; align-items: center; gap: 7px;
  transition: transform .2s, box-shadow .2s;
}
.btn-cta-wa:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(37,211,102,.35); color: #fff !important; }

/* FOOTER */
.site-footer { background: #040810; border-top: 1px solid rgba(245,158,11,.08); padding: 48px 0 28px; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 36px; margin-bottom: 36px; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-logo strong { display: block; color: var(--white); font-size: 1rem; font-weight: 800; }
.footer-logo span { display: block; color: var(--muted); font-size: .75rem; }
.footer-brand p { color: var(--dim); font-size: .86rem; line-height: 1.7; margin-bottom: 16px; }
.footer-contact-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-col h4 { color: var(--white); font-size: .88rem; font-weight: 700; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.07); }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a { color: var(--dim); font-size: .86rem; transition: color .2s, padding-left .2s; display: block; }
.footer-col ul li a:hover { color: var(--gold); padding-left: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.06); padding-top: 18px; display: flex; justify-content: space-between; align-items: center; color: var(--dim); font-size: .8rem; flex-wrap: wrap; gap: 8px; }
.footer-bottom a { color: var(--gold); }

/* Sticky bottom bar (mobile only — hidden on desktop) */
.sticky-bar { display: none; }

/* 404 */
.error-page { text-align: center; padding: 80px 24px; }
.error-page .error-code { font-size: 6rem; font-weight: 900; color: var(--gold); line-height: 1; }
.error-page h2 { color: var(--white); font-size: 1.5rem; margin: 16px 0 12px; }
.error-page p { color: var(--muted); margin-bottom: 32px; }

/* MOBILE */
@media (max-width: 900px) {
  .site-main { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-cta-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 640px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .main-nav.open {
    display: flex; flex-direction: column;
    position: absolute; top: 68px; left: 0; right: 0;
    background: rgba(7,13,26,.99);
    border-bottom: 1px solid rgba(245,158,11,.2);
    padding: 16px 24px; gap: 2px; z-index: 200;
    box-shadow: 0 8px 32px rgba(0,0,0,.6);
  }
  .main-nav.open a {
    padding: 12px 16px; border-radius: 10px; font-size: .95rem;
    border-bottom: 1px solid rgba(255,255,255,.05);
  }
  .header-inner { position: relative; }
  .btn-call { font-size: .78rem; padding: 7px 12px; }
  .posts-grid { grid-template-columns: 1fr; }
  .single-post { padding: 24px 18px; }
  .single-post h1 { font-size: 1.4rem; }
  .site-main { padding: 24px 16px; padding-bottom: 90px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-col { display: none; }
  .footer-cta-band { padding: 20px 16px; }
  /* Sticky bottom bar on mobile */
  .sticky-bar {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 999;
    background: var(--navy); border-top: 1px solid rgba(245,158,11,.2);
    box-shadow: 0 -4px 20px rgba(0,0,0,.5);
  }
  .sticky-call, .sticky-wa {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 10px; font-weight: 800; font-size: .9rem; cursor: pointer;
    transition: opacity .2s;
  }
  .sticky-call:active, .sticky-wa:active { opacity: .85; }
  .sticky-call { background: linear-gradient(135deg, var(--gold), var(--gold3)); color: var(--navy) !important; }
  .sticky-wa { background: #25d366; color: #fff !important; }
}
