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

body {
  font-family: 'Quicksand', sans-serif;
  background: #1f1f1f;
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Project Header - Navbar Style */
.project-header {
  background: #1f1f1f;
  padding: 1rem 0 0 0;
  border-bottom: 1px solid #333;
  position: sticky;
  top: 0;
  z-index: 100;
}

.project-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 1rem;
  position: relative;
}

.back-home {
  color: #28e98c;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: absolute;
  left: 0;
}

.back-home:hover {
  color: #20c77a;
}

.project-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.project-title {
  font-size: 1.8rem;
  color: #ffffff;
  margin: 0;
  font-weight: 700;
}

.project-subtitle {
  color: #b3b3b3;
  font-size: 0.9rem;
  margin: 0;
  font-weight: 400;
}

.nav-spacer {
  display: none;
}


/* Main Content */
.project-main {
  padding: 2rem 0;
  min-height: calc(100vh - 120px);
  background: #1f1f1f;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Project Layout */
.project-layout {
  width: 100%;
}

/* Main Content Area */
.project-content-area {
  width: 100%;
}

/* Project Grid */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

/* Project Cards */
.project-card {
  background: #2a2a2a;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #333;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
}

.project-card.hidden {
  display: none;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(40, 233, 140, 0.2);
}

.project-icon {
  background: linear-gradient(135deg, rgba(40, 233, 140, 0.2), rgba(40, 233, 140, 0.05));
  padding: 2rem;
  text-align: center;
  border-bottom: 1px solid #333;
}

.project-icon i {
  font-size: 3rem;
  color: #28e98c;
}

.project-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-card-title {
  color: #ffffff;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
  line-height: 1.4;
}

.project-subtitle-text {
  color: #28e98c;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.project-description {
  color: #b3b3b3;
  line-height: 1.6;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.project-features {
  margin-bottom: 1rem;
}

.project-features p {
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.project-features ul {
  list-style: none;
  padding-left: 0;
}

.project-features li {
  color: #b3b3b3;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.5;
}

.project-features li::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: #28e98c;
  font-weight: bold;
}

.project-tech {
  color: #b3b3b3;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.project-tech strong {
  color: #ffffff;
}

.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #333;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #28e98c;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border: 1px solid #28e98c;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.project-link:hover {
  background: #28e98c;
  color: #000000;
  transform: translateY(-2px);
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  .project-title {
    font-size: 1.5rem;
  }

  .project-subtitle {
    font-size: 0.8rem;
  }

  .project-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    position: static;
  }

  .back-home {
    position: static;
    width: 100%;
  }

  .nav-spacer {
    display: none;
  }

  .project-brand {
    text-align: center;
    width: 100%;
  }

  .project-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media screen and (max-width: 480px) {
  .project-main {
    padding: 1rem 0;
  }

  .project-nav {
    gap: 0.5rem;
  }

  .back-home {
    font-size: 0.8rem;
  }

  .category-dropdown-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
  }

  .project-content {
    padding: 1.5rem;
  }

  .project-card-title {
    font-size: 1.3rem;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}
