/* BASE */
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  font-family: 'Open Sans', sans-serif;
  color: #000;
  background: #fff;
  margin: 0;
}

/* NAVBAR */
.navbar {
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  min-height: 64px;
}
.navbar-brand img {
  height: 36px;
}
.navbar-nav .nav-link {
  color: #000;
  font-weight: 500;
}
.navbar-nav .nav-link:hover {
  text-decoration: underline;
}

/* HAMBURGER */
.navbar-toggler {
  border: none;
  background: transparent;
  padding: .25rem .5rem;
  z-index: 1101;
  outline: none;
  box-shadow: none;
}
.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}
.navbar-toggler-icon {
  width: 24px;
  height: 16px;
  display: inline-block;
  position: relative;
  background: none !important;
}
.navbar-toggler-icon::before,
.navbar-toggler-icon::after,
.navbar-toggler-icon div {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #000;
  border-radius: 1px;
}
.navbar-toggler-icon::before {
  top: 0;
}
.navbar-toggler-icon div {
  top: 7px;
}
.navbar-toggler-icon::after {
  bottom: 0;
}

/* MOBILE (full screen) */
@media (max-width: 991.98px) {
  .navbar-collapse {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #000;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: opacity .3s ease, visibility .3s ease;
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    padding-bottom: 90px;
  }
  .navbar-collapse.show {
    opacity: 1;
    visibility: visible;
  }

  /* ✅ Updated close-menu style (visible X with black background & white text) */
  .close-menu {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 1.8rem;
    color: #fff;
    background: transparent;
    border: none;
    border-radius: 0;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 400;
    line-height: 1;
    z-index: 1102;
    transition: background 0.3s ease, color 0.3s ease, opacity 0.3s ease;
  }
  .close-menu:hover,
  .close-menu:focus {
  color: #fff;        /* stays white */
  background: none;   /* no background */
  opacity: 1;         /* no fade */
  }

  .navbar-nav {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    margin: 0 !important;
  }
  .navbar-nav .nav-link {
    color: #fff !important;
    font-size: .95rem;
    text-transform: uppercase;
    letter-spacing: .03em;
    display: block;
    padding: .45rem 0;
  }

  .mobile-logo {
    position: absolute;
    bottom: 130px;
    left: 50%;
    transform: translateX(-50%);
  }
  .mobile-logo img {
    height: 30px;
    opacity: .95;
  }
}

/* DESKTOP RESET */
@media (min-width: 992px) {
  .navbar-collapse {
    position: static !important;
    height: auto !important;
    background: transparent !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    align-items: center !important;
    padding-bottom: 0 !important;
  }
  .navbar-nav {
    flex-direction: row !important;
    align-items: center !important;
    height: auto !important;
  }
  .close-menu,
  .mobile-logo {
    display: none !important;
  }
}

/* HERO / CAROUSEL */
.hero-offset {
  margin-top: 64px; /* match navbar height */
}
.carousel-item {
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.carousel-item.black-slide { background: #000; color: #fff; }
.carousel-item.white-slide { background: #fff; color: #000; }
.carousel-item.dark-slide  { background: #111; color: #fff; }
.hero-line {
  width: 100px;
  height: 3px;
  background: currentColor;
  margin: 0 auto 1.2rem;
}
.hero-title {
  font-family: 'Lexend', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

/* SECTIONS */
.section-line {
  width: 80px;
  height: 3px;
  background: #000;
  margin: 1rem auto;
}
.section-title {
  font-family: 'Lexend', sans-serif;
  font-weight: 600;
  font-size: clamp(1.5rem, 2.5vw, 1.9rem);
}
.section-text {
  max-width: 600px;
  font-size: 1rem;
  line-height: 1.7;
  margin-left: auto;
  margin-right: auto;
}

/* BRAND CARD / LOGO */
.brand-card {
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 1rem;
  padding: 1.2rem;
  background: #fff;
  height: 100%;
}
.brand-card--no-bg {
  border: none;
  background: transparent;
  padding: 1.5rem 0;
}
.brand-logo {
  display: block;
  margin: 10px auto 0;
  max-width: 310px;
  width: 100%;
  height: auto;
}
@media (max-width: 575.98px) {
  .brand-logo {
    max-width: 260px;
  }
}
.brand-text {
  margin-top: 16px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1rem;
  line-height: 1.7;
  text-align: center;
}

/* FOOTER */
footer {
  border-top: 1px solid rgba(0,0,0,0.05);
  padding: 2rem 0;
  font-size: .9rem;
  text-align: center;
}


/* ABOUT: make line, heading, and text start at same point */
#about .section-line {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

#about .section-title {
  text-align: left !important;
}

#about .section-text {
  text-align: left !important;
  margin-left: 0 !important;     /* this was the missing part */
  margin-right: 0 !important;    /* remove auto-centering */
  max-width: 600px;              /* keep your width control */
}


/* ===== PRIVACY & TERMS LINKS (Contact Form) ===== */
.privacy-link {
  font-weight: 700 !important;       /* make bold */
  color: #000 !important;            /* force black color */
  text-decoration: none !important;  /* remove underline */
  transition: text-decoration 0.2s ease;
}

.privacy-link:hover {
  text-decoration: underline !important; /* underline on hover */
  color: #000 !important;                /* keep black even on hover */
}

/* Standardize error message font across all form messages */
.form-error,
#checkboxError,
#phoneError {
  font-size: 0.9rem !important;
  line-height: 1.4;
  color: red;
}

/* Optional: add spacing consistency */
.form-error {
  margin-top: 6px;
  margin-bottom: 10px;
}

/* Keep black border when field is focused */
.form-control:focus,
input:focus,
textarea:focus,
select:focus {
  border-color: #000 !important;     /* Black border */
  box-shadow: none !important;       /* Removes blue glow */
  outline: none !important;          /* Removes outline */
}

/* Highlight active page link */
.navbar-nav .nav-link.active {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}

