/* =============================================
   Belfast Flooring Contractors — Custom Site
   ============================================= */

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

:root {
  --navy: #1a2540;
  --navy-light: #243356;
  --gold: #5ea669;
  --gold-light: #85c872;
  --white: #ffffff;
  --light: #f5f6f8;
  --text: #333333;
  --text-light: #666666;
  --radius: 6px;
  --shadow: 0 4px 20px rgba(0,0,0,0.1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---- TOPBAR ---- */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  padding: 8px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.topbar a { color: rgba(255,255,255,0.85); }
.topbar a:hover { color: var(--gold); }
.topbar-contact { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar-contact span { display: flex; align-items: center; gap: 6px; }

/* ---- NAV ---- */
.navbar {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.nav-logo img { height: 55px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-weight: 600;
  color: var(--navy);
  font-size: 15px;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-weight: 700 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--gold-light) !important; }

/* Mobile nav */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--navy); margin: 5px 0; transition: 0.3s;
}

/* ---- CONTAINER ---- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ---- HERO ---- */
.hero {
  position: relative;
  background: var(--navy);
  min-height: 580px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('/wp-content/uploads/2023/09/banner-min-1536x1022.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  padding: 80px 0;
}
.hero-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  color: var(--white);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero h1 span { color: var(--gold); }
.hero p {
  color: rgba(255,255,255,0.85);
  font-size: 18px;
  margin-bottom: 36px;
  max-width: 520px;
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
  text-align: center;
}
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--gold-light); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-light); }

/* ---- TRUST BAR ---- */
.trust-bar { background: var(--gold); padding: 18px 0; }
.trust-bar .container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 12px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 700;
  font-size: 15px;
}
.trust-icon { font-size: 22px; }

/* ---- SECTION BASE ---- */
section { padding: 80px 0; }
.section-label {
  display: inline-block;
  color: var(--gold);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-sub {
  color: var(--text-light);
  font-size: 17px;
  max-width: 680px;
  margin-bottom: 48px;
}
.text-center { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }

/* ---- INTRO ---- */
.intro { background: var(--white); }
.intro .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.intro-img { border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); }
.intro-img img { width: 100%; height: 420px; object-fit: cover; }

/* ---- SERVICES ---- */
.services { background: var(--light); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.14);
}
.service-img { height: 180px; overflow: hidden; }
.service-img img { width: 100%; height: 100%; object-fit: cover; }
.service-body { padding: 22px; }
.service-body h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.service-body p { font-size: 14px; color: var(--text-light); line-height: 1.6; }

/* ---- HOW IT WORKS ---- */
.how { background: var(--navy); }
.how .section-title { color: var(--white); }
.how .section-sub { color: rgba(255,255,255,0.7); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.step {
  text-align: center;
  position: relative;
}
.step-icon {
  width: 80px; height: 80px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border: 2px solid var(--gold);
}
.step-icon img { width: 40px; height: 40px; object-fit: contain; filter: brightness(0) invert(1); }
.step-num {
  position: absolute;
  top: -8px; right: calc(50% - 48px);
  background: var(--gold);
  color: var(--navy);
  font-weight: 800;
  font-size: 12px;
  width: 24px; height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step h3 { color: var(--white); font-size: 15px; font-weight: 700; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.5px; }
.step p { color: rgba(255,255,255,0.65); font-size: 14px; }

/* ---- CTA BAND ---- */
.cta-band {
  background: var(--gold);
  padding: 60px 0;
}
.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(22px, 3vw, 34px); color: var(--navy); font-weight: 800; }
.cta-band p { color: var(--navy-light); font-size: 16px; margin-top: 8px; }

/* ---- CONTACT SECTION ---- */
.contact-section { background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-info h3 { font-size: 22px; font-weight: 800; color: var(--navy); margin-bottom: 20px; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}
.contact-detail-icon {
  width: 44px; height: 44px;
  background: var(--light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.contact-detail-text strong { display: block; color: var(--navy); font-weight: 700; }
.contact-detail-text span { color: var(--text-light); font-size: 14px; }

/* ---- FORM ---- */
.contact-form h3 { font-size: 22px; font-weight: 800; color: var(--navy); margin-bottom: 20px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 6px; font-size: 14px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: var(--radius);
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  transition: border-color 0.2s;
  background: var(--white);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-success {
  display: none;
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-top: 16px;
  font-weight: 600;
}

/* ---- FOOTER ---- */
.footer { background: var(--navy); color: rgba(255,255,255,0.75); }
.footer-main {
  padding: 60px 0 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
}
.footer-logo { margin-bottom: 18px; }
.footer-logo img { height: 50px; }
.footer-about { font-size: 14px; line-height: 1.7; max-width: 340px; }
.footer h4 { color: var(--white); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 18px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.7); transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }
.footer-contact li { font-size: 14px; margin-bottom: 10px; display: flex; align-items: flex-start; gap: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--gold); }

/* ---- PAGE HEADER ---- */
.page-header {
  background: var(--navy);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gold);
}
.page-header h1 { color: var(--white); font-size: clamp(28px, 4vw, 44px); font-weight: 800; }
.page-header p { color: rgba(255,255,255,0.75); font-size: 17px; margin-top: 12px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 16px; }
.breadcrumb a { color: var(--gold); }
.breadcrumb span { color: rgba(255,255,255,0.3); }

/* ---- ABOUT PAGE ---- */
.about-content { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-img img { width: 100%; height: 480px; object-fit: cover; border-radius: 10px; box-shadow: var(--shadow); }
.about-text .section-title { margin-bottom: 20px; }
.about-text p { color: var(--text-light); margin-bottom: 16px; font-size: 16px; }
.about-checks { margin: 24px 0; }
.about-check { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.check-icon { color: var(--gold); font-size: 20px; flex-shrink: 0; margin-top: 1px; }
.check-text strong { color: var(--navy); display: block; }
.check-text span { color: var(--text-light); font-size: 14px; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .intro .container { grid-template-columns: 1fr; }
  .intro-img { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); padding: 20px; box-shadow: 0 8px 20px rgba(0,0,0,0.1); gap: 0; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--light); width: 100%; }
  .nav-toggle { display: block; }
  .navbar .container { position: relative; }
  .services-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .trust-bar .container { justify-content: center; }
  .cta-band .container { flex-direction: column; text-align: center; }
  .footer-main { grid-template-columns: 1fr; gap: 30px; }
  .form-row { grid-template-columns: 1fr; }
  .hero { min-height: 480px; }
  section { padding: 60px 0; }
  .topbar .container { justify-content: center; }
}
