/* ============================================================
   Hopi Construction — Main Stylesheet
   Bootstrap 5 base with custom overrides
   ============================================================ */

:root {
  --hopi-yellow: #ffc107;
  --hopi-dark:   #1a1a2e;
  --hopi-grey:   #6c757d;
}

/* ---- Typography ---- */
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: #212529;
}

h1, h2, h3, h4, h5 {
  font-weight: 700;
}

/* ---- Navbar ---- */
.navbar-brand {
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}

/* ---- Hero sections ---- */
.hero-section {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  background-color: var(--hopi-dark);
  overflow: hidden;
}

.hero-section .hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

/* ---- Service cards ---- */
.service-card {
  border: none;
  border-radius: 0.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
}

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

.service-icon {
  font-size: 2.5rem;
  color: var(--hopi-yellow);
}

/* ---- Section spacing ---- */
.section-py {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.section-py-sm {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

/* ---- Section headings ---- */
.section-heading {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.section-heading .accent {
  color: var(--hopi-yellow);
}

.section-divider {
  width: 60px;
  height: 4px;
  background: var(--hopi-yellow);
  border: none;
  margin: 1rem 0 2rem;
}

/* ---- CTA banner ---- */
.cta-banner {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

/* ---- Why choose us ---- */
.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 193, 7, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--hopi-yellow);
  margin: 0 auto 1rem;
}

/* ---- About strip ---- */
.about-strip img {
  border-radius: 0.75rem;
  object-fit: cover;
}

/* ---- Blog / Portfolio cards ---- */
.post-card img,
.portfolio-card img {
  height: 220px;
  object-fit: cover;
  border-radius: 0.5rem 0.5rem 0 0;
}

.post-card,
.portfolio-card {
  border: none;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s ease;
  height: 100%;
}

.post-card:hover,
.portfolio-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

/* ---- Service page hero ---- */
.service-hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
  padding: 5rem 0 3rem;
  color: #fff;
}

/* ---- Breadcrumb ---- */
.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255,255,255,0.5);
}

.breadcrumb-item a {
  color: var(--hopi-yellow);
  text-decoration: none;
}

/* ---- Contact page ---- */
.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 193, 7, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--hopi-yellow);
}

/* ---- Utilities ---- */
.text-yellow { color: var(--hopi-yellow) !important; }
.bg-near-black { background-color: var(--hopi-dark) !important; }

/* ---- Responsive tweaks ---- */
@media (max-width: 767px) {
  .hero-section {
    min-height: 420px;
  }
  .section-py {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  .section-heading {
    font-size: 1.6rem;
  }
}
