@import url('https://fonts.googleapis.com/css2?family=Anton&family=Poppins:wght@300;400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  color: white;
  background-color: black;
  margin-top: 4rem;
}

ul {
  list-style: none; 
}

a {
  color: white;
  text-decoration: none;
}

header {
  width: 100%;
  height: 4rem;
  padding: 0 64px;
  position: fixed;
  top: 0;
  left: 0;
  background-color: black;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 999;
  border-bottom: 1px solid #222;
}

header .logo {
  font-size: 1.5rem;
  font-weight: 600;
  transition: all 0.3s ease-in-out;
}

header nav ul {
  display: flex;
  gap: 2rem;
}

header nav ul li a {
  font-size: 0.9rem;
  transition: all 0.3s ease-in-out;
}

header nav ul li a:hover {
  color: #99a1af;
}

header .cta {
  border: 2px solid white;
  padding: 0.5rem 1.2rem;
  border-radius: 2rem;
  transition: all 0.3s ease-in-out;
}

header .cta:hover {
  background: white;
  color: black;
}

header #header-btn {
  display: none;
  font-size: 1.5rem;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
}

#home {
  min-height: calc(100vh - 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

#home h1 {
  font-family: "Anton", sans-serif;
  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: 6px;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

#home p {
  color: #99a1af;
  font-size: clamp(0.8rem, 2vw, 1rem);
  max-width: 700px;
  margin-bottom: 2rem;
}

.primary-btn {
  font-size: 1rem;
  color: black;
  background: white;
  border: 3px solid white;
  padding: 0.75rem 2rem;
  border-radius: 2rem;
  transition: all 0.3s ease-in-out;
}

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

@media (max-width: 1024px) {
  header {
    padding: 0 32px; 
  }

  header .logo {
    font-size: 1.2rem; 
  }

  header nav ul {
    gap: 1.5rem; 
  }
}

@media (max-width: 768px) {
  header {
    padding: 0 16px; 
  }
  
  header nav {
    position: fixed;
    top: 4rem;
    right: -100%;
    width: min(250px, 100%);
    height: calc(100vh - 4rem);
    background: black;
    border-left: 1px solid #222;
    transition: all 0.3s ease-in-out;
    z-index: 999;
  }

  header nav.active {
    right: 0; 
  }

  header nav ul {
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
    gap: 1.5rem;
  }

  header nav ul li a {
    font-size: 1.2rem; 
  }

  header .cta {
    display: none; 
  }

  header #header-btn {
    display: block; 
  }
}
