* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: #121212;
  color: #f4f4f4;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
}

/* HEADER */

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 40px;
  background: #0d0d0d;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.brand {
  display: flex;
  align-items: center;
}

.logo {
  height: 90px;
  width: auto;
  filter: drop-shadow(0 0 6px rgba(0,0,0,0.35));
}

.site-nav {
  display: flex;
  gap: 28px;
}

.site-nav a {
  color: #ffffff;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.site-nav a:hover {
  opacity: 0.7;
}

/* HERO */

.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
}

.hero-home {
  background: url("../images/rafters.jpg") center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.5),
    rgba(0,0,0,0.75)
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: 20px;
}

.eyebrow {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #79d55b;
  margin-bottom: 12px;
  font-weight: 700;
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.15;
  margin: 0 0 20px;
  text-shadow: 0 4px 18px rgba(0,0,0,0.5);
}

.hero-text {
  font-size: 1.15rem;
  color: #e5e5e5;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* BUTTONS */

.button {
  padding: 14px 24px;
  background: #4caf50;
  color: #fff;
  border-radius: 8px;
  font-weight: 700;
  transition: transform .2s ease, opacity .2s ease;
}

.button:hover {
  transform: translateY(-2px);
  opacity: .95;
}

.button-secondary {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
}

/* SECTIONS */

.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 20px;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

/* GRID */

.intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
  align-items: center;
}

.card img {
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

/* FEATURES */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 30px;
}

.feature-card {
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 24px;
}

.feature-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  color: #79d55b;
}

/* CTA */

.section-dark {
  background: #0f0f0f;
}

.cta-box {
  max-width: 1100px;
  margin: auto;
  background: #181818;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

/* FOOTER */

.site-footer {
  text-align: center;
  padding: 30px 20px;
  background: #000;
  color: #cfcfcf;
}

/* MOBILE */

@media (max-width: 900px) {

  .site-header {
    flex-direction: column;
    gap: 14px;
    padding: 20px;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .logo {
    height: 72px;
  }

  .intro-grid,
  .feature-grid,
  .cta-box {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 600px) {

  .hero {
    min-height: 70vh;
    padding: 60px 16px;
  }

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

}
