/* ============================================================
   LCF Fun Languages — Shared Stylesheet
   Applies to all pages. Based on home page (index.html) design.
   Version: 1.0 | April 2026
   ============================================================ */

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

:root {
  --gold:       #c8a84b;
  --gold-light: #f0d980;
  --gold-pale:  #fdf8ec;
  --navy:       #2c3e50;
  --navy-deep:  #1a252f;
  --rose:       #e8736a;
  --peach:      #fff3ee;
  --sage:       #e8f4ee;
  --cream:      #fffdf7;
  --warm-white: #fafaf8;
  --gray:       #666;
  --lgray:      #eee;
  --text:       #2d2d2d;
  --white:      #ffffff;
}

body {
  font-family: 'Lato', sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.7;
}

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold); }
img { max-width: 100%; height: auto; }

/* ── NAV ── */
nav {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #f0ebe0;
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
}
.nav-logo img {
  height: 52px;
  padding: 8px 0;
  display: block;
}
.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  padding: 18px 13px;
  display: block;
  text-transform: uppercase;
  letter-spacing: .6px;
  transition: color .2s;
  text-decoration: none;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}
.nav-links a.active {
  border-bottom: 3px solid var(--gold);
}

/* Gold CTA button in nav (home page only) */
.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 10px 20px !important;
  border-radius: 30px;
  margin-left: 8px;
  border-bottom: none !important;
}
.nav-cta:hover {
  background: #b8963e;
  color: var(--navy) !important;
  border-bottom: none !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 12px;
  background: none;
  border: none;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  display: block;
  transition: .3s;
}

/* ── MOBILE NAV ── */
@media (max-width: 960px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;                          /* WHITE background — text visible */
    border-top: 1px solid #f0ebe0;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    z-index: 99;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    color: var(--navy);                        /* NAVY text — always visible */
    padding: 14px 24px;
    border-top: 1px solid #f5f0e8;
    border-bottom: none !important;
    font-size: 13px;
  }
  .nav-links a:hover,
  .nav-links a.active {
    color: var(--gold);
    background: var(--gold-pale);
  }
  .nav-links a.active {
    border-bottom: none !important;
  }
  .nav-cta {
    margin: 8px 24px 16px !important;
    border-radius: 30px !important;
    text-align: center;
    padding: 12px 20px !important;
  }
  .hamburger {
    display: flex;
  }
}

/* ── FOOTER ── */
footer {
  background: var(--navy-deep);
  color: #fff;
  padding: 50px 1.5rem 0;
  margin-top: 4rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}
@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
}
.footer-brand p {
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  line-height: 1.7;
  margin-top: .75rem;
}
footer h4 {
  color: var(--gold);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 1rem;
  font-weight: 700;
}
footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
footer ul li { margin-bottom: .5rem; }
footer ul a {
  color: rgba(255,255,255,.6);
  font-size: .88rem;
  transition: color .2s;
  text-decoration: none;
}
footer ul a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .78rem;
  color: rgba(255,255,255,.35);
}
.footer-bottom a {
  color: rgba(255,255,255,.35);
  text-decoration: none;
}
.footer-bottom a:hover { color: var(--gold); }

/* ── SHARED BUTTONS ── */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .5px;
  transition: .2s;
  cursor: pointer;
  border: none;
  font-family: 'Lato', sans-serif;
  text-decoration: none;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy-deep);
  box-shadow: 0 4px 16px rgba(200,168,75,.4);
}
.btn-primary:hover {
  background: #b8963e;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200,168,75,.5);
  color: var(--navy-deep);
}
.btn-secondary {
  background: #fff;
  color: var(--navy);
  border: 2px solid #e0d5c0;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* ── PAGE HEADER (used on most inner pages) ── */
.page-header {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  color: #fff;
  padding: 60px 1.5rem;
  text-align: center;
}
.page-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: .6rem;
}
.page-header h1::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--gold);
  margin: .6rem auto 0;
}
.page-header p {
  opacity: .85;
  font-size: 1rem;
  max-width: 580px;
  margin: .75rem auto 0;
  line-height: 1.7;
}

/* ── SECTION UTILITIES ── */
section { padding: 60px 1.5rem; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.section-eyebrow {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gold);
  margin-bottom: .75rem;
  display: block;
}
.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 900;
  color: var(--navy-deep);
  margin-bottom: .75rem;
  line-height: 1.25;
}
.section-sub {
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.8;
  max-width: 580px;
}
