/* wanderwheels-life — Design B: Vintage Travel
   Playfair Display + Barlow + Caveat, parchment/terracotta/teal palette. */

/* ─── LOCAL VARIABLES ─── */
:root {
  --parchment: #f7f1e8;
  --parchment-deep: #ede5d8;
  --parchment-dark: #d4c9b8;
  --ink: #2b2420;
  --ink-light: #5c4f44;
  --ink-faded: #8a7d72;
  --terracotta: #c45a3c;
  --terracotta-dark: #a84830;
  --terracotta-light: #e07856;
  --teal: #2a6f6f;
  --gold: #c4973b;
  --gold-light: #dbb463;
  --white: #fffdf9;
  --display: 'Playfair Display', Georgia, serif;
  --body: 'Barlow', 'Helvetica Neue', sans-serif;
  --hand: 'Caveat', cursive;
}

html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--body); background: var(--parchment); color: var(--ink);
  line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 9999; opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px;
}
a { color: inherit; text-decoration: none; }

/* ─── HEADER ─── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--parchment); border-bottom: 2px solid var(--ink);
}
.header-top {
  display: flex; align-items: center; justify-content: center;
  padding: 1rem 2rem; gap: 2rem;
}
.header-rule { flex: 1; height: 1px; background: var(--parchment-dark); }
.site-logo {
  text-align: center; flex-shrink: 0; display: flex; flex-direction: column; align-items: center;
}
.logo-icon { height: 32px; width: 32px; object-fit: contain; border-radius: 4px; margin-bottom: 0.2rem; }
.logo-text { font-family: var(--display); font-size: 1.8rem; font-weight: 700; letter-spacing: 0.02em; line-height: 1; color: var(--ink); }
.logo-tagline { font-family: var(--hand); font-size: 1rem; color: var(--terracotta); margin-top: 0.1rem; }
.site-nav {
  display: flex; justify-content: center; gap: 0;
  border-top: 1px solid var(--parchment-dark);
}
.site-nav a {
  padding: 0.65rem 1.8rem; font-family: var(--body); font-size: 0.75rem;
  font-weight: 500; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--ink-light); border-right: 1px solid var(--parchment-dark); transition: all 0.3s;
}
.site-nav a:first-child { border-left: 1px solid var(--parchment-dark); }
.site-nav a:hover, .site-nav a.active { background: var(--ink); color: var(--parchment); }

/* ─── HERO ─── */
.hero {
  position: relative; min-height: 85vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; background: var(--ink); color: var(--parchment);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(43,36,32,0.55) 0%, rgba(43,36,32,0.8) 100%);
  z-index: 1;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.hero-pattern {
  position: absolute; inset: 0; z-index: 0; opacity: 0.08;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 40px, var(--parchment) 40px, var(--parchment) 41px),
    repeating-linear-gradient(90deg, transparent, transparent 40px, var(--parchment) 40px, var(--parchment) 41px);
  pointer-events: none;
}
.hero-content {
  position: relative; z-index: 2; text-align: center; max-width: 800px; padding: 4rem 2rem;
}
.hero-badge {
  display: inline-block; border: 1px solid rgba(245,240,232,0.25);
  padding: 0.4rem 1.5rem; font-family: var(--body); font-size: 0.65rem;
  font-weight: 500; text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--gold-light); margin-bottom: 2.5rem;
}
.hero h1 {
  font-family: var(--display); font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 400; line-height: 1.05; letter-spacing: -0.01em; margin-bottom: 0.5rem;
}
.hero h1 em { font-style: italic; color: var(--terracotta-light); }
.hero-hand {
  font-family: var(--hand); font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--gold-light); margin-bottom: 2.5rem;
  transform: rotate(-2deg); display: inline-block;
}
.hero-desc {
  font-size: 1rem; font-weight: 300; color: rgba(245,240,232,0.7);
  max-width: 520px; margin: 0 auto 3rem; line-height: 1.7;
}
.hero-countries { display: flex; justify-content: center; gap: 1rem; }
.hero-country {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.8rem 1.8rem; border: 1px solid rgba(245,240,232,0.2);
  font-family: var(--display); font-size: 1.1rem;
  transition: all 0.4s; position: relative; overflow: hidden; color: var(--parchment);
}
.hero-country::before {
  content: ''; position: absolute; inset: 0; background: var(--terracotta);
  transform: translateY(100%); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-country:hover::before { transform: translateY(0); }
.hero-country span { position: relative; z-index: 1; }
.hero-country .arr { position: relative; z-index: 1; font-size: 0.8rem; transition: transform 0.3s; }
.hero-country:hover .arr { transform: translateX(4px); }

/* ─── DIVIDER ─── */
.vt-divider {
  display: flex; align-items: center; justify-content: center;
  gap: 1.5rem; padding: 3rem 2rem;
}
.vt-divider-line { flex: 1; max-width: 200px; height: 1px; background: linear-gradient(90deg, transparent, var(--parchment-dark), transparent); }
.vt-divider-icon {
  width: 36px; height: 36px; border: 1px solid var(--parchment-dark); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 0.8rem; color: var(--ink-faded); transform: rotate(45deg);
}
.vt-divider-icon span { transform: rotate(-45deg); }

/* ─── SECTION TITLE ─── */
.vt-section-title { text-align: center; margin-bottom: 4rem; }
.vt-section-title h2 { font-family: var(--display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 400; margin-bottom: 0.3rem; }
.hand-note { font-family: var(--hand); font-size: 1.3rem; color: var(--terracotta); transform: rotate(-1.5deg); display: inline-block; }

/* ─── DESTINATIONS / POSTCARDS ─── */
.vt-dest { max-width: 1200px; margin: 0 auto; padding: 2rem 2rem 5rem; }
.vt-postcards { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.vt-postcard {
  background: var(--white); border: 1px solid var(--parchment-dark);
  display: flex; flex-direction: column; position: relative;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s; cursor: pointer;
}
.vt-postcard:hover { transform: translateY(-4px) rotate(-0.5deg); box-shadow: 8px 12px 40px rgba(43,36,32,0.12); }
.vt-postcard:nth-child(2):hover { transform: translateY(-4px) rotate(0.5deg); }
.vt-postcard-img { height: 220px; position: relative; overflow: hidden; background-size: cover; background-position: center; }
.vt-postcard-img img { width: 100%; height: 100%; object-fit: cover; }
.vt-postcard-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.3) 100%); }
.vt-postcard-stamp {
  position: absolute; top: 1rem; right: 1rem; z-index: 2;
  width: 60px; height: 60px; border: 2px dashed rgba(255,255,255,0.4);
  border-radius: 4px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; color: #fff; transform: rotate(6deg);
}
.vt-postcard-stamp .stamp-num { font-family: var(--display); font-size: 1.5rem; font-weight: 700; line-height: 1; }
.vt-postcard-stamp .stamp-label { font-family: var(--body); font-size: 0.5rem; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.8; }
.vt-postcard-body { padding: 1.5rem 2rem 2rem; flex: 1; display: flex; flex-direction: column; }
.vt-postcard-country { font-family: var(--display); font-size: 1.6rem; font-weight: 600; margin-bottom: 0.3rem; }
.vt-postcard-region { font-family: var(--hand); font-size: 1rem; color: var(--terracotta); margin-bottom: 1.2rem; }
.vt-postcard-routes { list-style: none; flex: 1; }
.vt-postcard-routes li {
  padding: 0.55rem 0; border-bottom: 1px dotted var(--parchment-dark);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.85rem; color: var(--ink-light);
}
.vt-postcard-routes li:last-child { border-bottom: none; }
.vt-postcard-routes .route-km { font-size: 0.7rem; font-weight: 500; color: var(--ink-faded); text-transform: uppercase; letter-spacing: 0.05em; }
.vt-postcard-go {
  margin-top: 1rem; font-size: 0.7rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--terracotta);
  display: flex; align-items: center; gap: 0.5rem;
}
.vt-postcard-go .arr { transition: transform 0.3s; }
.vt-postcard:hover .vt-postcard-go .arr { transform: translateX(6px); }

/* ─── TIPS (dark section) ─── */
.vt-tips {
  background: var(--ink); color: var(--parchment); padding: 5rem 2rem;
  position: relative; overflow: hidden;
}
.vt-tips::before {
  content: ''; position: absolute; inset: 0; opacity: 0.04;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 30px, var(--parchment) 30px, var(--parchment) 31px),
    repeating-linear-gradient(90deg, transparent, transparent 30px, var(--parchment) 30px, var(--parchment) 31px);
}
.vt-tips-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.vt-tips .vt-section-title h2 { color: var(--parchment); }
.vt-tips .hand-note { color: var(--gold-light); }
.vt-tips-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.vt-tip-card {
  background: rgba(245,240,232,0.06); border: 1px solid rgba(245,240,232,0.1);
  padding: 2rem; transition: all 0.4s;
}
.vt-tip-card:hover { background: rgba(245,240,232,0.1); border-color: rgba(245,240,232,0.2); transform: translateY(-3px); }
.vt-tip-icon {
  width: 48px; height: 48px; border: 1px solid rgba(245,240,232,0.15); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; margin-bottom: 1.5rem; color: var(--gold-light);
}
.vt-tip-card h3 { font-family: var(--display); font-size: 1.2rem; font-weight: 600; margin-bottom: 0.75rem; line-height: 1.3; }
.vt-tip-card p { font-size: 0.85rem; color: rgba(245,240,232,0.6); line-height: 1.6; font-weight: 300; }

/* ─── CTA ─── */
.vt-cta { max-width: 1200px; margin: 0 auto; padding: 5rem 2rem; }
.vt-cta-inner {
  background: var(--white); border: 2px solid var(--ink);
  padding: 3.5rem; text-align: center; position: relative;
}
.vt-cta-inner::before, .vt-cta-inner::after {
  content: ''; position: absolute; width: 20px; height: 20px; border: 2px solid var(--ink);
}
.vt-cta-inner::before { top: -6px; left: -6px; border-right: none; border-bottom: none; }
.vt-cta-inner::after { bottom: -6px; right: -6px; border-left: none; border-top: none; }
.vt-cta-hand { font-family: var(--hand); font-size: 1.2rem; color: var(--terracotta); margin-bottom: 0.5rem; transform: rotate(-1.5deg); display: inline-block; }
.vt-cta-title { font-family: var(--display); font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 400; margin-bottom: 1rem; max-width: 500px; margin-left: auto; margin-right: auto; }
.vt-cta-desc { font-size: 0.9rem; color: var(--ink-faded); margin-bottom: 2rem; max-width: 450px; margin-left: auto; margin-right: auto; line-height: 1.6; }
.vt-cta-btn {
  display: inline-flex; align-items: center; gap: 0.8rem;
  padding: 1rem 2.5rem; background: var(--terracotta); color: var(--white);
  font-family: var(--body); font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em;
  border: none; cursor: pointer; transition: all 0.3s;
}
.vt-cta-btn:hover { background: var(--terracotta-dark); transform: translateY(-2px); box-shadow: 0 4px 20px rgba(196,90,60,0.3); }

/* ─── ABOUT ─── */
.vt-about { max-width: 1200px; margin: 0 auto; padding: 0 2rem 5rem; }
.vt-about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.vt-about-text h2 { font-family: var(--display); font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 400; line-height: 1.15; margin-bottom: 1.5rem; }
.vt-about-text h2 em { font-style: italic; color: var(--terracotta); }
.vt-about-text p { font-size: 0.9rem; color: var(--ink-light); line-height: 1.8; margin-bottom: 1rem; }
.vt-about-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.vt-fact { padding: 1.5rem; background: var(--parchment-deep); border-left: 3px solid var(--terracotta); }
.vt-fact-value { font-family: var(--display); font-size: 2rem; font-weight: 700; color: var(--terracotta); line-height: 1; margin-bottom: 0.3rem; }
.vt-fact-label { font-size: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-faded); }

/* ─── COUNTRY HERO ─── */
.country-hero {
  position: relative; min-height: 55vh;
  display: flex; align-items: flex-end; overflow: hidden;
}
.country-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.country-hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(43,36,32,0.7) 0%, rgba(43,36,32,0.2) 50%, transparent 100%);
}
.country-hero-content {
  position: relative; z-index: 2; color: var(--parchment);
  max-width: 1200px; margin: 0 auto; width: 100%; padding: 4rem 2rem;
}
.breadcrumb {
  font-size: 0.75rem; font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.1em; opacity: 0.6; margin-bottom: 1.5rem;
}
.breadcrumb a { opacity: 0.8; transition: opacity 0.3s; color: var(--parchment); }
.breadcrumb a:hover { opacity: 1; }
.country-hero h1 {
  font-family: var(--display); font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 400; line-height: 1.05; margin-bottom: 0.5rem;
}
.country-hero h1 em { font-style: italic; color: var(--terracotta-light); }
.country-hero .subtitle { font-family: var(--hand); font-size: 1.5rem; color: var(--gold-light); }

/* ─── ARTICLE LAYOUT ─── */
.article-layout {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 300px;
  gap: 4rem; padding: 4rem 2rem;
}
.article-content {
  font-size: 1rem; color: var(--ink-light); line-height: 1.8;
}
.article-content h1 { font-family: var(--display); font-size: 2rem; font-weight: 600; color: var(--ink); margin-bottom: 1.5rem; }
.article-content h2 { font-family: var(--display); font-size: 1.5rem; font-weight: 600; color: var(--ink); margin: 2.5rem 0 1rem; padding-top: 1.5rem; border-top: 2px solid var(--ink); }
.article-content h3 { font-family: var(--display); font-size: 1.2rem; font-weight: 600; color: var(--ink); margin: 2rem 0 0.75rem; }
.article-content p { margin-bottom: 1rem; }
.article-content ul, .article-content ol { margin-bottom: 1rem; padding-left: 1.5rem; }
.article-content li { margin-bottom: 0.5rem; }
.article-content a:not(.cta-button) { color: var(--terracotta); text-decoration: underline; text-decoration-color: rgba(196,90,60,0.3); text-underline-offset: 2px; }
.article-content a:not(.cta-button):hover { text-decoration-color: var(--terracotta); }
.article-content table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.9rem; }
.article-content th { text-align: left; padding: 0.75rem 1rem; background: var(--parchment-deep); border-bottom: 2px solid var(--parchment-dark); font-weight: 600; color: var(--ink); }
.article-content td { padding: 0.75rem 1rem; border-bottom: 1px dotted var(--parchment-dark); }
.article-content blockquote { border-left: 3px solid var(--terracotta); padding: 1rem 1.5rem; margin: 1.5rem 0; background: var(--parchment-deep); font-style: italic; }

/* ─── SIDEBAR ─── */
.sidebar { position: sticky; top: 100px; }
.sidebar-card {
  background: var(--white); border: 1px solid var(--parchment-dark);
  padding: 1.5rem; margin-bottom: 1.5rem; position: relative;
}
.sidebar-card::before { content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 100%; background: var(--terracotta); }
.sidebar-card h3 {
  font-family: var(--display); font-size: 0.9rem; font-weight: 700;
  margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 1px dotted var(--parchment-dark);
}
.guide-link {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.5rem 0; font-size: 0.8rem; color: var(--ink-light); transition: color 0.3s;
}
.guide-link:hover { color: var(--terracotta); }
.guide-link-arrow { font-size: 0.7rem; opacity: 0; transition: all 0.3s; }
.guide-link:hover .guide-link-arrow { opacity: 1; }

/* ─── FOOTER ─── */
.site-footer {
  background: var(--ink); color: var(--parchment); padding: 4rem 2rem 1.5rem; position: relative;
}
.site-footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: repeating-linear-gradient(90deg, var(--terracotta) 0, var(--terracotta) 20px, transparent 20px, transparent 24px);
}
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand { font-family: var(--display); font-size: 1.4rem; font-weight: 700; margin-bottom: 0.8rem; }
.footer-brand-tag { font-family: var(--hand); font-size: 0.9rem; color: var(--terracotta-light); margin-bottom: 1rem; }
.footer-desc { font-size: 0.8rem; color: rgba(245,240,232,0.5); line-height: 1.7; }
.site-footer h4 { font-family: var(--display); font-size: 0.9rem; font-weight: 600; margin-bottom: 1.2rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { font-size: 0.8rem; color: rgba(245,240,232,0.5); transition: color 0.3s; }
.footer-links a:hover { color: var(--terracotta-light); }
.footer-bottom {
  max-width: 1200px; margin: 0 auto; padding-top: 1.5rem;
  border-top: 1px solid rgba(245,240,232,0.08);
  font-size: 0.7rem; color: rgba(245,240,232,0.3);
  display: flex; justify-content: space-between;
}

/* ─── ARTICLE SIMPLE (single column) ─── */
.article-wrap {
  max-width: 800px; margin: 0 auto; padding: 4rem 2rem;
}
.article-wrap h1 {
  font-family: var(--display); font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400; margin-bottom: 2rem; line-height: 1.15;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .vt-postcards { grid-template-columns: 1fr; gap: 2rem; }
  .vt-tips-grid { grid-template-columns: 1fr; }
  .vt-about-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}
@media (max-width: 640px) {
  .header-top { padding: 0.8rem 1rem; gap: 1rem; }
  .logo-text { font-size: 1.4rem; }
  .site-nav { flex-wrap: wrap; }
  .site-nav a { padding: 0.5rem 1rem; font-size: 0.65rem; flex: 1; text-align: center; }
  .hero { min-height: 70vh; }
  .hero h1 { font-size: 2.5rem; }
  .hero-countries { flex-direction: column; }
  .vt-dest, .vt-cta, .vt-about { padding-left: 1.5rem; padding-right: 1.5rem; }
  .vt-cta-inner { padding: 2.5rem 1.5rem; }
  .vt-about-facts { grid-template-columns: 1fr; }
  .country-hero-content { padding: 3rem 1.5rem; }
  .article-layout { padding: 3rem 1.5rem; }
  .site-footer { padding: 3rem 1.5rem 1rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.3rem; }
}

/* ─── ANIMATIONS ─── */
@keyframes vt-rise { from { opacity: 0; transform: translateY(25px); } to { opacity: 1; transform: translateY(0); } }
.hero-content > * { animation: vt-rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) both; }
.hero-badge { animation-delay: 0.05s; }
.hero h1 { animation-delay: 0.15s; }
.hero-hand { animation-delay: 0.3s; }
.hero-desc { animation-delay: 0.4s; }
.hero-countries { animation-delay: 0.55s; }
.country-hero-content > * { animation: vt-rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) both; }
.country-hero .breadcrumb { animation-delay: 0.1s; }
.country-hero h1 { animation-delay: 0.2s; }
.country-hero .subtitle { animation-delay: 0.35s; }
