/* Filters Section */
.design-filters {
  padding: 2rem 0;
  background: white;
  border-bottom: 1px solid var(--gray-light);
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.filter-tab {
  background: var(--gray-light);
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 500;
  color: var(--dark-color);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.filter-tab:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}

.filter-tab.active {
  background: var(--primary-color);
  color: white;
}

.filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
}

.tag-label {
  font-weight: 500;
  color: var(--dark-color);
}

.tag-btn {
  background: transparent;
  border: 2px solid var(--gray-light);
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  color: var(--gray-medium);
  cursor: pointer;
  transition: var(--transition);
}

.tag-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.tag-btn.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

/* Gallery Section */
.design-gallery {
  padding: 3rem 0;
  background: #f8f9fa;
}

.gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.gallery-title {
  font-size: 2rem;
  color: var(--dark-color);
}

.sort-options {
  min-width: 200px;
}

/* Design Cards - Simplified */
.design-card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  height: 100%;
  margin-bottom: 1.5rem;
  position: relative;
}

.design-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.design-image {
  height: 250px;
  overflow: hidden;
  position: relative;
}

.design-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.design-card:hover .design-image img {
  transform: scale(1.05);
}

.design-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--primary-color);
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 2;
}

/* Removed design-actions-overlay and design-action-btn */

.design-content {
  padding: 1.5rem;
}

.design-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--gray-medium);
}

.design-category {
  background: var(--secondary-color);
  color: var(--dark-color);
  padding: 3px 10px;
  border-radius: 12px;
  font-weight: 500;
}

.design-rating {
  color: var(--warning-color);
  display: flex;
  align-items: center;
  gap: 2px;
}

.design-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--dark-color);
}

/* Removed design-description */

/* Removed design-tags */

.design-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-light);
  margin-top: 1rem;
}

.design-saves {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--gray-medium);
  font-size: 0.9rem;
}

.design-saves i {
  color: var(--danger-color);
}

.view-design-btn {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  font-size: 0.9rem;
}

.view-design-btn:hover {
  background: var(--accent-color);
  transform: translateY(-2px);
  color: white;
}

/* Save Button in Card */
.save-btn {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--dark-color);
  z-index: 2;
}

.save-btn:hover {
  background: var(--primary-color);
  color: white;
  transform: scale(1.1);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-light);
}

.page-btn {
  background: var(--primary-color);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.page-btn:hover:not(:disabled) {
  background: var(--accent-color);
  transform: translateY(-2px);
}

.page-btn:disabled {
  background: var(--gray-light);
  cursor: not-allowed;
}

.page-info {
  font-weight: 500;
  color: var(--dark-color);
}

/* Responsive Design */
@media (max-width: 992px) {
  .gallery-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .filter-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 10px;
  }

  .filter-tab {
    white-space: nowrap;
  }
}

@media (max-width: 768px) {
  .filter-tags {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 10px;
  }

  .tag-btn {
    white-space: nowrap;
  }
}

@media (max-width: 576px) {
  .design-hero {
    padding: 80px 0 40px;
  }

  .filter-tabs {
    gap: 0.3rem;
  }

  .filter-tab {
    padding: 8px 15px;
    font-size: 0.9rem;
  }

  .design-image {
    height: 200px;
  }

  .design-content {
    padding: 1rem;
  }

  .design-title {
    font-size: 1.1rem;
  }
}

/* Animation for design cards */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.design-card {
  animation: fadeInUp 0.5s ease forwards;
}

.design-card:nth-child(2) {
  animation-delay: 0.1s;
}

.design-card:nth-child(3) {
  animation-delay: 0.2s;
}

.design-card:nth-child(4) {
  animation-delay: 0.3s;
}

.design-card:nth-child(5) {
  animation-delay: 0.4s;
}

.design-card:nth-child(6) {
  animation-delay: 0.5s;
}
