/* =============================================
   Musibau Olaiya Construction – Main Stylesheet
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800&family=Barlow:wght@300;400;500;600&family=Oswald:wght@400;500;600;700&display=swap');

/* === CSS Variables === */
:root {
  --navy:      #1E3A5F;
  --navy-dark: #152c49;
  --amber:     #F59E0B;
  --amber-dark:#D97706;
  --steel:     #374151;
  --steel-mid: #4B5563;
  --steel-lt:  #9CA3AF;
  --bg:        #F8F9FA;
  --white:     #FFFFFF;
  --text:      #212529;
  --text-muted:#6B7280;
  --border:    #E5E7EB;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.12);
  --shadow-md: 0 4px 16px rgba(0,0,0,.14);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.18);
  --radius:    4px;
  --transition: 0.22s ease;
  --font-head: 'Oswald', sans-serif;
  --font-body: 'Barlow', sans-serif;
  --font-cond: 'Barlow Condensed', sans-serif;
}

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* === Layout Utilities === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--alt { background: var(--white); }
.section--dark { background: var(--navy); color: var(--white); }
.section--steel { background: var(--steel); color: var(--white); }

.section-label {
  font-family: var(--font-cond);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: .5px;
  color: var(--navy);
  margin-bottom: 16px;
}
.section--dark .section-title,
.section--steel .section-title { color: var(--white); }

.section-desc { font-size: 16px; color: var(--text-muted); max-width: 560px; line-height: 1.75; }
.section--dark .section-desc,
.section--steel .section-desc { color: rgba(255,255,255,.72); }

.divider { width: 52px; height: 4px; background: var(--amber); margin: 20px 0 36px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px;
  font-family: var(--font-cond);
  font-size: 15px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  border: 2px solid transparent; cursor: pointer;
  transition: var(--transition); border-radius: var(--radius);
}
.btn-primary { background: var(--amber); color: var(--navy); border-color: var(--amber); }
.btn-primary:hover { background: var(--amber-dark); border-color: var(--amber-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(245,158,11,.4); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-dark); border-color: var(--navy-dark); transform: translateY(-1px); }

/* === Navigation === */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: var(--navy);
  border-bottom: 3px solid var(--amber);
  box-shadow: var(--shadow-md);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 44px; height: 44px;
  background: var(--amber);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 18px; font-weight: 700;
  color: var(--navy); flex-shrink: 0;
}
.logo-text { line-height: 1.2; }
.logo-text .name { font-family: var(--font-head); font-size: 17px; font-weight: 700; color: var(--white); letter-spacing: .5px; }
.logo-text .sub { font-family: var(--font-cond); font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--amber); }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  font-family: var(--font-cond); font-size: 13px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(255,255,255,.8); padding: 8px 14px;
  border-bottom: 2px solid transparent; transition: var(--transition);
}
.main-nav a:hover, .main-nav a.active { color: var(--amber); border-bottom-color: var(--amber); }
.header-cta { display: flex; align-items: center; gap: 16px; }
.header-phone { font-family: var(--font-cond); font-size: 13px; font-weight: 600; letter-spacing: 1px; color: rgba(255,255,255,.7); }
.header-phone span { color: var(--amber); font-size: 15px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--white); transition: var(--transition); }

/* === Top Bar === */
.top-bar { background: var(--steel); padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; }
.top-bar a, .top-bar span { font-family: var(--font-cond); font-size: 12px; letter-spacing: 1px; color: rgba(255,255,255,.65); }
.top-bar a:hover { color: var(--amber); }
.top-bar .sep { margin: 0 12px; opacity: .3; }

/* === Hero === */
.hero {
  position: relative; min-height: 640px;
  display: flex; align-items: center; overflow: hidden;
  background: var(--navy);
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?w=1600&q=80');
  background-size: cover; background-position: center 40%; opacity: .35;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(30,58,95,.96) 45%, rgba(30,58,95,.55) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 680px; padding: 80px 0; }
.hero-eyebrow {
  font-family: var(--font-cond); font-size: 12px; font-weight: 700;
  letter-spacing: 4px; text-transform: uppercase; color: var(--amber);
  margin-bottom: 20px; display: flex; align-items: center; gap: 12px;
}
.hero-eyebrow::before { content: ''; width: 40px; height: 2px; background: var(--amber); }
.hero h1 {
  font-family: var(--font-head); font-size: clamp(36px, 5.5vw, 68px);
  font-weight: 700; line-height: 1.0; color: var(--white);
  letter-spacing: 1px; text-transform: uppercase; margin-bottom: 20px;
}
.hero h1 em { font-style: normal; color: var(--amber); }
.hero-sub { font-size: 17px; color: rgba(255,255,255,.8); line-height: 1.7; margin-bottom: 36px; max-width: 520px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-trust { display: flex; gap: 32px; flex-wrap: wrap; padding-top: 36px; border-top: 1px solid rgba(255,255,255,.15); }
.trust-item { display: flex; align-items: center; gap: 10px; }
.trust-icon {
  width: 36px; height: 36px;
  background: rgba(245,158,11,.15);
  border: 1px solid rgba(245,158,11,.3);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.trust-item span { font-family: var(--font-cond); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,.8); font-weight: 600; }

/* === Stats Bar === */
.stats-bar { background: var(--steel); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-left: 1px solid rgba(255,255,255,.08); }
.stat-item { padding: 32px 28px; border-right: 1px solid rgba(255,255,255,.08); text-align: center; }
.stat-number { font-family: var(--font-head); font-size: 44px; font-weight: 700; color: var(--amber); line-height: 1; }
.stat-label { font-family: var(--font-cond); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.6); margin-top: 6px; }

/* === Service Cards === */
.service-card {
  background: var(--white); border: 1px solid var(--border);
  border-top: 4px solid transparent; padding: 32px 28px;
  transition: var(--transition); position: relative;
}
.service-card:hover { border-top-color: var(--amber); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.service-icon { width: 52px; height: 52px; background: rgba(30,58,95,.08); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; color: var(--navy); }
.service-card h3 { font-family: var(--font-head); font-size: 20px; font-weight: 600; color: var(--navy); margin-bottom: 12px; }
.service-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; }
.service-link { font-family: var(--font-cond); font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--navy); display: inline-flex; align-items: center; gap: 8px; transition: var(--transition); }
.service-link:hover { color: var(--amber); gap: 12px; }
.service-link::after { content: '→'; }

/* === Why Choose Us === */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.why-item { display: flex; gap: 20px; align-items: flex-start; }
.why-num { font-family: var(--font-head); font-size: 48px; font-weight: 700; color: var(--amber); line-height: 1; flex-shrink: 0; opacity: .7; }
.why-item h4 { font-family: var(--font-head); font-size: 18px; color: var(--white); margin-bottom: 8px; }
.why-item p { font-size: 14px; color: rgba(255,255,255,.65); line-height: 1.7; }

/* === Projects === */
.project-card { position: relative; overflow: hidden; background: var(--steel); }
.project-img { width: 100%; height: 260px; object-fit: cover; display: block; transition: transform .5s ease; }
.project-card:hover .project-img { transform: scale(1.04); }
.project-info { padding: 20px 24px; background: var(--white); border-left: 3px solid var(--amber); }
.project-cat { font-family: var(--font-cond); font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--amber); font-weight: 700; margin-bottom: 6px; }
.project-info h3 { font-family: var(--font-head); font-size: 18px; color: var(--navy); font-weight: 600; }

/* === Testimonials === */
.testimonial-card { background: var(--white); padding: 32px; border: 1px solid var(--border); position: relative; }
.testimonial-card::before { content: '"'; font-family: Georgia, serif; font-size: 72px; line-height: 1; color: var(--amber); opacity: .35; position: absolute; top: 16px; left: 24px; }
.testimonial-text { font-size: 15px; color: var(--text); line-height: 1.8; font-style: italic; margin-bottom: 24px; padding-top: 16px; }
.testimonial-author { display: flex; align-items: center; gap: 14px; border-top: 1px solid var(--border); padding-top: 20px; }
.author-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: var(--steel); flex-shrink: 0; }
.author-name { font-family: var(--font-head); font-size: 16px; color: var(--navy); font-weight: 600; }
.author-role { font-family: var(--font-cond); font-size: 12px; letter-spacing: 1px; color: var(--text-muted); text-transform: uppercase; }

/* === CTA Banner === */
.cta-banner { background: var(--amber); padding: 64px 0; }
.cta-banner .section-title { color: var(--navy); }
.cta-banner .section-desc { color: rgba(30,58,95,.8); }
.cta-content { display: flex; align-items: center; justify-content: space-between; gap: 40px; }

/* === Footer === */
.site-footer { background: #111827; color: rgba(255,255,255,.75); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; margin-bottom: 56px; }
.footer-logo .name { font-family: var(--font-head); font-size: 22px; color: var(--white); font-weight: 700; margin-bottom: 4px; }
.footer-logo .sub { font-family: var(--font-cond); font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--amber); margin-bottom: 20px; }
.footer-desc { font-size: 14px; line-height: 1.8; margin-bottom: 24px; }
.footer-contact-item { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin-bottom: 12px; line-height: 1.6; }
.footer-col h4 { font-family: var(--font-head); font-size: 16px; font-weight: 600; color: var(--white); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--amber); display: inline-block; }
.footer-links li + li { margin-top: 10px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,.65); transition: var(--transition); display: flex; align-items: center; gap: 8px; }
.footer-links a::before { content: '—'; font-size: 11px; color: var(--amber); opacity: .6; }
.footer-links a:hover { color: var(--amber); padding-left: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 24px 0; display: flex; justify-content: space-between; align-items: center; font-family: var(--font-cond); font-size: 12px; letter-spacing: 1px; color: rgba(255,255,255,.4); }

/* === Page Hero === */
.page-hero { background: var(--navy); padding: 64px 0; position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; inset: 0; background: url('https://images.unsplash.com/photo-1581092918056-0c4c3acd3789?w=1600&q=80') center/cover; opacity: .12; }
.page-hero-content { position: relative; z-index: 2; }
.page-hero .breadcrumb { font-family: var(--font-cond); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 16px; }
.page-hero .breadcrumb a { color: var(--amber); }
.page-hero h1 { font-family: var(--font-head); font-size: clamp(32px, 5vw, 56px); font-weight: 700; color: var(--white); text-transform: uppercase; line-height: 1.05; }
.page-hero p { font-size: 17px; color: rgba(255,255,255,.72); margin-top: 16px; max-width: 540px; }

/* === About === */
.value-item { display: flex; gap: 20px; padding: 24px; border: 1px solid var(--border); background: var(--white); transition: var(--transition); }
.value-item:hover { border-color: var(--amber); box-shadow: var(--shadow-sm); }
.value-dot { width: 12px; height: 12px; background: var(--amber); border-radius: 50%; margin-top: 6px; flex-shrink: 0; }
.value-item h4 { font-family: var(--font-head); font-size: 17px; color: var(--navy); margin-bottom: 8px; }
.value-item p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* === Services Detail === */
.service-detail { padding: 64px 0; border-bottom: 1px solid var(--border); }
.service-detail:last-child { border-bottom: none; }
.service-detail:nth-child(even) .grid-2 { direction: rtl; }
.service-detail:nth-child(even) .grid-2 > * { direction: ltr; }
.service-img { width: 100%; height: 380px; object-fit: cover; border: 4px solid var(--border); }
.service-benefits { margin: 20px 0; display: flex; flex-direction: column; gap: 10px; }
.benefit-item { display: flex; align-items: center; gap: 12px; font-size: 14px; color: rgb(0, 0, 0); }
.benefit-dot { width: 8px; height: 8px; background: var(--amber); border-radius: 50%; flex-shrink: 0; }

/* === Projects Page === */
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 48px; }
.filter-btn { font-family: var(--font-cond); font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 9px 20px; border: 2px solid var(--border); background: var(--white); color: var(--steel); cursor: pointer; transition: var(--transition); border-radius: var(--radius); }
.filter-btn.active, .filter-btn:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.project-full-card { background: var(--white); border: 1px solid var(--border); overflow: hidden; transition: var(--transition); }
.project-full-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.project-full-card .project-img { height: 220px; width: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.project-full-card:hover .project-img { transform: scale(1.05); }
.project-full-info { padding: 22px; }
.project-full-info .project-cat { font-family: var(--font-cond); font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--amber); font-weight: 700; margin-bottom: 6px; }
.project-full-info h3 { font-family: var(--font-head); font-size: 19px; color: var(--navy); margin-bottom: 10px; }
.project-full-info p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* === Contact === */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.contact-form-wrap { background: var(--white); padding: 44px; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.contact-form-wrap h2 { font-family: var(--font-head); font-size: 28px; color: var(--navy); margin-bottom: 8px; }
.contact-form-wrap .sub { font-size: 14px; color: var(--text-muted); margin-bottom: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-family: var(--font-cond); font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--steel); margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 13px 16px; border: 1px solid var(--border); background: var(--bg); font-family: var(--font-body); font-size: 15px; color: var(--text); border-radius: var(--radius); transition: var(--transition); outline: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--navy); background: var(--white); box-shadow: 0 0 0 3px rgba(30,58,95,.08); }
.form-group textarea { resize: vertical; min-height: 120px; }
.contact-info-block { background: var(--navy); padding: 40px; color: var(--white); }
.info-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.1); }
.info-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.info-icon { width: 44px; height: 44px; background: rgba(245,158,11,.15); border: 1px solid rgba(245,158,11,.3); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--amber); font-size: 18px; }
.info-label { font-family: var(--font-cond); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--amber); margin-bottom: 6px; }
.info-value { font-size: 15px; color: rgba(255,255,255,.85); line-height: 1.6; }
.map-placeholder { width: 100%; height: 260px; background: var(--steel); margin-top: 24px; overflow: hidden; }
.map-placeholder iframe { width: 100%; height: 100%; border: none; }
.img-feature { width: 100%; height: 420px; object-fit: cover; display: block; }
.img-caption { background: var(--navy); padding: 12px 20px; font-family: var(--font-cond); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--amber); }

/* === Responsive === */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .grid-2, .grid-3, .why-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .project-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero h1 { font-size: 38px; }
  .cta-content { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .main-nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy-dark); padding: 16px 24px; gap: 4px; border-top: 1px solid rgba(255,255,255,.1); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
  .nav-toggle { display: flex; }
  .header-cta .btn { display: none; }
  .header-phone { display: none; }
  .contact-form-wrap { padding: 28px 20px; }
  .service-detail:nth-child(even) .grid-2 { direction: ltr; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
}