/* Default: Mobile first */
.nav-desktop {
  display: none;
}

.nav-mobile {
  display: block;
}

/* MID SCREEN & ABOVE (Tablet + Desktop) */
@media screen and (min-width: 992px) {
  .nav-desktop {
    display: flex;
    gap: 30px;
    align-items: center;
  }

  .list-style-none {
    font-size: 20px;
    font-weight: 600;
  }

  .anchor {
    font-weight: 500;
    display: inline-block;
  }

  .anchor:hover {
    color: chocolate;
  }

  .nav-mobile {
    display: none;
  }

  .non-active-nav {
    color: #000000;
    text-decoration: none;
  }

  .active-nav {
    color: chocolate;
    font-weight: 600;
  }

  .non-active-nav:hover {
    color: chocolate;
    font-weight: 600;
  }
}

#header {
  -moz-transition: background-color 0.2s ease;
  -webkit-transition: background-color 0.2s ease;
  -ms-transition: background-color 0.2s ease;
  transition: background-color 0.2s ease;
  background: #2e3842;
  height: 3em;
  left: 0;
  line-height: 3em;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10000;
}

#header h1 {
  -moz-transition: opacity 0.2s ease;
  -webkit-transition: opacity 0.2s ease;
  -ms-transition: opacity 0.2s ease;
  transition: opacity 0.2s ease;
  height: inherit;
  left: 1.25em;
  line-height: inherit;
  position: absolute;
  top: 0;
}

#header h1 a {
  border: 0;
  display: block;
  height: inherit;
  line-height: inherit;
}

@media screen and (max-width: 736px) {
  #header h1 a {
    font-size: 0.8em;
  }
}

#header nav {
  height: inherit;
  line-height: inherit;
  position: absolute;
  right: 0;
  top: 0;
}

#header nav > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

#header nav > ul > li {
  display: inline-block;
  padding: 0;
}

#header nav > ul > li > a {
  border: 0;
  display: block;
  font-size: 0.8em;
  letter-spacing: 0.225em;
  padding: 0 0.5em;
  text-transform: uppercase;
}

#header nav > ul > li > a.menuToggle {
  outline: 0;
  position: relative;
}

#header nav > ul > li > a.menuToggle:after {
  background-image: url("images/bars.svg");
  background-position: right center;
  background-repeat: no-repeat;
  content: "";
  display: inline-block;
  height: 3.75em;
  vertical-align: top;
  width: 2em;
}

@media screen and (max-width: 736px) {
  #header nav > ul > li > a.menuToggle {
    padding: 0 1.5em;
  }

  #header nav > ul > li > a.menuToggle span {
    display: none;
  }
}

@media screen and (max-width: 736px) {
  #header nav > ul > li > a {
    padding: 0 0 0 1.5em;
  }
}

#header nav > ul > li:first-child {
  margin-left: 0;
}

#header.alt {
  background: transparent;
}

#header.alt h1 {
  pointer-events: none;
  opacity: 0;
}

/* ============================= */
/* MODERN FOOTER */
/* ============================= */

.modern-footer {
  background: url("./img/footer3.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 60px 20px 20px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.footer-brand {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.footer-brand img {
  width: 200px;
}

.footer-links h4,
.footer-contact h4 {
  margin-bottom: 15px;
  font-size: 16px;
}

.footer-links a {
  display: block;
  color: #ddd;
  font-size: 14px;
  margin-bottom: 8px;
  text-decoration: none;
}

.footer-links a:hover {
  color: #f2a365;
}

.footer-contact p {
  font-size: 14px;
  margin-bottom: 10px;
}

.footer-contact i {
  margin-right: 8px;
  color: #f2a365;
}

.footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: 0.3s;
}

.footer-social a:hover {
  background: #f2a365;
  color: #000;
}

.footer-bottom {
  margin-top: 40px;
  text-align: center;
  font-size: 13px;
  opacity: 0.7;
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  white-space: nowrap;
}
/* ============================= */
/* MOBILE */
/* ============================= */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .modern-footer {
    padding-bottom: 100px; /* for mobile contact bar */
  }
}

#scrollUp,
#back-top {
  background: #800000;
  height: 50px;
  width: 50px;
  right: 31px;
  bottom: 18px;
  position: fixed;
  color: #fff;
  font-size: 20px;
  text-align: center;
  border-radius: 50%;
  line-height: 48px;
  border: 2px solid transparent;
  box-shadow: 0 0 10px 3px rgba(108, 98, 98, 0.2);
  z-index: 9999;
}
@media (max-width: 575px) {
  #scrollUp,
  #back-top {
    right: 16px;
    bottom: 100px;
  }
}
#scrollUp a i,
#back-top a i {
  display: block;
  line-height: 50px;
}
#scrollUp:hover {
  color: #fff;
}

#contact-float {
  position: fixed;
  bottom: 20px;
  left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 999;
}

.contact-item {
  display: flex;
  align-items: center;
  background: #800000;
  color: #fff;
  border-radius: 30px;
  padding: 12px;
  width: 46px;
  overflow: hidden;
  transition: width 0.3s ease;
}

#contact-float:hover .contact-item {
  width: 350px;
}

.contact-item i {
  min-width: 20px;
  text-align: center;
}

.contact-item a {
  color: #fff;
  margin-left: 12px;
  text-decoration: none;
  white-space: nowrap;
  flex: 1;
  opacity: 0;
  transition: opacity 0.2s ease;
}

#contact-float:hover a {
  opacity: 1;
}

.copy {
  cursor: pointer;
  margin-left: 10px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

#contact-float:hover .copy {
  opacity: 1;
}

.copy:hover {
  color: #ffccaa;
}

@media only screen and (max-width: 992px) {
  #contact-float {
    display: none;
  }
}

.contact-cta {
  font-size: 18px;
  color: #cfa45d;
  font-weight: 600;
  text-decoration: none;
}

.contact-cta:hover {
  color: #e38e06;
}

.schedule-note {
  margin-top: 18px;
  font-size: 14px;
  opacity: 0.8;
}

.contact-free {
  text-align: center;
}

/* MOBILE CONTACT BAR – GLASS EFFECT */
.mobile-contact-bar {
  display: none;
}

/* Mobile only */
@media screen and (max-width: 767px) {
  .mobile-contact-bar {
    display: flex;
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 20px);
    max-width: 420px;
    height: 60px;

    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border-radius: 18px;
    z-index: 9999;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
  }

  .mobile-contact-bar a {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.3s ease;
  }

  .mobile-contact-bar a:active {
    background: rgba(255, 255, 255, 0.1);
  }

  .mobile-contact-bar i {
    display: block;
    font-size: 20px;
    margin-bottom: 4px;
  }

  /* Prevent overlap with content */
  body {
    padding-bottom: 90px;
  }
}
