/* Edward Fitness — Premium Design System */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Inter:wght@300;400;500&display=swap');

/* ─── Tokens ─────────────────────────────────────── */
:root {
  --obsidian:   #0A0A0A;
  --slate:      #141414;
  --slate-2:    #1A1A1A;
  --ivory:      #F0EDE6;
  --ivory-dim:  #B8B5AE;
  --muted:      #6A6A6A;
  --gold:       #C9A84C;
  --gold-dim:   rgba(201,168,76,0.18);
  --gold-line:  rgba(201,168,76,0.28);
  --white-line: rgba(255,255,255,0.07);
  --serif:      'Cormorant Garamond', Georgia, serif;
  --sans:       'Inter', system-ui, sans-serif;
}

/* ─── Reset ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--obsidian);
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

::selection { background: var(--gold); color: var(--obsidian); }

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

/* ─── Navbar ─────────────────────────────────────── */
.ef-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10,10,10,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 0.5px solid var(--gold-line);
}

.ef-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ef-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ef-logo img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--gold);
}

.ef-logo-text {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--ivory);
  display: none;
}

.ef-logo-text span { color: var(--gold); }

@media (min-width: 480px) { .ef-logo-text { display: block; } }

.ef-nav-links {
  display: none;
  list-style: none;
  gap: 40px;
}

.ef-nav-links a {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
  padding-bottom: 2px;
  border-bottom: 0.5px solid transparent;
}

.ef-nav-links a:hover,
.ef-nav-links a.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

@media (min-width: 768px) { .ef-nav-links { display: flex; } }

.ef-nav-cta {
  display: none;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold);
  border: 0.5px solid var(--gold);
  padding: 10px 24px;
  transition: background 0.2s, color 0.2s;
}

.ef-nav-cta:hover {
  background: var(--gold);
  color: var(--obsidian);
}

@media (min-width: 768px) { .ef-nav-cta { display: block; } }

/* Mobile hamburger */
.ef-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.ef-hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--gold);
}
@media (min-width: 768px) { .ef-hamburger { display: none; } }

.ef-mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--slate);
  border-top: 0.5px solid var(--gold-line);
  padding: 24px 32px;
  gap: 20px;
}
.ef-mobile-menu.open { display: flex; }
.ef-mobile-menu a {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}
.ef-mobile-menu a:hover, .ef-mobile-menu a.active { color: var(--gold); }
.ef-mobile-menu .ef-nav-cta-mobile {
  display: inline-block;
  margin-top: 8px;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  border: 0.5px solid var(--gold);
  padding: 12px 24px;
  text-align: center;
  transition: background 0.2s, color 0.2s;
}
.ef-mobile-menu .ef-nav-cta-mobile:hover {
  background: var(--gold);
  color: var(--obsidian);
}

/* ─── Page Header (inner pages) ─────────────────── */
.ef-page-header {
  padding: 140px 32px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ef-page-header::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,168,76,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.ef-eyebrow {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
  margin-bottom: 18px;
  display: block;
}

.ef-page-header h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--ivory);
  margin-bottom: 16px;
}

.ef-page-header h1 em {
  font-style: italic;
  color: var(--gold);
}

.ef-page-header p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto;
}

/* ─── Gold Rule Divider ──────────────────────────── */
.ef-rule {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  margin: 0 auto 32px;
}

.ef-rule-h {
  display: block;
  width: 40px;
  height: 0.5px;
  background: var(--gold);
  margin: 0 auto 32px;
}

/* ─── Section titles ─────────────────────────────── */
.ef-section-title {
  text-align: center;
  margin-bottom: 64px;
}

.ef-section-title h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 300;
  color: var(--ivory);
  line-height: 1.15;
  margin-bottom: 24px;
}

.ef-section-title h2 em {
  font-style: italic;
  color: var(--gold);
}

.ef-section-title p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 520px;
  margin: 0 auto;
}

/* ─── Cards ──────────────────────────────────────── */
.ef-card {
  background: var(--slate);
  border: 0.5px solid var(--white-line);
  transition: border-color 0.3s, transform 0.3s;
}

.ef-card:hover {
  border-color: var(--gold-line);
  transform: translateY(-2px);
}

/* ─── Primary CTA button ─────────────────────────── */
.ef-btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--obsidian);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 16px 40px;
  transition: opacity 0.2s;
}

.ef-btn-primary:hover { opacity: 0.88; }

.ef-btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--gold);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 15px 40px;
  border: 0.5px solid var(--gold);
  transition: background 0.2s, color 0.2s;
}

.ef-btn-outline:hover {
  background: var(--gold);
  color: var(--obsidian);
}

/* ─── Footer ─────────────────────────────────────── */
.ef-footer {
  background: var(--obsidian);
  border-top: 0.5px solid var(--gold-line);
  padding: 56px 32px;
  margin-top: auto;
}

.ef-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.ef-footer-logo {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--ivory);
}

.ef-footer-logo span { color: var(--gold); }

.ef-footer-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.ef-footer-links a {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}

.ef-footer-links a:hover { color: var(--gold); }

.ef-footer-copy {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
}

/* ─── Scroll fade-in animation ───────────────────── */
.ef-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.ef-reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .ef-reveal { opacity: 1; transform: none; }
}