/* MrFixit Handyman – Stylesheet */

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

:root {
  --navy:   #1a2e44;
  --blue:   #2563eb;
  --gold:   #f59e0b;
  --light:  #f8fafc;
  --gray:   #64748b;
  --white:  #ffffff;
  --shadow: 0 4px 24px rgba(0,0,0,0.10);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  color: #1e293b;
  background: var(--white);
  line-height: 1.6;
}

/* ── NAV ── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 90px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-wrap img {
  height: 80px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.logo-wrap span {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
}

nav {
  display: flex;
  gap: 1.75rem;
  align-items: center;
  flex-wrap: wrap;
}

nav a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color .2s;
}

nav a:hover { color: var(--gold); }

.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 0.45rem 1.1rem;
  border-radius: 6px;
  font-weight: 700 !important;
  transition: background .2s, transform .15s !important;
}

.nav-cta:hover { background: #d97706; transform: translateY(-1px); }

/* ── HERO ── */
#hero {
  background: linear-gradient(135deg, var(--navy) 0%, #2c4a6e 100%);
  color: var(--white);
  padding: 90px 5% 80px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
  margin-bottom: 1.2rem;
}

#hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

#hero p {
  font-size: 1.15rem;
  color: #bfdbfe;
  max-width: 540px;
  margin: 0 auto 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s;
  cursor: pointer;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.18); }

.btn-primary { background: var(--gold); color: var(--navy); }
.btn-outline { border: 2px solid var(--white); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.1); }

/* ── TRUST PILLARS ── */
#trust {
  background: var(--light);
  padding: 60px 5%;
  text-align: center;
}

.pillars {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}

.pillar {
  flex: 1;
  min-width: 200px;
  max-width: 260px;
  background: var(--white);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--gold);
}

.pillar-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.pillar h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.pillar p {
  font-size: 0.92rem;
  color: var(--gray);
}

/* ── SERVICES ── */
#services {
  padding: 70px 5%;
  text-align: center;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.section-sub {
  color: var(--gray);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.service-card {
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.75rem 1.25rem;
  text-align: left;
  transition: box-shadow .2s, transform .2s;
}

.service-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }

.service-icon { font-size: 2rem; margin-bottom: 0.75rem; }

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.service-card p { font-size: 0.9rem; color: var(--gray); }

/* ── ABOUT ── */
#about {
  background: var(--navy);
  color: var(--white);
  padding: 70px 5%;
}

.about-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  gap: 3rem;
  align-items: center;
  flex-wrap: wrap;
}

.about-logo {
  flex-shrink: 0;
}

.about-logo img {
  width: 320px;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 4px 16px rgba(255,255,255,0.15));
}

.about-text { flex: 1; min-width: 260px; }

.about-text h2 {
  font-size: 1.9rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.about-text p {
  color: #bfdbfe;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.about-stats {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.stat { text-align: center; }

.stat-num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
}

.stat-label { font-size: 0.85rem; color: #94a3b8; }

/* ── CONTACT ── */
#contact {
  padding: 70px 5%;
  background: var(--light);
}

.contact-wrap {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 680px) {
  .contact-wrap { grid-template-columns: 1fr; }
}

.contact-info h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.contact-info p {
  color: var(--gray);
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.contact-item .ci-icon { font-size: 1.4rem; }

.contact-item a { color: var(--blue); text-decoration: none; }
.contact-item a:hover { text-decoration: underline; }

.contact-form {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.contact-form h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.25rem;
}

.form-group { margin-bottom: 1rem; }

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: 0.3rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.6rem 0.85rem;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  font-size: 0.97rem;
  font-family: inherit;
  transition: border-color .2s;
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blue);
}

.form-group textarea { resize: vertical; min-height: 100px; }

.btn-submit {
  width: 100%;
  background: var(--blue);
  color: var(--white);
  border: none;
  padding: 0.75rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, transform .15s;
}

.btn-submit:hover { background: #1d4ed8; transform: translateY(-1px); }

/* ── FOOTER ── */
footer {
  background: #0f1e30;
  color: #94a3b8;
  padding: 40px 5%;
  text-align: center;
}

.footer-logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  border: 1px solid #334155;
  transition: background .2s, color .2s;
}

.social-link:hover { background: #1e3a5f; color: var(--white); }

.footer-bottom {
  font-size: 0.82rem;
  border-top: 1px solid #1e2d40;
  padding-top: 1rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { gap: 1rem; }
  .about-inner { flex-direction: column; text-align: center; }
  .about-logo { margin: 0 auto; }
  .about-stats { justify-content: center; }
  .about-logo img { width: 130px; height: 130px; }
}

@media (max-width: 480px) {
  header { padding: 0 1rem; }
  nav a:not(.nav-cta) { display: none; }
  #hero, #services, #about, #contact { padding-left: 1rem; padding-right: 1rem; }
}
