/* ============================================================
   AKORIX CONSULTING — SHARED STYLESHEET
   Edit the variables below to change colours, fonts and spacing
   across the entire website (index.html + contact.html).
   ============================================================ */

:root {
  /* ── Brand colours — change these to re-theme the whole site ── */
  --accent: #C2410C;      /* Terracotta — buttons, links, highlights */
  --gold:   #D4A820;      /* Gold — secondary accent, dark-section highlights */
  --ink:    #1C1917;      /* Near-black — dark sections, body text */
  --paper:  #FFF7ED;      /* Warm cream — main background */
  --paper2: #FAFAF9;      /* Off-white — alternate section background */

  /* ── Fonts ── */
  --font-sans:    'Archivo', system-ui, sans-serif;
  --font-serif:   'Newsreader', serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
::selection { background: var(--accent); color: var(--paper); }

a {
  transition: opacity .2s, color .2s, transform .2s, box-shadow .2s, background .2s;
}

/* ── Buttons ── */
.btn-hover-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -14px rgba(194,65,12,.7);
}
.btn-hover-outline:hover {
  background: var(--ink);
  color: var(--paper);
}
.btn-hover-lift:hover {
  transform: translateY(-2px);
}

/* ── Nav & footer links ── */
.nav-link:hover { opacity: 1; color: var(--accent); }
.footer-link:hover { color: var(--gold); }

/* ── Cards ── */
.svc-card:hover, .sec-card:hover, .c-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px -26px rgba(28,25,23,.38);
}
.svc-card:hover { border-color: var(--accent); }

/* ── Form ── */
.form-input:focus {
  border-color: var(--accent) !important;
  background: #fff !important;
}

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

.m-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 199;
}
.m-overlay.open { display: block; }

.m-menu {
  display: none;
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 280px;
  background: var(--ink);
  z-index: 205;
  padding: 5rem 2rem 2rem;
  transform: translateX(100%);
  transition: transform .35s ease;
  flex-direction: column;
  gap: 1.4rem;
}
.m-menu.open { transform: translateX(0); display: flex; }
.m-menu a {
  font: 500 16px var(--font-sans);
  color: rgba(255,247,237,.85);
  text-decoration: none;
  padding: .4rem 0;
  border-bottom: 1px solid rgba(255,247,237,.1);
}
.m-menu a:hover { color: var(--gold); }
.m-close {
  position: absolute;
  top: 1.4rem; right: 1.6rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--paper);
  font-size: 1.6rem;
}

/* ── Responsive breakpoints ── */
@media (max-width: 880px) {
  .nav-links-wrap { display: none !important; }
  .nav-hamburger { display: flex !important; }
}
@media (max-width: 900px) {
  .grid-2-hero, .grid-2-about, .grid-2-contact { grid-template-columns: 1fr !important; }
  .footer-grid { grid-template-columns: 1fr 1fr !important; }
  .c-cards-grid { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr !important; }
  .form-row { grid-template-columns: 1fr !important; }
  .c-cards-grid { grid-template-columns: 1fr !important; }
}
