/* =====================================================
   ZYNELION TRAVEL — v2 Complete Stylesheet
   Theme: Deep Black × Liquid Gold
   Fonts: Playfair Display + DM Sans
   ===================================================== */

:root {
  --bg:          #0c0c0c;
  --bg2:         #121212;
  --bg3:         #191919;
  --card:        #161616;
  --card-h:      #1e1e1e;
  --text:        #e4ddd0;
  --text2:       #a89d8e;
  --line:        #272320;
  --gold:        #f5a800;
  --gold2:       #ffd060;
  --gold3:       #c08500;
  --gold-bg:     rgba(245,168,0,0.08);
  --gold-glow:   0 0 40px rgba(245,168,0,0.15);
  --shadow:      0 8px 36px rgba(0,0,0,0.65);
  --shadow-sm:   0 3px 14px rgba(0,0,0,0.45);
  --radius:      16px;
  --radius-sm:   10px;
  --max:         1200px;
  --sidebar-w:   300px;
  --font-head:   'Playfair Display', Georgia, serif;
  --font-body:   'DM Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.78;
  color: var(--text);
  background: var(--bg);
  background-image: radial-gradient(ellipse 100% 60% at 50% 0%, rgba(245,168,0,0.05) 0%, transparent 55%);
  word-wrap: break-word;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { width: min(94%, var(--max)); margin: 0 auto; }

/* ── ANIMATE ON SCROLL ─────────────────────── */
.anim { opacity: 0; transform: translateY(20px); transition: opacity 0.55s ease, transform 0.55s ease; }
.anim.visible { opacity: 1; transform: translateY(0); }

/* ── TOP BAR ───────────────────────────────── */
.topbar {
  background: var(--gold);
  padding: 7px 0;
}
.topbar-inner { text-align: center; }
.topbar-text {
  font-size: 0.78rem;
  font-weight: 600;
  color: #0a0a0a;
  letter-spacing: 0.4px;
}

/* ── HEADER ─────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(12,12,12,0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s, box-shadow 0.3s;
}
.site-header.scrolled {
  background: rgba(12,12,12,0.97);
  box-shadow: 0 4px 28px rgba(0,0,0,0.8);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 0;
  gap: 20px;
}
.site-title {
  display: flex;
  align-items: center;
  gap: 11px;
}
.header-logo {
  width: 40px; height: 40px;
  border-radius: 9px;
  object-fit: contain;
  transition: transform 0.3s;
}
.site-title:hover .header-logo { transform: rotate(-6deg) scale(1.1); }
.site-title-text {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
}
.site-title-text em { font-style: normal; color: var(--gold); }

.site-nav { display: flex; gap: 6px; }
.site-nav a {
  padding: 7px 20px;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text2);
  letter-spacing: 0.3px;
  transition: color 0.2s, background 0.2s;
}
.site-nav a:hover {
  color: var(--gold);
  background: var(--gold-bg);
}

/* ── SLIDER ─────────────────────────────────── */
.slider-section {
  padding: 24px 0 0;
}
.slider-section .wrap {
  /* same max-width as content below */
}
.slider-wrap {
  position: relative;
  height: clamp(320px, 48vw, 540px);
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.slider-track { position: relative; width: 100%; height: 100%; }

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.75s ease;
  pointer-events: none;
}
.slide.active { opacity: 1; pointer-events: auto; }

.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: transform 6s ease;
  border-radius: var(--radius);
}
.slide.active .slide-bg { transform: scale(1); }

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.82) 0%,
    rgba(0,0,0,0.55) 40%,
    rgba(0,0,0,0.2) 70%,
    rgba(0,0,0,0.1) 100%
  );
}

.slide-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 5vw, 80px);
  max-width: 620px;
}

.slide-meta {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--gold);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.slide-meta::before {
  content: '';
  display: block;
  width: 28px; height: 2px;
  background: var(--gold);
}

.slide-title {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 3.5vw, 2.5rem);
  line-height: 1.15;
  color: #fff;
  margin-bottom: 14px;
}
.slide-title a { color: inherit; }
.slide-title a:hover { color: var(--gold2); }

.slide-date {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 22px;
}

.slide-btn {
  display: inline-block;
  padding: 11px 28px;
  background: var(--gold);
  color: #0a0a0a;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  align-self: flex-start;
  transition: background 0.2s, transform 0.2s;
}
.slide-btn:hover { background: var(--gold2); transform: translateY(-2px); }

/* Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.3);
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  backdrop-filter: blur(6px);
}
.slider-arrow:hover { background: var(--gold); border-color: var(--gold); color: #000; }
.slider-prev { left: 16px; }
.slider-next { right: 16px; }

/* Dots */
.slider-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  padding: 0;
}
.dot.active { background: var(--gold); width: 24px; border-radius: 4px; }

/* ── MAIN LAYOUT (content + sidebar) ────────── */
.site-main { padding: 0 0 60px; }

.layout-main {
  display: grid;
  grid-template-columns: 1fr var(--sidebar-w);
  gap: 36px;
  padding-top: 40px;
  align-items: start;
}

.layout-post {
  display: grid;
  grid-template-columns: 1fr var(--sidebar-w);
  gap: 36px;
  padding-top: 36px;
  align-items: start;
}

/* ── SECTION TITLE BAR ──────────────────────── */
.section-title-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}
.section-title {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--text);
  white-space: nowrap;
}
.section-title-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(to right, var(--gold3), transparent);
  border-radius: 1px;
}

/* ── POST GRID ──────────────────────────────── */
.post-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.post-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.post-card:hover {
  border-color: rgba(245,168,0,0.35);
  box-shadow: var(--gold-glow), var(--shadow);
  background: var(--card-h);
}

.post-card-thumb {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}
.post-card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.post-card:hover .post-card-thumb img { transform: scale(1.05); }
.post-card-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 55%);
  pointer-events: none;
}

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

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.post-card-cat {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  background: var(--gold-bg);
  padding: 2px 9px;
  border-radius: 4px;
}
.post-card-date {
  font-size: 0.75rem;
  color: var(--text2);
}

.post-card-title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  line-height: 1.35;
  margin-bottom: 8px;
  color: var(--text);
}
.post-card-title a { transition: color 0.2s; }
.post-card-title a:hover { color: var(--gold); }

.post-card-excerpt {
  font-size: 0.85rem;
  color: var(--text2);
  line-height: 1.6;
  margin-bottom: 12px;
}

.post-card-readmore {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}
.post-card-readmore:hover { gap: 8px; }

/* ── SIDEBAR ─────────────────────────────────── */
.sidebar { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 80px; }

.widget {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.widget-header {
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--bg3);
}
.widget-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 8px;
}
.widget-title::before {
  content: '';
  display: block;
  width: 3px; height: 16px;
  background: var(--gold);
  border-radius: 2px;
}

/* About widget */
.widget-about {
  padding: 22px 18px;
  text-align: center;
  border-top: 3px solid var(--gold);
}
.widget-about img {
  margin: 0 auto 12px;
  border-radius: 12px;
  border: 2px solid var(--line);
}
.widget-about h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 8px;
}
.widget-about p {
  font-size: 0.83rem;
  color: var(--text2);
  line-height: 1.65;
  margin-bottom: 14px;
}
.widget-about-btn {
  display: inline-block;
  padding: 8px 20px;
  background: var(--gold);
  color: #000;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  transition: background 0.2s;
}
.widget-about-btn:hover { background: var(--gold2); }

/* Popular posts */
.popular-list { list-style: none; padding: 12px 0; }
.popular-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s;
}
.popular-item:last-child { border-bottom: none; }
.popular-item:hover { background: var(--bg3); }

.popular-thumb {
  width: 64px; height: 64px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}
.popular-thumb img { width: 100%; height: 100%; object-fit: cover; }
.popular-info { flex: 1; min-width: 0; }
.popular-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  display: block;
  margin-bottom: 4px;
  transition: color 0.2s;
}
.popular-title:hover { color: var(--gold); }
.popular-date { font-size: 0.72rem; color: var(--text2); }

/* Label cloud */
.label-cloud { padding: 14px 16px; display: flex; flex-wrap: wrap; gap: 7px; }
.label-tag {
  padding: 5px 13px;
  background: var(--bg3);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text2);
  transition: all 0.2s;
}
.label-tag:hover {
  background: var(--gold-bg);
  border-color: var(--gold3);
  color: var(--gold);
}

/* Recent list */
.recent-list { list-style: none; padding: 6px 0; }
.recent-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 9px 16px;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s;
}
.recent-item:last-child { border-bottom: none; }
.recent-item:hover { background: var(--bg3); }
.recent-date {
  font-size: 0.7rem;
  color: var(--gold);
  font-weight: 700;
  white-space: nowrap;
  background: var(--gold-bg);
  padding: 2px 7px;
  border-radius: 4px;
  flex-shrink: 0;
}
.recent-title {
  font-size: 0.82rem;
  color: var(--text);
  line-height: 1.4;
  transition: color 0.2s;
}
.recent-title:hover { color: var(--gold); }

/* Archive */
.archive-list { list-style: none; padding: 6px 0; }
.archive-item { border-bottom: 1px solid var(--line); }
.archive-item:last-child { border-bottom: none; }
.archive-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 16px;
  font-size: 0.83rem;
  color: var(--text2);
  transition: all 0.2s;
}
.archive-link:hover { background: var(--bg3); color: var(--gold); }
.archive-count {
  background: var(--gold-bg);
  color: var(--gold);
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}

/* ── SINGLE POST ─────────────────────────────── */
.single-post {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.post-hero {
  position: relative;
  overflow: hidden;
}
.post-hero img {
  width: 100%;
  height: clamp(260px, 40vw, 480px);
  object-fit: cover;
}
.post-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 20px 24px;
}
.post-hero-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(245,168,0,0.4);
  padding: 5px 14px;
  border-radius: 4px;
  backdrop-filter: blur(6px);
}

.post-header { padding: 28px 32px 0; }
.post-header-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.8rem;
}
.post-cat {
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-bg);
  padding: 3px 10px;
  border-radius: 4px;
}
.post-date-sep, .post-date { color: var(--text2); }

.post-title {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 14px;
}
.post-lead {
  font-size: 1.05rem;
  color: var(--text2);
  line-height: 1.7;
  margin-bottom: 0;
}
.post-divider {
  height: 1px;
  background: linear-gradient(to right, var(--gold3), transparent);
  margin: 24px 0 0;
}

.post-body {
  padding: 28px 32px;
  color: var(--text);
}
.post-body p { margin-bottom: 18px; }

.post-body h2 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--gold2);
  margin: 38px 0 14px;
  line-height: 1.3;
}
.post-body h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--text);
  margin: 28px 0 10px;
}
.post-body h4 { font-size: 1rem; color: var(--text); margin: 20px 0 8px; }
.post-body a { color: var(--gold); border-bottom: 1px solid rgba(245,168,0,0.3); }
.post-body a:hover { color: var(--gold2); border-bottom-color: var(--gold); }
.post-body ul, .post-body ol { padding-left: 24px; margin-bottom: 18px; }
.post-body li { margin-bottom: 7px; }

.post-body blockquote {
  border-left: 3px solid var(--gold);
  background: var(--gold-bg);
  padding: 16px 20px;
  border-radius: 0 10px 10px 0;
  margin: 24px 0;
  color: var(--text);
  font-style: italic;
}

.post-body hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }
.post-body strong { color: var(--gold2); }
.post-body em { color: var(--text); }

.post-body img {
  width: 100%; height: auto;
  border-radius: var(--radius-sm);
  margin: 20px 0;
  border: 1px solid var(--line);
}

.post-body table { width: 100%; border-collapse: collapse; margin: 20px 0; display: block; overflow-x: auto; }
.post-body th { background: var(--gold-bg); color: var(--gold); font-weight: 700; }
.post-body th, .post-body td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; font-size: 0.9rem; }

.post-body code {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 0.88em;
  color: var(--gold2);
}
.post-body pre {
  background: #0d0d0d;
  border: 1px solid var(--line);
  padding: 18px;
  border-radius: var(--radius-sm);
  overflow-x: auto;
  margin: 20px 0;
}

/* Post tags */
.post-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  padding: 0 32px 20px;
}
.post-tags-label { font-size: 0.78rem; font-weight: 700; color: var(--text2); }
.post-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text2);
  background: var(--bg3);
  border: 1px solid var(--line);
  padding: 4px 11px;
  border-radius: 999px;
  transition: all 0.2s;
}
.post-tag:hover { color: var(--gold); border-color: var(--gold3); background: var(--gold-bg); }

.post-nav-bar {
  display: flex;
  padding: 18px 32px;
  border-top: 1px solid var(--line);
}
.back-btn {
  padding: 9px 22px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text2);
  transition: all 0.2s;
}
.back-btn:hover { color: var(--gold); border-color: var(--gold3); background: var(--gold-bg); }

/* ── FOOTER ─────────────────────────────────── */
.site-footer { margin-top: 20px; border-top: 1px solid var(--line); }

.footer-top { padding: 52px 0 40px; background: var(--bg2); }
.footer-top-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}
.footer-logo-img {
  border-radius: 12px;
  margin-bottom: 14px;
  border: 2px solid var(--line);
}
.footer-brand-name {
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 10px;
}
.footer-brand-name strong { color: var(--gold); }
.footer-tagline { font-size: 0.85rem; color: var(--text2); line-height: 1.7; max-width: 300px; }

.footer-heading {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  font-size: 0.85rem;
  color: var(--text2);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-links a::before { content: '›'; color: var(--gold3); }
.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  padding: 16px 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.8rem; color: #555; }
.footer-bottom strong { color: var(--gold); }
.footer-built { font-size: 0.75rem !important; }

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 1050px) {
  :root { --sidebar-w: 260px; }
  .footer-top-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand-col { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .layout-main, .layout-post {
    grid-template-columns: 1fr;
  }
  .sidebar { position: static; top: auto; }
  .post-grid { grid-template-columns: 1fr; }
  .footer-top-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; gap: 6px; }
}

@media (max-width: 600px) {
  .topbar-text { font-size: 0.7rem; }
  .header-inner { padding: 11px 0; }
  .site-title-text { font-size: 1.1rem; }
  .site-nav a { padding: 6px 14px; font-size: 0.82rem; }
  .slider-wrap { height: 300px; }
  .slide-content { padding: 22px; }
  .post-header { padding: 20px 20px 0; }
  .post-body { padding: 20px; }
  .post-tags { padding: 0 20px 16px; }
  .post-nav-bar { padding: 14px 20px; }
  .post-grid { grid-template-columns: 1fr; }
}
