/* =============================================
   SLOPESEDGE — Shared Stylesheet
   Brand: Navy #1a2b4a | Gold #f5c518 | White #ffffff
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Source+Sans+3:wght@300;400;600;700&display=swap');

:root {
  --navy: #1a2b4a;
  --navy-deep: #111e33;
  --gold: #f5c518;
  --gold-dark: #d4a900;
  --white: #ffffff;
  --off-white: #f4f4f0;
  --gray: #6b7280;
  --light-gray: #e5e7eb;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', sans-serif;
  background: var(--off-white);
  color: var(--navy);
  line-height: 1.6;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.04em;
  line-height: 1.1;
}

h1 { font-size: clamp(2.8rem, 7vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.2rem; }

p { font-size: 1.05rem; line-height: 1.75; color: #2d3748; }

a { color: inherit; text-decoration: none; }

/* ---- LAYOUT ---- */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: 5rem 0; }

/* ---- NAV ---- */
nav {
  background: var(--navy-deep);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--gold);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1.5rem;
  max-width: 1140px;
  margin: 0 auto;
}

.nav-logo {
  font-family: 'Bebas Neue', Impact, 'Arial Narrow', Arial, sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--gold) !important;
  letter-spacing: 0.06em;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-shrink: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-logo span {
  color: var(--white) !important;
}

.nav-logo img {
  display: none;
}

.footer-brand .nav-logo img {
  height: 180px;
  width: auto;
  max-width: 100%;
  margin-bottom: 0.75rem;
  object-fit: contain;
  mix-blend-mode: multiply;
}

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

.nav-links a {
  color: #cbd5e0;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: color 0.2s;
}

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

.nav-cta {
  background: var(--gold);
  color: var(--navy-deep) !important;
  padding: 0.45rem 1.1rem;
  border-radius: 3px;
  font-weight: 700 !important;
}

.nav-cta:hover { background: var(--gold-dark); color: var(--navy-deep) !important; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
}

.btn-gold:hover { background: var(--gold-dark); }

.btn-outline {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--navy-deep);
}

/* ---- GOLD RULE ---- */
.gold-rule {
  width: 56px;
  height: 4px;
  background: var(--gold);
  margin: 1rem 0 1.5rem;
}

.gold-rule.centered { margin: 1rem auto 1.5rem; }

/* ---- SECTION LABELS ---- */
.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
}

/* ---- CARDS ---- */
.card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

/* ---- PHOTO PLACEHOLDER ---- */
.photo-placeholder {
  background: #c8d0dc;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7a90;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---- FOOTER ---- */
footer {
  background: var(--navy-deep);
  color: #a0aec0;
  padding: 3rem 0 1.5rem;
  border-top: 3px solid var(--gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-brand { }

.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #718096;
  max-width: 280px;
}

.footer-heading {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.08em;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: #718096; font-size: 0.95rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }

.footer-contact p {
  font-size: 0.95rem;
  color: #718096;
  margin-bottom: 0.4rem;
}

.footer-contact strong { color: #a0aec0; }

.footer-bottom {
  border-top: 1px solid #2d3748;
  padding-top: 1.25rem;
  text-align: center;
  font-size: 0.85rem;
  color: #4a5568;
}

/* ---- SERVICE AREA BADGE ---- */
.area-badge {
  display: inline-block;
  background: rgba(245, 197, 24, 0.12);
  border: 1px solid rgba(245, 197, 24, 0.35);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.75rem;
  border-radius: 2px;
  margin: 0.25rem;
  display: inline-block;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  section { padding: 3.5rem 0; }

  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-deep);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 3px solid var(--gold);
  }

  .nav-links.open { display: flex; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
