* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  color: #222;
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #111;
  z-index: 10;
}

nav {
  height: 70px;
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  color: white;
  font-size: 24px;
  font-weight: bold;
}

.logo span,
h2 {
  color: #c79545;
}

ul {
  display: flex;
  gap: 25px;
  list-style: none;
}

nav a {
  color: white;
  text-decoration: none;
}

#menu,
label {
  display: none;
}

section {
  min-height: 100vh;
  padding: 100px 8%;
  text-align: center;
}

.hero {
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(#0008, #0008),
    url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=1600")
    center/cover;
}

.hero h1 {
  font-size: 55px;
  margin-bottom: 15px;
}

.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 25px;
  border: 0;
  background: #c79545;
  color: white;
  text-decoration: none;
  cursor: pointer;
}

.cards {
  display: flex;
  gap: 25px;
  justify-content: center;
  margin-top: 40px;
}

.card {
  width: 300px;
  box-shadow: 0 5px 20px #ddd;
  padding-bottom: 20px;
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card h3,
.card p {
  margin-top: 12px;
}

form {
  max-width: 500px;
  margin: 30px auto;
}

input,
textarea {
  width: 100%;
  padding: 15px;
  margin: 8px 0;
}

textarea {
  height: 150px;
}

footer {
  padding: 25px;
  text-align: center;
  background: #111;
  color: white;
}

/* Mobile */
@media (max-width: 700px) {

  label {
    display: block;
    color: white;
    font-size: 25px;
    cursor: pointer;
  }

  ul {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #111;
    flex-direction: column;
    padding: 20px;
  }

  #menu:checked ~ ul {
    display: flex;
  }

  .hero h1 {
    font-size: 40px;
  }

  .cards {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 100%;
    max-width: 350px;
  }
}