/* Filter Dropdowns Styles */
.project-filters {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.filter-dropdown {
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  color: #fff;
  padding: 18px 20px;
  font-size: 14px;
  min-width: 150px;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 16px;
  padding-right: 54px;
  transition: all 0.3s ease;
  width: fit-content;
}

.filter-dropdown:hover {
  background: rgba(0, 0, 0, 0.9);
  border-color: rgba(255, 255, 255, 0.4);
}

.filter-dropdown:focus {
  outline: none;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
  background: black !important;
}

.filter-dropdown option {
  background: rgba(0, 0, 0, 0.95);
  color: #fff;
  padding: 10px;
  text-align: left;
}

/* Projects Table Styles */
.projects-table-wrapper {
  overflow-x: auto;
  margin-top: 40px;
  overflow-y: hidden;
}

.projects-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
}

.projects-table thead {
  background: rgba(0, 0, 0, 0.9);
}

.projects-table th {
  padding: 20px 15px;
  text-align: left;
  font-weight: 400;
  font-size: 16px;
  border-right: 1px solid #525252;
  border-bottom: 1px solid;
  border-top: 1px solid;
  color: #fff;
  background: black;
}

.projects-table th:last-child {
  border-right: none;
}

.projects-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

.projects-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.05);
}

.projects-table td {
  padding: 18px 15px;
  border-right: 1px solid #525252;
  border-bottom: 1px solid #525252;
  font-size: 14px;
  color: #ccc;
  vertical-align: middle;
}

.projects-table td:last-child {
  border-right: none;
}

.project-name a {
  color: #fff;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.3s ease;
}

.project-name a:hover {
  color: #ccc;
}

.project-status {
  font-weight: 400;
}

/* Not set styling */
.projects-table td.not-set {
  color: #666;
  font-style: italic;
}

/* Status specific colors */
.project-status:not(.not-set) {
  font-weight: 400;
}


/* Animation */
.project-row {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.project-row.animate-on-scroll {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 20px 10px !important;
  }

  .project-filters {
    gap: 15px;
    margin-bottom: 30px;
  }

  .filter-dropdown {
    min-width: 120px;
    padding: 10px 16px;
    padding-right: 40px;
    font-size: 13px;
  }

  .projects-table th,
  .projects-table td {
    padding: 12px 8px;
    font-size: 12px;
  }

  .projects-table th {
    font-size: 14px;
  }

  .project-name {
    min-width: 150px;
  }
}

@media (max-width: 480px) {
  .project-filters {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }

  .filter-dropdown {
    width: 100%;
    min-width: auto;
    text-align: center;
  }

  .projects-table {
    font-size: 11px;
  }

  .projects-table th,
  .projects-table td {
    padding: 10px 6px;
  }

  .projects-table th {
    font-size: 12px;
  }
}

/* Project Archive Specific Styles */

/* Main Content */
.project-main {
  padding: 40px 0;
}

/* Project Archive Specific Overrides */
.project-name,
.project-name a {
  font-size: 18px !important;
  text-align: left !important;
  font-weight: bold !important;
}
.project-name a {
  text-decoration: underline;
}
thead th {
  font-size: 19px !important;
  font-weight: bold !important;
}

/* Project Archive Page Specific Hover Style */
.post-type-archive.post-type-archive-project
  #menu-header-project-types
  li:last-child
  a,
.post-type-archive.post-type-archive-project
  #menu-header-project-types
  li:last-child
  a:after {
  width: 20px !important;
  color: white;
  pointer-events: none;
}

/* Responsive Design for Project Archive Specific Elements */
@media (max-width: 768px) {
  .project-name,
  .project-name a {
    font-size: 15px !important;
    text-align: left !important;
    font-weight: 600 !important;
    text-transform: capitalize !important;
  }
  .hero-title {
    font-size: 32px;
  }

  /* Mobile Animation Container */
  .animation-container {
    height: 60px;
  }

  .flight-animation {
    height: 50px;
  }

  .hero-content {
    gap: 20px;
  }

  .filter-container {
    flex-direction: column;
    align-items: center;
  }

  .filter-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .project-main {
    margin-top: -35px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 28px;
  }

  /* Small Mobile Animation */
  .animation-container {
    height: 50px;
  }

  .flight-animation {
    height: 40px;
  }

  .filter-nav a {
    padding: 8px 15px;
    font-size: 14px;
  }
}
