:root {
  --black: #0d0d0d;
  --dark-grey: #1a1a1a;
  --mid-grey: #2e2e2e;
  --light-grey: #bfbfbf;
  --white: #ffffff;
  --shadow: rgba(0, 0, 0, 0.8);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif;
  background-color: var(--black);
  color: var(--white);
  min-height: 100vh;
  opacity: 0;
}

/* Header */
header {
  background: linear-gradient(to bottom, var(--dark-grey), var(--black));
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  box-shadow: 0 3px 10px var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo img {
  height: 70px;
  filter: drop-shadow(2px 2px 2px var(--shadow));
  cursor: pointer;
}

nav {
  display: flex;
  gap: 2rem;
}

nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-family: "Oswald", sans-serif;
  font-size: 1.1rem;
  position: relative;
  padding: 0.4rem 0.8rem;
  transition: color 0.3s ease;
}

nav a.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
}

nav a:hover {
  color: var(--light-grey);
}

/* Hero */
.hero {
  position: relative;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--white);
  box-shadow: inset 0 0 60px var(--shadow);
}

.hero-content h1 {
  font-family: "Oswald", sans-serif;
  font-size: 3rem;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 6px var(--shadow);
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--light-grey);
  text-shadow: 1px 1px 3px var(--shadow);
}

/* Form */
main {
  max-width: 700px;
  margin: -80px auto 4rem auto;
  padding: 2rem;
  background-color: var(--mid-grey);
  border-radius: 10px;
  box-shadow: 0 0 20px var(--shadow);
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

form label {
  font-weight: 700;
}

form input,
form textarea {
  padding: 0.8rem;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  background-color: #2c2c2c;
  color: var(--white);
}

form textarea {
  resize: vertical;
  min-height: 120px;
}

form button {
  width: fit-content;
  padding: 10px 25px;
  background-color: var(--white);
  color: var(--black);
  border: none;
  border-radius: 6px;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s ease;
}

form button:hover {
  background-color: var(--light-grey);
}

/* Scroll Button */
#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--white);
  color: var(--black);
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  font-size: 1.5rem;
  cursor: pointer;
  display: none;
  box-shadow: 0 4px 10px var(--shadow);
  z-index: 1000;
}

/* Footer */
footer {
  background: linear-gradient(to top, var(--dark-grey), var(--black));
  color: var(--light-grey);
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  box-shadow: inset 0 1px 4px var(--shadow);
}

@media (max-width: 768px) {
  nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.5rem;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  form button {
    padding: 10px 20px;
  }
}
