/* ============================================
   M.J.E.R.D ENTERPRISE — SHARED STYLESHEET
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400;1,600&family=Barlow:wght@300;400;500;600;700&family=Barlow+Condensed:wght@400;600;700&display=swap');

:root {
  --navy:      #0D1B3E;
  --navy-mid:  #152347;
  --navy-light:#1C2E5A;
  --navy-card: #0F2048;
  --gold:      #C9A534;
  --gold-light:#D4B355;
  --gold-dim:  rgba(201,165,52,0.15);
  --cream:     #F5F0E8;
  --cream-dim: rgba(245,240,232,0.65);
  --cream-faint:rgba(245,240,232,0.08);
  --dark:      #09132E;
  --nav-h:     80px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--navy);
  color: var(--cream);
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 4rem;
  background: rgba(9,19,46,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201,165,52,0.12);
  transition: background 0.3s;
}

.nav-logo { height: 52px; object-fit: contain; }

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

.nav-links a {
  color: var(--cream-dim);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transition: transform 0.3s;
}

.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--gold); }
.nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  padding: 0.6rem 1.5rem;
  border-radius: 4px;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  transition: background 0.3s, transform 0.2s !important;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold-light) !important; transform: translateY(-1px); }

.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-hamburger span { width: 24px; height: 1.5px; background: var(--cream); transition: 0.3s; }

/* ── FOOTER ── */
footer {
  background: var(--dark);
  border-top: 1px solid rgba(201,165,52,0.12);
  padding: 4rem;
}

.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
}

.footer-brand img { height: 56px; margin-bottom: 1.5rem; }
.footer-brand p { font-size: 0.88rem; color: var(--cream-dim); line-height: 1.9; max-width: 280px; }

.footer-col h4 {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.2rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a {
  color: var(--cream-dim); text-decoration: none;
  font-size: 0.88rem; transition: color 0.3s;
}
.footer-col ul li a:hover { color: var(--gold); }

.footer-social {
  display: flex; gap: 0.8rem; margin-top: 1.5rem; flex-wrap: wrap;
}

.social-icon {
  width: 36px; height: 36px;
  border: 1px solid rgba(201,165,52,0.3);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  color: var(--cream-dim); text-decoration: none;
  font-size: 0.75rem; font-weight: 700;
  transition: all 0.3s;
}

.social-icon:hover {
  background: var(--gold); color: var(--navy);
  border-color: var(--gold);
}

.footer-bottom {
  max-width: 1200px; margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(201,165,52,0.08);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}

.footer-bottom p { font-size: 0.78rem; color: rgba(245,240,232,0.35); }

/* ── UTILITIES ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 8rem 2rem; }

.label {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem; display: block;
}

.gold-line {
  width: 60px; height: 2px; background: var(--gold);
  margin: 1.5rem 0;
}

.gold-line.center { margin: 1.5rem auto; }

h1, h2, h3 { font-family: 'Cormorant Garamond', serif; font-weight: 600; line-height: 1.1; }

.display { font-size: clamp(3.5rem, 7vw, 6.5rem); }
.heading-xl { font-size: clamp(2.5rem, 5vw, 4rem); }
.heading-lg { font-size: clamp(2rem, 4vw, 3rem); }
.heading-md { font-size: clamp(1.6rem, 3vw, 2.2rem); }

.body-lg { font-size: 1.1rem; color: var(--cream-dim); line-height: 1.9; }
.body-md { font-size: 1rem; color: var(--cream-dim); line-height: 1.9; }
.body-sm { font-size: 0.88rem; color: var(--cream-dim); line-height: 1.8; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.9rem 2.2rem;
  font-family: 'Barlow', sans-serif;
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  text-decoration: none; border: none; cursor: pointer;
  border-radius: 4px; transition: all 0.3s;
}

.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,165,52,0.3); }

.btn-outline { background: transparent; color: var(--cream); border: 1px solid rgba(245,240,232,0.3); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

/* ── CARDS ── */
.card {
  background: var(--navy-card);
  border: 1px solid rgba(201,165,52,0.12);
  border-radius: 8px; padding: 2.5rem;
  transition: border-color 0.3s, transform 0.3s;
}
.card:hover { border-color: rgba(201,165,52,0.4); transform: translateY(-4px); }

/* ── ANIMATIONS ── */
.fade-up {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  nav { padding: 0 2rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  nav { padding: 0 1.5rem; }
  .nav-links { display: none; flex-direction: column; position: fixed; top: var(--nav-h); left: 0; right: 0; background: var(--dark); padding: 2rem; gap: 1.5rem; border-bottom: 1px solid var(--gold-dim); }
  .nav-links.open { display: flex; }
  .nav-hamburger { display: flex; }
  .section { padding: 5rem 1.5rem; }
  footer { padding: 3rem 1.5rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
