/* Gallery-specific styles */
/* Mobile Navigation - Fixed right positioning */
.mobile-nav-toggle {
    display: none;
    font-size: 1.8rem;
    color: var(--light);
    cursor: pointer;
  }
  
  /* This ensures the nav has proper positioning context */
  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
  }
  
  .sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100%;
    background-color: var(--primary);
    z-index: 1000;
    padding: 20px;
    transition: all 0.3s ease;
    overflow-y: auto;
  }
  
  .sidebar.active {
    right: 0;
  }
  
  .sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
  }
  
  .sidebar .logo-container {
    flex-direction: column;
  }
  
  .sidebar .logo-container img {
    margin-bottom: 10px;
    width: 60px; /* Smaller in sidebar */
  }
  
  .sidebar .logo {
    font-size: 1.5rem;
  }
  
  .close-sidebar {
    font-size: 1.5rem;
    color: var(--light);
    cursor: pointer;
  }
  
  .sidebar-links {
    list-style: none;
    padding: 0;
  }
  
  .sidebar-links li {
    margin-bottom: 15px;
  }
  
  .sidebar-links a {
    color: var(--light);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    display: block;
    padding: 10px 0;
    transition: all 0.3s ease;
  }
  
  .sidebar-links a:hover {
    color: var(--dark);
  }
  
  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
  }
  
  /* Update your media query to display the mobile toggle and handle sidebar */
  @media (max-width: 768px) {
    .nav-links {
      display: none;
    }
    
    .mobile-nav-toggle {
      display: block;
    }
    
    .about-content,
    .contact-content {
      grid-template-columns: 1fr;
    }
    
    .hero h1 {
      font-size: 2.5rem;
    }
    
    .logo {
      font-size: 1.8rem;
    }
  }


.gallery-hero {
    background-color: var(--dark);
  }
  
  .gallery-categories {
    padding: 30px 0;
    background-color: var(--light);
    text-align: center;
  }
  
  .category-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
  }
  
  .filter-btn {
    background-color: white;
    color: var(--dark);
    border: 2px solid var(--secondary);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .filter-btn:hover,
  .filter-btn.active {
    background-color: var(--secondary);
    color: white;
  }
  
  .gallery-grid-section {
    padding: 50px 0;
    background-color: var(--light);
  }
  
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
  }
  
  .gallery-item {
    position: relative;
    height: 250px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
  }
  
  .gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  }
  
  .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
  }
  
  .gallery-item:hover img {
    transform: scale(1.1);
  }
  
  .gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 20px;
    color: white;
    opacity: 0;
    transition: all 0.3s ease;
  }
  
  .gallery-item:hover .gallery-overlay {
    opacity: 1;
  }
  
  .gallery-info h3 {
    margin-bottom: 5px;
    font-size: 1.2rem;
  }
  
  .gallery-info p {
    font-size: 0.9rem;
  }
  
  /* Lightbox styles */
  .lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  
  .lightbox.active {
    opacity: 1;
    pointer-events: auto;
  }
  
  .lightbox-content {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
  }
  
  .close-lightbox {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 35px;
    cursor: pointer;
  }
  
  .lightbox-caption {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    padding: 10px;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
  }
  
  .lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.4);
  }
  
  .prev-btn {
    left: 20px;
  }
  
  .next-btn {
    right: 20px;
  }
  
  .gallery-cta {
    background-color: var(--secondary);
    color: var(--light);
    text-align: center;
    padding: 60px 0;
  }
  
  .gallery-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
  }
  
  .gallery-cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
  }
  
  /* Make sure gallery items are hidden when filtered */
  .gallery-item.hidden {
    display: none;
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    .gallery-grid {
      grid-template-columns: 1fr 1fr;
    }
    
    .lightbox-content {
      max-width: 95%;
    }
    
    .lightbox-nav {
      width: 40px;
      height: 40px;
    }
  }
  
  @media (max-width: 500px) {
    .gallery-grid {
      grid-template-columns: 1fr;
    }
    
    .category-filters {
      flex-direction: column;
      gap: 10px;
    }
  }
