/* Thailand Tour Guide - CTG Style Architecture */
:root {
  --bg: #faf9f6;
  --surface: #ffffff;
  --text: #1c1c1c;
  --muted: #5a5a5a;
  --border: #e2dfd7;
  --accent: #c82333;       /* Thailand Post / Crimson accent */
  --accent-dark: #9e1b28;
  --accent-soft: #fdf2f3;
  --tag-bg: #f0ede6;
  --max-w: 980px;
  --radius: 10px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Header & Navigation */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.brand {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand span {
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  font-size: 0.9rem;
}

.nav-links a {
  color: var(--text);
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
  text-decoration: none;
}

/* Main Container */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

/* Hero */
.hero {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  margin-bottom: 2rem;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.hero p {
  margin: 0;
  color: var(--muted);
  max-width: 65ch;
  font-size: 1.05rem;
}

/* Start Here Spotlight Box */
.start-here {
  background: var(--accent-soft);
  border: 1px solid #f2c6cb;
  border-left: 5px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  margin-bottom: 2.25rem;
}

.start-here-label {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.start-here h2 {
  margin: 0 0 0.45rem;
  font-size: 1.3rem;
}

.start-here p {
  margin: 0 0 0.9rem;
  color: var(--text);
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.55rem 1.1rem;
  border-radius: 6px;
}

.btn:hover {
  background: var(--accent-dark);
  text-decoration: none;
}

/* 01-06 Pillar Grid */
.section-title {
  font-size: 1.25rem;
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.1rem;
}

.pillar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.pillar-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.pillar-num {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin-bottom: 0.3rem;
}

.pillar-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.18rem;
}

.pillar-card h3 a {
  color: var(--text);
}

.pillar-card h3 a:hover {
  color: var(--accent);
  text-decoration: none;
}

.pillar-card p {
  margin: 0 0 1rem;
  font-size: 0.94rem;
  color: var(--muted);
}

.pillar-status {
  font-size: 0.78rem;
  font-weight: 600;
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  background: var(--tag-bg);
  color: var(--muted);
  align-self: flex-start;
}

.pillar-status.live {
  background: #e6f4ea;
  color: #1e6e38;
}

/* Article / Guide Page Styling */
.breadcrumb {
  font-size: 0.86rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.article-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
}

.article-box h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  line-height: 1.25;
}

.lead {
  font-size: 1.08rem;
  color: var(--muted);
  margin: 0 0 1.5rem;
}

/* Quick Facts Strip */
.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.85rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.1rem;
  margin-bottom: 1.75rem;
}

.fact-item strong {
  display: block;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.fact-item span {
  font-weight: 600;
  font-size: 0.96rem;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.75rem;
  font-size: 0.95rem;
}

th, td {
  text-align: left;
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--border);
}

th {
  background: var(--bg);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Photo Slots */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.photo-slot {
  border: 1px dashed #bfb9ac;
  background: var(--bg);
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  font-size: 0.86rem;
  color: var(--muted);
}

.photo-slot img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
  margin: 0 auto 0.5rem;
}

.tip-box {
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  padding: 1rem 1.2rem;
  border-radius: 6px;
  margin: 1.5rem 0;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.75rem 1.25rem;
  text-align: center;
  font-size: 0.86rem;
  color: var(--muted);
}
