/* ======================================
   VISIT SERRIS HEADER
====================================== */

:root{
  --vs-header-topbar: #0d3f70;
  --vs-header-main: #ffffff;
  --vs-header-main-border: #dbe6f2;
  --vs-header-text-dark: #184a7d;
  --vs-header-text-soft: #4c6783;
  --vs-header-accent: #2da7f8;
  --vs-header-accent-dark: #1d8ed8;
  --vs-header-search: #2b82cb;
  --vs-header-shadow: 0 8px 18px rgba(18, 51, 84, 0.07);
}

/* ======================================
   RESET
====================================== */

.mobile-menu-toggle,
.mobile-nav-panel,
.mobile-nav-overlay{
  display: none;
}

body.mobile-menu-open{
  overflow: hidden;
  touch-action: none;
}

/* =========================
   TOP BAR
========================= */

.vs-topbar{
  background: var(--vs-header-topbar);
  min-height: 32px;
  display: flex;
  align-items: center;
  color: #fff;
  font-size: 11px;
}

.vs-topbar-inner{
  max-width: 1220px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  padding: 0 16px;
}

.topbar-right{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  width: 100%;
}

.topbar-right a{
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 12px;
  white-space: nowrap;
  opacity: .94;
}

.topbar-right a:hover{
  opacity: 1;
}

.topbar-divider{
  width: 1px;
  height: 14px;
  background: rgba(255,255,255,.45);
  margin: 0 2px;
  display: inline-block;
}

#vs-weather{
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  white-space: nowrap;
}

/* =========================
   MAIN HEADER
========================= */

.site-header{
  background: var(--vs-header-main);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--vs-header-main-border);
  box-shadow: var(--vs-header-shadow);
  transition: box-shadow .25s ease, background .25s ease;
}

.site-header.scrolled{
  box-shadow: 0 10px 24px rgba(18, 51, 84, 0.10);
}

/* =========================
   HEADER CONTAINER
========================= */

.header-inner{
  max-width: 1220px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 16px;
}

/* =========================
   LOGO
========================= */

.logo{
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.logo a{
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.logo img{
  display: block;
  width: auto;
  height: 48px;
  max-height: 48px;
  object-fit: contain;
}

/* =========================
   NAVIGATION
========================= */

nav.main-nav{
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

nav.main-nav ul{
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: nowrap;
}

nav.main-nav li{
  position: relative;
}

nav.main-nav a{
  color: var(--vs-header-text-dark);
  font-weight: 800;
  font-size: 14px;
  line-height: 1.15;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  padding: 3px 0 6px;
  transition: color .2s ease, opacity .2s ease;
}

nav.main-nav a::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--vs-header-accent);
  transition: width .22s ease;
}

nav.main-nav a:hover{
  color: #123e6a;
}

nav.main-nav a:hover::after{
  width: 100%;
}

/* =========================
   DISABLE DROPDOWN / MEGA
========================= */

.mega-menu{
  display: none !important;
}

/* =========================
   ACTIONS
========================= */

.header-actions{
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* =========================
   CTA
========================= */

.nav-trip{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--vs-header-accent);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  white-space: nowrap;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 6px 16px rgba(45, 167, 248, 0.22);
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.nav-trip:hover{
  background: var(--vs-header-accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(45, 167, 248, 0.28);
}

/* =========================
   SEARCH BUTTON
========================= */

#btnSearch{
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 12px;
  background: var(--vs-header-search);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  flex: 0 0 auto;
  box-shadow: 0 8px 18px rgba(18, 51, 84, 0.10);
  transition: background .2s ease, transform .2s ease;
}

#btnSearch:hover{
  background: #2478be;
  transform: translateY(-1px);
}

/* =========================
   BURGER
========================= */

.mobile-menu-toggle{
  width: 42px;
  height: 42px;
  border: 1px solid #d6e3ef;
  border-radius: 12px;
  background: #fff;
  color: var(--vs-header-text-dark);
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  flex: 0 0 auto;
  transition: background .2s ease, border-color .2s ease;
}

.mobile-menu-toggle:hover{
  background: #f6faff;
  border-color: #c8d9ea;
}

/* =========================
   MOBILE PANEL
========================= */

.mobile-nav-overlay{
  position: fixed;
  inset: 0;
  background: rgba(8, 24, 40, 0.42);
  z-index: 1998;
}

.mobile-nav-overlay.is-open{
  display: block;
}

.mobile-nav-panel{
  position: fixed;
  top: 0;
  right: 0;
  width: min(88vw, 380px);
  height: 100vh;
  background: #fff;
  z-index: 1999;
  box-shadow: -10px 0 34px rgba(0,0,0,0.14);
  transform: translateX(100%);
  transition: transform .28s ease;
  overflow-y: auto;
}

.mobile-nav-panel.is-open{
  display: block;
  transform: translateX(0);
}

.mobile-nav-header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 10px;
  border-bottom: 1px solid rgba(18, 51, 84, 0.08);
}

.mobile-nav-logo img{
  max-height: 38px;
  width: auto;
  display: block;
}

.mobile-nav-close{
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 12px;
  background: #eef4fb;
  color: var(--vs-header-text-dark);
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-nav-body{
  padding: 12px 16px 22px;
}

.mobile-quick-actions{
  display: grid;
  grid-template-columns: 1fr 48px;
  gap: 10px;
  margin-bottom: 16px;
}

.mobile-trip-link{
  min-height: 44px;
  border-radius: 14px;
  background: var(--vs-header-accent);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  text-align: center;
  font-size: 14px;
}

.mobile-search-btn{
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 14px;
  background: var(--vs-header-search);
  color: #fff;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.10);
}

.mobile-search-btn:hover{
  background: #2478be;
}

.mobile-weather{
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 12px;
  margin-bottom: 12px;
  border-radius: 12px;
  background: #f5f9fe;
  color: var(--vs-header-text-dark);
  font-weight: 700;
  font-size: 14px;
}

.mobile-nav{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav a{
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 12px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--vs-header-text-dark);
  font-weight: 800;
  font-size: 14px;
  background: #fff;
  border: 1px solid rgba(18, 51, 84, 0.06);
}

.mobile-nav a:hover{
  background: #f5f9fe;
}

.mobile-secondary-links{
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(18, 51, 84, 0.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-secondary-links a{
  color: var(--vs-header-text-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 4px 2px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1280px){
  .header-inner{
    padding: 8px 16px;
    gap: 12px;
  }

  .logo img{
    height: 48px;
    max-height: 48px;
  }

  nav.main-nav ul{
    gap: 14px;
  }

  nav.main-nav a{
    font-size: 14px;
  }

  .nav-trip{
    min-height: 42px;
    padding: 0 14px;
    font-size: 13px;
  }

  #btnSearch{
    width: 42px;
    height: 42px;
    font-size: 15px;
  }
}

@media (max-width: 1120px){
  .header-inner{
    gap: 10px;
  }

  .logo img{
    height: 44px;
    max-height: 44px;
  }

  nav.main-nav ul{
    gap: 12px;
  }

  nav.main-nav a{
    font-size: 13px;
  }

  .nav-trip{
    min-height: 40px;
    padding: 0 12px;
    font-size: 12px;
  }

  #btnSearch{
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
}

@media (max-width: 980px){
  .vs-topbar{
    display: none;
  }

  nav.main-nav{
    display: none;
  }

  .nav-trip{
    display: none;
  }

  .mobile-menu-toggle{
    display: inline-flex;
  }

  .header-inner{
    padding: 8px 14px;
    gap: 8px;
  }

  .logo{
    flex: 1 1 auto;
    min-width: 0;
  }

  .logo img{
    height: 40px;
    max-height: 40px;
  }

  #btnSearch{
    width: 42px;
    height: 42px;
    font-size: 15px;
    border-radius: 11px;
  }

  .mobile-menu-toggle{
    width: 42px;
    height: 42px;
    font-size: 15px;
    border-radius: 11px;
  }
}

@media (max-width: 640px){
  .header-inner{
    padding: 8px 12px;
    gap: 8px;
  }

  .logo img{
    height: 34px;
    max-height: 34px;
  }

  #btnSearch,
  .mobile-menu-toggle{
    width: 40px;
    height: 40px;
    font-size: 14px;
    border-radius: 10px;
  }

  .mobile-nav-panel{
    width: min(92vw, 360px);
  }

  .mobile-nav-body{
    padding: 12px 14px 20px;
  }
}

/* =========================
   GLOBAL HELPERS
========================= */

.vs-legal-notice{
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid #d9e6f2;
  background: #f7fbff;
  border-radius: 14px;
  color: #3a4a5d;
  font-size: .92rem;
  line-height: 1.65;
}

.vs-legal-notice a{
  font-weight: 700;
}

.vs-legal-checkbox{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  color: #2a3a4f;
  font-size: .95rem;
  line-height: 1.55;
}

.vs-legal-checkbox input{
  margin-top: 3px;
}

.vs-cookie-bar{
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1200;
  background: #10263c;
  color: #fff;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0,0,0,.22);
}

.vs-cookie-bar[hidden]{
  display: none !important;
}

.vs-cookie-bar-inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 18px;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.vs-cookie-bar p{
  margin: 0;
  font-size: .96rem;
  line-height: 1.55;
}

.vs-cookie-bar a{
  color: #fff;
  text-decoration: underline;
}

.vs-cookie-actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.vs-cookie-btn{
  border: 1px solid rgba(255,255,255,.25);
  background: #ffffff;
  color: #12314d;
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
}

.vs-cookie-link{
  color: #fff;
  font-weight: 700;
}