/**
 * site-chrome.css
 * Meridian GeoStrategy - Site Chrome (Header & Footer)
 *
 * Contains all styles for the fixed navigation header (desktop and mobile)
 * and the site-wide footer. Handles scroll state transitions,
 * hamburger menu animation, and responsive breakpoints.
 *
 * @module site-chrome
 * @version 2.0.0
 * @see {@link https://meridiangeostrategy.com}
 */

/* ==========================================================================
   Header - Desktop (>= 850px)
   ========================================================================== */

@media screen and (min-width: 850px) {
  #header {
    height: 115px;
    transition: height 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    background-color: rgba(56, 21, 81, 0.75);
  }

  .container {
    max-width: 1200px !important;
  }

  .header-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
  }

  .logo-img {
    height: 115px;
  }

  .logo-img img {
    width: 300px;
    height: 60px;
    display: block;
    margin-top: 27.5px;
    transition: all 0.3s ease;
  }

  .menu-btn {
    display: none;
  }

  .menu-container {
    height: 65px;
  }

  .menu-container ul {
    line-height: 65px;
    display: flex;
  }

  .menu-li {
    margin: 0 12px;
    color: #fff;
  }

  .menu-li a {
    display: block;
    position: relative;
    width: 100%;
  }

  .menu-li a::after {
    content: "";
    display: block;
    width: 0;
    height: 2px;
    background-color: #fff;
    position: absolute;
    top: 63px;
    transition: width 0.3s ease;
  }

  .menu-li a:hover::after {
    width: 100%;
  }

  .active a::after {
    width: 100%;
  }

  .header-scroll {
    height: 80px !important;
    background-color: rgba(56, 21, 81, 1) !important;
  }

  .header-scroll .logo-img {
    height: 80px;
  }

  .header-scroll .logo-img img {
    margin-top: 10px;
  }
}

/* ==========================================================================
   Header - Mobile (< 850px)
   ========================================================================== */

@media screen and (max-width: 850px) {
  #header {
    height: 115px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    background-color: rgba(56, 21, 81, 0.75);
  }

  .container {
    max-width: 1200px !important;
  }

  .header-container {
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
  }

  .logo-img {
    height: 115px;
  }

  .logo-img img {
    width: 250px;
    height: auto;
    display: block;
    margin-top: 32.5px;
  }

  .menu-btn {
    position: relative;
  }

  .btnMenu {
    display: flex;
    flex-direction: column;
    background-color: transparent;
    border: none;
    border-radius: 0;
    padding: 15px 10px 0 0;
    margin: 0;
    cursor: pointer;
    position: relative;
    z-index: 2;
  }

  .btnMenu > span:nth-child(1) {
    width: 1.9375rem;
    height: 0.125rem;
    background-color: #fff;
    margin-bottom: 0.4375rem;
    transition: transform 0.3s ease, opacity 0.3s ease;
    box-sizing: border-box;
    border-radius: 3px;
  }

  .btnMenu > span:nth-child(2) {
    width: 1.9375rem;
    height: 0.125rem;
    background-color: #fff;
    margin-bottom: 0.4375rem;
    transition: transform 0.3s ease, opacity 0.3s ease;
    box-sizing: border-box;
    border-radius: 3px;
  }

  .btnMenu > span:nth-child(3) {
    width: 1.9375rem;
    height: 0.125rem;
    border-radius: 3px;
    background-color: #fff;
    margin-bottom: 0.4375rem;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .close {
    margin-left: 5px;
  }

  .close > span:nth-child(1) {
    background-color: #fff;
    transform: rotate(45deg) translate(0.125rem, 0.5625rem);
  }

  .close > span:nth-child(2) {
    background-color: #fff;
    opacity: 0;
  }

  .close > span:nth-child(3) {
    background-color: #fff;
    transform: rotate(-45deg) translate(0.25rem, -0.6875rem);
  }

  .btn-border {
    width: 45px;
    height: 45px;
    border: 2px solid #fff;
    position: absolute;
    left: -7px;
    top: 3px;
    transform: rotate(45deg);
  }

  .menu-container {
    display: none;
    width: 100%;
    height: calc(100vh - 115px);
    background-color: #1b0251;
    overflow-y: auto;
  }

  .menu-container ul {
    line-height: 65px;
  }

  .menu-li {
    margin: 0 12px;
    color: #fff;
  }

  .menu-li a {
    display: block;
    position: relative;
    width: 100%;
    font-size: 20px;
  }

  .header-scroll {
    height: 80px !important;
    background-color: rgba(56, 21, 81, 1) !important;
  }

  .header-scroll .logo-img {
    height: 80px;
  }

  .header-scroll .logo-img img {
    margin-top: 15px;
  }

  .menu-show {
    height: 100vh !important;
    background-color: #1b0251 !important;
  }

  .menu-show .menu-container {
    display: block;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer-container {
  width: 100%;
  background-image: url("../images/bg.jpg");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  overflow: hidden;
  position: relative;
}

.footer-logo {
  width: 210px;
  height: auto;
}

.footer-logo img {
  width: 210px;
  height: auto;
}

.footer-menu-container {
  width: 100%;
  height: auto;
  border-bottom: 1px solid #fff;
}

.footer-menu-container ul {
  display: flex;
  flex-wrap: wrap;
}

.footer-menu-container ul li {
  margin-right: 20px;
}

.footer-copyright {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
