/* ===== Reset ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== Body ===== */
body {
  font-family: 'Roboto', sans-serif;
  background-color: #0b0d0f;
  color: #f5f5f5;
  line-height: 1.6;
}

/* ===== Navbar ===== */
.navbar {
  display: flex;
  justify-content: space-between; /* logo left, links right */
  align-items: center;
  width: 100%;
  position: fixed;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(6px);
  padding: 20px 60px;
  z-index: 1000;
}

.logo {
  font-family: 'Oswald', sans-serif;
  font-size: 1.8rem;
  letter-spacing: 2px;
  color: #fff;
}

.logo span {
  color: #07b70d;
}

/* Nav links */
.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

.nav-links a:hover {
  color: #07b70d;
}

/* Hamburger */
.hamburger {
  display: none; /* hidden on desktop */
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  height: 100vh;
  background: url('https://images.unsplash.com/photo-1501706362039-c6e80948ebd6?auto=format&fit=crop&w=1400&q=80') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero h1 {
  font-family: 'Oswald', sans-serif;
  font-size: 3rem;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #ccc;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  background: #07b70d;
  color: #000;
  padding: 12px 30px;
  text-transform: uppercase;
  font-weight: bold;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #1E90FF;
}

/* ===== Sections ===== */
.section {
  padding: 100px 60px;
}

.container {
  max-width: 1100px;
  margin: auto;
}

h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  color: #07b70d;
  text-align: center;
  margin-bottom: 20px;
  text-transform: uppercase;
}

/* About section */
.about p {
  text-align: center;
  color: #ddd;
  max-width: 800px;
  margin: 0 auto;
}

/* ===== Builds ===== */
.build-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.build-card {
  background: #141618;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
  transform: translateY(50px);
  opacity: 0;
  transition: all 0.8s ease;
}

.build-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.build-card h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.4rem;
  margin: 15px;
  color: #07b70d;
}

.build-card p {
  margin: 0 15px 20px;
  color: #ccc;
}

/* ===== Video ===== */
.video-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

/* ===== Footer ===== */
.footer {
  background: #090b0c;
  padding: 50px 20px;
  text-align: center;
}

.footer a {
  color: #07b70d;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

/* ===== Animations ===== */
[data-animate] {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s ease-out;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Smooth scroll ===== */
html {
  scroll-behavior: smooth;
}

/* ===== Contact form ===== */
.contact form {
  max-width: 600px;
  margin: 40px auto 0;
}

.form-group {
  margin-bottom: 20px;
}

.contact input,
.contact textarea {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 4px;
  background: #1a1c1e;
  color: #f5f5f5;
  font-size: 1rem;
  resize: vertical;
}

.contact input::placeholder,
.contact textarea::placeholder {
  color: #888;
}

.contact button {
  background: #07b70d;
  border: none;
  color: #000;
  font-weight: bold;
  padding: 12px 30px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact button:hover {
  background: #1E90FF;
}

#formStatus {
  text-align: center;
  margin-top: 15px;
  color: #ccc;
  font-size: 0.95rem;
}

/* ===== Mobile / Responsive ===== */
@media (max-width: 768px) {
  /* Build gallery horizontal scroll */
  .build-gallery {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-bottom: 10px;
  }

  .build-card {
    flex: 0 0 85%;
    scroll-snap-align: center;
    min-width: 85%;
  }

  .build-gallery::-webkit-scrollbar {
    display: none;
  }
  .build-gallery {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  /* Mobile nav */
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
    background: rgba(10,10,10,0.95);
    padding: 10px 0;
    position: absolute;
    top: 70px;
    right: 0;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
  }

  .nav-links.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 12px 20px;
    text-align: left;
    font-size: 1rem;
  }

  .hamburger {
    display: flex;
  }

  /* Hamburger X animation */
  .hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .hamburger.open span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

/* Very small screens */
@media (max-width: 480px) {
  .navbar {
    padding: 12px 15px;
  }

  .logo {
    font-size: 1.3rem;
    letter-spacing: 1px;
  }

  .nav-links a {
    font-size: 0.95rem;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

/* Center section text */
.youtube p,
.contact p {
  text-align: center;
}

.footer {
  background-color: #222;
  color: #fff;
  padding: 2em 1em;
  text-align: center;
}

.footer a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer a:hover {
  color: #ffcc00;
}

.footer-links {
  color: #fff;
  padding: 2em 1em;
  text-align: center;
}

.footer-links h4 {
  margin-bottom: 1em;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.5em 1em;
}

.footer-links ul li {
  margin: 0.3em 0;
}
