/* ═══════════════════════════════════════════════════
   Standard Fire Suppression Corp. — Site Styles
   Colors: Navy #1B2435 | Red #D72639 | Gold #F2C025
   Fonts: Mina (headings) | Roboto Condensed (body)
   ═══════════════════════════════════════════════════ */

:root {
  --navy: #1B2435;
  --red: #D72639;
  --gold: #F2C025;
  --dark: #222222;
  --gray: #575454;
  --light-gray: #F5F5F5;
  --white: #FFFFFF;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--red); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold); text-decoration: underline; }

h1, h2, h3 {
  font-family: 'Mina', sans-serif;
  line-height: 1.2;
  padding-bottom: 10px;
  -webkit-font-smoothing: antialiased;
}
h1 { font-size: 42px; color: var(--red); font-weight: 700; }
h2 { font-size: 32px; color: var(--navy); }
h3 { font-size: 24px; color: var(--navy); }

img { max-width: 100%; height: auto; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }

/* ─── HEADER ─── */
.site-header {
  background: var(--white);
  padding: 10px 0;
}
.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.logo img { width: 300px; height: 79px; display: block; }

/* Navigation */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.main-nav a {
  font-family: 'Mina', sans-serif;
  font-size: 16px;
  color: var(--navy);
  padding: 5px 15px;
  border-radius: 8px;
  text-decoration: none;
  display: block;
  transition: color 0.2s;
}
.main-nav a:hover,
.main-nav a.active { color: var(--red); text-decoration: none; }

.mobile-menu-btn {
  display: none;
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 7px 10px;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 18px;
  text-transform: uppercase;
  cursor: pointer;
  line-height: 38px;
  height: 36px;
}

/* ─── HERO / PAGE IMAGE ─── */
.hero {
  position: relative;
  height: 500px;
  background-color: var(--dark);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
}

/* Hero slideshow */
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }

/* ─── INTRO BANNER (navy box overlapping hero) ─── */
.intro-banner {
  position: relative;
  z-index: 9;
  max-width: 1240px;
  margin: -300px auto 0;
  background: var(--navy);
  border-top: 5px solid var(--red);
  color: var(--white);
  text-align: center;
  padding: 20px 10px;
}
.intro-banner h2 { color: var(--white); }
.intro-banner .contact-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 10px 0;
}
.intro-banner .contact-row a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 16px;
  text-decoration: none;
}
.intro-banner .contact-row a:hover { color: var(--gold); }
.intro-banner .contact-row img { width: 48px; height: 48px; }

/* ─── CONTENT SECTIONS ─── */
.content-section {
  padding: 80px 40px;
  max-width: 1240px;
  margin: 0 auto;
  text-align: center;
}
.content-section p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 16px;
}
.content-section.left-align { text-align: left; }

/* ─── PARALLAX SECTION ─── */
.parallax-section {
  background-image: url('https://0201.nccdn.net/1_2/000/000/112/654/para.jpg');
  background-attachment: fixed;
  background-size: cover;
  background-position: center top;
  background-color: var(--dark);
  padding: 200px 0;
}

/* ─── DARK SECTION (navy bg with white text) ─── */
.dark-section {
  background: var(--navy);
  color: var(--white);
  padding: 40px;
  max-width: 1000px;
  margin: -100px auto 0;
  border-top: 5px solid var(--red);
  text-align: center;
  position: relative;
  z-index: 10;
}
.dark-section p { color: var(--white); }
.dark-section a { color: var(--gold); }

/* ─── TWO-COLUMN LAYOUT ─── */
.two-col {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 1240px;
  margin: 80px auto;
  padding: 0;
}
.two-col .col { flex: 1; padding: 80px 40px; }
.two-col .col img { width: 100%; display: block; }
.two-col .col-img { padding: 0; }

/* ─── RED CTA BANNER ─── */
.cta-banner {
  background: var(--red);
  color: var(--white);
  text-align: center;
  padding: 40px 20px;
  position: relative;
  z-index: 58;
}
.cta-banner h1 { color: var(--white); }

/* ─── FOOTER ─── */
.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 150px 40px 70px;
  margin-top: -60px;
  position: relative;
  z-index: 55;
}
.footer-cols {
  display: flex;
  justify-content: center;
  gap: 30px;
  max-width: 1240px;
  margin: 0 auto;
  text-align: center;
}
.footer-col { flex: 1; }
.footer-col img { width: 30px; height: 30px; margin-bottom: 10px; opacity: 0.7; }
.footer-col p { color: var(--white); font-size: 15px; }
.footer-col a { color: var(--gold); text-decoration: underline; }
.footer-col a:hover { color: var(--white); }

.footer-cta {
  text-align: center;
  margin: 30px 0;
}
.btn-cta {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  border: 1px solid var(--white);
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 16px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-cta:hover {
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
}

.footer-nav {
  text-align: center;
  padding-top: 20px;
}
.footer-nav a {
  color: var(--gold);
  margin: 0 5px;
  font-size: 14px;
}
.footer-nav a:hover { color: var(--white); }

/* ─── VIDEO EMBED ─── */
.video-wrap {
  max-width: 560px;
  margin: 20px auto;
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}
.video-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

/* ─── SERVICES LIST ─── */
.services-list { list-style: disc; text-align: left; padding-left: 30px; margin: 15px 0; }
.services-list li { margin-bottom: 5px; }

/* ─── CONTACT FORM ─── */
.contact-form {
  max-width: 500px;
  margin: 20px auto;
  text-align: left;
}
.contact-form label {
  display: block;
  margin: 10px 0 3px;
  font-weight: 500;
  font-size: 14px;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--dark);
  border-radius: 8px;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 14px;
  color: var(--dark);
  margin-bottom: 5px;
}
.contact-form textarea { height: 120px; resize: vertical; }
.contact-form button {
  background: var(--gold);
  color: #393E43;
  border: 1px solid #393E43;
  padding: 8px 20px;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 14px;
  cursor: pointer;
  margin-top: 10px;
}
.contact-form button:hover { background: var(--red); color: var(--white); }

/* ─── PRODUCT PARTNERS ─── */
.partner-list { list-style: none; text-align: center; }
.partner-list li { margin: 10px 0; font-size: 18px; }

/* ─── RESPONSIVE ─── */
@media screen and (max-width: 1024px) {
  .intro-banner { margin-top: 0; }
  .dark-section { margin-top: 0; }
  h1 { font-size: 40px; }
  h2 { font-size: 28px; }
  .hero { height: 400px; }
  .site-footer { padding-top: 60px; margin-top: 0; }
}

@media screen and (max-width: 810px) {
  .two-col { flex-direction: column; }
  h1 { font-size: 36px; }
  .footer-cols { flex-direction: column; align-items: center; }
}

@media screen and (max-width: 600px) {
  .mobile-menu-btn { display: block; }
  .main-nav { display: none; width: 100%; background: var(--navy); }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; }
  .main-nav a { color: #F0F0F0; font-size: 14px; padding: 8px 10px; text-align: left; }
  .logo { text-align: center; width: 250px; margin: 0 auto; }
  .logo img { width: 250px; height: auto; }
  .hero { height: 300px; }
  h1 { font-size: 30px; }
  h2 { font-size: 20px; }
  .content-section { padding: 20px 10px; }
  .two-col .col { padding: 20px 10px; }
  .parallax-section { background-attachment: scroll; background-size: cover; padding: 60px 0; min-height: 200px; }
  .site-footer { padding: 20px 10px; }
  .footer-nav a { display: inline-block; margin: 3px 5px; }
}
