/* TravelPro Custom CSS */
/* This file is required by template-helper.php */
/* Theme colors are injected inline via wp_add_inline_style() */

/* ============================================
   LIBERO CUSTOM - DESKTOP & MOBILE
   HIGHEST PRIORITY - Overrides everything
   ============================================ */

/* HEADER - Desktop - Semi-transparent navy */
html body .cs_site_header.cs_style_1,
html body .cs_site_header,
html body .cs_main_header,
.cs_site_header.cs_style_1,
.cs_site_header,
.cs_main_header {
  background: rgba(16, 32, 57, 0.85) !important;
  background-color: rgba(16, 32, 57, 0.85) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border-bottom: 1px solid rgba(63, 208, 212, 0.2) !important;
  transition: all 0.3s ease !important;
  margin: 0 !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
  top: 0 !important;
}

/* Sticky header variations */
html body .cs_site_header.cs_style_1.cs_gescout_sticky,
html body .cs_site_header.cs_style_1.cs_sticky_active,
html body .cs_site_header.cs_style_1.cs_color_1,
.cs_site_header.cs_style_1.cs_gescout_sticky,
.cs_site_header.cs_style_1.cs_sticky_active,
.cs_site_header.cs_style_1.cs_color_1 {
  background: rgba(16, 32, 57, 0.85) !important;
  background-color: rgba(16, 32, 57, 0.85) !important;
  background-image: none !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2) !important;
}

/* MENU TEXT - White with cyan hover, gold active */
html body .cs_site_header .cs_nav .cs_nav_list > li > a,
html body .cs_site_header.cs_style_1 .cs_nav .cs_nav_list > li > a,
.cs_site_header .cs_nav .cs_nav_list > li > a {
  color: #ffffff !important;
  text-shadow: none !important;
}

html body .cs_site_header .cs_nav .cs_nav_list > li > a:hover {
  color: #3fd0d4 !important;
}

html body .cs_site_header .cs_nav .cs_nav_list > li.current-menu-item > a,
html body .cs_site_header .cs_nav .cs_nav_list > li.current-menu-ancestor > a {
  color: #ffc107 !important;
}

/* HOMEPAGE HERO - White text with dark overlay */
.home .cs_hero .cs_hero_title,
.home .cs_hero_title {
  color: #ffffff !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7) !important;
  font-weight: 700 !important;
}

.home .cs_hero .cs_hero_subtitle,
.home .cs_hero .cs_hero_mini_title,
.home .cs_hero_subtitle,
.home .cs_hero_mini_title {
  color: #ffffff !important;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6) !important;
  font-weight: 600 !important;
}

.home .cs_hero .cs_hero_desc,
.home .cs_hero_desc {
  color: #ffffff !important;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6) !important;
}

/* Homepage dark overlay */
.home .cs_hero.cs_style_1::before {
  content: '' !important;
  display: block !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: rgba(0, 0, 0, 0.50) !important;
  z-index: 1 !important;
  pointer-events: none !important;
}

.home .cs_hero.cs_style_1 .container,
.home .cs_hero.cs_style_1 .cs_hero_text {
  position: relative !important;
  z-index: 10 !important;
}

/* HIDE CIRCLES */
.cs_hero_shape_1,
.cs_hero_shape_2,
.cs_hero_shape_3,
.animated-icon-wrap,
.animated-icon,
.cs_wave_animation {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* INNER PAGES HERO */
.cs_hero.cs_style_3 .cs_hero_mini_title {
  color: #3fd0d4 !important;
}

.cs_hero.cs_style_3 .cs_hero_title {
  color: #ffffff !important;
}

.cs_hero.cs_style_3 .cs_hero_desc {
  color: #ffffff !important;
}

/* Submenu dropdown */
.cs_site_header .cs_nav .cs_nav_list > li ul.sub-menu {
  background: #102039 !important;
  border: 1px solid rgba(63, 208, 212, 0.3) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
}

.cs_site_header .cs_nav .cs_nav_list > li ul.sub-menu li a {
  color: #ffffff !important;
}

.cs_site_header .cs_nav .cs_nav_list > li ul.sub-menu li a:hover {
  color: #3fd0d4 !important;
  background: rgba(63, 208, 212, 0.1) !important;
}

/* ============================================
   MOBILE ONLY - COMPLETE OVERRIDE
   ============================================ */
@media screen and (max-width: 991px) {

  /* LOGO - Small and centered vertically */
  html body .cs_site_header .cs_site_branding,
  html body a.cs_site_branding,
  html body .cs_main_header_left .cs_site_branding,
  body .cs_site_header .cs_site_branding,
  body a.cs_site_branding,
  body .cs_main_header_left .cs_site_branding {
    background: transparent !important;
    padding: 0 !important;
    padding-top: 0 !important;
    margin: 0 !important;
    margin-top: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    filter: none !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
    max-width: 90px !important;
    width: auto !important;
    height: auto !important;
    display: block !important;
  }

  /* LOGO IMAGE - Exact size */
  html body .cs_site_header .cs_site_branding img,
  html body a.cs_site_branding img,
  html body .cs_main_header_left .cs_site_branding img,
  body .cs_site_header .cs_site_branding img,
  body a.cs_site_branding img,
  body .cs_main_header_left .cs_site_branding img {
    max-width: 90px !important;
    max-height: 35px !important;
    width: auto !important;
    height: 35px !important;
    object-fit: contain !important;
    display: block !important;
    border: none !important;
  }

  /* HEADER CONTAINER - Remove left/right padding for full width background */
  html body .cs_site_header.cs_style_1,
  html body .cs_site_header,
  body .cs_site_header.cs_style_1,
  body .cs_site_header {
    padding: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Remove container padding if inside header */
  html body .cs_site_header .container,
  body .cs_site_header .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  /* MAIN HEADER - No padding */
  html body .cs_main_header,
  body .cs_main_header {
    padding: 0 !important;
    margin: 0 !important;
  }

  /* HEADER INNER - Fixed height with flexbox, padding INSIDE */
  html body .cs_site_header.cs_style_1 .cs_main_header_in,
  body .cs_site_header.cs_style_1 .cs_main_header_in {
    height: 55px !important;
    min-height: 55px !important;
    max-height: 55px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 15px !important;
    margin: 0 !important;
    width: 100% !important;
  }

  html body .cs_site_header .cs_main_header_left,
  body .cs_site_header .cs_main_header_left {
    display: flex !important;
    align-items: center !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* MOBILE MENU - 50% width, slide from left */
  html body .cs_nav .cs_nav_list,
  html body .cs_site_header .cs_nav .cs_nav_list,
  body .cs_nav .cs_nav_list,
  body .cs_site_header .cs_nav .cs_nav_list {
    position: fixed !important;
    width: 50% !important;
    max-width: 280px !important;
    min-width: 240px !important;
    left: -100% !important;
    padding: 0 !important;
    padding-top: 60px !important;
    padding-bottom: 20px !important;
    margin: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    height: 100vh !important;
    min-height: 100vh !important;
    background: rgba(16, 32, 57, 0.98) !important;
    backdrop-filter: blur(15px) !important;
    overflow-y: auto !important;
    transition: left 0.3s ease !important;
    z-index: 9999 !important;
  }

  /* Menu OPEN state */
  html body .cs_nav .cs_nav_list.cs_active,
  body .cs_nav .cs_nav_list.cs_active {
    left: 0 !important;
  }

  /* MENU ITEMS - No margin/padding on LI */
  html body .cs_nav .cs_nav_list > li,
  body .cs_nav .cs_nav_list > li {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    list-style: none !important;
  }

  /* MENU LINKS - White color, padding only on A tag */
  html body .cs_nav .cs_nav_list > li > a,
  body .cs_nav .cs_nav_list > li > a {
    color: #ffffff !important;
    background: transparent !important;
    padding: 14px 20px !important;
    display: block !important;
    width: 100% !important;
    text-align: left !important;
    border: none !important;
    margin: 0 !important;
  }

  /* MENU HOVER - Cyan */
  html body .cs_nav .cs_nav_list > li > a:hover,
  body .cs_nav .cs_nav_list > li > a:hover {
    color: #3fd0d4 !important;
    background: rgba(63, 208, 212, 0.1) !important;
  }

  /* MENU ACTIVE - Gold */
  html body .cs_nav .cs_nav_list > li.current-menu-item > a,
  html body .cs_nav .cs_nav_list > li.current-menu-ancestor > a,
  body .cs_nav .cs_nav_list > li.current-menu-item > a,
  body .cs_nav .cs_nav_list > li.current-menu-ancestor > a {
    color: #ffc107 !important;
  }

  /* Remove borders from header elements */
  html body .cs_site_header,
  html body .cs_main_header,
  html body .cs_main_header_in,
  html body .cs_main_header_left,
  html body .cs_main_header_right {
    border-left: none !important;
    border-right: none !important;
  }

  /* Clean hamburger button */
  html body .cs_menu_toggle,
  html body .cs_nav_toggle {
    background: transparent !important;
    border: none !important;
    padding: 10px !important;
  }
}

/* Add spacing from header - САМО ЗА HOMEPAGE */
.home .cs_hero.cs_style_1,
.home .cs_hero {
  margin-top: 180px !important;
  padding-top: 80px !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
}

/* General hero background fix - ALL SCREENS */
.cs_hero {
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
}

.cs_hero.cs_style_3 {
  min-height: 500px !important;
  display: flex !important;
  align-items: center !important;
  padding: 100px 0 !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
}

/* ============================================
   2. MENU NAVIGATION - DESKTOP
   ============================================ */

/* DESKTOP - Flexbox layout */
@media screen and (min-width: 1700px) {
  html body .cs_site_header.cs_style_1 .cs_main_header_in,
  .cs_site_header.cs_style_1 .cs_main_header_in {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
  }

  html body .cs_site_header.cs_style_1 .cs_main_header_right,
  .cs_site_header.cs_style_1 .cs_main_header_right {
    position: absolute !important;
    left: 55% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }

  html body .cs_site_header.cs_style_1 .cs_main_header_left,
  .cs_site_header.cs_style_1 .cs_main_header_left {
    position: relative !important;
    z-index: 10 !important;
    flex-shrink: 0 !important;
  }

  /* Prevent menu wrapping */
  html body .cs_nav .cs_nav_list,
  html body .cs_site_header .cs_nav .cs_nav_list,
  html body .cs_site_header.cs_style_1 .cs_nav .cs_nav_list,
  body .cs_nav .cs_nav_list,
  body .cs_site_header .cs_nav .cs_nav_list,
  .cs_site_header .cs_nav .cs_nav_list,
  .cs_nav .cs_nav_list {
    display: flex !important;
    flex-wrap: nowrap !important;
    -ms-flex-wrap: nowrap !important;
    white-space: nowrap !important;
  }

  /* Menu spacing for large screens */
  html body .cs_site_header .cs_nav .cs_nav_list > li,
  body .cs_site_header .cs_nav .cs_nav_list > li,
  .cs_nav .cs_nav_list > li {
    margin-right: 15px !important;
  }

  /* Last menu item - extra margin to push menu left */
  html body .cs_site_header .cs_nav .cs_nav_list > li:last-child,
  body .cs_site_header .cs_nav .cs_nav_list > li:last-child,
  .cs_nav .cs_nav_list > li:last-child {
    margin-right: 200px !important;
  }

  html body .cs_site_header .cs_nav .cs_nav_list > li > a,
  body .cs_site_header .cs_nav .cs_nav_list > li > a,
  .cs_nav .cs_nav_list > li > a {
    padding: 10px 12px !important;
    font-size: 16px !important;
  }
}

/* Hamburger menu button */
  html body .cs_nav_toggle,
  html body .cs_menu_toggle,
  body .cs_nav_toggle,
  body .cs_menu_toggle {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    width: 30px !important;
    height: 22px !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    cursor: pointer !important;
  }

  /* Hamburger lines */
  html body .cs_nav_toggle span,
  html body .cs_menu_toggle span,
  body .cs_nav_toggle span,
  body .cs_menu_toggle span {
    display: block !important;
    width: 100% !important;
    height: 3px !important;
    background: #ffffff !important;
    border-radius: 2px !important;
    transition: all 0.3s ease !important;
  }

