/* Gallery Specific Styles */
.gallery-header {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, var(--primary-color-light), var(--primary-color));
    color: white;
    text-align: center;
  }
  
  .gallery-filter {
    padding: 20px 0;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 70px;
    z-index: 100;
  }
  
  .filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
  }
  
  .filter-btn {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
  }
  
  .filter-btn.active,
  .filter-btn:hover {
    background-color: var(--primary-color);
    color: white;
  }
  
  .gallery-section {
    padding: 60px 0;
    background-color: #f9f9f9;
  }
  
  .pinterest-grid {
    column-count: 3;
    column-gap: 20px;
    width: 100%;
  }
  
  .gallery-item {
    break-inside: avoid;
    margin-bottom: 20px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background-color: white;
  }
  
  .gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  }
  
  .gallery-content {
    position: relative;
    overflow: hidden;
  }
  
  .gallery-content img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
  }
  
  .gallery-item:hover .gallery-content img {
    transform: scale(1.05);
  }
  
  .item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 20px;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
  }
  
  .gallery-item:hover .item-overlay {
    transform: translateY(0);
  }
  
  .item-category {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    text-transform: uppercase;
    margin-bottom: 10px;
  }
  
  .item-details h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
  }
  
  .item-details p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 15px;
  }
  
  .item-actions {
    display: flex;
    gap: 15px;
  }
  
  .item-link,
  .item-like {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
  }
  
  .item-link:hover,
  .item-like:hover {
    background-color: var(--primary-color);
    transform: scale(1.1);
  }
  
  /* Modal for Gallery */
  .modal {
    display: none;
    position: fixed;
    z-index: 1100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .modal.show {
    opacity: 1;
  }
  
  .modal-content {
    position: relative;
    margin: 5% auto;
    width: 80%;
    max-width: 800px;
    animation: modalZoom 0.3s;
  }
  
  @keyframes modalZoom {
    from {
      transform: scale(0.8);
      opacity: 0;
    }
    to {
      transform: scale(1);
      opacity: 1;
    }
  }
  
  .modal-content img {
    width: 100%;
    border-radius: 10px;
  }
  
  #modal-caption {
    margin-top: 20px;
    color: white;
    text-align: center;
  }
  
  #modal-caption h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }
  
  .close-modal {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
  }
  
  .close-modal:hover {
    color: var(--accent-color);
  }
  
  /* Responsive Design */
  @media (max-width: 992px) {
    .pinterest-grid {
      column-count: 2;
    }
  }
  
  @media (max-width: 768px) {
    .gallery-header {
      padding: 100px 0 40px;
    }
  
    .filter-buttons {
      gap: 10px;
    }
  
    .filter-btn {
      padding: 6px 15px;
      font-size: 0.9rem;
    }
  }
  
  @media (max-width: 576px) {
    .pinterest-grid {
      column-count: 1;
    }
  
    .modal-content {
      width: 95%;
    }
  }
  
  