/* try2travel-life — per-site styles (atlas design)
   Amber/cream palette, Cormorant Garamond + Outfit. */

/* ─── LOCAL VARIABLES ─── */
:root {
  --amber: #b45309;
  --amber-light: #d97706;
  --amber-pale: #fef3c7;
  --amber-faint: #fffbeb;
  --cream: #faf8f3;
  --cream-deep: #f3efe6;
  --ink: #1c1917;
  --ink-soft: #44403c;
  --ink-muted: #a8a29e;
  --border: #e7e1d6;
  --border-light: #f0ebe0;
  --white: #ffffff;
  --serif: "Cormorant Garamond", "Georgia", serif;
  --sans: "Outfit", "Helvetica Neue", sans-serif;
}

html { font-size: 16px; }
body {
  font-family: var(--sans); background: var(--cream); color: var(--ink);
  line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

/* ─── HEADER ─── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 248, 243, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1240px; margin: 0 auto;
  padding: 0.75rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
}
.site-logo {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--serif); font-size: 1.4rem; font-weight: 700;
  color: var(--ink); text-decoration: none;
}
.site-logo:hover { color: var(--amber); }
.logo-icon {
  height: 32px; width: 32px;
  object-fit: contain; border-radius: 4px;
}
.logo-compass {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  background: var(--amber); color: #fff;
  font-size: 0.85rem; font-weight: 700; border-radius: 4px;
}

/* ─── NAV ─── */
.site-nav {
  display: flex; align-items: center; gap: 1.5rem;
}
.site-nav a {
  font-size: 0.85rem; font-weight: 500; color: var(--ink-soft);
  transition: color 0.3s;
}
.site-nav a:hover { color: var(--amber); }

/* ─── DROPDOWN ─── */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
  font-size: 0.85rem; font-weight: 500; color: var(--ink-soft); cursor: pointer;
  transition: color 0.3s;
}
.nav-dropdown-trigger:hover { color: var(--amber); }
.nav-dropdown-panel {
  display: none; position: absolute; top: 100%; left: -1rem;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 8px; padding: 1.5rem; min-width: 600px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08); z-index: 200; gap: 2rem;
}
.nav-dropdown:hover .nav-dropdown-panel { display: flex; }
.nav-dropdown-panel > div { flex: 1; }
.nav-dropdown-heading {
  display: block; font-weight: 600; font-size: 0.85rem; color: var(--ink);
  margin-top: 1rem; padding-bottom: 0.25rem; border-bottom: 1px solid var(--border);
}
.nav-dropdown-heading:first-child { margin-top: 0; }
.nav-dropdown-heading span {
  font-weight: 400; font-size: 0.75rem; color: var(--ink-muted); margin-left: 0.5rem;
}
.nav-dropdown-links { display: flex; flex-direction: column; }
.nav-dropdown-links a {
  font-size: 0.78rem; color: var(--ink-muted); padding: 0.15rem 0;
}
.nav-dropdown-links a:hover { color: var(--amber); }

/* ─── HERO ─── */
.hero {
  position: relative; overflow: hidden; background: var(--ink);
}
.hero-image-wrap {
  position: relative; min-height: 85vh;
  display: flex; align-items: center; justify-content: center;
}
.hero-image-wrap > img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.hero-image-wrap::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(28,25,23,0.45) 0%, rgba(28,25,23,0.75) 100%);
}
.hero-content {
  position: relative; z-index: 2; text-align: center;
  max-width: 800px; padding: 4rem 2rem; color: var(--white);
}
.hero-tag {
  display: inline-block; border: 1px solid rgba(255,255,255,0.25);
  padding: 0.4rem 1.5rem; font-size: 0.65rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--amber-pale); margin-bottom: 2rem;
}
.hero h1 {
  font-family: var(--serif); font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 400; line-height: 1.05; letter-spacing: -0.01em; margin-bottom: 0.5rem;
}
.hero h1 em { font-style: italic; color: var(--amber-light); }
.hero-subtitle {
  font-size: 1rem; font-weight: 300; color: rgba(255,255,255,0.7);
  max-width: 520px; margin: 0 auto 2.5rem; line-height: 1.7;
}
.hero-stats-bar {
  display: flex; justify-content: center; gap: 3rem;
  padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.15);
}
.stat { text-align: center; }
.stat-number {
  display: block; font-family: var(--serif); font-size: 2rem;
  font-weight: 700; color: var(--amber-light); line-height: 1;
}
.stat-label {
  font-size: 0.7rem; font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.1em; color: rgba(255,255,255,0.5); margin-top: 0.3rem;
}

/* ─── REGIONS (homepage) ─── */
.regions {
  max-width: 1240px; margin: 0 auto; padding: 5rem 2rem;
}
.regions-header {
  display: flex; align-items: baseline; gap: 1rem; margin-bottom: 0.5rem;
}
.regions-number {
  font-family: var(--serif); font-size: 1rem; color: var(--ink-muted);
  font-style: italic;
}
.regions-title {
  font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem); font-weight: 400;
}
.regions-intro {
  font-size: 0.95rem; color: var(--ink-soft); max-width: 600px;
  margin-bottom: 3rem; line-height: 1.7;
}
.region-block { margin-bottom: 2.5rem; }
.region-label {
  font-family: var(--serif); font-size: 1.2rem; font-weight: 600;
  margin-bottom: 1rem; padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--ink);
}
.region-label span {
  font-weight: 400; font-size: 0.8rem; color: var(--ink-muted); margin-left: 0.5rem;
}
.country-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
}
.country-card {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.2rem;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 6px; transition: all 0.3s;
}
.country-card:hover {
  border-color: var(--amber); background: var(--amber-faint);
  transform: translateY(-1px); box-shadow: 0 2px 8px rgba(180,83,9,0.08);
}
.country-name { font-weight: 600; font-size: 0.9rem; flex: 1; }
.country-meta {
  font-size: 0.7rem; color: var(--ink-muted); white-space: nowrap;
}
.country-arrow {
  font-size: 0.85rem; color: var(--ink-muted); transition: transform 0.3s;
}
.country-card:hover .country-arrow { transform: translateX(3px); color: var(--amber); }

/* ─── COVERAGE ─── */
.coverage {
  background: var(--ink); color: var(--white); padding: 5rem 2rem;
}
.coverage-inner { max-width: 1240px; margin: 0 auto; }
.coverage-header { text-align: center; margin-bottom: 3rem; }
.coverage-title {
  font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400; margin-bottom: 0.5rem;
}
.coverage-sub {
  font-size: 0.9rem; color: rgba(255,255,255,0.5); max-width: 500px; margin: 0 auto;
}
.coverage-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}
.coverage-item {
  padding: 2rem; background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08); border-radius: 8px;
  transition: all 0.3s;
}
.coverage-item:hover {
  background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}
.coverage-item-icon {
  width: 40px; height: 40px; border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 1rem; font-weight: 700;
  color: var(--amber-light); margin-bottom: 1.2rem;
}
.coverage-item h3 {
  font-family: var(--serif); font-size: 1.1rem; font-weight: 600;
  margin-bottom: 0.5rem;
}
.coverage-item p {
  font-size: 0.8rem; color: rgba(255,255,255,0.5); line-height: 1.6;
}

/* ─── WHY ─── */
.why {
  max-width: 1240px; margin: 0 auto; padding: 5rem 2rem;
}
.why-grid {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 4rem;
  align-items: start;
}
.why-content h2 {
  font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400; margin-bottom: 2rem;
}
.why-point { margin-bottom: 1.5rem; }
.why-point h4 {
  font-size: 0.95rem; font-weight: 600; margin-bottom: 0.3rem;
}
.why-point p {
  font-size: 0.85rem; color: var(--ink-soft); line-height: 1.7;
}
.why-cta {
  background: var(--cream-deep); border-left: 3px solid var(--amber);
  padding: 2rem; border-radius: 0 8px 8px 0;
}
.why-cta h3 {
  font-family: var(--serif); font-size: 1.3rem; font-weight: 600;
  margin-bottom: 0.5rem;
}
.why-cta > p {
  font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 1.5rem;
}
.cta-links a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.6rem 0; font-size: 0.85rem; font-weight: 500;
  color: var(--ink); border-bottom: 1px dotted var(--border);
  transition: color 0.3s;
}
.cta-links a:hover { color: var(--amber); }
.cta-links a span { font-size: 0.8rem; transition: transform 0.3s; }
.cta-links a:hover span { transform: translateX(3px); }

/* ─── COUNTRY HERO ─── */
.country-hero {
  position: relative; min-height: 55vh;
  display: flex; align-items: flex-end; overflow: hidden;
}
.country-hero--compact { min-height: 35vh; }
.country-hero > img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.country-hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,25,23,0.7) 0%, rgba(28,25,23,0.2) 50%, transparent 100%);
}
.country-hero-content {
  position: relative; z-index: 2; color: var(--white);
  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(--white); }
.breadcrumb a:hover { opacity: 1; }
.country-hero h1 {
  font-family: var(--serif); font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 400; line-height: 1.05;
}
.country-hero h1 em { font-style: italic; color: var(--amber-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-soft); line-height: 1.8;
}
.article-content h1 { font-family: var(--serif); font-size: 2rem; font-weight: 600; color: var(--ink); margin-bottom: 1.5rem; }
.article-content h2 { font-family: var(--serif); 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(--serif); 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(--amber); text-decoration: underline; text-decoration-color: rgba(180,83,9,0.3); text-underline-offset: 2px; }
.article-content a:not(.cta-button):hover { text-decoration-color: var(--amber); }
.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(--cream-deep); border-bottom: 2px solid var(--border); font-weight: 600; color: var(--ink); }
.article-content td { padding: 0.75rem 1rem; border-bottom: 1px dotted var(--border); }
.article-content blockquote { border-left: 3px solid var(--amber); padding: 1rem 1.5rem; margin: 1.5rem 0; background: var(--cream-deep); font-style: italic; }

/* ─── SIDEBAR ─── */
.sidebar { position: sticky; top: 100px; }
.sidebar-card {
  background: var(--white); border: 1px solid var(--border);
  padding: 1.5rem; border-radius: 8px; position: relative;
}
.sidebar-card::before { content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 100%; background: var(--amber); border-radius: 3px 0 0 3px; }
.sidebar-card h3 {
  font-family: var(--serif); font-size: 0.95rem; font-weight: 700;
  margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 1px dotted var(--border);
}
.guide-links { display: flex; flex-direction: column; }
.guide-link {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.5rem 0; font-size: 0.8rem; color: var(--ink-soft); transition: color 0.3s;
}
.guide-link:hover { color: var(--amber); }
.guide-link.active { color: var(--amber); font-weight: 600; }
.guide-link span { font-size: 0.7rem; opacity: 0; transition: all 0.3s; }
.guide-link:hover span { opacity: 1; }

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

/* ─── FOOTER ─── */
.site-footer {
  background: var(--ink); color: rgba(255,255,255,0.6);
  padding: 4rem 2rem 1.5rem; position: relative;
}
.site-footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--amber);
}
.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(--serif); font-size: 1.4rem; font-weight: 700;
  color: var(--white); margin-bottom: 0.8rem;
}
.footer-desc {
  font-size: 0.8rem; color: rgba(255,255,255,0.4); line-height: 1.7;
}
.footer-heading {
  font-family: var(--serif); font-size: 0.9rem; font-weight: 600;
  color: var(--white); 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(255,255,255,0.4); transition: color 0.3s; }
.footer-links a:hover { color: var(--amber-light); }
.footer-bottom {
  max-width: 1200px; margin: 0 auto; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.7rem; color: rgba(255,255,255,0.3);
}

/* ─── CTA BLOCKS (from content) ─── */
.cta-block { margin: 2rem 0; }
.cta-button {
  display: inline-block; padding: 0.85rem 2rem;
  background: var(--amber); color: var(--white);
  font-weight: 600; font-size: 0.85rem; border-radius: 6px;
  transition: all 0.3s;
}
.cta-button:hover { background: var(--amber-light); transform: translateY(-1px); }
.cta-banner {
  padding: 1.5rem 2rem; background: var(--amber-faint);
  border: 1px solid var(--amber-pale); border-radius: 8px; text-align: center;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .why-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .nav-dropdown-panel { min-width: 400px; }
}
@media (max-width: 640px) {
  .header-inner { padding: 0.75rem 1.5rem; }
  .site-nav { gap: 1rem; }
  .site-nav a, .nav-dropdown-trigger { font-size: 0.78rem; }
  .hero-image-wrap { min-height: 70vh; }
  .hero h1 { font-size: 2.5rem; }
  .hero-stats-bar { gap: 1.5rem; }
  .regions { padding: 3rem 1.5rem; }
  .country-grid { grid-template-columns: 1fr; }
  .coverage { padding: 3rem 1.5rem; }
  .coverage-grid { grid-template-columns: 1fr; }
  .why { padding: 3rem 1.5rem; }
  .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; }
  .nav-dropdown-panel { min-width: 280px; left: -2rem; }
}

/* ─── ANIMATIONS ─── */
@keyframes rise { from { opacity: 0; transform: translateY(25px); } to { opacity: 1; transform: translateY(0); } }
.hero-content > * { animation: rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) both; }
.hero-tag { animation-delay: 0.05s; }
.hero h1 { animation-delay: 0.15s; }
.hero-subtitle { animation-delay: 0.3s; }
.hero-stats-bar { animation-delay: 0.45s; }
.country-hero-content > * { animation: 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; }
