:root {
  --primary-color: #1D6E93;
  --primary-color-dark: #005fa3;
  --text-color: #555;
  --text-color-light: #999;
  --text-color-dark: #000;

  --color1: #189369;
  --color2: #12CE23;
  --color3: #198A73;
  --color4: #2240CA;
  --color5: #1D6E93;
}

/* General resets */
body {
  margin: 0;
  font-family: 'Roboto', Arial, sans-serif;
}

/* Top Navigation */
.topnav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
}

.topnav .container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 20px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topnav .logo-img {
  height: 80px;
  display: block;
}

.topnav .menu {
  display: flex;
  gap: 28px;
  align-items: center;
  height: 70px; /* align children vertically */
}

.topnav .menu a {
  position: relative;
  padding-left: 30px; /* space for icon */
  color: #555;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}

.topnav .menu a .icon {
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background: url("../images/logo/logo-small-HzkYE1-.png") no-repeat center center;
  background-size: contain;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.topnav .menu a:hover {
  color: var(--text-color-dark, #000);
}

.topnav .menu a.active {
  color: var(--primary-color, #1D6E93);
}

.topnav .menu a.active .icon {
  opacity: 1;
}

/* ---------- HAMBURGER ---------- */
.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  position: relative;
  cursor: pointer;
}

.burger span {
  position: absolute;
  left: 9px;
  right: 9px;
  height: 2px;
  background: var(--text-color, #555);
  transition: transform .25s ease, top .25s ease, opacity .2s;
}

.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 20px; }
.burger span:nth-child(3) { top: 26px; }

/* turn into X when open */
.topnav.open .burger span:nth-child(1) {
  top: 20px;
  transform: rotate(45deg);
}
.topnav.open .burger span:nth-child(2) { opacity: 0; }
.topnav.open .burger span:nth-child(3) {
  top: 20px;
  transform: rotate(-45deg);
}

/* ---------- MOBILE LAYOUT ---------- */
@media (max-width: 900px) {
  .topnav .logo-img { height: 60px; }
  .burger { display: inline-block; }

  /* hide desktop menu by default on mobile */
  .topnav .menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 70px; /* below header */
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow: hidden;
    max-height: 0;
    transition: max-height .25s ease;
    height: auto; /* ignore header height on mobile */
  }

  .topnav .menu a {
    height: 54px;
    display: flex;
    align-items: center;
    padding: 0 20px 0 46px; /* extra left room for icon */
    border-top: 1px solid #f3f3f3;
  }

  /* when nav is open */
  .topnav.open .menu {
    max-height: 60vh;
  }
}

/* keep desktop layout */
@media (min-width: 901px) {
  .topnav .menu {
    position: static;
    max-height: none;
    box-shadow: none;
    border: 0;
    flex-direction: row;
  }
}

/* ---------- Language switcher ---------- */
.lang-switch {
  position: relative;
  margin-left: 6px;
}

.lang-current {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  font-weight: 700;
  color: var(--text-color, #555);
  cursor: pointer;
}

.lang-current .chev { transition: transform .2s ease; }
.lang-switch.open .lang-current .chev { transform: rotate(180deg); }

.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 120px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
  padding: 6px;
  list-style: none;
  margin: 0;
  display: none;
  z-index: 1200;
}

.lang-switch.open .lang-menu { display: block; }

.lang-menu li { border-radius: 8px; }

.lang-menu a {
  display: block;
  padding: 10px 12px;
  text-decoration: none;
  color: #0f172a;
  font-weight: 600;
}

.lang-menu a:hover { background: #f6f7f9; }

/* Mobile: language switcher inside dropdown stack */
@media (max-width: 900px) {
  .lang-switch {
    width: 100%;
    margin: 8px 0 0;
  }
  .lang-current {
    width: 100%;
    justify-content: space-between;
  }
  .lang-menu {
    position: static;
    box-shadow: none;
    border: 1px dashed #e5e7eb;
    margin-top: 6px;
  }
}

/* =========================================================
   BOOKING: icon as a sibling, button only wraps the text
   (your HTML has: <span class="book-wrap"><span class="icon"></span><a class="book-btn">…</a></span>)
   ========================================================= */

.topnav .menu .book-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px; /* space between icon and pill */
}

/* The sibling icon (not inside the button) */
.topnav .menu .book-wrap .icon {
  width: 16px;
  height: 16px;
  background: url("../images/logo/logo-small-HzkYE1-.png") no-repeat center / contain;
  opacity: 0;                   /* shown on hover/active via :has() */
  transition: opacity .2s ease;
}

/* Blue pill for text only */
.topnav .menu .book-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 6px;
  background-color: var(--primary-color);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  height: auto;
}

/* Hover/active styling for the pill */
.topnav .menu .book-btn:hover,
.topnav .menu .book-btn.active {
  background-color: var(--primary-color);
}

/* Reveal the sibling icon when button is hovered or active
   Works regardless of icon order thanks to :has() */
.topnav .menu .book-wrap:has(.book-btn.active) .icon {
  opacity: 1;
}

/* Mobile tweaks for booking item */
@media (max-width: 900px) {
  .topnav .menu .book-wrap {
    width: 100%;
    padding: 12px 16px 16px;
    box-sizing: border-box;
  }
  .topnav .menu .book-btn {
    flex: 1 1 auto;
    text-align: center;
  }
}

/* Blue pill for text only */
.topnav .menu .book-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 6px;
  background-color: var(--primary-color);
  color: #fff; /* default: white text */
  font-weight: 700;
  text-decoration: none;
  height: auto;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.book-wrap .book-btn.active,
.book-wrap .book-btn:hover {
color: #fff !important;              /* keep text white */
  background-color: var(--primary-color-dark) !important; /* darker bg on hover */
}