* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  overflow-x: hidden;
}

/* ========== NAVBAR ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 20px 5%;
  z-index: 1000;
  transition: all 0.3s ease;
  background: transparent;
}
.navbar.scrolled {
  background: rgba(30, 42, 35, 0.92);
  backdrop-filter: blur(8px);
  padding: 12px 5%;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}
.logo a {
  font-size: 1.8rem;
  font-weight: 800;
  color: white;
  text-decoration: none;
  letter-spacing: 1px;
}
.nav-links {
  display: flex;
  gap: 1rem;
  list-style: none;
}
.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding-bottom: 5px;
  border-bottom: 2px solid transparent;
  transition: 0.2s;
}
.nav-links a:hover {
  border-bottom-color: #ffc107;
}
.menu-toggle {
  display: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
}

/* ========== HERO SECTION ========== */
.hero {
  height: 100vh;
  background:
    linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
    url("https://images.pexels.com/photos/417173/pexels-photo-417173.jpeg?auto=compress&cs=tinysrgb&w=1600")
      center center/cover no-repeat;
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  position: relative;
}
.hero-title {
  font-size: 4.5rem;
  font-weight: 800;
  text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.5);
  margin-bottom: 1rem;
}
.hero-subtitle {
  font-size: 1.3rem;
  background: rgba(0, 0, 0, 0.4);
  display: inline-block;
  padding: 10px 24px;
  border-radius: 40px;
  backdrop-filter: blur(4px);
}
html {
  scroll-behavior: smooth;
}

.down-arrow {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 2.5rem;
  animation: bounce 2s infinite;
  cursor: pointer;
  text-decoration: none;
}
@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(12px);
  }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    background: #1e2a23e6;
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    gap: 1rem;
    transition: 0.3s;
  }
  .nav-links.active {
    left: 0;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
}
