:root {
  --primary: #c92a2a;
  --secondary: #ebf0ff;
  --grey: #343a40;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  line-height: 1.6;
  color: var(--grey);
  background-color: white;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 2rem;
  background: white;
  border-bottom: 1px solid #ddd;
}

header .logo {
  width: 5rem;
}

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

nav ul li a {
  text-decoration: none;
  color: var(--grey);
  font-weight: 500;
  transition: all 0.3s ease-in;
}

nav ul li a:hover {
  color: var(--primary);
}

.btn-primary {
  background-color: var(--primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 4px;
}

.btn-primary:hover {
  color: white;
  background-color: #e03131;
}

.hero {
  position: relative;
  background: url('images/hero.jpg') center/cover no-repeat;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  height: 90vh;
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.hero p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.story-section {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.story-section img {
  width: 100%;
  max-width: 400px;
  flex: 50%;
}

.story-section .text {
  flex: 50%;
}

.story-section .text h2 {
  font-size: 4.8rem;
}

.our-story {
  background-color: #212529;
  border-radius: 10px;
  padding: 4.8rem 3.2rem;
}

.our-story h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.our-story p {
  margin-bottom: 2rem;
  color: #fff;
}

.launch-date {
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
  background-color: var(--primary);
  color: white;
  padding: 1rem;
  border-radius: 6px;
  margin-top: 2rem;
}

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

  nav ul li:not(:last-child) {
    display: none;
  }

  .story-section {
    flex-direction: column-reverse;
    text-align: center;
  }

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

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

  .story-section .text h2 {
    font-size: 3rem;
    line-height: 1;
  }

  .launch-date {
    font-size: 1.2rem;
  }
}

@media (max-width: 500px) {
  header {
    padding: 0.6rem 0.8rem;
  }

  header .logo {
    width: 3.2rem;
  }

  nav ul li a {
    font-size: 10px;
  }

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

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

  .story-section .text h2 {
    font-size: 1.6rem;
  }

  .our-story {
    padding: 3.2rem 0.8rem;
  }

  .our-story p {
    font-size: 12px;
  }

  .launch-date {
    font-size: 1rem;
  }
}
