/* --------------------------
   Global Styles
--------------------------- */
body {
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background: #f4f7fa;
  color: #333;
}

h1, h2 {
  margin-top: 0;
}

section {
  max-width: 900px;
  margin: 2rem auto;
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.navbar {
    width: 100%;
    background: #003366;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 40px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    justify-content: center;   /* Centers the links horizontally */

}

.navbar .logo {
    font-size: 22px;
    font-weight: bold;
    letter-spacing: 1px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
   
    
}


.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    padding-bottom: 5px;
    transition: 0.2s ease-in-out;
}

.nav-links a:hover,
.nav-links .active {
    border-bottom: 2px solid #ffcc00;
    color: #ffcc00;
}

/* --------------------------
   Hero Section
--------------------------- */
.hero {
  background: linear-gradient(rgba(0, 77, 122, 0.85), rgba(0, 77, 122, 0.85)),
              url('../assets/images/engineer\ at\ work.jpg') no-repeat center center/cover;
  color: #fff;
  text-align: center;
  padding: 5rem 2rem;
}

.hero-content {
  max-width: 800px;
  margin: auto;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Call-to-action buttons */
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  padding: 0.8rem 1.5rem;
  background: #ffd700;
  color: #333;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background 0.3s, transform 0.2s;
}

.btn:hover {
  background: #e6c200;
  transform: translateY(-2px);
}

.btn-secondary {
  background: #fff;
  color: #006699;
}

.btn-secondary:hover {
  background: #f1f1f1;
}

/* --------------------------
   Features Section
--------------------------- */
.features {
  max-width: 900px;
  margin: 2rem auto;
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.features h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.features ul {
  list-style: none;
  padding: 0;
}

.features ul li {
  margin: 0.7rem 0;
  padding: 0.8rem;
  background: #f9f9f9;
  border-left: 4px solid #006699;
  border-radius: 4px;
  font-size: 1.05rem;
}

/* --------------------------
   Forms (Work Orders & Feedback)
--------------------------- */
form {
  display: flex;
  flex-direction: column;
}

form label {
  margin: 0.5rem 0 0.2rem;
  font-weight: bold;
}

form input, 
form textarea, 
form button {
  padding: 0.6rem;
  margin-bottom: 1rem;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

form textarea {
  min-height: 100px;
}

form button {
  background: #006699;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

form button:hover {
  background: #004d7a;
}

/* --------------------------
   Lists (Orders & Feedback)
--------------------------- */
/*ul {
  padding-left: 1.2rem;
}

ul li {
  margin: 0;
  padding: 0;
  border-left: 4px solid #006699;
  border-radius: 4px;
}

/* --------------------------
   Manager Panel Buttons
--------------------------- */
#managerOrdersList button {
  padding: 0.3rem 0.6rem;
  font-size: 0.9rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  margin-left: 0.5rem;
  transition: background 0.3s;
}

#managerOrdersList button:first-of-type {
  background: #28a745;
  color: #fff;
}

#managerOrdersList button:first-of-type:hover {
  background: #218838;
}

#managerOrdersList button:last-of-type {
  background: #ffc107;
  color: #333;
}

#managerOrdersList button:last-of-type:hover {
  background: #e0a800;
}

/* --------------------------
   Footer
--------------------------- */
footer {
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
  background: #004d7a;
  color: #fff;
}

/* --------------------------
   Responsive Design
--------------------------- */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    align-items: center;
  }

  nav ul li {
    margin: 0.5rem 0;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  section {
    margin: 1rem;
    padding: 1.5rem;
  }
}
