/* ==========================================================================
   AlbaniaLocal — style.css
   Plain CSS, no build step. Mobile-first; wider layouts from 760px.
   ========================================================================== */

:root {
  --ink: #12181B;        /* body text */
  --muted: #6B7478;      /* secondary text */
  --line: #E4E7E8;       /* borders */
  --paper: #FFFFFF;      /* background */
  --shade: #F4F6F7;      /* section background */
  --teal: #0E4A5A;       /* hero base */
  --teal-2: #12617A;     /* hero gradient top */
  --link: #0E7490;       /* "Book on GetYourGuide" links */
  --red: #D6202B;        /* primary buttons, accents */
  --red-deep: #A4151E;   /* hover */
  --r: 12px;             /* radius */

  --serif: Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --header-h: 58px;
  --wrap: 1080px;
  --shadow: 0 10px 30px rgba(18, 24, 27, 0.10);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  padding-top: var(--header-h); /* clears the fixed header */
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.25; margin: 0 0 8px; color: var(--ink); }
h1 { font-size: clamp(2rem, 6vw, 3rem); }
h2 { font-size: 25px; margin: 34px 0 8px; }
.emoji { display: inline-block; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; font-size: .85em; line-height: 1; vertical-align: -.06em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 16px; }
button { font: inherit; cursor: pointer; }
.icon { width: 20px; height: 20px; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; border-radius: 4px; }
.hero :focus-visible { outline-color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.section { padding: 40px 0; }
.section--shade { background: var(--shade); }
.section-head { margin-bottom: 20px; }
.section-head h2, .hero h2, .drawer h2, .site-footer h2 { margin-top: 0; }
.section-head p { color: var(--muted); margin: 0; }
.eyebrow { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin: 0 0 .4rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 20px; border-radius: var(--r); border: 1px solid transparent;
  font-weight: 600; text-decoration: none; transition: background-color .15s, color .15s, border-color .15s;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-deep); }
.btn--ghost { background: var(--paper); color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--block { width: 100%; }

.pill {
  display: inline-block; padding: 2px 10px; border-radius: 999px;
  font-size: .75rem; font-weight: 600; letter-spacing: .02em;
  background: var(--red); color: #fff;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  height: var(--header-h);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  height: 100%;
  display: grid; grid-template-columns: 44px 1fr 44px; align-items: center;
}
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 0; border-radius: var(--r);
  background: transparent; color: var(--ink);
}
.icon-btn:hover { background: var(--shade); text-decoration: none; }
.icon-btn .icon { width: 24px; height: 24px; }
.brand {
  justify-self: center;
  font-family: var(--serif); font-size: 1.35rem; letter-spacing: -.01em;
  color: var(--ink); text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand-red { color: var(--red); }

/* ---------- Drawer ---------- */
.scrim {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(18, 24, 27, 0.55);
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.drawer {
  position: fixed; top: 0; bottom: 0; left: 0; z-index: 60;
  width: 86%; max-width: 340px;
  background: var(--paper); overflow-y: auto;
  transform: translateX(-100%); visibility: hidden;
  transition: transform .28s ease, visibility .28s;
  padding: 0 20px 32px;
}
.drawer.is-open { transform: none; visibility: visible; pointer-events: auto; }
.drawer:not(.is-open) { pointer-events: none; }
.scrim.is-open { opacity: 1; visibility: visible; }
.drawer-top {
  height: var(--header-h); display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--line); margin-bottom: 8px;
}
.drawer h2 { font-family: var(--sans); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin: 24px 0 12px; }
.chip-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; padding: 0; list-style: none; }
.chip {
  display: block; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r);
  color: var(--ink); font-weight: 500; text-decoration: none;
}
.chip:hover { border-color: var(--ink); text-decoration: none; }
.drawer-nav { list-style: none; margin: 0; padding: 0; }
.drawer-nav a {
  display: flex; align-items: center; gap: 12px; padding: 12px 6px;
  color: var(--ink); font-weight: 500; text-decoration: none; border-radius: var(--r);
}
.drawer-nav a:hover { background: var(--shade); }
.drawer-nav .icon { color: var(--link); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--teal-2) 0%, var(--teal) 100%);
  color: #fff; padding: 40px 0 56px;
}
.hero h1 { color: #fff; margin-bottom: .5rem; }
.hero p { color: rgba(255, 255, 255, 0.88); font-size: 1.1rem; max-width: 36rem; }
.hero--city { padding-bottom: 40px; }
.crumbs { font-size: .85rem; margin-bottom: 14px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: rgba(255, 255, 255, 0.85); }
.crumbs li + li::before { content: '\203A'; margin-right: 6px; color: rgba(255, 255, 255, 0.6); }

/* ---------- Search tabs + card ---------- */
.tabs {
  display: flex; gap: 4px; padding: 4px; margin: 24px 0 14px;
  background: rgba(255, 255, 255, 0.18); border-radius: 999px;
}
.tab {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 42px; padding: 0 12px; border: 0; border-radius: 999px;
  background: transparent; color: #fff; font-weight: 600; font-size: .95rem;
  transition: background-color .15s, color .15s;
}
.tab .icon { width: 18px; height: 18px; }
.tab[aria-selected="true"] { background: #fff; color: var(--ink); }
.tab:hover:not([aria-selected="true"]) { background: rgba(255, 255, 255, 0.12); }

.search-card {
  background: var(--paper); color: var(--ink);
  border-radius: var(--r); padding: 18px; box-shadow: var(--shadow);
}
.search-card :focus-visible { outline-color: var(--link); }
.field { display: block; margin-bottom: 12px; }
.field label { display: block; font-size: .8rem; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.select-wrap { position: relative; }
.select-wrap select {
  width: 100%; min-height: 48px; padding: 0 40px 0 12px;
  border: 1px solid var(--line); border-radius: var(--r); background: var(--paper);
  color: var(--ink); font: inherit; appearance: none; -webkit-appearance: none;
}
.select-wrap .icon { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); }
.search-card .btn { margin-top: 4px; }

/* ---------- Results ---------- */
.results-count { color: var(--muted); font-weight: 600; margin: 0 0 14px; }

/* Placeholder panels (Hotels / Transfers tabs, widget slots) */
.widget-slot {
  background: var(--shade); border: 2px dashed #C6CDD0; border-radius: var(--r);
  padding: 28px 20px; text-align: center; color: var(--muted); min-height: 160px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.widget-slot strong { color: var(--ink); }
.widget-slot p { margin: 0; font-size: .9rem; }
.widget-slot.is-loaded { display: block; text-align: left; padding: 0; border: 0; background: transparent; min-height: 0; }
.widget-slot.is-loaded .widget-note { display: none; }

/* GetYourGuide widgets: framed so the iframe reads as part of the page.
   min-height reserves space so the layout does not jump when it loads. */
.gyg-title { margin-top: 34px; }
.gyg-lead { color: var(--muted); margin: 0 0 12px; }
.gyg-lead a { font-weight: 600; }
.gyg-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 16px; min-height: 420px; overflow: hidden;
}
.gyg-card > div { min-height: 400px; }
.gyg-block { padding: 28px 0; border-top: 1px solid var(--line); }
.gyg-block:first-of-type { border-top: 0; padding-top: 0; }
.gyg-block h2 { margin-top: 0; }

/* ---------- Destination grid ---------- */
.dest-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dest-card {
  display: block; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  color: var(--ink); text-decoration: none; background: var(--paper);
}
.dest-card:hover { text-decoration: none; border-color: var(--ink); }
.dest-card .ph { aspect-ratio: 4 / 3; border-radius: 0; }
.dest-card h3 { font-size: 1.05rem; margin: 10px 12px 2px; }
.dest-card p { margin: 0 12px 12px; color: var(--muted); font-size: .85rem; }

/* Image placeholder: plain grey box labelled with what goes there */
.ph {
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: #DCE0E2; color: #4B5457; font-size: .8rem; font-weight: 600; padding: 12px;
  border-radius: var(--r);
}
.ph--wide { aspect-ratio: 16 / 7; margin: 24px 0; }

/* ---------- Trust row ---------- */
.trust { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.trust li { display: flex; gap: 12px; align-items: flex-start; }
.trust .icon { color: var(--link); width: 26px; height: 26px; margin-top: 2px; }
.trust strong { display: block; }
.trust span { color: var(--muted); font-size: .92rem; }

/* ---------- Article links ---------- */
.article-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.article-link {
  display: block; padding: 16px; border: 1px solid var(--line); border-radius: var(--r);
  color: var(--ink); text-decoration: none; background: var(--paper);
}
.article-link:hover { border-color: var(--ink); text-decoration: none; }
.article-link h3 { font-size: 1.05rem; margin-bottom: 4px; }
.article-link p { margin: 0 0 6px; color: var(--muted); font-size: .9rem; }
.article-link span { color: var(--link); font-weight: 600; font-size: .9rem; }

/* ---------- City pages ---------- */
.city-body { padding: 8px 0 40px; }
.intro { font-size: 1.1rem; margin-top: 16px; }
.city-section { padding: 28px 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 16px); }
.city-section h2 { margin-top: 0; margin-bottom: 8px; }
.city-body p, .city-body h2, .city-body h3, .city-body .tips-list, .city-body .callout, .city-body .sub-block, .city-body .photo:not(.photo--hero), .prose ul { max-width: 68ch; }
.place-card p { max-width: none; }
.city-section .lede { color: var(--muted); }
.place-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.place-card { border: 1px solid var(--line); border-radius: var(--r); padding: 16px; background: var(--paper); }
.place-card h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 1.1rem; margin-bottom: 4px; }
.place-card p { margin: 0; color: var(--muted); }
.place-card .tour-link { display: inline-block; margin-top: 8px; }
.next-city {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 32px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r);
  color: var(--ink); text-decoration: none;
}
.next-city:hover { text-decoration: none; border-color: var(--ink); }
.next-city small { display: block; color: var(--muted); font-size: .8rem; }
.next-city strong { font-family: var(--serif); font-size: 1.2rem; font-weight: 400; }
.next-city .icon { color: var(--link); }

/* ---------- Article photos, sub-blocks, callout (city articles) ---------- */
.photo { margin: 20px 0 8px; }
.photo img { width: 100%; height: auto; border-radius: var(--r); background: var(--shade); }
.photo--hero { margin: 0 0 24px; }
.photo--hero img { aspect-ratio: 16 / 9; object-fit: cover; }
.photo--tall img { max-height: 520px; object-fit: cover; }
.photo figcaption { font-size: .8rem; color: var(--muted); margin-top: 8px; }
.sub-block { margin-top: 24px; }
.sub-block h3 { font-size: 1.3rem; margin-bottom: 8px; }
.sub-block p { margin-bottom: 12px; }
.tip { color: var(--muted); }
.tip strong { color: var(--ink); }
.place-card .lead { color: var(--ink); font-weight: 600; }
.place-card p + p { margin-top: 8px; }
.tips-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.tips-list li { padding-left: 18px; position: relative; }
.tips-list li::before { content: ''; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.callout {
  background: var(--shade); border-left: 4px solid var(--red); border-radius: var(--r);
  padding: 20px 22px; margin-top: 32px;
}
.callout h2 { margin-top: 0; margin-bottom: 8px; }
.callout p { margin: 0; font-size: 1.05rem; }
.explore { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.explore ul { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.explore a { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-weight: 500; }
.explore a:hover { border-color: var(--ink); text-decoration: none; }

/* ---------- Prose pages (guides, hotels, transfers) ---------- */
.prose h2 { margin-top: 32px; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 6px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--shade); border-top: 1px solid var(--line); padding: 36px 0 28px; color: var(--muted); font-size: .9rem; }
.footer-grid { display: grid; gap: 24px; }
.site-footer h2 { font-family: var(--sans); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: var(--ink); }
.site-footer .brand { justify-self: start; display: inline-block; margin-bottom: 8px; }
.disclosure { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 18px; font-size: .82rem; }
.disclosure p { margin-bottom: .5rem; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 64px 0; }
.notfound .btn { margin-top: 12px; }
.gyg-block, .by-town-anchor { scroll-margin-top: calc(var(--header-h) + 16px); }

/* ---------- Wider layouts ---------- */
@media (min-width: 760px) {
  .hero { padding: 64px 0 72px; }
  .hero-inner { max-width: 720px; }
  .search-row { display: flex; gap: 12px; align-items: flex-end; }
  .search-row .field { flex: 1 1 0; }
  .search-row .field[hidden] { display: none; }
  .search-row .field { margin-bottom: 0; }
  .search-row .btn { margin-top: 0; min-height: 48px; width: auto; }
  .tour-card { grid-template-columns: 140px 1fr; }
  .tour-body { padding: 16px 18px 16px 0; }
  .tour-card h3 { font-size: 1.15rem; }
  .dest-grid { grid-template-columns: repeat(4, 1fr); }
  .trust { grid-template-columns: repeat(3, 1fr); }
  .article-list { grid-template-columns: repeat(3, 1fr); }
  .place-list { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .section { padding: 56px 0; }
  .ph--wide { aspect-ratio: 21 / 8; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
