
/* ================= HEADER STYLES ================= */
.header {
  background: linear-gradient(180deg, #B11C1C 0%, #711604 100%);
  box-shadow: 0 3px 6px rgba(0,0,0,0.16);
  padding: 5px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-img {
  max-height: 60px;
  display: block;
}

/* Navigation */
.nav-container {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
}

.nav-list {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-list li a {
  color: #fff;
  font-size: 18px; /* Keep font size fixed */
  line-height: 1.5; /* Optional: ensure consistent spacing */
  text-transform: capitalize;
  text-decoration: none;
  transition: color 0.3s; /* Only color transition */
  padding: 12px 0; /* Fixed padding */
}

.nav-list li a:hover {
  color: #FFD700; /* Only color changes */
  font-size: 18px; /* Ensure font size does not change */
  padding: 12px 0; /* Ensure padding does not change */
  line-height: 1.5; /* Ensure line-height does not change */
}
/* Toggle Button */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 15px;
}

.nav-toggle img {
  width: 28px;
  filter: brightness(0) invert(1); /* White icon */
}

/* Responsive */
@media (max-width: 991px) {
  .nav-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 250px;
    background: #711604;
    padding: 60px 20px;
    gap: 20px;
    transform: translateX(100%);   /* hidden by default */
    transition: transform 0.4s ease-in-out; /* smooth animation */
    z-index: 999;
  }

  .nav-menu.active {
    transform: translateX(0); /* slides in */
  }

  .nav-menu.closing {
    transform: translateX(100%); /* slides out smoothly */
  }

  .nav-list {
    flex-direction: column;
    gap: 15px;
    text-align: left;
  }

  .nav-toggle {
    display: block;
  }
}

.logo-wrapper {
  display: flex;
  align-items: center; /* Aligns logo and name vertically */
  gap: 15px; /* Space between logo and project name */
}

.logo-img {
  max-height: 90px; /* Increased logo size */
  display: block;
}

.project-name {
  color: #fff;
  font-size: 28px; /* Bigger project name */
  font-weight: bold;
  white-space: nowrap; /* Prevent wrapping */
}

@media (max-width: 991px) {
  .logo-img {
    max-height: 80px; /* smaller logo on mobile */
  }
  .project-name {
    font-size: 20px; /* smaller text on mobile */
  }
}

