/* =====================================================================
   Where Will You Travel — site styles (layered on Bootstrap 5.3)
   Palette: deep navy + warm amber accent, lots of white space.
   ===================================================================== */

:root {
  --wwyt-navy: #14213d;
  --wwyt-navy-soft: #1f2f54;
  --wwyt-accent: #fca311;
  --wwyt-accent-dark: #e08e00;
  --wwyt-bg-soft: #f6f7fb;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", sans-serif;
  color: #1d2433;
}

a { color: var(--wwyt-navy-soft); }
a:hover { color: var(--wwyt-accent-dark); }

/* ---------- Navbar ---------- */
.site-navbar {
  background: var(--wwyt-navy);
}
.site-navbar .navbar-brand,
.site-navbar .nav-link,
.site-navbar .dropdown-toggle {
  color: #fff;
}
.site-navbar .nav-link:hover,
.site-navbar .nav-link:focus {
  color: var(--wwyt-accent);
}
.site-navbar .navbar-toggler {
  border-color: rgba(255, 255, 255, .35);
}
.site-navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.brand-icon { color: var(--wwyt-accent); font-size: 1.4rem; }
.brand-text { font-weight: 700; letter-spacing: .2px; }

/* ---------- Buttons ---------- */
.btn-accent {
  background: var(--wwyt-accent);
  border-color: var(--wwyt-accent);
  color: #14213d;
  font-weight: 600;
}
.btn-accent:hover, .btn-accent:focus {
  background: var(--wwyt-accent-dark);
  border-color: var(--wwyt-accent-dark);
  color: #fff;
}
.text-accent { color: var(--wwyt-accent-dark); }

/* ---------- Hero ---------- */
.hero-band {
  background:
    radial-gradient(1200px 400px at 85% -10%, rgba(252, 163, 17, .12), transparent),
    var(--wwyt-bg-soft);
}
.hero-img { height: 340px; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: auto 0 0 0;
  background: linear-gradient(transparent, rgba(10, 16, 32, .88));
}
.hero-card:hover .hero-img { transform: scale(1.02); }
.hero-img { transition: transform .35s ease; }

/* ---------- Sections ---------- */
.section-title {
  position: relative;
  padding-left: .75rem;
}
.section-title::before {
  content: "";
  position: absolute; left: 0; top: .18em; bottom: .18em;
  width: 4px; border-radius: 2px;
  background: var(--wwyt-accent);
}
.band-light { background: var(--wwyt-bg-soft); }

/* ---------- Cards ---------- */
.article-card .card-img-top { height: 190px; object-fit: cover; }
.article-card { transition: transform .2s ease, box-shadow .2s ease; }
.article-card:hover { transform: translateY(-3px); box-shadow: 0 .6rem 1.4rem rgba(20, 33, 61, .12) !important; }
.article-card .card-title a { color: inherit; text-decoration: none; }
.article-card .card-title a:hover { color: var(--wwyt-accent-dark); }
.card-img-wrap { display: block; overflow: hidden; }

.category-badge { background: var(--wwyt-navy); color: #fff; }
.tag-badge { background: var(--wwyt-bg-soft); color: var(--wwyt-navy); border: 1px solid #dfe3ee; }
.author-link { color: inherit; text-decoration: none; font-weight: 600; }
.author-link:hover { color: var(--wwyt-accent-dark); }

/* Destination tiles */
.dest-img { height: 220px; object-fit: cover; transition: transform .35s ease; }
.dest-card:hover .dest-img { transform: scale(1.05); }
.dest-overlay {
  position: absolute; inset: auto 0 0 0;
  background: linear-gradient(transparent, rgba(10, 16, 32, .85));
}

/* Airport cards + IATA chips */
.airport-card { transition: transform .2s ease, box-shadow .2s ease; }
.airport-card:hover { transform: translateY(-2px); box-shadow: 0 .5rem 1.2rem rgba(20, 33, 61, .12) !important; }
.iata-chip {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 56px; height: 56px; padding: 0 .4rem;
  background: var(--wwyt-navy); color: var(--wwyt-accent);
  font-weight: 800; letter-spacing: 1px; border-radius: .8rem;
  font-size: 1.05rem; flex-shrink: 0;
}
.iata-chip-lg { min-width: 84px; height: 84px; font-size: 1.6rem; background: rgba(255,255,255,.12); }
.iata-chip-sm { min-width: 40px; height: 40px; font-size: .8rem; border-radius: .55rem; }
.size-badge { text-transform: capitalize; }
.size-large { background: var(--wwyt-accent); color: #14213d; }
.size-medium { background: #dfe3ee; color: #1d2433; }
.size-small { background: #f0f1f5; color: #5a6275; }

.airport-header { background: linear-gradient(120deg, var(--wwyt-navy), var(--wwyt-navy-soft)); }

/* City hero */
.city-hero { height: 360px; overflow: hidden; }
.city-hero-img { width: 100%; height: 100%; object-fit: cover; }
.city-hero-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end;
  background: linear-gradient(transparent 30%, rgba(10, 16, 32, .85));
}

/* ---------- Article body ---------- */
.article-body { line-height: 1.75; }
.article-body h2 { margin-top: 2.2rem; margin-bottom: .8rem; font-weight: 700; }
.article-body h3 { margin-top: 1.8rem; margin-bottom: .6rem; font-weight: 650; }
.article-body img { max-width: 100%; height: auto; border-radius: .75rem; }
.article-body blockquote {
  border-left: 4px solid var(--wwyt-accent);
  background: var(--wwyt-bg-soft);
  padding: 1rem 1.25rem; border-radius: 0 .5rem .5rem 0;
  font-style: italic;
}
.article-body table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; }
.article-body th, .article-body td { border: 1px solid #e2e6f0; padding: .55rem .8rem; }
.article-body th { background: var(--wwyt-bg-soft); }
.article-body ul, .article-body ol { padding-left: 1.4rem; }
.article-body li { margin-bottom: .35rem; }

/* ---------- Popular list ---------- */
.popular-rank {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; flex-shrink: 0;
  background: var(--wwyt-bg-soft); color: var(--wwyt-navy);
  border-radius: 50%; font-weight: 800;
}
.popular-list a { text-decoration: none; color: inherit; }
.popular-list a:hover { color: var(--wwyt-accent-dark); }

.related-item:hover strong { color: var(--wwyt-accent-dark) !important; }
.fact-list li { margin-bottom: .55rem; }

/* ---------- Filter bar ---------- */
.filter-bar { background: var(--wwyt-bg-soft); border: 1px solid #e6e9f2; }

/* ---------- Ads (clearly labeled, never overlapping) ---------- */
.ad-slot {
  clear: both;
  min-height: 0;
}
.ad-label {
  display: block;
  font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  color: #9aa1b3; margin-bottom: .25rem;
}

/* ---------- Affiliate widgets ---------- */
.affiliate-box { background: linear-gradient(180deg, #fffdf7, #fff); border: 1px solid #f3e3bd !important; }
.affiliate-cta {
  border: 1px solid #e6e9f2; color: #1d2433;
  transition: border-color .15s ease, background .15s ease;
}
.affiliate-cta:hover { border-color: var(--wwyt-accent); background: #fffaf0; }

/* ---------- Comments ---------- */
.comment-avatar {
  width: 44px; height: 44px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--wwyt-navy); color: #fff;
  border-radius: 50%; font-weight: 700;
}

/* ---------- Newsletter + footer ---------- */
.newsletter-band { background: linear-gradient(120deg, var(--wwyt-navy), var(--wwyt-navy-soft)); }
.site-footer { background: #0d1526; color: #aab2c5; }
.site-footer a { color: #cdd4e4; text-decoration: none; }
.site-footer a:hover { color: var(--wwyt-accent); }

/* ---------- Cookie consent ---------- */
.cookie-consent {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 1080;
  max-width: 760px; margin-inline: auto;
  background: var(--wwyt-navy); color: #fff;
  border-radius: .9rem; padding: 1rem 1.25rem;
}
.cookie-consent a { color: var(--wwyt-accent); }

/* ---------- Author page ---------- */
.author-avatar { object-fit: cover; }

/* ---------- Pagination ---------- */
.pagination .page-link { color: var(--wwyt-navy); }
.pagination .active .page-link {
  background: var(--wwyt-navy); border-color: var(--wwyt-navy); color: #fff;
}

/* ---------- Misc ---------- */
.object-fit-cover { object-fit: cover; }
@media (max-width: 575.98px) {
  .hero-img { height: 240px; }
  .city-hero { height: 260px; }
}
