/* ── Reset & Custom Properties ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:           #fafaf8;
  --bg-alt:       #f4f1ec;
  --bg-dark:      #1a1a2e;
  --bg-dark2:     #16213e;
  --accent:       #e8622a;
  --accent-dark:  #c44d1e;
  --accent-green: #2d6a4f;
  --text:         #1c1917;
  --text-muted:   #78716c;
  --border:       #e7e2da;
  --radius:       12px;
  --radius-sm:    8px;
  --shadow:       0 1px 4px rgba(0,0,0,.07);
  --shadow-md:    0 6px 24px rgba(0,0,0,.10);
  --shadow-lg:    0 16px 48px rgba(0,0,0,.14);
  --max-w:        1200px;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--text); background: var(--bg); line-height: 1.65; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── Google Fonts loader (in head.php) ── */

/* ── Layout ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: var(--bg-dark);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 1rem 0;
}
.header-inner {
  display: flex; align-items: center; gap: 2rem;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.35rem; font-weight: 700;
  color: #fff; letter-spacing: -.3px; flex-shrink: 0;
  display: flex; align-items: center; gap: .5rem;
}
.logo .logo-accent { color: var(--accent); }
.logo .logo-icon { font-size: 1.1rem; }

.main-nav { display: flex; gap: 1.75rem; flex: 1; }
.main-nav a {
  color: rgba(255,255,255,.65); font-size: .88rem;
  font-weight: 500; letter-spacing: .01em;
  transition: color .15s;
}
.main-nav a:hover { color: #fff; }

.header-cta {
  margin-left: auto;
  background: var(--accent); color: #fff;
  font-size: .82rem; font-weight: 600;
  padding: .45rem 1rem; border-radius: 20px;
  transition: background .15s;
}
.header-cta:hover { background: var(--accent-dark); }

@media (max-width: 700px) {
  .main-nav { display: none; }
  .logo { font-size: 1.15rem; }
}

/* ── Homepage Hero ── */
.hero {
  background: var(--bg-dark);
  min-height: 540px;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('https://images.unsplash.com/photo-1499856871958-5b9627545d1a?w=1600&q=75');
  background-size: cover; background-position: center 40%;
  opacity: .25;
}
.hero-content {
  position: relative; z-index: 1;
  padding: 5rem 0 4rem;
  text-align: center; color: #fff;
}
.hero-label {
  display: inline-block;
  font-size: .75rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 1rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 700; line-height: 1.15;
  letter-spacing: -.5px; margin-bottom: 1.25rem;
}
.hero h1 em { font-style: italic; color: var(--accent); }
.hero p {
  font-size: 1.15rem; color: rgba(255,255,255,.7);
  max-width: 540px; margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.hero-search {
  display: flex; gap: .75rem; max-width: 480px;
  margin: 0 auto; position: relative;
}
.hero-search input {
  flex: 1; padding: .9rem 1.25rem;
  border: none; border-radius: var(--radius);
  font-size: 1rem; font-family: var(--font-body);
  background: rgba(255,255,255,.95);
  color: var(--text);
  outline: none;
}
.hero-search input::placeholder { color: var(--text-muted); }
.hero-search button {
  padding: .9rem 1.5rem;
  background: var(--accent); color: #fff;
  border: none; border-radius: var(--radius);
  font-weight: 600; font-size: .95rem;
  cursor: pointer; transition: background .15s;
}
.hero-search button:hover { background: var(--accent-dark); }

/* ── Continent nav ── */
.continent-nav {
  background: var(--bg-dark2);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: .75rem 0;
  position: sticky; top: 62px; z-index: 100;
}
.continent-nav .container {
  display: flex; gap: .5rem; overflow-x: auto;
  scrollbar-width: none;
}
.continent-nav .container::-webkit-scrollbar { display: none; }
.cont-btn {
  white-space: nowrap;
  padding: .4rem 1rem; border-radius: 20px;
  font-size: .82rem; font-weight: 600;
  color: rgba(255,255,255,.55);
  border: 1px solid rgba(255,255,255,.1);
  background: transparent;
  cursor: pointer; transition: all .15s;
  text-decoration: none; display: inline-block;
}
.cont-btn:hover, .cont-btn.active {
  color: #fff;
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.2);
}

/* ── Section ── */
.section { padding: 4rem 0; }
.section--alt { background: var(--bg-alt); }

.section-header {
  display: flex; align-items: baseline; gap: 1rem;
  margin-bottom: 2rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: 1.75rem; font-weight: 700;
  letter-spacing: -.3px; color: var(--text);
}
.section-link {
  margin-left: auto; font-size: .875rem;
  font-weight: 600; color: var(--accent);
}
.section-link:hover { text-decoration: underline; }

/* ── City cards grid ── */
.city-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) { .city-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .city-grid { grid-template-columns: 1fr; } }

.city-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  transition: transform .2s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.city-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.city-card__img {
  height: 200px;
  background-size: cover; background-position: center;
  position: relative;
}
.city-card__continent {
  position: absolute; top: .75rem; left: .75rem;
  background: rgba(26,26,46,.75); backdrop-filter: blur(4px);
  color: rgba(255,255,255,.9); font-size: .72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em;
  padding: .25rem .6rem; border-radius: 4px;
}
.city-card__body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.city-card__country {
  font-size: .78rem; color: var(--text-muted);
  margin-bottom: .35rem; display: flex; align-items: center; gap: .35rem;
}
.city-card__body h3 {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 700;
  margin-bottom: .5rem; line-height: 1.25;
}
.city-card__body p {
  font-size: .875rem; color: var(--text-muted);
  line-height: 1.6; flex: 1; margin-bottom: 1rem;
  display: -webkit-box; -webkit-line-clamp: 3;
  -webkit-box-orient: vertical; overflow: hidden;
}
.city-card__footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: .9rem; border-top: 1px solid var(--border);
}
.city-card__days {
  font-size: .78rem; font-weight: 600;
  color: var(--accent); display: flex; align-items: center; gap: .3rem;
}
.city-card__arrow {
  font-size: .875rem; color: var(--text-muted);
  transition: transform .15s, color .15s;
}
.city-card:hover .city-card__arrow { transform: translateX(4px); color: var(--accent); }

/* ── City page hero ── */
.city-hero {
  height: clamp(380px, 55vw, 560px);
  position: relative;
}
.city-hero__img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.city-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(26,26,46,.92) 0%,
    rgba(26,26,46,.55) 50%,
    rgba(26,26,46,.2) 100%
  );
  display: flex; align-items: flex-end;
}
.city-hero__content {
  padding-bottom: 2.5rem; color: #fff;
}
.city-hero__flag {
  font-size: 1.75rem; margin-bottom: .5rem; display: block;
}
.city-hero__breadcrumb {
  font-size: .8rem; color: rgba(255,255,255,.55);
  margin-bottom: .6rem; display: flex; gap: .4rem; align-items: center;
}
.city-hero__breadcrumb a { color: rgba(255,255,255,.55); }
.city-hero__breadcrumb a:hover { color: rgba(255,255,255,.9); }
.city-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700; line-height: 1.1;
  margin-bottom: .6rem; letter-spacing: -.3px;
}
.city-hero__meta {
  font-size: .9rem; color: rgba(255,255,255,.65);
  display: flex; gap: 1.25rem; align-items: center;
}
.city-hero__meta span { display: flex; align-items: center; gap: .3rem; }

/* ── City page layout ── */
.city-body { padding: 3rem 0 5rem; }
.city-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem; align-items: start;
}
@media (max-width: 960px) { .city-layout { grid-template-columns: 1fr; } }

/* ── Intro ── */
.city-intro {
  font-size: 1.1rem; line-height: 1.85;
  color: #374151; margin-bottom: 2.5rem;
  padding-bottom: 2.5rem; border-bottom: 1px solid var(--border);
}

/* ── 3-day tabs ── */
.day-tabs {
  display: flex; gap: 0; margin-bottom: 2rem;
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden;
}
.day-tab {
  flex: 1; padding: .85rem 1rem;
  background: #fff; color: var(--text-muted);
  font-size: .875rem; font-weight: 600;
  text-align: center; cursor: pointer;
  border: none; border-right: 1px solid var(--border);
  transition: all .15s; font-family: var(--font-body);
}
.day-tab:last-child { border-right: none; }
.day-tab.active {
  background: var(--bg-dark); color: #fff;
}
.day-tab:hover:not(.active) { background: var(--bg-alt); color: var(--text); }

/* ── Day content ── */
.day-panel { display: none; }
.day-panel.active { display: block; }

.day-title {
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 700;
  margin-bottom: 1.5rem; color: var(--text);
}

/* ── Activity timeline ── */
.timeline { display: flex; flex-direction: column; gap: 0; }

.activity {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.activity:last-child { border-bottom: none; }

.activity__time {
  font-size: .78rem; font-weight: 700;
  color: var(--accent); text-align: right;
  padding-top: .2rem; letter-spacing: .02em;
}

.activity__content { }

.activity__icon-name {
  display: flex; align-items: center; gap: .5rem;
  margin-bottom: .35rem;
}
.activity__icon { font-size: 1.1rem; flex-shrink: 0; }
.activity__name {
  font-size: 1rem; font-weight: 700; color: var(--text);
}

.activity__desc {
  font-size: .9rem; line-height: 1.65; color: #4b5563;
  margin-bottom: .6rem;
}

.activity__meta {
  display: flex; gap: .75rem; flex-wrap: wrap;
}
.activity__badge {
  display: inline-flex; align-items: center; gap: .25rem;
  font-size: .75rem; color: var(--text-muted);
  background: var(--bg-alt); padding: .2rem .55rem;
  border-radius: 4px; border: 1px solid var(--border);
}

.activity__tip {
  margin-top: .6rem;
  font-size: .82rem; color: var(--accent-green);
  background: #f0fdf4; border-left: 3px solid var(--accent-green);
  padding: .5rem .75rem; border-radius: 0 4px 4px 0;
  line-height: 1.55;
}
.activity__tip::before { content: '💡 '; }

.activity__gyg-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  margin-top: .75rem;
  background: #ff6633; color: #fff;
  font-size: .8rem; font-weight: 600;
  padding: .4rem .85rem; border-radius: 6px;
  transition: filter .15s;
}
.activity__gyg-btn:hover { filter: brightness(1.1); }

/* ── Ad slot ── */
.ad-slot {
  background: var(--bg-alt); border: 1px dashed var(--border);
  border-radius: var(--radius); padding: 1.5rem;
  text-align: center; color: var(--text-muted);
  font-size: .82rem; margin: 2rem 0;
}
.ad-slot--label { font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: .5rem; }

/* ── Sidebar ── */
.sidebar { position: sticky; top: 80px; }

/* Hotel box */
.hotel-box {
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; margin-bottom: 1.5rem;
  background: #fff;
}
.hotel-box__header {
  background: var(--bg-dark); color: #fff;
  padding: 1rem 1.25rem;
}
.hotel-box__header h3 {
  font-size: .85rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em;
  color: var(--accent); margin-bottom: .2rem;
}
.hotel-box__header .hotel-name {
  font-size: 1.05rem; font-weight: 700; color: #fff;
  display: flex; align-items: center; gap: .5rem;
}
.hotel-stars { color: #fbbf24; font-size: .85rem; }
.hotel-box__body { padding: 1.25rem; }
.hotel-neighborhood {
  display: inline-block; font-size: .75rem; font-weight: 600;
  color: var(--accent); background: #fff4ef;
  padding: .2rem .55rem; border-radius: 4px; margin-bottom: .75rem;
}
.hotel-box__body p { font-size: .88rem; color: #4b5563; line-height: 1.6; margin-bottom: 1rem; }
.hotel-price {
  font-size: .82rem; color: var(--text-muted); margin-bottom: 1rem;
}
.hotel-price strong { color: var(--text); font-size: 1rem; }
.btn-booking {
  display: flex; align-items: center; justify-content: center; gap: .4rem;
  width: 100%; padding: .8rem;
  background: #003580; color: #fff;
  border-radius: var(--radius-sm); font-weight: 600;
  font-size: .9rem; transition: background .15s;
}
.btn-booking:hover { background: #00246b; }

/* GYG sidebar widget */
.gyg-box {
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; background: #fff; margin-bottom: 1.5rem;
}
.gyg-box__header {
  background: #ff6633; color: #fff;
  padding: .85rem 1.25rem;
  font-size: .85rem; font-weight: 700;
  display: flex; align-items: center; gap: .5rem;
}
.gyg-box__body { padding: 1.25rem; }
.gyg-box__body p { font-size: .875rem; color: var(--text-muted); margin-bottom: 1rem; }
.btn-gyg {
  display: flex; align-items: center; justify-content: center; gap: .4rem;
  width: 100%; padding: .75rem;
  background: #ff6633; color: #fff;
  border-radius: var(--radius-sm); font-weight: 600;
  font-size: .88rem; transition: filter .15s;
}
.btn-gyg:hover { filter: brightness(1.08); }

/* Practical info box */
.practical-box {
  border: 1px solid var(--border); border-radius: var(--radius);
  background: #fff; overflow: hidden;
}
.practical-box__header {
  background: var(--bg-alt); padding: .85rem 1.25rem;
  font-size: .85rem; font-weight: 700; border-bottom: 1px solid var(--border);
}
.practical-table { width: 100%; border-collapse: collapse; }
.practical-table tr { border-bottom: 1px solid var(--border); }
.practical-table tr:last-child { border-bottom: none; }
.practical-table td { padding: .65rem 1.25rem; font-size: .82rem; vertical-align: top; }
.practical-table td:first-child {
  width: 40%; font-weight: 600; color: var(--text-muted);
  background: var(--bg-alt); white-space: nowrap;
}

/* ── Breadcrumb ── */
.breadcrumb {
  background: var(--bg-alt); border-bottom: 1px solid var(--border);
  padding: .65rem 0; font-size: .8rem; color: var(--text-muted);
}
.breadcrumb .container { display: flex; gap: .4rem; align-items: center; }
.breadcrumb a { color: var(--accent); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { color: var(--border); }

/* ── Footer ── */
.site-footer {
  background: var(--bg-dark); color: rgba(255,255,255,.55);
  padding: 3.5rem 0 2rem; margin-top: 5rem;
}
.footer-inner {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem; margin-bottom: 2.5rem;
}
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-inner { grid-template-columns: 1fr; } }

.footer-brand .logo { font-size: 1.2rem; margin-bottom: .75rem; }
.footer-brand p { font-size: .83rem; line-height: 1.65; max-width: 220px; }
.footer-col h4 {
  font-size: .8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: rgba(255,255,255,.4);
  margin-bottom: 1rem;
}
.footer-col a {
  display: block; font-size: .83rem;
  color: rgba(255,255,255,.5); margin-bottom: .5rem;
  transition: color .15s;
}
.footer-col a:hover { color: rgba(255,255,255,.9); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: .75rem;
  font-size: .76rem;
}
.affiliate-notice {
  font-size: .75rem; max-width: 600px;
  color: rgba(255,255,255,.3); line-height: 1.55;
}

/* ── Utilities ── */
.hidden { display: none !important; }
.text-accent { color: var(--accent); }
.text-muted  { color: var(--text-muted); }

/* ── Route Map ── */
.map-section {
  margin: 2.5rem 0;
}
.map-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: .75rem;
  color: var(--text);
}
.map-legend {
  display: flex; gap: 1rem; margin-bottom: .75rem; flex-wrap: wrap;
}
.map-legend__item {
  display: flex; align-items: center; gap: .4rem;
  font-size: .82rem; font-weight: 600; color: var(--text-muted);
}
.map-legend__item::before {
  content: '';
  display: inline-block;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--c);
}
#city-map {
  height: 420px;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0,0,0,.1);
  border: 1px solid var(--border);
  z-index: 1;
}
@media (max-width: 600px) {
  #city-map { height: 300px; }
}

/* ── Audience badge (hero) ── */
.audience-badge {
  display: inline-block;
  background: var(--accent); color: #fff;
  font-size: .78rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; padding: .3rem .75rem;
  border-radius: 20px; margin-bottom: .75rem;
}

/* ── Audience nav (below hero) ── */
.audience-nav {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: .65rem 0;
}
.audience-nav .container {
  display: flex; align-items: center; gap: .5rem;
  overflow-x: auto; scrollbar-width: none; flex-wrap: wrap;
}
.audience-nav__label {
  font-size: .8rem; color: var(--text-muted);
  font-weight: 500; white-space: nowrap; margin-right: .25rem;
}
.aud-btn {
  white-space: nowrap; display: inline-block;
  padding: .35rem .85rem; border-radius: 20px;
  font-size: .82rem; font-weight: 600;
  color: var(--text-muted);
  border: 1px solid var(--border);
  background: #fff; text-decoration: none;
  transition: all .15s;
}
.aud-btn:hover { border-color: var(--accent); color: var(--accent); }
.aud-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }

/* Inline variant — inside main column between ad and day tabs */
.audience-nav--inline {
  background: none; border-bottom: none;
  padding: 0; margin: 1.5rem 0;
}
.audience-nav--inline .audience-nav__label {
  display: block; margin-bottom: .6rem;
}
.audience-nav--inline .audience-nav__btns {
  display: flex; flex-wrap: wrap; gap: .4rem;
}

/* ── Also-guides sidebar box ── */
.also-box {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; margin-bottom: 1.25rem;
}
.also-box__header {
  background: var(--bg-dark); color: #fff;
  font-weight: 700; font-size: .88rem;
  padding: .75rem 1rem;
}
.also-box__body { padding: .75rem; display: flex; flex-direction: column; gap: .3rem; }
.also-link {
  display: block; padding: .45rem .6rem; border-radius: 6px;
  font-size: .85rem; color: var(--text); text-decoration: none;
  transition: background .12s;
}
.also-link:hover { background: var(--bg-alt); }
.also-link--active {
  background: var(--accent); color: #fff; font-weight: 600;
}
.also-link--active:hover { background: var(--accent-dark); }

/* ── Country hero ── */
.country-hero {
  background: var(--bg-dark);
  padding: 3rem 0 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.country-hero__inner {
  display: flex; align-items: center; gap: 1.25rem;
}
.country-hero__flag {
  font-size: 3.5rem; line-height: 1;
}
.country-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700; color: #fff;
  letter-spacing: -.3px; margin-bottom: .25rem;
}
.country-hero__sub {
  color: rgba(255,255,255,.5);
  font-size: .9rem; font-weight: 500;
}

/* ── Country grid (continent page) ── */
.country-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}
.country-card {
  display: flex; flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
}
.country-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.country-card__img {
  height: 120px;
  background-size: cover; background-position: center;
}
.country-card__body {
  display: flex; align-items: center; gap: .75rem;
  padding: .85rem 1rem;
}
.country-card__flag { font-size: 1.6rem; line-height: 1; flex-shrink: 0; }
.country-card__info { flex: 1; min-width: 0; }
.country-card__info strong {
  display: block; font-size: .95rem; font-weight: 700;
  color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.country-card__info span {
  font-size: .75rem; color: var(--text-muted);
}
.country-card__arrow {
  color: var(--text-muted); font-size: .875rem;
  transition: transform .15s, color .15s;
}
.country-card:hover .country-card__arrow { transform: translateX(3px); color: var(--accent); }
