/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
    min-height: 100vh;
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
  }
  
  /* Header Styles */
  .header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #dcfce7;
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  .header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
  }
  
  .header-left {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
  
  .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #166534;
  }
  
  .nav {
    display: flex;
    gap: 1.5rem;
  }
  
  .nav-link {
    text-decoration: none;
    color: #6b7280;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
  }
  
  .nav-link:hover,
  .nav-link.active {
    color: #16a34a;
  }
  
  .nav-link.active::after {
    content: "";
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    right: 0;
    height: 2px;
    background: #16a34a;
  }
  
  /* Button Styles */
  .btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
  }
  
  .btn-primary {
    background: #16a34a;
    color: white;
  }
  
  .btn-primary:hover {
    background: #15803d;
  }
  
  .btn-outline {
    background: transparent;
    color: #16a34a;
    border: 1px solid #dcfce7;
  }
  
  .btn-outline:hover {
    background: #f0fdf4;
  }
  
  .btn-white {
    background: white;
    color: #16a34a;
  }
  
  .btn-white:hover {
    background: #f9fafb;
  }
  
  .btn-outline-white {
    background: transparent;
    color: white;
    border: 1px solid white;
  }
  
  .btn-outline-white:hover {
    background: white;
    color: #16a34a;
  }
  
  /* Hero Section */
  .hero {
    padding: 4rem 0;
    text-align: center;
  }
  
  .hero-title {
    font-size: 3rem;
    font-weight: bold;
    color: #166534;
    margin-bottom: 1rem;
  }
  
  .hero-description {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 42rem;
    margin: 0 auto;
  }
  
  /* Filter Section */
  .filter-section {
    padding: 0 1rem 2rem;
  }
  
  .filter-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    border: 1px solid #dcfce7;
  }
  
  .filter-content {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
  }
  
  .search-container {
    flex: 1;
    max-width: 24rem;
  }
  
  .search-box {
    position: relative;
  }
  
  .search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
  }
  
  .search-input {
    width: 100%;
    padding: 0.75rem 0.75rem 0.75rem 2.5rem;
    border: 1px solid #dcfce7;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    transition: border-color 0.3s ease;
  }
  
  .search-input:focus {
    outline: none;
    border-color: #16a34a;
  }
  
  .filter-buttons {
    display: flex;
    gap: 0.75rem;
  }
  
  /* Dropdown Styles */
  .dropdown {
    position: relative;
  }
  
  .dropdown-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    min-width: 150px;
    z-index: 100;
    display: none;
    padding: 0.5rem 0;
  }
  
  .dropdown-content.show {
    display: block;
  }
  
  .checkbox-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
  }
  
  .checkbox-item:hover {
    background: #f9fafb;
  }
  
  .checkbox-item input[type="checkbox"] {
    margin-right: 0.5rem;
  }
  
  /* Active Filters */
  .active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
  }
  
  .filter-badge {
    background: #dcfce7;
    color: #166534;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
  }
  
  .filter-badge .remove {
    cursor: pointer;
    font-size: 0.625rem;
  }
  
  /* Gallery Grid */
  .gallery-section {
    padding: 0 1rem 4rem;
  }
  
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
  }
  
  .gallery-item {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #dcfce7;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
  }
  
  .gallery-item:hover {
    transform: translateY(-0.25rem);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  }
  
  .gallery-image {
    position: relative;
    overflow: hidden;
  }
  
  .gallery-image img {
    width: 100%;
    height: 16rem;
    object-fit: cover;
    transition: transform 0.3s ease;
  }
  
  .gallery-item:hover .gallery-image img {
    transform: scale(1.05);
  }
  
  .gallery-badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    right: 1rem;
    display: flex;
    justify-content: space-between;
  }
  
  .badge {
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
  }
  
  .badge-software {
    background: #16a34a;
    color: white;
  }
  
  .badge-category {
    background: rgba(255, 255, 255, 0.9);
    color: #374151;
  }
  
  .gallery-content {
    padding: 1.5rem;
  }
  
  .gallery-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
  }
  
  .gallery-item:hover .gallery-title {
    color: #16a34a;
  }
  
  .gallery-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.75rem;
  }
  
  .gallery-description {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  
  .gallery-button {
    width: 100%;
  }
  
  /* No Results */
  .no-results {
    text-align: center;
    padding: 4rem 0;
  }
  
  .no-results-icon {
    font-size: 4rem;
    color: #d1d5db;
    margin-bottom: 1rem;
  }
  
  .no-results h3 {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
  }
  
  .no-results p {
    color: #9ca3af;
  }
  
  /* CTA Section */
  .cta-section {
    background: #16a34a;
    color: white;
    padding: 4rem 1rem;
    text-align: center;
  }
  
  .cta-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
  }
  
  .cta-description {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
  }
  
  .cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
  }
  
  /* Modal Styles */
  .modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    backdrop-filter: blur(4px);
  }
  
  .modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
  }
  
  .modal-content {
    background: white;
    border-radius: 1rem;
    max-width: 4xl;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
  }
  
  .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
  }
  
  .modal-title {
    font-size: 1.5rem;
    color: #166534;
    margin: 0;
  }
  
  .modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6b7280;
    padding: 0.5rem;
    border-radius: 0.25rem;
    transition: background-color 0.2s ease;
  }
  
  .modal-close:hover {
    background: #f3f4f6;
  }
  
  .modal-body {
    padding: 1.5rem;
  }
  
  .modal-image {
    width: 100%;
    height: 24rem;
    object-fit: cover;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
  }
  
  .modal-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  
  .detail-section h4 {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
  }
  
  .detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    font-size: 0.875rem;
  }
  
  .detail-label {
    color: #6b7280;
  }
  
  .detail-value {
    font-weight: 500;
  }
  
  .modal-description {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.6;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .header-left {
      flex-direction: column;
      align-items: flex-start;
      gap: 1rem;
    }
  
    .nav {
      display: none;
    }
  
    .hero-title {
      font-size: 2rem;
    }
  
    .filter-content {
      flex-direction: column;
      align-items: stretch;
    }
  
    .search-container {
      max-width: none;
    }
  
    .filter-buttons {
      justify-content: center;
    }
  
    .gallery-grid {
      grid-template-columns: 1fr;
    }
  
    .cta-title {
      font-size: 1.5rem;
    }
  
    .cta-buttons {
      flex-direction: column;
      align-items: center;
    }
  
    .modal-details {
      grid-template-columns: 1fr;
    }
  }
  
  @media (max-width: 480px) {
    .container {
      padding: 0 0.5rem;
    }
  
    .filter-card {
      padding: 1rem;
    }
  
    .gallery-content {
      padding: 1rem;
    }
  }
  