/* RESPONSIVE CSS FOR FAIR TRAVEL STAGING */

html { overflow-x: hidden; }

/* HAMBURGER BUTTON */
.hamburger-btn {
  display: none;
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 10000;
  width: 44px;
  height: 44px;
  background: rgba(0,0,0,0.8);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  padding: 10px 8px;
  align-items: center;
}
.hamburger-btn span {
  display: block;
  width: 26px;
  height: 3px;
  background: #8dc63f;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
  margin: 3px 0;
}
.hamburger-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.hamburger-btn.active span:nth-child(2) { opacity: 0; }
.hamburger-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* MOBILE NAV OVERLAY */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(30,30,20,0.97);
  z-index: 9999;
  overflow-y: auto;
  padding: 70px 20px 30px;
}
.mobile-nav-overlay.active { display: block; }
.mobile-nav-overlay ul { list-style: none; padding: 0; margin: 0; }
.mobile-nav-overlay > ul > li { border-bottom: 1px solid rgba(141,198,63,0.2); }
.mobile-nav-overlay a {
  display: block;
  color: #fff;
  text-decoration: none;
  padding: 14px 10px;
  font-size: 18px;
  font-family: Georgia, serif;
}
.mobile-nav-overlay a:hover { color: #8dc63f; background: rgba(141,198,63,0.1); }
.mobile-nav-overlay ul ul { padding-left: 20px; }
.mobile-nav-overlay ul ul a { font-size: 15px; padding: 10px; color: #ccc; }

/* TABLET (960px) */
@media screen and (max-width: 960px) {
  *, *::before, *::after { box-sizing: border-box; }
  img { max-width: 100%; height: auto; }
  #main_wrapper {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
  }
  .header, .banner, .nav, .main,
  .your_footprints, .banner_2, .bottom, .footer {
    width: 100% !important;
    max-width: 100% !important;
  }
  .left, .right {
    width: 100% !important;
    float: none !important;
    clear: both !important;
  }
  .banner {
    overflow: hidden !important;
    height: auto !important;
  }
  /* DCG slider - ALL elements */
  .banner img,
  #dfcg-outer-wrapper,
  #dfcg-slideshow,
  #dfcg-slideshow li,
  #dfcg-slideshow img,
  #dfcg-fullsize,
  #dfcg-imglink,
  #dfcg-image,
  #dfcg-image img,
  #dfcg-text,
  .dfcg-metabox,
  .dfcg-thumb-legacy {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  #dfcg-text h3, #dfcg-text p {
    max-width: 100% !important;
    width: auto !important;
  }
  #dfcg-thumbstrip-wrapper {
    max-width: 100% !important;
    overflow: hidden !important;
  }
  .your_footprints, .banner_2, .bottom, .footer {
    background-size: cover !important;
    height: auto !important;
    padding: 15px 10px !important;
  }
  table { max-width: 100% !important; }
  .challage, .make_an_enquiry {
    width: 100% !important;
    float: none !important;
  }

  /* RESPONSIVE CONTACT FORM - TABLET */
  .wpcf7-form input[type="text"],
  .wpcf7-form input[type="email"],
  .wpcf7-form textarea,
  .wpcf7-form select {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* MOBILE (768px) */
@media screen and (max-width: 768px) {
  .hamburger-btn { display: block; }
  .nav { display: none !important; }
  .header {
    text-align: left;
    padding: 10px 10px !important;
    height: auto !important;
    background-size: cover !important;
  }
  .header .logo {
    position: relative !important;
    height: auto !important;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .header .logo_a {
    display: flex;
    flex-direction: row;
    align-items: center;
    float: none !important;
    position: relative !important;
    left: auto !important;
    top: auto !important;
  }
  .header .logo_feet {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    max-width: 40px !important;
    height: auto !important;
    margin-right: 8px;
  }
  .header .logo_text {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    max-width: 140px !important;
    height: auto !important;
    }
  
  .header h2, .header span {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    display: block;
    text-align: left;
    margin-top: 3px;
    font-size: 12px !important;
  }
  .header a img { max-width: 200px !important; }
  .header .search, .top_right, #searchform { display: none !important; }
  .banner { height: auto !important; overflow: hidden !important; }
  .banner img, #dfcg-outer-wrapper, #dfcg-slideshow, #dfcg-slideshow li, #dfcg-slideshow img,
  #dfcg-fullsize, #dfcg-imglink, #dfcg-image, #dfcg-image img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  #dfcg-text { width: 100% !important; max-width: 100% !important; }
  .main { height: auto !important; padding: 10px !important; }
  .left, .right {
    width: 100% !important;
    float: none !important;
    clear: both !important;
  }
  .right { margin-top: 20px !important; }
  .challage, .make_an_enquiry {
    width: 100% !important;
    float: none !important;
    text-align: center;
  }
  .make_an_enquiry a img { max-width: 100% !important; height: auto !important; }
  .your_footprints, .banner_2, .bottom {
    height: auto !important;
    padding: 15px 10px !important;
  }
  .banner_2 { background-size: cover !important; }
  .banner_2 .left, .banner_2 .right {
    width: 100% !important;
    float: none !important;
  }
  .footer .left_footer, .footer .right_footer {
    float: none !important;
    width: 100% !important;
    text-align: center;
  }
  .bottom .left, .bottom .right {
    width: 100% !important;
    float: none !important;
  }
  table { width: 100% !important; }
  table img { max-width: 100% !important; height: auto !important; }

  /* RESPONSIVE CONTACT FORM */
  .wpcf7-form table,
  .wpcf7-form table tbody,
  .wpcf7-form table tr,
  .wpcf7-form table td {
    display: block !important;
    width: 100% !important;
  }
  .wpcf7-form table td {
    padding: 5px 0 !important;
  }
  .wpcf7-form input[type="text"],
  .wpcf7-form input[type="email"],
  .wpcf7-form input[type="tel"],
  .wpcf7-form textarea,
  .wpcf7-form select {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .wpcf7-form .borderDiv table td {
    text-align: center;
  }
  .wpcf7-form .wpcf7-response-output {
    margin: 10px 0 !important;
  }
}

/* SMALL MOBILE (480px) */
@media screen and (max-width: 480px) {
  .header a img { max-width: 160px !important; }
  .mobile-nav-overlay a { font-size: 16px; padding: 12px 8px; }
  .entry h2, .entry h3 { font-size: 1.2em !important; }
}

@media print {
  .hamburger-btn, .mobile-nav-overlay, .nav { display: none !important; }
}
