/* ============================
   GLOBAL COLORS
============================ */
:root {
  --brand-orange: #EF7A18;
  --bg-dark: #000;
  --bg-dark-2: #0d0d0d;
  --text-light: #f2f2f2;
  --text-soft: #ccc;

  /* Footer tokens */
  --footer-bg: #050505;
  --footer-rule: rgba(255,255,255,0.10);
  --footer-muted: rgba(255,255,255,0.70);

  /* Header sizing tokens */
  --header-action-h: 36px;       /* desktop action height */
  --desktop-actions-gap: 22px;   /* space between ABOUT and CTA */
  --mobile-actions-gap: 6px;     /* space between CTA and hamburger */
}

/* ============================
   GENERAL RESET
============================ */
body {
  margin: 0;
  background: var(--bg-dark);
  font-family: 'Poppins', sans-serif;
  color: var(--text-light);
}

a { color: inherit; text-decoration: none; }

/* ============================
   HEADER
============================ */
.header {
  background: #000;
  position: sticky;
  top: 0;
  z-index: 9999;
  width: 100%;
}

.header-container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 10px 32px;
  box-sizing: border-box;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height: 45px;
  display: block;
}

/* RIGHT CLUSTER */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--desktop-actions-gap);
}

/* Desktop nav */
.nav-menu ul {
  display: flex;
  list-style: none;
  gap: 30px;
  margin: 0;
  padding: 0;
  align-items: center;
}

/* Make nav links share same height/midline as CTA */
.nav-menu a {
  display: inline-flex;
  align-items: center;
  height: var(--header-action-h);
  line-height: 1;

  font-size: 15px;
  font-weight: 450;
  border-bottom: 2px solid transparent;
}

.nav-menu a.active,
.nav-menu a:hover { color: var(--brand-orange); }

/* CTA */
.cta-button {
  background: var(--brand-orange);
  color: #000;
  border-radius: 999px;
  white-space: nowrap;
  border: none;
  cursor: pointer;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: var(--header-action-h);
  line-height: 1;
  padding: 0 18px;

  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-sizing: border-box;
}

/* Desktop-only nav */
.desktop-only { display: inline-flex; }

/* ============================
   HAMBURGER (CSS ICON — PERFECT CENTER)
============================ */
.mobile-menu-button {
  display: none;             /* shown only on mobile */
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;

  height: var(--header-action-h);
  width: var(--header-action-h);
  box-sizing: border-box;

  align-items: center;
  justify-content: center;
}

.hamburger {
  width: 22px;
  height: 21px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--text-light);
  border-radius: 2px;
}

/* ============================
   MOBILE DROPDOWN MENU (MATCH PAGE WIDTH)
============================ */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: #000;

  /* MATCH PAGE WIDTH */
  width: 100%;
  box-sizing: border-box;
  padding: 16px 18px;              /* same as mobile header padding */
  
  gap: 18px;
  border-bottom: 2px solid var(--brand-orange);
}

.mobile-menu a {
  font-size: 18px;
  padding: 6px 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Divider line between items */
.mobile-menu a:not(:last-child) {
  border-bottom: 1px solid var(--footer-rule);
  padding-bottom: 12px;
  margin-bottom: 12px;
}

.mobile-menu.open { display: flex; }

/* ============================
   MOBILE BREAKPOINT
============================ */
@media (max-width: 999px) {

  :root { --header-action-h: 32px; }

  .header-container { padding: 12px 18px 6px; }

  .logo { height: 38px; }

  /* Hide desktop nav list only */
  .nav-menu ul { display: none; }
  .desktop-only { display: none; } /* hides the NAV (not the CTA) */

  /* Tight spacing between CTA and hamburger */
  .header-actions { gap: var(--mobile-actions-gap); }

  /* CTA smaller on mobile */
  .cta-button {
    height: var(--header-action-h);
    font-size: 11px;
    letter-spacing: 0.04em;
    padding: 0 12px;
  }

  /* Show hamburger */
  .mobile-menu-button { display: inline-flex; }
}

/* ============================
   FOOTER (DESKTOP = COLUMNS)
============================ */
.footer-dark {
  background: var(--footer-bg);
  padding: 60px 30px;
  margin-top: 30px;
}

.footer-container {
  max-width: 1300px;
  margin: auto;
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

/* Left-align each column so CONTACT info aligns */
.footer-col { text-align: left; }

.footer-col h4 {
  color: var(--brand-orange);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin: 0 0 9px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 6px;
}

.footer-col a:hover { color: var(--brand-orange); }

/* Contact email + address block */
.footer-col a[href^="mailto:"],
.footer-col .footer-map-link {
  display: block;
  text-align: left;
  line-height: 1.45;
}

.footer-col a[href^="mailto:"]{
  margin-bottom: 8px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.footer-map-link { text-decoration: none; }
.footer-map-link:hover { color: var(--brand-orange); }

/* Prevent iOS auto styling */
.footer-dark a[x-apple-data-detectors],
.footer-dark a[x-apple-data-detectors] * {
  color: inherit !important;
  text-decoration: none !important;
  font: inherit !important;
}

/* Bottom bar */
.footer-bottom {
  text-align: center;
  padding-top: 9px;
  border-top: 1px solid #222;
  color: #777;
}

.footer-bottom-logo .footer-logo {
  width: 120px;
  margin: 0 auto;
}

.footer-bottom-text { font-size: 12px; }

/* ============================
   FOOTER (MOBILE)
============================ */
.footer-mobile { display: none; }

.footer-accordion {
  border-bottom: 1px solid var(--footer-rule);
  padding: 10px 0;
}

.footer-accordion summary {
  display: flex;
  justify-content: space-between;
  align-items: center;

  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--brand-orange);
  cursor: pointer;
}

.footer-accordion summary::after {
  content: "+";
  font-size: 18px;
}

.footer-accordion[open] summary::after { content: "−"; }

.footer-accordion ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 6px;
}

.footer-accordion li {
  font-size: 14px;
  margin-bottom: 8px;
}

.footer-accordion a:hover { color: var(--brand-orange); }

/* ============================
   FOOTER MOBILE BREAKPOINT
============================ */
@media (max-width: 999px) {

  .footer-dark { padding: 26px 18px 18px; }

  .footer-container {
    text-align: left;
    gap: 18px;
  }

  .footer-grid { display: none; }
  .footer-mobile { display: block; }

  .footer-accordion ul,
  .footer-accordion li,
  .footer-accordion a,
  .footer-accordion p,
  .footer-accordion address,
  .footer-accordion .footer-map-link {
    text-align: left !important;
    margin-left: 0 !important;
  }

  .footer-accordion a[href^="mailto:"] {
    display: block;
    text-align: left !important;
    overflow-wrap: anywhere;
  }

  .footer-bottom {
    border-top: none;
    text-align: left;
  }

  .footer-bottom-logo .footer-logo {
    width: 140px;
    margin: 0;
  }

  .footer-bottom-text {
    margin-top: 8px;
    font-size: 12.5px;
    color: var(--footer-muted);
  }
}
