/* ============================================================
   KAFFEEKULT — COMMON STYLES
   Shared across all pages: variables, reset, fonts, nav,
   mobile drawer, footer. Page-specific styles (hero, sections,
   cards, etc.) stay in each page's own <style> block.
   ============================================================ */

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

/* ── BRAND VARIABLES ──
   Single source of truth for colour tokens. Use these names
   consistently in every page — do not invent new aliases
   (e.g. --espresso, --text-dim) in page-level styles. */
:root {
  --navy:        #13203A;
  --navy-mid:    #1B2A4A;
  --navy-deep:   #0a1220;
  --cream:       #E8D5BB;
  --cream-muted: #C9B090;
  --amber:       #B8763A;
  --amber-light: #CC8F4E;
  --dim:         #7A8FA8;
  --border:      rgba(184,200,232,0.1);
}

html { scroll-behavior: smooth; }

body {
  background: var(--navy);
  color: var(--cream);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.5rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to bottom, rgba(19,32,58,0.97) 0%, transparent 100%);
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  height: 44px;
  flex-shrink: 0;
}

.nav-logo svg {
  height: 44px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream-muted);
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--cream); }

.nav-cta {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--amber);
  padding: 0.6rem 1.4rem;
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  transition: background 0.3s;
  text-decoration: none;
}

.nav-cta:hover { background: var(--amber-light); }

/* ── Hamburger button (mobile) ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 200;
}

.nav-hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s, width 0.3s;
  transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Mobile drawer ── */
.nav-drawer {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(13,24,41,0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 150;
  padding: 5.5rem 2rem 2.5rem;
  flex-direction: column;
  border-bottom: 1px solid rgba(184,118,58,0.2);
  transform: translateY(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-drawer.open { transform: translateY(0); }

.nav-drawer a {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream-muted);
  text-decoration: none;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(184,200,232,0.08);
  transition: color 0.2s;
  display: block;
}

.nav-drawer a.active { color: var(--cream); }



.nav-drawer a:hover { color: var(--cream); }

@media (max-width: 900px) {
  nav { padding: 1.2rem 2rem; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .nav-drawer { display: flex; }
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--navy-deep);
  border-top: 1px solid var(--border);
}

.footer-top {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding: 4rem 4rem 2.5rem;
}

.footer-brand-name svg { height: 128px; width: auto; }

.footer-tagline {
  margin-top: 1.2rem;
  font-size: 0.85rem;
  color: var(--cream-muted);
  line-height: 1.75;
  max-width: 320px;
  font-weight: 300;
}

.footer-col-title {
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.2rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--cream-muted);
  text-decoration: none;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  transition: color 0.25s;
}

.footer-links a:hover { color: var(--cream); }
.footer-links svg { flex-shrink: 0; margin-top: 0.15rem; }

.footer-social-row {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  padding: 0 4rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(184,118,58,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.25s, border-color 0.25s;
}

.footer-social-btn:hover { background: rgba(184,118,58,0.12); border-color: var(--amber); }
.footer-social-btn svg { width: 16px; height: 16px; fill: var(--amber); }


.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding: 1.5rem 4rem 2.5rem;
  border-top: 1px solid var(--border);
}

.footer-copy {
  font-size: 0.72rem;
  color: var(--dim);
  letter-spacing: 0.03em;
}

.footer-llp {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(122,143,168,0.5);
}

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr; padding: 3rem 2rem 2rem; gap: 2rem; }
  .footer-social-row { padding: 0 2rem 1.5rem; }
  .footer-bottom { padding: 1.2rem 2rem 2rem; flex-direction: column; align-items: flex-start; }
}
