/* ==================================
   FIRE PULSE SOLUTIONS
   Red & White Theme — CLEAN SOURCE
   ================================== */

:root {
  --fps-red: #c62828;
  --fps-red-dark: #9e1f1f;
  --fps-white: #ffffff;
  --fps-gray-light: #f4f4f4;
  --fps-gray-text: #333333;
}

/* ===============================
   RESET / BASE
   =============================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: var(--fps-white);
  color: var(--fps-gray-text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

/* ===============================
   LAYOUT
   =============================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
  background: var(--fps-white);
}

.section-accent {
  background: var(--fps-gray-light);
}

.section h2 {
  margin-bottom: 40px;
  text-align: center; /* ← very common choice for sections */
}

/* ===============================
   HEADER
   =============================== */
.site-header {
  background: var(--fps-white);
  border-bottom: 4px solid var(--fps-red);
  position: sticky;
  top: 0;
  z-index: 1000;          /* ← makes header stay on top when scrolling */
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  background: var(--fps-red);
  color: var(--fps-white);
  font-weight: bold;
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 1.4rem;      /* ← slightly bigger looks better */
}

.brand-text strong {
  display: block;
  font-size: 1.1rem;
}

.brand-text span {
  font-size: 0.8rem;
  color: #666;
}

/* ===============================
   NAV
   =============================== */
.nav a {
  margin-left: 24px;        /* ← bit more breathing room */
  text-decoration: none;
  color: var(--fps-gray-text);
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav a:hover,
.nav a:focus {
  color: var(--fps-red);
}

/* ===============================
   BUTTONS
   =============================== */
.btn {
  display: inline-block;
  padding: 12px 24px;
  background: var(--fps-red);
  color: var(--fps-white);
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn:hover,
.btn:focus {
  background: var(--fps-red-dark);
}

.btn-small {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-outline {
  background: transparent;
  color: var(--fps-red);
  border: 2px solid var(--fps-red);
}

.btn-outline:hover,
.btn-outline:focus {
  background: var(--fps-red);
  color: white;
}

/* ===============================
   HERO
   =============================== */
.hero {
  position: relative;
  height: 55vh;
  min-height: 420px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(198, 40, 40, 0.48);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  width: 100%;
  max-width: 900px;
  padding: 80px 20px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  margin-bottom: 1.2rem;
  line-height: 1.1;
}

.hero .lead {
  max-width: 700px;
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

/* ===============================
   CARDS / SERVICES
   =============================== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.card {
  background: var(--fps-white);
  padding: 28px;
  border-left: 6px solid var(--fps-red);
  box-shadow: 0 3px 12px rgba(0,0,0,0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* ===============================
   FOOTER
   =============================== */
.site-footer {
  background: var(--fps-white);
  border-top: 4px solid var(--fps-red);
  padding: 40px 0;
  text-align: center;
  margin-top: 60px;
}

/* ===============================
   MOBILE
   =============================== */
@media (max-width: 768px) {
  .hero {
    min-height: 50vh;
  }
  
  .hero-content {
    padding: 60px 20px;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .nav a {
    margin-left: 16px;
  }
}