/* ==========================================================================
   Rothberger Travel — site chrome + home page
   Reproduces the original Online-Agency look (black contact bar, grey header,
   blue menu with navy hover, full-width slider, Courgette headings, labeled
   specialty tiles, dark footer) in normal document flow. The old site's
   absolutely-positioned slider + per-breakpoint #content margins overlapped
   the specialties grid on ultra-wide screens; here the slider is a block with
   a fixed aspect ratio and a capped height, so content always starts below it.
   ========================================================================== */

:root {
  --rt-blue:    #127db3;   /* headings, menu links, rules */
  --rt-blue-2:  #0d6db6;   /* menu hover underline */
  --rt-navy:    #0d3c5f;   /* menu hover */
  --rt-sky:     #6bc3ea;   /* dropdowns */
  --rt-pale:    #eaf4fb;   /* pale section background */
  --rt-orange:  #ffa800;   /* accent */
  --rt-header:  #cccccc;   /* header strip */
  --rt-footer:  #262f36;   /* footer */
  --rt-ink:     #222222;
  --rt-muted:   #555555;
  --rt-wrap:    1000px;
  --rt-script:  'Courgette', cursive;
  --rt-sans:    Verdana, Arial, Helvetica, sans-serif;
  --rt-ui:      "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--rt-ink);
  font-family: var(--rt-sans);
  font-size: 14px;
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rt-blue); }
a:hover { color: var(--rt-navy); }
button { font: inherit; }

.wrap { width: 100%; max-width: var(--rt-wrap); margin: 0 auto; padding: 0 16px; }

/* ---- Top contact bar ---- */
.topbar { background: #000; color: #fff; font-family: "Times New Roman", Times, serif; font-size: 13px; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 33px; }
.topbar ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.topbar__info { gap: 28px; }
.topbar__info a { color: #fff; text-decoration: none; }
.topbar__info a:hover { color: var(--rt-orange); }
.topbar__social { gap: 12px; }
.topbar__social img { transition: transform .2s; }
.topbar__social a:hover img { transform: translateY(3px); }

/* ---- Header + menu ---- */
.site-header { background: var(--rt-header); position: relative; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 99px; }
.site-logo { flex: 0 0 auto; }
.site-logo img { width: 226px; }

.site-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; }
.site-nav li { position: relative; }
.site-nav > ul > li > a {
  display: block;
  height: 99px;
  line-height: 89px;
  padding: 0 7px;
  border-bottom: 10px solid transparent;
  color: var(--rt-blue);
  font-family: var(--rt-ui);
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.site-nav > ul > li:hover > a,
.site-nav > ul > li:focus-within > a,
.site-nav > ul > li.is-active > a { background: var(--rt-navy); border-bottom-color: var(--rt-blue-2); color: #fff; }
.site-nav ul ul {
  list-style: none; margin: 0; padding: 0;
  position: absolute; left: 0; top: 100%;
  min-width: 190px;
  background: var(--rt-sky);
  box-shadow: 0 6px 14px rgba(0,0,0,.18);
  display: none;
}
.site-nav li:hover > ul, .site-nav li:focus-within > ul { display: block; }
.site-nav ul ul a {
  display: block; padding: 8px 12px;
  border-top: 1px solid #eaeaea;
  color: #2f3036; font-family: var(--rt-ui); font-size: 13px; text-decoration: none;
}
.site-nav ul ul a:hover { color: #fff; background: var(--rt-blue); }
.sub-toggle, .nav-toggle { display: none; }

/* ---- Home slider ---- */
.hero-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 1585 / 460;
  max-height: 560px;
  min-height: 200px;
  overflow: hidden;
  background: #0d3c5f;
}
.hero-slider__slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.08);
  transition: opacity .7s ease, transform 4.5s ease;
}
.hero-slider__slide.is-active { opacity: 1; transform: scale(1); }
.hero-slider__nav {
  position: absolute; top: 50%; z-index: 2;
  width: 46px; height: 46px; margin-top: -23px;
  border: 0; border-radius: 50%;
  background: rgba(0,0,0,.35); color: #fff; font-size: 30px; line-height: 46px;
  cursor: pointer; opacity: 0; transition: opacity .2s, background .2s;
}
.hero-slider:hover .hero-slider__nav, .hero-slider__nav:focus-visible { opacity: 1; }
.hero-slider__nav:hover { background: rgba(13,60,95,.8); }
.hero-slider__nav--prev { left: 20px; }
.hero-slider__nav--next { right: 20px; }

/* ---- Script headings (original .heading_1 / .heading_2) ---- */
.heading-script {
  font-family: var(--rt-script);
  font-weight: normal;
  color: var(--rt-blue);
  font-size: 30px;
  line-height: 1.3;
  text-align: center;
  margin: 0 0 20px;
  padding: 0 0 12px;
  border-bottom: 2px solid var(--rt-blue);
}
.heading-script--sm { font-size: 26px; }
.heading-welcome { font-family: var(--rt-script); font-weight: normal; color: var(--rt-blue); font-size: 24px; margin: 0 0 12px; }

/* ---- Home: specialties grid ---- */
.home-specialties { padding: 36px 0 10px; }
.specialties-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.specialties-grid a { display: block; overflow: hidden; }
.specialties-grid img { width: 100%; aspect-ratio: 293 / 196; object-fit: cover; transition: transform .35s ease, filter .35s; }
.specialties-grid a:hover img, .specialties-grid a:focus-visible img { transform: scale(1.04); filter: brightness(1.06); }
.view-more { text-align: center; margin: 18px 0 0; }
.view-more a {
  display: inline-block; padding: 4px 16px;
  background: #000; color: #fff; border-radius: 6px;
  font-size: 12px; font-weight: bold; text-decoration: none;
}
.view-more a:hover { background: var(--rt-navy); color: #fff; }

/* ---- Home: welcome (now full width) ---- */
.home-welcome { padding: 30px 0 46px; }
.home-welcome p { margin: 0 0 14px; font-size: 14px; }
.home-welcome .call-line { font-family: var(--rt-script); font-size: 20px; color: var(--rt-navy); margin-top: 22px; }
.home-welcome .call-line a { color: var(--rt-blue); text-decoration: none; }

/* ---- Main ---- */
.site-main { display: block; min-height: 300px; }

/* ---- Footer ---- */
.site-footer { background: var(--rt-footer); color: #fff; margin-top: 30px; padding: 30px 0 14px; }
.site-footer__cols { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.4fr) minmax(0,1fr); gap: 30px; }
.site-footer h2 {
  font-family: var(--rt-script); font-weight: normal; font-size: 20px;
  margin: 0 0 12px; padding-bottom: 4px; border-bottom: 2px solid #fff; text-align: center;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; font-size: 13px; line-height: 2; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--rt-orange); }
.site-footer__col--links ul { columns: 2; column-gap: 20px; }
.site-footer__col--links li::before { content: "\2022"; margin-right: 6px; }
.site-footer__copy { text-align: center; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: #aab3ba; margin: 26px 0 0; }

.back-to-top {
  position: fixed; right: 12px; bottom: 12px; z-index: 60;
  opacity: 0; visibility: hidden; transition: opacity .6s, visibility .6s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; }

/* ---- Lightbox ---- */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,.88);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  cursor: zoom-out;
}
.lightbox img { max-width: 100%; max-height: 90vh; box-shadow: 0 10px 40px rgba(0,0,0,.5); }
.lightbox__close {
  position: absolute; top: 14px; right: 18px; border: 0; background: none;
  color: #fff; font-size: 38px; line-height: 1; cursor: pointer;
}

/* ==========================================================================
   Responsive — the menu collapses into a "Menu" toggle at 1024px, like the
   original site's mobile menu.
   ========================================================================== */
@media (max-width: 1024px) {
  .site-header .wrap { flex-wrap: wrap; min-height: 0; padding-top: 6px; padding-bottom: 6px; }
  .site-logo img { width: 180px; }
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 14px; border: 0; border-radius: 4px;
    background: var(--rt-blue); color: #fff; font-size: 14px; cursor: pointer;
  }
  .nav-toggle .fa { font-size: 18px; }
  .site-nav { display: none; flex-basis: 100%; margin: 8px -16px -6px; background: var(--rt-navy); }
  .site-nav.is-open { display: block; }
  .site-nav > ul { flex-direction: column; }
  .site-nav > ul > li { display: flex; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.12); }
  .site-nav > ul > li > a {
    flex: 1; height: auto; line-height: 1.4; padding: 12px 16px; border: 0;
    color: #fff; font-size: 15px;
  }
  .site-nav > ul > li:hover > a, .site-nav > ul > li:focus-within > a { background: transparent; }
  .site-nav > ul > li.is-active > a { background: var(--rt-blue-2); }
  .sub-toggle {
    display: block; width: 52px; border: 0; border-left: 1px solid rgba(255,255,255,.12);
    background: transparent; color: #fff; font-size: 22px; cursor: pointer;
  }
  .site-nav ul ul { position: static; display: none; flex-basis: 100%; box-shadow: none; }
  .site-nav li:hover > ul, .site-nav li:focus-within > ul { display: none; }
  .site-nav li.is-open > ul { display: block; }
  .site-nav li.is-open > .sub-toggle .fa { transform: rotate(180deg); }
  .site-nav ul ul a { padding: 10px 16px 10px 32px; font-size: 14px; }
  .hero-slider__nav { opacity: 1; }
}

@media (max-width: 768px) {
  .topbar .wrap { flex-direction: column; justify-content: center; padding-top: 6px; padding-bottom: 6px; gap: 4px; }
  .topbar__info { flex-wrap: wrap; justify-content: center; gap: 4px 18px; }
  .specialties-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .site-footer__cols { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .heading-script { font-size: 26px; }
}

@media (max-width: 480px) {
  .specialties-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-slider__nav { width: 36px; height: 36px; margin-top: -18px; font-size: 24px; line-height: 36px; }
  .hero-slider__nav--prev { left: 8px; }
  .hero-slider__nav--next { right: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-slider__slide { transition: opacity .3s; transform: none !important; }
}
.topbar__info a { overflow-wrap: anywhere; }
