/* Project Status Dashboard Styles */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  min-height: 100vh;
  color: #333;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Navigation Menu */
.nav-menu {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1000;
}

.nav-toggle {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  padding: 12px 20px;
  border-radius: 25px;
  text-decoration: none;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  font-weight: 600;
  cursor: pointer;
  display: inline-block;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 10px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  min-width: 200px;
}

.nav-menu:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-link {
  display: block;
  padding: 15px 20px;
  color: #2c3e50;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-link:last-child {
  border-bottom: none;
}

.nav-link:hover {
  background: rgba(0, 255, 136, 0.1);
  color: #00cc6a;
  padding-left: 25px;
}

.nav-link:first-child {
  border-radius: 15px 15px 0 0;
}

.nav-link:last-child {
  border-radius: 0 0 15px 15px;
}

/* Header */
.header {
  text-align: center;
  margin-bottom: 50px;
  color: white;
  margin-top: 60px;
}

.header h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.header p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Statistics */
.stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  color: white;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 5px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Status Legend */
.status-legend {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  padding: 15px 25px;
  border-radius: 25px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-weight: 600;
}

.legend-leds {
  display: flex;
  gap: 5px;
}

.legend-led {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.legend-led.on {
  background: #00ff88;
  box-shadow: 0 0 10px #00ff88;
  border-color: #00ff88;
}

/* Status Board */
.status-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1600px;
  margin: 0 auto;
  overflow-x: auto;
}

.status-column {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 25px;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.column-header {
  text-align: center;
  margin-bottom: 25px;
  color: white;
}

.column-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.column-subtitle {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Project Cards */
.project-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 4px solid #00ff88;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.project-name {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #2c3e50;
  line-height: 1.3;
}

.project-leds {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
}

.led {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #ddd;
  background: #f5f5f5;
  transition: all 0.3s ease;
}

.led.on {
  background: #00ff88;
  border-color: #00cc6a;
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.6),
    inset 0 2px 5px rgba(255, 255, 255, 0.3);
}

.project-type {
  font-size: 0.8rem;
  color: #7f8c8d;
  margin-top: 10px;
  font-style: italic;
}

/* Empty state */
.empty-state {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  padding: 40px 20px;
  font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header {
    margin-top: 80px;
  }

  .header h1 {
    font-size: 2.2rem;
  }

  .status-board {
    grid-template-columns: repeat(4, minmax(280px, 1fr));
    gap: 15px;
  }

  .status-legend {
    gap: 15px;
  }

  .legend-item {
    padding: 10px 15px;
    font-size: 0.9rem;
  }

  .stats {
    gap: 20px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .nav-dropdown {
    right: 0;
    left: auto;
    transform-origin: top right;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 20px 15px;
  }

  .nav-toggle {
    padding: 10px 15px;
    font-size: 0.9rem;
  }

  .status-legend {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .stats {
    flex-direction: column;
    gap: 15px;
  }

  .status-board {
    grid-template-columns: repeat(4, minmax(250px, 1fr));
    gap: 10px;
    padding-bottom: 20px;
  }

  .status-column {
    padding: 15px;
  }
}

/* Project Card Links */
.project-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
}

.project-card-link:hover {
  text-decoration: none;
  color: inherit;
}

.project-card-link .project-card {
  transition: all 0.3s ease;
}

.project-card-link:hover .project-card {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

/* Footer Styles */
footer {
  background: #2c3e50;
  color: white;
  text-align: center;
  padding: 30px 0;
  margin-top: 50px;
}
