/* ============================
   GLOBAL RESET
============================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background: #0c0c0c;
  color: #fff;
  line-height: 1.6;
}

/* ============================
   HEADER / NAVBAR
============================ */
header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 10%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(255, 180, 0, 0.2);
}

header .logo img {
  height: 55px;
  transition: transform 0.3s ease;
}

header .logo img:hover {
  transform: scale(1.05);
}

.navbar-toggle {
  display: none;
  font-size: 28px;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1500;
  transition: color 0.3s ease;
}

.navbar-toggle:hover {
  color: #ffb400;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  position: relative;
  padding: 6px 0;
  transition: all 0.3s ease;
}

nav ul li a::after {
  content: "";
  width: 0;
  height: 2px;
  background: #ffb400;
  position: absolute;
  bottom: 0;
  left: 0;
  transition: 0.4s;
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}

nav ul li a:hover {
  color: #ffb400;
}

/* ============================
   SERVICES SECTION
============================ */
.services {
  padding: 120px 10% 80px;
  background: #0c0c0c;
  text-align: center;
  color: #fff;
}

.services h2 {
  font-size: 2.8rem;
  margin-bottom: 50px;
  position: relative;
  display: inline-block;
  text-transform: uppercase;
  color: #ffb400;
}

.services h2::after {
  content: "";
  display: block;
  width: 60%;
  height: 3px;
  background: #ffb400;
  margin: 10px auto 0;
  border-radius: 5px;
}

/* Grid Layout */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

/* Service Card */
.service-item {
  background: #1a1a1a;
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  transition: all 0.4s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
  opacity: 0;
  transform: translateY(40px);
}

.service-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
  transition: transform 0.4s ease;
}

.service-item h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #ffb400;
  font-weight: 600;
}

.service-item p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #ccc;
}

/* Hover Effects */
.service-item:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 12px 30px rgba(255,180,0,0.3);
}

.service-item:hover img {
  transform: scale(1.05);
}

/* Animations */
@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

.fade-up {
  animation: fadeUp 1s ease forwards;
}

.fade-up.delay { animation-delay: 0.3s; }
.fade-up.delay2 { animation-delay: 0.6s; }
.fade-up.delay3 { animation-delay: 0.9s; }

/* ============================
   FOOTER
============================ */
footer {
  background: #000;
  padding: 25px 10%;
  text-align: center;
  border-top: 1px solid rgba(255,180,0,0.2);
}

footer p {
  font-size: 0.9rem;
  color: #bbb;
  letter-spacing: 0.5px;
}

/* ============================
   RESPONSIVE
============================ */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    gap: 18px;
    position: absolute;
    top: 70px;
    right: 0;
    width: 200px;
    padding: 15px;
    background: rgba(0,0,0,0.95);
    border-radius: 8px;
    display: none;
  }

  nav ul.active {
    display: flex;
  }

  .navbar-toggle {
    display: block;
    position: absolute;
    top: 18px;
    right: 10%;
  }

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

  .services {
    padding: 100px 5% 60px;
  }

  .service-item img {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .services h2 {
    font-size: 2rem;
  }

  .services-grid {
    gap: 25px;
  }

  .service-item img {
    height: 160px;
  }
}
