
/* projects Hero Section */
.projects-hero-section {
  height: 350px;
}

.projects-hero-section .background-banner {
  position: relative;
  background-image: url(../blanc/home/banner\ projects.webp);
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 100%;
}

.projects-hero-section .background-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
}

.projects-hero-section .background-banner>* {
  position: relative;
  z-index: 1;
}

.projects-hero-section .background-banner .banner-content-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  position: absolute;
  /* left: 5%; */
  top: 80%;
  transform: translateY(-50%);
  padding: 0px 5%;
}

.projects-hero-section .background-banner .banner-content-wrapper .title {
  color: #ffffff;
  font-size: 50px;
  font-family: 'Inter';
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 40px;
}

.projects-hero-section .background-banner .banner-content-wrapper .title label {
  font-family: 'Montserrat';
  font-weight: 500;
  letter-spacing: -0.04em;
}

.projects-hero-section .background-banner .banner-content-wrapper .disc {
  color: #fefefe;
  font-size: 25px;
  font-family: 'Inter';
}

@media (max-width: 768px) {
  .projects-hero-section {
    height: 100vh;
  }

  .projects-hero-section .background-banner .banner-content-wrapper {
    top: 90%;
    display: inline;
  }

  .projects-hero-section .background-banner .banner-content-wrapper .title {
    font-size: 30px;
  }

  .projects-hero-section .background-banner .banner-content-wrapper .disc {
    font-size: 16px;
  }
}

/* Projects Section */
.projects-section {
  padding: 60px 20px;
  background-color: #f5f5f5;
  min-height: 100vh;
}

.projects-section .container {
  max-width: 1400px;
  margin: 0 auto;
}

/* Filter Styles */
.filters-wrapper {
  /* background: #ffffff; */
  /* padding: 40px; */
  border-radius: 8px;
  margin-bottom: 40px;
  /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */
}

.filter-group {
  margin-bottom: 30px;
}

.filter-group:last-child {
  margin-bottom: 0;
}

.filter-label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: #333;
  text-transform: uppercase;
}

.filter-buttons {
  display: flex;
  gap: 10px;
}

.filter-btn {
  padding: 10px 24px;
  border: 2px solid #e0e0e0;
  background: #ffffff;
  color: #666;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 4px;
  font-weight: 400;
  /* width: max-content; */
}


@media (max-width: 768px) {
  .filter-buttons {
    flex-wrap: wrap;
  }
}

.filter-btn:hover {
  border-color: #999;
  color: #333;
}

.filter-btn.active {
  background: #2d2d2d;
  color: #ffffff;
  border-color: #2d2d2d;
}

.year-dropdown {
  padding: 5.4px 40px 5.4px 20px;
  border: 2px solid #e0e0e0;
  background: #ffffff;
  color: #666;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  cursor: pointer;
  border-radius: 4px;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M1 1L7 7L13 1' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 15px center;
  min-width: 120px;
}

.year-dropdown:focus {
  outline: none;
  border-color: #2d2d2d;
}

/* View Toggle */
.view-toggle-group {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.view-toggle {
  display: flex;
  gap: 10px;
  margin-left: auto;
}

.view-btn {
  padding: 10px;
  border: 2px solid #e0e0e0;
  background: #ffffff;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
}

.view-btn:hover {
  border-color: #999;
  color: #333;
}

.view-btn.active {
  background: #2d2d2d;
  color: #ffffff;
  border-color: #2d2d2d;
}

/* Projects Grid */
.projects-grid {
  display: grid;
  gap: 30px;
  margin-top: 40px;
}

.projects-grid.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.projects-grid.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Project Card */
.project-card {
  background: #ffffff;
  /* border-radius: 8px; */
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

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

.project-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.project-image {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #f0f0f0;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

.project-info {
  padding: 24px;
}

.project-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #2d2d2d;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.project-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #888;
  margin: 0;
  font-weight: 400;
}

/* No Results */
.no-results {
  text-align: center;
  padding: 60px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  color: #999;
}

/* Tablet Responsive */
@media (max-width: 1024px) {
  .projects-grid.grid-4 {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .filters-wrapper {
    /* padding: 30px; */
  }
  
  .filter-buttons {
    gap: 8px;
  }
  
  .filter-btn {
    padding: 8px 18px;
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .projects-section {
    padding: 40px 15px;
  }
  
  .filters-wrapper {
    /* padding: 20px; */
  }
  
  .filter-group {
    margin-bottom: 25px;
  }
  
  .filter-label {
    font-size: 12px;
    margin-bottom: 12px;
  }
  
  .filter-buttons {
    gap: 8px;
  }
  
  .filter-btn {
    padding: 8px 16px;
    font-size: 12px;
  }
  
  .year-dropdown {
    font-size: 12px;
    padding: 4px 35px 4px 16px;
    min-width: 100px;
  }
  
  .view-toggle-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .view-toggle {
    margin-left: 0;
  }
  
  .view-btn {
    width: 40px;
    height: 40px;
  }
  
  .projects-grid.grid-2,
  .projects-grid.grid-4 {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .project-info {
    padding: 20px;
  }
  
  .project-title {
    font-size: 18px;
  }
  
  .project-subtitle {
    font-size: 13px;
  }

  .view-toggle-group {
    display: none;
  }
}

/* Mobile Small */
@media (max-width: 480px) {
  .filters-wrapper {
    padding: 15px;
  }
  
  .filter-btn {
    padding: 6px 12px;
    font-size: 11px;
  }
  
  .project-title {
    font-size: 16px;
  }
  
  .project-subtitle {
    font-size: 12px;
  }
  
  .projects-section {
    padding: 30px 10px;
  }
}