/* Gallery Page Styles */
.gallery-page {
    min-height: 100vh;
  }
  
  /* Page Header */
  .page-header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
  }
  
  .page-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("/assets/images/pattern.png") repeat;
    opacity: 0.1;
  }
  
  .header-content {
    position: relative;
    z-index: 2;
    text-align: center;
  }
  
  .header-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  }
  
  .header-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
  }
  
  .breadcrumb {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    display: inline-flex;
    margin: 0;
  }
  
  .breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0.5rem;
  }
  
  .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .breadcrumb-item a:hover {
    color: white;
  }
  
  .breadcrumb-item.active {
    color: white;
  }
  
  /* Filters Section */
  .gallery-filters {
    background: #f8f9fa;
    padding: 2rem 0;
    border-bottom: 1px solid #e9ecef;
  }
  
  .filters-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    justify-content: space-between;
  }
  
  .search-form {
    flex: 1;
    max-width: 400px;
  }
  
  .search-input-group {
    position: relative;
    display: flex;
  }
  
  .search-input-group input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 50px 0 0 50px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
  }
  
  .search-input-group input:focus {
    border-color: #007bff;
  }
  
  .search-input-group button {
    padding: 0.75rem 1.5rem;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 0 50px 50px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .search-input-group button:hover {
    background: #0056b3;
  }
  
  .category-filter {
    flex: 2;
  }
  
  .category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .category-tab {
    padding: 0.5rem 1.5rem;
    background: white;
    color: #6c757d;
    text-decoration: none;
    border-radius: 25px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    font-weight: 500;
  }
  
  .category-tab:hover,
  .category-tab.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
    text-decoration: none;
  }
  
  /* Albums Grid */
  .albums-grid {
    padding: 4rem 0;
  }
  
  .albums-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
  }
  
  .album-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
  }
  
  .album-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  }
  
  .featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #ff6b35;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 3;
  }
  
  .album-image {
    position: relative;
    height: 250px;
    overflow: hidden;
  }
  
  .album-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
  }
  
  .album-card:hover .album-image img {
    transform: scale(1.05);
  }
  
  .album-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .album-card:hover .album-overlay {
    opacity: 1;
  }
  
  .photo-count {
    color: white;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    align-self: flex-start;
  }
  
  .view-album-btn {
    background: #007bff;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: background-color 0.3s ease;
    align-self: flex-end;
  }
  
  .view-album-btn:hover {
    background: #0056b3;
    text-decoration: none;
    color: white;
  }
  
  .album-info {
    padding: 1.5rem;
  }
  
  .album-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
  }
  
  .category-tag,
  .date-tag {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
  }
  
  .category-tag {
    background: #e3f2fd;
    color: #1976d2;
  }
  
  .date-tag {
    background: #f3e5f5;
    color: #7b1fa2;
  }
  
  .album-title {
    margin: 0 0 1rem 0;
    font-size: 1.25rem;
    font-weight: 600;
  }
  
  .album-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .album-title a:hover {
    color: #007bff;
  }
  
  .album-description {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
  }
  
  /* Album Detail Page */
  .album-page {
    min-height: 100vh;
  }
  
  .album-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem 0 3rem;
  }
  
  .album-info {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
  }
  
  .album-meta {
    margin-bottom: 1rem;
  }
  
  .category-badge,
  .featured-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-right: 0.5rem;
  }
  
  .album-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 1rem 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  }
  
  .album-description {
    font-size: 1.1rem;
    margin: 1.5rem 0;
    opacity: 0.9;
    line-height: 1.6;
  }
  
  .album-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    font-weight: 600;
  }
  
  .detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
  }
  
  /* Photo Gallery */
  .photo-gallery {
    padding: 2rem 0;
  }
  
  .photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
  }
  
  .photo-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
  }
  
  .photo-item:hover {
    transform: scale(1.02);
  }
  
  .photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
  }
  
  .photo-item:hover img {
    transform: scale(1.1);
  }
  
  .photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
  }
  
  .photo-item:hover .photo-overlay {
    transform: translateY(0);
  }
  
  .photo-overlay h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
  }
  
  .photo-overlay p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
  }
  
  /* Lightbox */
  .lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
  }
  
  .lightbox-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 90%;
    max-width: 1200px;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }
  
  .lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
  }
  
  .lightbox-close:hover {
    opacity: 0.7;
  }
  
  #lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
  }
  
  .lightbox-info {
    text-align: center;
    color: white;
    margin-top: 1rem;
  }
  
  .lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    font-size: 24px;
    padding: 1rem;
    cursor: pointer;
    border-radius: 50%;
    transition: background-color 0.3s ease;
  }
  
  .lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.4);
  }
  
  .lightbox-prev {
    left: 20px;
  }
  
  .lightbox-next {
    right: 20px;
  }
  
  /* Pagination */
  .pagination-wrapper {
    margin-top: 3rem;
    text-align: center;
  }
  
  .pagination {
    display: inline-flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0.5rem;
  }
  
  .page-item {
    margin: 0;
  }
  
  .page-link {
    display: block;
    padding: 0.75rem 1rem;
    color: #007bff;
    text-decoration: none;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    transition: all 0.3s ease;
  }
  
  .page-link:hover {
    background: #007bff;
    color: white;
    border-color: #007bff;
  }
  
  .page-item.active .page-link {
    background: #007bff;
    color: white;
    border-color: #007bff;
  }
  
  /* No Content States */
  .no-albums,
  .no-photos {
    text-align: center;
    padding: 4rem 2rem;
  }
  
  .no-albums-content,
  .no-photos-content {
    max-width: 400px;
    margin: 0 auto;
  }
  
  .no-albums-content svg,
  .no-photos-content svg {
    color: #6c757d;
    margin-bottom: 1rem;
  }
  
  .no-albums-content h3,
  .no-photos-content h3 {
    color: #495057;
    margin-bottom: 1rem;
  }
  
  .no-albums-content p,
  .no-photos-content p {
    color: #6c757d;
    margin-bottom: 2rem;
  }
  
  .btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s ease;
  }
  
  .btn:hover {
    background: #0056b3;
    text-decoration: none;
    color: white;
  }
  
  .btn-primary {
    background: #007bff;
  }
  
  .btn-primary:hover {
    background: #0056b3;
  }
  
  /* Responsive Design */
  @media (max-width: 991px) {
    .filters-wrapper {
      flex-direction: column;
      align-items: stretch;
    }
  
    .search-form {
      max-width: none;
    }
  
    .category-tabs {
      justify-content: center;
    }
  
    .albums-container {
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
  
    .album-details {
      gap: 1rem;
    }
  }
  
  @media (max-width: 767px) {
    .header-content h1 {
      font-size: 2rem;
    }
  
    .album-title {
      font-size: 2rem;
    }
  
    .albums-container {
      grid-template-columns: 1fr;
      gap: 1.5rem;
    }
  
    .photos-grid {
      grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
  
    .category-tabs {
      flex-direction: column;
    }
  
    .album-details {
      flex-direction: row;
      gap: 0.5rem;
      font-weight: 600;
    }
  }
  
  @media (max-width: 575px) {
    .page-header {
      padding: 60px 0 40px;
    }
  
    .header-content h1 {
      font-size: 1.75rem;
    }
  
    .album-title {
      font-size: 1.75rem;
    }
  
    .photos-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  
    .lightbox-nav {
      font-size: 18px;
      padding: 0.75rem;
    }
  
    .lightbox-prev {
      left: 10px;
    }
  
    .lightbox-next {
      right: 10px;
    }
  }
  