/* =============================================
   OM ENERGY — CONTACT US
   ============================================= */

:root {
  --color-accent: #ff5c00;
  --color-accent-dark: #cc4900;
  --color-accent-light: #ff7a2e;
}

/* =============================================
   WRAPPER
   ============================================= */
.page-wrapper {
  max-width: 100%;
  width: 100%;
  margin: 0;
  background: #111111;
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100px;
  width: 100%;
  padding: 12px 24px;
  background: transparent;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar__logo {
  width: 100px;
  height: 80px;
  background-image: url("../assets/images/logos/logo.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.navbar__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 10px 18px;
}
.navbar__link {
  height: 10px;
  border-radius: 2px;
  color: #ffffff;
}
.navbar__cta {
  height: auto;
  width: auto;
  color: #ffffff;
  font-size: 12px;
  border: none;
  background-color: #ff5c00;
  padding: 8px 16px;
  transition: all 0.2s ease;
  text-decoration: none;
}
.navbar__cta:hover {
  background-color: #ffffff;
  color: #000000;
}

/* DROPDOWN — desktop */
.navbar__dropdown {
  position: absolute;
  top: calc(100% + 20px);
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  width: max-content;
  min-width: 280px;
  background: rgba(20, 20, 20, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.22s ease,
    transform 0.22s ease;
  z-index: 9999;
}
.navbar__dropdown--active {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.navbar__dropdown--vertical {
  flex-direction: column;
  align-items: stretch;
  min-width: 240px;
  padding: 8px 0;
}
.navbar__dropdown-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  text-decoration: none;
  transition: background 0.15s ease;
}
.navbar__dropdown-row:hover {
  background: rgba(255, 255, 255, 0.06);
}
.navbar__dropdown-label {
  font-size: 13px;
  color: #eeeeee;
  white-space: nowrap;
}
.navbar__dropdown-arrow {
  color: #eeeeee;
  opacity: 0.5;
  font-size: 13px;
}
.navbar__hamburger {
  display: none;
}

/* =============================================
   HERO — CONTACT
   ============================================= */
.hero__contact {
  height: auto;
  width: 100%;
  display: flex;
  align-items: start;
  justify-content: flex-start;
  padding: 200px 40px 100px;
  background-color: #111111;
  gap: 40px;
}
.hero-info__left {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: start;
  justify-content: space-between;
  flex-direction: column;
  gap: 48px;
}
.hero-left__top {
  height: auto;
  width: 100%;
  display: flex;
  align-items: start;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
}
.hero__title {
  width: 80%;
  font-size: 48px;
  color: #ffffff;
}
.hero__subtitle {
  width: 60%;
  font-size: 24px;
  color: #aaaaaa;
}
.hero-info__bottom {
  height: auto;
  width: auto;
  display: flex;
  align-items: start;
  justify-content: flex-start;
}
.Headquarters__container {
  height: auto;
  width: auto;
  display: flex;
  align-items: start;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
}
.Headquarters__title {
  font-size: 24px;
  color: #ffffff;
}
.Headquarters__content {
  font-size: 16px;
  color: #aaaaaa;
  line-height: 1.8;
}
.hero-info__right {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: start;
  justify-content: space-between;
  flex-direction: column;
  gap: 48px;
}
.hero-contact__title {
  width: 60%;
  font-size: 24px;
  color: #aaaaaa;
}
.hero-contact__form {
  height: auto;
  width: 100%;
  display: flex;
  align-items: start;
  justify-content: center;
  flex-direction: column;
  gap: 48px;
}
.form-row__top,
.form-row__middle {
  height: auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.form-row__bottom {
  height: auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.form__input {
  height: 30px;
  width: 100%;
  background-color: transparent;
  padding-bottom: 8px;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  font: inherit;
  color: #ffffff;
}
.form__input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}
.form__input:focus {
  outline: none;
  border-bottom-color: #ff5c00;
}
textarea.form__input {
  font: inherit;
  resize: none;
  height: 80px;
}
.submit__input {
  height: auto;
  width: auto;
  color: #ffffff;
  font-size: 16px;
  border: none;
  background-color: #ff5c00;
  padding: 12px 24px;
  transition: all 0.2s ease;
  cursor: pointer;
}
.submit__input:hover {
  background-color: #ffffff;
  color: #000000;
}
.map {
  width: 100%;
  height: 450px;
  border: 0;
  filter: grayscale(1) invert(0.85) contrast(0.9);
  opacity: 0.75;
}

/* =============================================
   FOOTER SPLIT
   ============================================= */
.footer-split {
  height: 700px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-split__left {
  height: 100%;
  width: auto;
  background-color: #141414;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 40px 40px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
}
.footer-split__right {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: end;
  justify-content: flex-start;
  position: relative;
  background-image: url("../assets/images/footer/footer-image.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  padding-bottom: 24px;
  padding-left: 40px;
}
.footer__info {
  height: auto;
  width: 100%;
  display: flex;
  align-items: start;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
}
.footer-split__cta-title {
  font-size: 48px;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 6px;
}
.footer__title {
  font-size: 48px;
  color: #ffffff;
}
.footer__desc {
  font-size: 24px;
  line-height: 29px;
  color: #aaaaaa;
  margin-bottom: 24px;
}
.footer__nav {
  height: auto;
  width: 100%;
  display: flex;
  align-items: start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer__contact {
  margin-bottom: 20px;
}
.footer__contact-label {
  font-size: 14px;
  font-weight: bold;
  color: #ff5c00;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.footer__contact-email {
  font-size: 14px;
  color: #aaaaaa;
  list-style: none;
  margin-bottom: 8px;
}
.footer__contact-note {
  font-size: 10px;
  color: #aaaaaa;
  margin-bottom: 8px;
}
.footer__legal {
  margin-bottom: 20px;
}
.footer__legal-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer__legal-links li a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer__legal-links li a:hover {
  color: #ffffff;
}
.footer__bottom {
  height: auto;
  width: 100%;
  display: flex;
  align-items: end;
  justify-content: space-between;
}
.footer__logo {
  height: 70px;
  width: auto;
}
.footer__copy {
  font-size: 10px;
  color: #555555;
}
.footer__sitemap-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: start;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
}
.footer__sitemap-links li a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer__sitemap-links li a:hover {
  color: #ffffff;
}

/* =============================================
   TABLET — max-width: 1024px
   ============================================= */
@media (max-width: 1024px) {
  .navbar {
    height: 70px;
    padding: 12px 24px;
  }
  .navbar__logo {
    width: 80px;
    height: 60px;
  }
  .navbar__links {
    gap: 12px;
  }
  .navbar__link {
    font-size: 13px;
  }

  .hero__contact {
    flex-direction: column;
    padding: 160px 32px 80px;
    gap: 48px;
  }
  .hero__title {
    width: 75%;
    font-size: 38px;
  }
  .hero__subtitle {
    width: 75%;
    font-size: 18px;
  }
  .Headquarters__title {
    font-size: 20px;
  }
  .Headquarters__content {
    font-size: 15px;
  }
  .hero-contact__title {
    width: 80%;
    font-size: 18px;
  }
  .form-row__top,
  .form-row__middle {
    gap: 16px;
  }
  .map {
    width: 100%;
    height: 320px;
  }

  .footer-split {
    height: auto;
    flex-direction: column;
  }
  .footer-split__left {
    width: 100%;
    padding: 48px 32px 32px;
  }
  .footer-split__right {
    width: 100%;
    height: 300px;
    padding: 32px;
  }
  .footer-split__cta-title {
    font-size: 36px;
  }
  .footer__title {
    font-size: 36px;
  }
  .footer__desc {
    font-size: 18px;
  }
}

/* =============================================
   MOBILE — max-width: 768px
   ============================================= */
@media (max-width: 768px) {
  .navbar {
    height: 64px;
    padding: 0 20px;
    background-color: rgba(0, 0, 0, 0.6);
  }
  .navbar__logo {
    width: 70px;
    height: 54px;
  }
  .navbar__links {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    height: calc(100vh - 64px);
    background-color: #111111;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 24px 20px;
    gap: 0;
    overflow-y: auto;
    z-index: 9998;
  }
  .navbar__links--open {
    display: flex;
  }
  .navbar__item {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .navbar__link {
    display: block;
    width: 100%;
    height: auto;
    color: #ffffff;
    font-size: 16px;
    padding: 16px 0;
    text-decoration: none;
  }
  .navbar__link--active {
    color: #ff5c00;
  }
  .navbar__dropdown {
    position: static;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.04);
    padding: 0 0 8px 16px;
    width: 100%;
    min-width: unset;
    display: none !important;
  }
  .navbar__dropdown--active {
    display: flex !important;
    pointer-events: all;
    transform: none !important;
  }
  .navbar__dropdown-label {
    color: #aaaaaa;
    font-size: 14px;
  }
  .navbar__dropdown-arrow {
    color: #aaaaaa;
  }
  .navbar__dropdown-row {
    padding: 10px 8px;
  }
  .navbar__cta {
    display: none;
  }
  .navbar__hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
  }
  .navbar__hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.25s ease;
  }
  .navbar__hamburger--open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .navbar__hamburger--open span:nth-child(2) {
    opacity: 0;
  }
  .navbar__hamburger--open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero__contact {
    flex-direction: column;
    padding: 120px 20px 60px;
    gap: 48px;
  }
  .hero-info__left {
    gap: 32px;
  }
  .hero__title {
    width: 100%;
    font-size: 28px;
  }
  .hero__subtitle {
    width: 100%;
    font-size: 16px;
  }
  .Headquarters__title {
    font-size: 18px;
  }
  .Headquarters__content {
    font-size: 14px;
  }
  .hero-info__right {
    gap: 32px;
  }
  .hero-contact__title {
    width: 100%;
    font-size: 14px;
  }
  .hero-contact__form {
    gap: 32px;
  }
  .form-row__top,
  .form-row__middle {
    flex-direction: column;
    gap: 32px;
  }
  .form-row__bottom {
    gap: 0;
  }
  .form__input {
    font-size: 14px;
  }
  .submit__input {
    font-size: 14px;
    width: 100%;
    text-align: center;
  }
  .map {
    width: 100%;
    height: 260px;
  }

  .footer-split {
    height: auto;
    flex-direction: column;
  }
  .footer-split__left {
    width: 100%;
    padding: 48px 20px 32px;
  }
  .footer-split__right {
    width: 100%;
    height: 250px;
    padding: 24px 20px;
  }
  .footer-split__cta-title {
    font-size: 28px;
  }
  .footer__title {
    font-size: 28px;
  }
  .footer__desc {
    font-size: 16px;
  }
  .footer__nav {
    gap: 24px;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 48px;
  }
  .footer__legal-links {
    gap: 8px;
  }
}

/* =============================================
   SUCCESS BANNER
   ============================================= */
.success-banner {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(calc(100% + 3rem));
  z-index: 9999;
  background: #1e1e1e;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: calc(100% - 2rem);
  max-width: 480px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition:
    transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.4s ease;
  pointer-events: none;
  box-sizing: border-box;
}

/* =============================================
   FORM SELECT — Project Type dropdown
   Matches the look of .form__input (underline style)
   ============================================= */
.form__select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='%23ffffff' fill-opacity='0.5' d='M4 6l4 4 4-4'/></svg>");
  background-repeat: no-repeat;
  background-position: right 4px center;
  background-size: 14px;
  padding-right: 24px;
  cursor: pointer;
}
.form__select:invalid {
  color: rgba(255, 255, 255, 0.35);
}
.form__select option {
  background-color: #111111;
  color: #ffffff;
}
