/*
  UKTourism v2 stylesheet
  Single consolidated CSS, no BS3 carry-over.
  Updated: 2026-05-27
*/

:root {
  --uk-blue-900: #002b4a;
  --uk-blue-700: #0b5f96;
  --uk-blue-500: #168fd3;
  --uk-blue-300: #35a8e6;
  --uk-blue-50:  #e7f5ff;
  --uk-yellow:   #ffdf44;
  --uk-red:      #d23a3a;
  --uk-ink:      #1a2330;
  --uk-muted:    #5a6573;
  --uk-line:     #e3e8ee;
  --uk-bg:       #f7f9fc;
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   20px;
  --shadow-sm:   0 2px 8px rgba(11,95,150,.08);
  --shadow-md:   0 8px 24px rgba(11,95,150,.12);
  --shadow-lg:   0 16px 40px rgba(11,95,150,.18);
}

* { box-sizing: border-box; }

/* Tighter global container - applies to BS5 .container too */
.container { max-width: 1080px !important; }

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', 'PT Sans Narrow', system-ui, -apple-system, sans-serif;
  color: var(--uk-ink);
  background: #ffffff;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: 'Oswald', 'PT Sans Narrow', sans-serif;
  font-weight: 600;
  color: var(--uk-blue-900);
  line-height: 1.18;
  margin: 0 0 .6em;
  letter-spacing: .01em;
}
h1 { font-size: clamp(28px, 4vw, 42px); }
h2 { font-size: clamp(22px, 2.6vw, 30px); }
h3 { font-size: clamp(18px, 2vw, 22px); }
p { margin: 0 0 1em; }
a { color: var(--uk-blue-700); text-decoration: none; }
a:hover { color: var(--uk-blue-500); }

img { max-width: 100%; height: auto; }

.skip-link {
  position: absolute; left: 8px; top: 8px;
  background: var(--uk-yellow); color: var(--uk-blue-900);
  padding: 8px 14px; border-radius: 6px; font-weight: 700;
  z-index: 9999;
}

/* ===================== HEADER ===================== */
.v2-header {
  background: linear-gradient(135deg, var(--uk-blue-900) 0%, var(--uk-blue-700) 100%);
  color: #fff;
  padding: 14px 0;
}
.v2-header-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.v2-logo img { max-height: 56px; width: auto; }
.v2-tagline {
  text-align: right;
  font-family: 'Oswald', sans-serif;
  line-height: 1.15;
}
.v2-tagline-main {
  display: block;
  font-size: clamp(14px, 2vw, 20px);
  font-weight: 600;
  letter-spacing: .05em;
}
.v2-tagline-sub {
  display: block;
  font-size: clamp(11px, 1.4vw, 14px);
  color: var(--uk-yellow);
  font-weight: 400;
  letter-spacing: .04em;
}

/* ===================== NAVBAR ===================== */
.v2-navbar {
  background: var(--uk-blue-700);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.v2-navbar .container { padding: 0 16px; }
.v2-nav {
  width: 100%;
  justify-content: center;
  gap: 4px;
}
.v2-nav-item { position: static; }
.v2-nav-link {
  color: #fff !important;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: .06em;
  font-size: 15px;
  padding: 16px 22px !important;
  border: none;
  background: transparent;
}
.v2-nav-link:hover,
.v2-nav-link:focus,
.dropdown.show > .v2-nav-link {
  background: var(--uk-blue-900);
  color: var(--uk-yellow) !important;
}
.v2-nav-link-cta {
  background: var(--uk-yellow) !important;
  color: var(--uk-blue-900) !important;
  border-radius: 999px;
  padding: 10px 22px !important;
  margin: 8px 0 8px 12px;
  font-weight: 700;
}
.v2-nav-link-cta:hover { background: #fff !important; }

.navbar-toggler {
  border: none; padding: 14px;
}
.v2-nav-toggler-icon {
  display: block;
  width: 26px; height: 2px;
  background: #fff;
  margin: 5px 0;
  transition: .2s;
}

/* Mega menu */
.v2-mega-menu {
  width: 100%;
  left: 0; right: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: var(--shadow-md);
  padding: 0;
}
/* Hover-open on desktop — click still works on mobile via BS5 JS */
@media (min-width: 992px) {
  .v2-nav-item:hover > .v2-mega-menu {
    display: block !important;
  }
}
.v2-mega-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 24px 24px;
}
.v2-mega-intro h2 {
  font-size: 18px;
  color: var(--uk-blue-700);
  margin-bottom: 2px;
}
.v2-mega-intro p {
  color: var(--uk-muted);
  font-size: 13px;
  margin-bottom: 14px;
}
.v2-mega-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.v2-mega-card {
  display: block;
  width: 150px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--uk-bg);
  box-shadow: var(--shadow-sm);
  color: var(--uk-blue-900);
  text-decoration: none;
  transition: transform .18s, box-shadow .18s;
  flex-shrink: 0;
}
.v2-mega-card img {
  width: 150px;
  height: 90px;
  object-fit: cover;
  display: block;
}
.v2-mega-card span {
  display: block;
  padding: 7px 10px;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .03em;
  line-height: 1.3;
}
.v2-mega-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  color: var(--uk-blue-700);
}

/* ===================== SPONSOR STRIP ===================== */
.v2-sponsor-strip {
  background: linear-gradient(90deg, var(--uk-blue-700), var(--uk-blue-500));
  color: #fff;
  padding: 12px 0;
}
.v2-sponsor-strip-inner {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}
.v2-sponsor-label {
  background: var(--uk-yellow);
  color: var(--uk-blue-900);
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.v2-sponsor-strip strong { font-weight: 600; }
.v2-sponsor-link {
  color: var(--uk-yellow);
  font-weight: 700;
  text-decoration: none;
  margin-left: auto;
}
.v2-sponsor-link:hover { color: #fff; }

/* ===================== BUTTONS ===================== */
.v2-btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  text-align: center;
  border: 0;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.v2-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.v2-btn-yellow { background: var(--uk-yellow); color: var(--uk-blue-900); }
.v2-btn-yellow:hover { background: #fff; color: var(--uk-blue-900); }
.v2-btn-blue { background: var(--uk-blue-700); color: #fff; }
.v2-btn-blue:hover { background: var(--uk-blue-900); color: #fff; }
.v2-btn-outline {
  background: transparent;
  color: var(--uk-blue-700);
  border: 2px solid var(--uk-blue-700);
}
.v2-btn-outline:hover { background: var(--uk-blue-700); color: #fff; }
.v2-btn-lg { padding: 14px 30px; font-size: 17px; }

/* ===================== LAYOUT ===================== */
main.v2-main { padding: 22px 0 40px; }
.v2-section { padding: 20px 0; }
.v2-section h2 { color: var(--uk-blue-700); font-size: clamp(20px, 2vw, 24px); margin-bottom: 6px; }
.v2-section > p { font-size: 14px; }
.v2-eyebrow {
  display: inline-block;
  background: var(--uk-blue-50);
  color: var(--uk-blue-700);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 10px;
}

/* ===================== HOMEPAGE HERO ===================== */
.v2-hero {
  position: relative;
  background: linear-gradient(135deg, var(--uk-blue-700) 0%, var(--uk-blue-500) 60%, var(--uk-blue-300) 100%);
  color: #fff;
  border-radius: 16px;
  padding: 28px 30px;
  margin: 18px 0;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.v2-hero::after {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 180px; height: 180px;
  background: rgba(255,255,255,0.10);
  border-radius: 50%;
}
.v2-hero::before {
  content: "";
  position: absolute;
  left: -40px; bottom: -40px;
  width: 130px; height: 130px;
  background: rgba(255,223,68,0.10);
  border-radius: 50%;
}
.v2-hero-inner { position: relative; z-index: 1; max-width: 620px; }
.v2-hero-kicker {
  display: inline-block;
  background: var(--uk-yellow);
  color: var(--uk-blue-900);
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .04em;
  margin-bottom: 10px;
}
.v2-hero h1 {
  color: #fff;
  font-size: clamp(24px, 3.2vw, 34px);
  margin-bottom: 10px;
}
.v2-hero p {
  font-size: 15px;
  max-width: 540px;
  margin-bottom: 16px;
}
.v2-hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.v2-hero-actions .v2-btn { padding: 9px 18px; font-size: 14px; }

/* ===================== REGION GRID ===================== */
.v2-region-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 12px;
  margin-top: 14px;
}
.v2-region-card {
  position: relative;
  display: block;
  min-height: 160px;
  border-radius: 12px;
  padding: 16px;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background-size: cover;
  background-position: center;
  transition: transform .2s, box-shadow .2s;
}
.v2-region-card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,43,74,.05) 0%, rgba(0,43,74,.75) 100%);
}
.v2-region-card > * { position: relative; z-index: 1; }
.v2-region-card strong {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 4px;
}
.v2-region-card span { font-size: 13px; opacity: .95; }
.v2-region-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  color: #fff;
}
.v2-region-card:hover::before {
  background: linear-gradient(180deg, rgba(11,95,150,.15) 0%, rgba(11,95,150,.85) 100%);
}
.v2-region-england  { background-image: url('/images/forest-thumb2.jpg'); }
.v2-region-scotland { background-image: url('/images/highlands-thumb.jpg'); }
.v2-region-wales    { background-image: url('/images/north-wales.jpg'); }
.v2-region-islands  { background-image: url('/images/irish-coast.jpg'); }

@media (max-width: 991px) { .v2-region-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 540px) { .v2-region-grid { grid-template-columns: 1fr; } }

/* ===================== DESTINATION COLUMNS ===================== */
.v2-dest-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 14px;
}
.v2-dest-col h3 {
  font-size: 17px;
  color: var(--uk-blue-700);
  margin-bottom: 4px;
}
.v2-dest-col-intro {
  color: var(--uk-muted);
  font-size: 13px;
  margin-bottom: 10px;
}
.v2-dest-card {
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--uk-ink);
  margin-bottom: 10px;
  transition: transform .18s, box-shadow .18s;
}
.v2-dest-card img {
  width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block;
}
.v2-dest-card-body { padding: 10px 12px; }
.v2-dest-card-title {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 15px;
  color: var(--uk-blue-700);
  font-weight: 600;
}
.v2-dest-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.v2-dest-card:hover .v2-dest-card-title { color: var(--uk-blue-500); }

@media (max-width: 900px) { .v2-dest-columns { grid-template-columns: 1fr; } }

/* ===================== REGION PAGES ===================== */
.v2-region-hero {
  position: relative;
  height: clamp(320px, 42vw, 500px);
  overflow: hidden;
}
.v2-region-hero img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.v2-region-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,43,74,.10) 0%, rgba(0,43,74,.60) 100%);
}
.v2-region-hero-text {
  position: relative;
  height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff;
  padding-bottom: 36px;
  z-index: 1;
}
.v2-region-hero-text h1 { color: #fff; margin-bottom: 8px; font-size: clamp(28px, 4vw, 48px); }
.v2-region-hero-text p  { color: #fff; opacity: .9; max-width: 600px; font-size: clamp(15px, 1.6vw, 18px); }

.v2-region-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 28px;
  margin-top: 20px;
}
.v2-region-main h2 { color: var(--uk-blue-700); margin-top: 24px; }
.v2-region-map { margin: 18px 0; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); position: relative; }
.v2-region-map img { width: 100%; display: block; }
.v2-region-map-nav { position: absolute; top: 50%; transform: translateY(-50%); display: flex; justify-content: space-between; width: 100%; padding: 0 12px; pointer-events: none; }
.v2-region-map-nav a {
  pointer-events: auto;
  background: rgba(255,255,255,.9); color: var(--uk-blue-700);
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm); text-decoration: none;
}
.v2-region-map-nav a:hover { background: #fff; color: var(--uk-blue-900); }

.v2-sidebar h2 {
  background: var(--uk-blue-700); color: #fff;
  font-size: 18px; padding: 10px 14px; border-radius: var(--radius-sm);
  margin-bottom: 14px;
}
.v2-sidebar-card {
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 14px;
  text-decoration: none;
  color: var(--uk-ink);
  background: #fff;
  position: relative;
  transition: transform .18s, box-shadow .18s;
}
.v2-sidebar-card img { width: 100%; display: block; aspect-ratio: 16/9; object-fit: cover; }
.v2-sidebar-card-title {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 10px 14px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.7));
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.v2-sidebar-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

@media (max-width: 900px) {
  .v2-region-layout { grid-template-columns: 1fr; }
}

/* Wide-card list for region listings */
.v2-list-block {
  background: var(--uk-bg);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 16px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 22px;
  align-items: center;
}
.v2-list-block h3 { margin-bottom: 8px; }
.v2-list-block img { border-radius: var(--radius-sm); width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
@media (max-width: 700px) {
  .v2-list-block { grid-template-columns: 1fr; }
}

.v2-section-divider {
  background: var(--uk-blue-700);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  letter-spacing: .04em;
  margin: 28px 0 14px;
}

/* ===================== FORMS ===================== */
.v2-form { max-width: 540px; }
.v2-form .form-control {
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--uk-line);
  padding: 12px 14px;
  font-size: 15px;
}
.v2-form .form-control:focus {
  border-color: var(--uk-blue-500);
  box-shadow: 0 0 0 .2rem rgba(22,143,211,.18);
}
.v2-form .form-label { font-weight: 600; color: var(--uk-blue-900); }
.v2-form .alert { border-radius: var(--radius-sm); }

/* ===================== DESTINATION DETAIL ===================== */
.v2-dpage-topbar {
  background: linear-gradient(135deg, var(--uk-blue-900) 0%, var(--uk-blue-700) 100%);
  padding: 20px 0 24px;
  color: #fff;
}
.v2-breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,.65);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.v2-breadcrumb a { color: rgba(255,255,255,.75); text-decoration: none; }
.v2-breadcrumb a:hover { color: var(--uk-yellow); }
.v2-breadcrumb span:last-child { color: #fff; }
.v2-dpage-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.v2-dpage-title {
  color: #fff !important;
  font-size: clamp(26px, 4vw, 42px);
  margin: 0 0 6px;
  text-transform: uppercase;
}
.v2-dpage-strapline {
  color: rgba(255,255,255,.85);
  font-size: clamp(15px, 1.6vw, 18px);
  margin: 0;
  font-style: italic;
}
.v2-dpage-url {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  padding: 8px 16px;
  color: #fff !important;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: background .15s, border-color .15s;
}
.v2-dpage-url:hover {
  background: rgba(255,223,68,.18);
  border-color: var(--uk-yellow);
  color: var(--uk-yellow) !important;
}
.v2-dpage-url span { font-size: 13px; opacity: .8; }
@media (max-width: 600px) {
  .v2-dpage-url { font-size: 13px; padding: 6px 14px; }
}
.v2-dpage-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  margin-top: 28px;
}
.v2-dpage-content h1 { color: var(--uk-blue-700); }
.v2-dpage-content .strapline { color: var(--uk-muted); font-size: 18px; font-style: italic; margin-bottom: 18px; }
.v2-dpage-aside { display: flex; flex-direction: column; gap: 18px; }
.v2-dpage-cover { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.v2-dpage-cover img { width: 100%; display: block; }
.v2-dpage-map iframe { width: 100%; height: 240px; border: 0; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.v2-social-row { display: flex; gap: 10px; flex-wrap: wrap; }
.v2-social-row a img { width: 36px; height: 36px; }
@media (max-width: 900px) { .v2-dpage-layout { grid-template-columns: 1fr; } }

/* Small muted meta line used under event titles */
.v2-meta { font-size: 13px; color: var(--uk-muted); margin-bottom: 6px; }

/* ===================== FOOTER ===================== */
.v2-footer {
  background: var(--uk-blue-900);
  color: #cdd9e3;
  padding: 36px 0 16px;
  margin-top: 40px;
}
.v2-footer h3 {
  color: #fff;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 14px;
}
.v2-footer a { color: #cdd9e3; }
.v2-footer a:hover { color: var(--uk-yellow); }
.v2-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.4fr;
  gap: 28px;
}
.v2-footer-brand img { width: 56px; }
.v2-footer-tag { margin-top: 12px; font-size: 14px; }
.v2-footer-nav ul { list-style: none; padding: 0; margin: 0; }
.v2-footer-nav li { margin-bottom: 8px; font-size: 14px; }
.v2-footer-signup p { font-size: 14px; margin-bottom: 12px; }
.v2-footer-bottom {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.08);
  text-align: center;
  font-size: 13px;
  color: #8a99a8;
}
.v2-footer-bottom p { margin: 0; }
@media (max-width: 800px) {
  .v2-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .v2-footer-grid { grid-template-columns: 1fr; }
}

/* ===================== MOBILE ===================== */
@media (max-width: 768px) {
  /* Header: hide tagline on small phones */
  .v2-tagline-sub { display: none; }
  .v2-tagline-main { font-size: 13px; }
  .v2-logo img { max-height: 42px; }

  /* Mega menu: full-width scroll on mobile */
  .v2-mega-menu { position: static !important; box-shadow: none; border-top: 2px solid var(--uk-blue-700); }
  .v2-mega-inner { padding: 14px 12px 18px; }
  .v2-mega-grid { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; gap: 10px; }
  .v2-mega-card { width: 130px; flex-shrink: 0; }
  .v2-mega-card img { width: 130px; height: 78px; }

  /* Destination topbar */
  .v2-dpage-title { font-size: clamp(22px, 6vw, 32px); }

  /* Destination aside stacks cleanly */
  .v2-dpage-layout { margin-top: 16px; gap: 20px; }

  /* Region hero text */
  .v2-region-hero-text { padding-bottom: 18px; }

  /* List blocks single-col earlier */
  .v2-list-block { grid-template-columns: 1fr; }

  /* Dest columns single col */
  .v2-dest-columns { grid-template-columns: 1fr; }

  /* Hero actions stack */
  .v2-hero-actions { flex-direction: column; align-items: flex-start; gap: 10px; }
}

@media (max-width: 480px) {
  .container { padding-left: 14px !important; padding-right: 14px !important; }
  .v2-region-card { min-height: 120px; padding: 14px; }
  .v2-btn-lg { padding: 12px 20px; font-size: 15px; }
}

/* ===================== UTILITY ===================== */
.v2-prose p { font-size: 16px; }
.v2-prose ul { padding-left: 22px; }
.v2-prose li { margin-bottom: 6px; }
.v2-divider { height: 1px; background: var(--uk-line); margin: 28px 0; border: 0; }
