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

:root {
  --charcoal: #1a1a2e;
  --dark-blue: #16213e;
  --steel: #0f3460;
  --accent: #f0a500;
  --text-light: #e0e0e0;
  --text-muted: #a0a0a0;
  --white: #ffffff;
  --bg-card: #1e2a3a;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--charcoal);
  color: var(--text-light);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

/* ===== HEADER & NAV ===== */
header {
  background-color: var(--dark-blue);
  border-bottom: 3px solid var(--accent);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.site-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1px;
}

.site-title span {
  color: var(--accent);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

nav a {
  color: var(--text-light);
  font-weight: 500;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

nav a:hover,
nav a.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
  text-decoration: none;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(rgba(22, 33, 62, 0.7), rgba(26, 26, 46, 0.85)), url('../images/hero.jpg') center/cover no-repeat;
  text-align: center;
  padding: 6rem 2rem;
  border-bottom: 1px solid rgba(240, 165, 0, 0.2);
}

.hero h1 {
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.hero .tagline {
  font-size: 1.25rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.hero p {
  max-width: 650px;
  margin: 0 auto 2rem;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.btn {
  display: inline-block;
  background-color: var(--accent);
  color: var(--charcoal);
  font-weight: 700;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  transition: background-color 0.2s, transform 0.1s;
}

.btn:hover {
  background-color: #d4940a;
  text-decoration: none;
  transform: translateY(-1px);
}

/* ===== MAIN CONTENT ===== */
main {
  flex: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 2rem;
  width: 100%;
}

/* ===== CARDS GRID ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background-color: var(--bg-card);
  border: 1px solid rgba(240, 165, 0, 0.15);
  border-radius: 6px;
  padding: 2rem;
  transition: border-color 0.2s, transform 0.2s;
}

.card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.card h3 {
  color: var(--accent);
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.card p {
  color: var(--text-muted);
}

/* ===== PAGE BANNER ===== */
.page-banner {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  display: block;
  border-bottom: 3px solid var(--accent);
}

.page-banner-wrap {
  position: relative;
  line-height: 0;
}

.page-banner-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 46, 0.35);
  pointer-events: none;
}

.page-banner-wrap .page-banner {
  border-bottom: none;
}

.page-banner-wrap {
  border-bottom: 3px solid var(--accent);
}

/* ===== SECTION HEADINGS ===== */
.section-heading {
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

.section-intro {
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 700px;
}

/* ===== SERVICES / PRODUCTS LISTS ===== */
.service-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-bottom: 3rem;
}

.service-list li {
  background-color: var(--bg-card);
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--accent);
  border-radius: 0 4px 4px 0;
}

.service-list li strong {
  color: var(--white);
}

/* ===== PROSE / LONG-FORM COPY ===== */
.prose {
  max-width: 750px;
  margin-top: 3rem;
}

.prose p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.prose strong {
  color: var(--text-light);
}

.prose h3 {
  color: var(--accent);
  font-size: 1.15rem;
  margin: 2rem 0 0.75rem;
}

.prose .section-heading {
  margin-top: 2.5rem;
}

.prose > .section-heading:first-child {
  margin-top: 0;
}

/* ===== CONTACT INFO ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.contact-block {
  background-color: var(--bg-card);
  padding: 2rem;
  border-radius: 6px;
  border: 1px solid rgba(240, 165, 0, 0.15);
}

.contact-block h3 {
  color: var(--accent);
  margin-bottom: 1rem;
}

.contact-block p,
.contact-block li {
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.contact-block ul {
  list-style: none;
}

/* ===== FOOTER ===== */
footer {
  background-color: var(--dark-blue);
  border-top: 3px solid var(--accent);
  text-align: center;
  padding: 1.5rem 2rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

footer a {
  color: var(--accent);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
  .header-inner {
    flex-direction: column;
    text-align: center;
  }

  nav ul {
    gap: 1rem;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .hero .tagline {
    font-size: 1rem;
  }

  main {
    padding: 2rem 1rem;
  }
}
