/* ============================================================
   GENIUS FIX MAINTENANCE CO. — Global Stylesheet
   File: css/style.css
   ============================================================ */

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

:root {
  --gold:        #C8922A;
  --gold-light:  #E8B654;
  --gold-pale:   #FBF3E2;
  --navy:        #0D1F3C;
  --navy-mid:    #1A3460;
  --navy-light:  #2B4A80;
  --off-white:   #F8F6F1;
  --white:       #ffffff;
  --text-body:   #2E2E2E;
  --text-muted:  #6B7280;
  --border:      rgba(200, 146, 42, 0.2);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--off-white);
  color: var(--text-body);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Syne', sans-serif;
}

a {
  text-decoration: none;
  transition: color 0.2s;
}

img {
  display: block;
  max-width: 100%;
}

ul {
  list-style: none;
}

/* ── LAYOUT HELPERS ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.section {
  padding: 80px 6%;
}

.section-tag {
  display: inline-block;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.section-title {
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  font-weight: 300;
  line-height: 1.75;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, border-color 0.2s;
  cursor: pointer;
  border: none;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  color: var(--navy);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.28);
}
.btn-secondary:hover {
  border-color: var(--gold);
  background: rgba(200, 146, 42, 0.1);
  color: var(--white);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover {
  background: var(--navy-mid);
  color: var(--white);
}

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline-navy:hover {
  background: rgba(13, 31, 60, 0.08);
  color: var(--navy);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

/* ── NAVIGATION ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(13, 31, 60, 0.98);
  backdrop-filter: blur(8px);
  height: 72px;
  padding: 0 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(200, 146, 42, 0.3);
}

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--white);
  letter-spacing: 0.02em;
  text-decoration: none;
}
.nav-logo span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 7px 14px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover {
  color: var(--gold-light);
  background: rgba(255, 255, 255, 0.05);
}
.nav-links a.active {
  color: var(--gold-light);
}

.nav-links .nav-cta {
  background: var(--gold);
  color: var(--white);
  font-weight: 600;
  margin-left: 0.5rem;
}
.nav-links .nav-cta:hover {
  background: var(--gold-light);
  color: var(--navy);
}
.nav-links .nav-cta.active {
  background: var(--gold);
  color: var(--white);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: rgba(13, 31, 60, 0.99);
  z-index: 999;
  padding: 1rem 6% 1.5rem;
  border-bottom: 1px solid rgba(200, 146, 42, 0.2);
}
.mobile-menu.open {
  display: block;
}
.mobile-menu a {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  font-weight: 500;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: color 0.2s;
}
.mobile-menu a:last-child {
  border-bottom: none;
}
.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--gold-light);
}

/* ── PAGE OFFSET (for fixed nav) ── */
.page-body {
  padding-top: 72px;
}

/* ── PAGE HERO BANNER ── */
.page-hero {
  background: var(--navy);
  padding: 60px 6% 56px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent, transparent 40px,
    rgba(200, 146, 42, 0.03) 40px,
    rgba(200, 146, 42, 0.03) 41px
  );
}
.page-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}
.page-hero-tag {
  display: inline-block;
  background: rgba(200, 146, 42, 0.15);
  border: 1px solid rgba(200, 146, 42, 0.4);
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 4px;
  margin-bottom: 1.2rem;
}
.page-hero h1 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1rem;
  max-width: 700px;
}
.page-hero p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.05rem;
  font-weight: 300;
  max-width: 580px;
  line-height: 1.8;
}

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--gold);
  padding: 18px 6%;
}
.trust-scroll {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.87rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.trust-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--navy);
  opacity: 0.4;
}

/* ── FOOTER ── */
.footer {
  background: #080F1F;
  padding: 60px 6% 30px;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--white);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 0.8rem;
}
.footer-brand-logo span {
  color: var(--gold);
}
.footer-tagline {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.35);
  font-style: italic;
  margin-bottom: 1.5rem;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.55);
}
.footer-contact-item a {
  color: rgba(255, 255, 255, 0.55);
}
.footer-contact-item a:hover {
  color: var(--gold-light);
}
.footer h4 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  color: var(--white);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.92rem;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--gold-light);
}
.footer-bottom {
  max-width: 1200px;
  margin: 24px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.28);
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ── WA FLOAT ── */
.wa-float {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 500;
  transition: transform 0.2s, box-shadow 0.2s;
}
.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}
.wa-float svg {
  width: 30px; height: 30px;
  fill: var(--white);
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.anim-1 { animation: fadeUp 0.6s ease 0.10s both; }
.anim-2 { animation: fadeUp 0.6s ease 0.25s both; }
.anim-3 { animation: fadeUp 0.6s ease 0.40s both; }
.anim-4 { animation: fadeUp 0.6s ease 0.55s both; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 60px 5%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
