:root {
  --primary-color: #3a3a3a;
  --secondary-color: #d4c6a6;
  --accent-color: #8b0000;
  --text-color: #ffffff;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: var(--primary-color);
  color: var(--text-color);
}

header {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 1rem;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Exo 2', sans-serif;
  font-size: 1.5rem;
  font-optical-sizing: auto;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

nav ul {
  display: flex;
  list-style-type: none;
}

nav ul li {
  margin-right: 1rem;
}

nav ul li a {
  color: var(--text-color);
  text-decoration: none;
}

.cta-button {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-weight: bold;
}

.cta-button.secondary {
  background-color: transparent;
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
}

#hero {
  position: relative;
  background-image: url("./aeroblade-splash.webp");
  background-size: cover;
  background-position: center;
  height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

#hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Adjust the last value (0.5) to control darkness */
  z-index: 1;
}

#hero h1 {
  font-size: 4rem;
  margin-bottom: 0;
}

#hero h2 {
  font-size: 2rem;
  margin-top: 0;
}

#hero h1, #hero h2, #hero p, #hero .cta-buttons {
  position: relative;
  z-index: 2;
}

.cta-buttons {
  margin-top: 2rem;
}

#features {
  padding: 4rem 2rem;
  background-color: rgba(0, 0, 0, 0.8);
  text-align: center;
}

#features h2 {
  
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature-item {
  text-align: center;
}

.feature-item img {
  width: 300px;
  height: 300px;
}

footer {
  background-color: var(--primary-color);
  color: var(--text-color);
  text-align: center;
  padding: 1rem;
}

@media (max-width: 768px) {
  nav {
    flex-direction: column;
  }

  nav ul {
    margin-top: 1rem;
  }

  #hero h1 {
    font-size: 3rem;
  }

  #hero h2 {
    font-size: 1.5rem;
  }
}
