/*--------------------------------------------------------------
  Site header / navbar — matches index.php UI on every page.
  (Extracted from blog.css homepage header fixes.)
----------------------------------------------------------------*/

/* Navbar scroll landing offset — clears sticky header (~90px) + gap */
#about,
#steps,
#ourWork,
#pricing,
#areas,
#blog,
#faq,
#bookNow {
  scroll-margin-top: 32px;
}

#about {
  scroll-margin-top: 120px;
}

/* Header: flex row so 8 nav links don't overlap the logo.
   Theme uses absolute center + 50px gaps — broken around 1200–1400px. */
@media screen and (min-width: 1200px) {
  .cs-site_header.cs-style1 {
    top: 0;
  }

  .cs-site_header.cs-style1.cs-sticky_header .container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .cs-site_header.cs-style1 .cs-main_header_in {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    gap: 16px;
  }

  .cs-site_header.cs-style1 .cs-main_header_left {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
  }

  .cs-site_header.cs-style1 .cs-main_header_center {
    position: static;
    left: auto;
    top: auto;
    -webkit-transform: none;
    transform: none;
    width: auto;
    max-width: none;
    height: auto;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    min-width: 0;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  .cs-site_header.cs-style1 .cs-main_header_right {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
  }

  .cs-site_header.cs-style1 .cs-site_branding img {
    width: 190px;
  }

  .cs-site_header.cs-style1 .cs-nav {
    margin-left: 0;
    width: 100%;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  .cs-site_header.cs-style1 .cs-nav .cs-nav_list {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    max-width: 100%;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    gap: 50px;
    margin: 0 auto;
  }

  .cs-site_header.cs-style1 .cs-nav .cs-nav_list > li {
    margin-right: 0;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
  }

  .cs-site_header.cs-style1 .cs-nav .cs-nav_list > li > a {
    white-space: nowrap;
    font-size: 16px;
    font-weight: 400;
    padding: 10px 0;
    letter-spacing: 0.02em;
  }

  .cs-site_header.cs-style1 .cs-btn.cs-style2.cs-type2 {
    padding: 12px 36px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5em;
    letter-spacing: 0.02em;
    white-space: nowrap;
  }
}

/* ~1300px: roomier UL li gap without wrapping */
@media screen and (min-width: 1280px) and (max-width: 1399px) {
  .cs-site_header.cs-style1 .cs-nav .cs-nav_list {
    gap: 50px;
  }
}

@media screen and (min-width: 1400px) {
  .cs-site_header.cs-style1.cs-sticky_header .container {
    padding-left: 40px;
    padding-right: 40px;
  }

  .cs-site_header.cs-style1 .cs-site_branding img {
    width: 220px;
  }

  .cs-site_header.cs-style1 .cs-nav .cs-nav_list {
    gap: 50px;
  }

  .cs-site_header.cs-style1 .cs-nav .cs-nav_list > li > a {
    font-size: 16px;
  }

  .cs-site_header.cs-style1 .cs-btn.cs-style2.cs-type2 {
    font-size: 16px;
    padding: 12px 36px;
  }
}

@media screen and (min-width: 1600px) {
  .cs-site_header.cs-style1.cs-sticky_header .container {
    padding-left: 75px;
    padding-right: 75px;
  }

  .cs-site_header.cs-style1 .cs-site_branding img {
    width: 250px;
  }

  .cs-site_header.cs-style1 .cs-nav .cs-nav_list {
    gap: 50px;
  }

  .cs-site_header.cs-style1 .cs-nav .cs-nav_list > li > a {
    font-size: 16px;
  }

  .cs-site_header.cs-style1 .cs-btn.cs-style2.cs-type2 {
    font-size: 16px;
    padding: 13px 40px;
  }
}
