/* =============================================
   MOHUAFIT — Shared Styles
   Faithful recreation of mohuafit.com
============================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange:  #bf5b2f;
  --black:   #000000;
  --white:   #ffffff;
  --offwhite:#f5f5f5;
  --navy:    #1c2b3a;
  --teal:    #5bc4c9;
  --text:    #111111;
  --muted:   #444444;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* =============================================
   NAVBAR
============================================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid #e0e0e0;
  height: 110px;
  display: flex;
  align-items: center;
  padding: 0 3%;
}

.nav-left {
  display: flex;
  gap: 2rem;
  flex: 1;
}

.nav-left a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text);
  transition: color 0.2s;
  position: relative;
}
.nav-left a:hover,
.nav-left a.active { color: var(--text); }
.nav-left a.active::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--text);
}

.nav-center {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* SVG Logo */
.site-logo {
  width: 80px;
  height: 80px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex: 1;
  justify-content: flex-end;
}

.nav-icon {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: opacity 0.2s;
}
.nav-icon:hover { opacity: 0.6; }
.nav-icon svg { width: 22px; height: 22px; }

.btn-join {
  background: var(--orange);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.65rem 1.3rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.btn-join:hover { background: #a84e28; }

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 110px; left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid #e0e0e0;
  padding: 1rem 3%;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 99;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1rem;
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
}

/* =============================================
   BUTTONS
============================================= */
.btn-orange {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  text-align: center;
}
.btn-orange:hover { background: #a84e28; }

/* =============================================
   DARK SECTION
============================================= */
.dark-section {
  background: var(--black);
  color: var(--white);
}

/* =============================================
   FOOTER
============================================= */
footer {
  background: var(--black);
  color: var(--white);
  padding: 3rem 3% 2.5rem;
  position: relative;
}

.footer-social {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

.footer-social a {
  color: var(--white);
  transition: opacity 0.2s;
}
.footer-social a:hover { opacity: 0.6; }
.footer-social svg { width: 26px; height: 26px; }

.footer-info p {
  font-size: 0.88rem;
  color: #ccc;
  line-height: 1.8;
}
.footer-info a {
  color: var(--orange);
  font-size: 0.88rem;
}
.footer-info a:hover { text-decoration: underline; }

.footer-join {
  position: absolute;
  bottom: 2.5rem;
  right: 3%;
}

/* =============================================
   HEADINGS
============================================= */
.page-heading {
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}

.section-heading {
  font-size: clamp(1.8rem, 5vw, 3.5rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 768px) {
  .nav-left { display: none; }
  .nav-right .nav-icon { display: none; }
  .hamburger { display: flex; }

  .navbar { height: 80px; }
  .site-logo { width: 60px; height: 60px; }

  .footer-join {
    position: static;
    margin-top: 1.5rem;
  }
}
