@import url("global.css");

/* =========================
   HEADER
========================= */
.site-header {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border-soft);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: transform 0.24s ease;
  will-change: transform;
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.header-container {
  max-width: 1280px;
  margin: auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 48px;
}

/* =========================
   NAVIGATION
========================= */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-family: var(--font-body);
  text-decoration: none;
  color: var(--color-gray-text);
  font-size: 16px;
  font-weight: 600;
  transition: var(--transition-fast);
}

.main-nav a:hover {
  color: var(--color-teal-primary);
}


/* =========================
   MEGA MENU
========================= */
.nav-item {
  position: relative;
}

.mega-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: -380px;
  background: var(--color-white);
  padding: 28px;
  width: 640px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.nav-item:hover .mega-menu {
  display: grid;
}

.mega-section h4 {
  font-family: var(--font-heading);
  margin-bottom: 8px;
  font-size: 18px;
  color: var(--color-teal-primary);
}

.mega-section a {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
  color: var(--color-gray-text);
  text-decoration: none;
}

.mega-section a:hover {
  color: var(--color-teal-primary);
}


/* =========================
   CTA BUTTON
========================= */
.btn-primary {
  font-family: var(--font-body);
  background: var(--color-teal-primary);
  color: var(--color-white);
  padding: 14px 26px;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-fast);
}

.btn-primary:hover {
  background: var(--color-teal-hover);
}


/* =========================
   HAMBURGER
========================= */
.hamburger {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: var(--color-gray-text);
}

/* =========================
   MOBILE HEADER
========================= */
@media (max-width: 992px) {
  .hamburger {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background: var(--color-white);
    display: none;
    padding: 20px;
    border-top: 1px solid var(--color-border-soft);
  }

  .main-nav.active {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 16px;
  }

  .mega-menu {
    position: static;
    width: 100%;
    padding: 16px;
    box-shadow: none;
    grid-template-columns: 1fr;
  }

  .header-cta {
    display: none;
  }
}

@media (max-width: 992px) {
  .nav-item > a {
    display: flex;
    justify-content: space-between;
  }

  .nav-item .mega-menu {
    display: none;
  }

  .nav-item.active .mega-menu {
    display: grid;
  }
}


/* =========================
   FOOTER BASE
========================= */
.site-footer {
  background: var(--color-bg-light);
  padding-top: 60px;
  font-family: var(--font-body);
}

.footer-container {
  max-width: 1280px;
  margin: auto;
  padding: 0 24px 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

/* =========================
   BRAND SECTION
========================= */
.footer-brand img {
  height: 52px;
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--color-gray-text);
  font-size: 15px;
  line-height: 1.6;
  max-width: 360px;
}

.footer-contact {
  margin-top: 12px;
  font-size: 15px;
}

.footer-contact a {
  color: var(--color-teal-primary);
  text-decoration: none;
  display: block;
}

/* =========================
   SOCIAL ICONS
========================= */
.social-icons {
  margin-top: 16px;
  display: flex;
  gap: 12px;
}

.social-icons a {
  width: 36px;
  height: 36px;
  background: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--color-teal-primary);
  font-weight: bold;
}

/* =========================
   FOOTER MENUS
========================= */
.footer-section h4 {
  font-family: var(--font-heading);
  color: var(--color-teal-primary);
  margin-bottom: 14px;
  font-size: 17px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section li {
  margin-bottom: 8px;
}

.footer-section a {
  color: var(--color-gray-text);
  font-size: 15px;
  text-decoration: none;
}

.footer-section a:hover {
  color: var(--color-teal-primary);
}

/* =========================
   FOOTER BOTTOM
========================= */
.footer-bottom {
  background: var(--color-white);
  text-align: center;
  padding: 16px;
  font-size: 14px;
  color: var(--color-gray-text);
  border-top: 1px solid var(--color-border-soft);
}

/* =========================
   MOBILE FOOTER (ACCORDION)
========================= */
@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-section h4 {
    cursor: pointer;
    position: relative;
  }

  .footer-section h4::after {
    content: "+";
    position: absolute;
    right: 0;
    font-size: 20px;
  }

  .footer-section.active h4::after {
    content: "−";
  }

  .footer-section ul {
    display: none;
    margin-top: 10px;
  }

  .footer-section.active ul {
    display: block;
  }
}



