/* GENERAL STYLING */
body {
  font-family: Arial, sans-serif;
  background-color: #262626;
  color: #fff;
  margin: 0;
  padding: 0;
}

.container {
  width: 90%;
  margin: 0 auto;
  max-width: 1200px;
}

/* HEADER SECTION */
header {
  background-color: #212121;
  padding: 20px;
  text-align: center;
}

header h1 {
  color: #000;
  font-size: 2rem;
  margin: 0;
}

/* NAVIGATION */
header {
  background-color: #111;
  padding: 10px 20px;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 999;
}

nav {
  display: flex;
  justify-content: space-between; /* Ensures logo + hamburger align properly */
  align-items: center;
}

.logo {
  color: #ff9800;
  font-size: 1.8rem;
  font-weight: bold;
  text-transform: uppercase;
}

/* MENU LINKS */
.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  color: #ff9800;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #fff;
}

/* HAMBURGER MENU (MOBILE) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #ff9800;
  transition: transform 0.3s ease;
}

/* RESPONSIVE NAVIGATION */
@media (max-width: 768px) {
  header {
    padding: 10px;
  }

  nav {
    display: flex;
    justify-content: space-between;
  }

  /* Make sure the hamburger stays aligned properly */
  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #111;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%; /* Full width for better spacing */
    padding: 10px;
    gap: 10px;
  }

  .nav-links.show {
    display: flex;
  }

  .hamburger {
    display: flex;
    position: absolute;
    left: 10px; /* Keep it from sticking to the edge */
    top: 12px;
  }
}

  /* Center the logo on mobile view */
  .nav-center {
    flex: 2;
    display: flex;
    justify-content: center;
  }
}

/* PROJECTS SECTION */
#projects {
  padding: 50px 20px;
}

#projects h2 {
  color: #ff9800;
  font-size: 2rem;
  margin-bottom: 20px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.project-card {
  background-color: #222;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.project-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.project-card h3 {
  padding: 15px;
  color: #ff9800;
  margin: 0;
}

.project-card:hover {
  transform: translateY(-5px);
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
  #projects h2 {
    font-size: 1.5rem;
  }

  .project-card h3 {
    font-size: 1rem;
  }
}


/* TEAM SECTION */
#team {
  padding: 50px 20px;
  overflow: hidden;
}

#team h2 {
  color: #ff9800;
  font-size: 2rem;
  margin-bottom: 15px;
}

.team-carousel {
  display: flex;
  gap: 20px; /* Adjust this value to increase/decrease the gap */
  transition: transform 0.5s ease-in-out;
  touch-action: pan-y;
}


.team-member {
  background-color: #222;
  border-radius: 12px;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  
  /* CUSTOM WIDTH AND HEIGHT */
  width: 250px; /* Change width as needed */
  height: 80px; /* Change height as needed */
  box-sizing: border-box;
}

.team-member:last-child {
  margin-right: 0;
}


.team-member img {
  width: 50px;
  height: 50px;
  border-radius: 40%;
  border: 2px solid #ff9800;
}

.team-member h3 {
  color: #ff9800;
  font-size: 1.2rem;
}

.team-member p {
  color: #bbb;
  font-size: 1rem;
}

.team-nav {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.team-nav button {
  background-color: #ff9800;
  border: none;
  padding: 8px 12px;
  margin: 0 5px;
  border-radius: 5px;
  color: #000;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.team-nav button:hover {
  background-color: #ffb74d;
}

/* FOOTER SECTION */
footer {
  background-color: #1a1a1a;
  padding: 20px;
  text-align: center;
}

footer p {
  color: #888;
  font-size: 0.9rem;
  margin: 0;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
  header h1,
  #projects h2,
  #team h2 {
    font-size: 1.5rem;
  }

  .team-member {
    padding: 10px;
    width: 80%;
  }

  .project-card h3 {
    font-size: 1rem;
  }
}
