/* Portfolio Specific Styles */

/* Portfolio Hero */
.portfolio-hero {
  height: 60vh;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), 
              url('../img3.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 45px;
}

.hero-content h1 {
  color: var(--text-light);
  font-size: 3rem;
  margin-bottom: 1rem;
  font-family: "Aclonica", sans-serif;
}

.hero-content p {
  color: var(--text-light);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Portfolio Filters */
.portfolio-filters {
  padding: 3rem 0;
  background-color: var(--secondary-beige);
}

.filters-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--text-dark);
  padding: 0.7rem 1.5rem;
  font-family: var(--font-sans);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
  background-color: var(--text-dark);
  color: var(--text-light);
}

/* Portfolio Gallery */
.portfolio-gallery {
  padding: 3rem 0;
}

.gallery-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 3/4;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: var(--text-light);
  padding: 1.5rem;
  transform: translateY(100%);
  transition: var(--transition);
}

.gallery-item:hover .item-overlay {
  transform: translateY(0);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.item-overlay h3 {
  color: var(--text-light);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.item-overlay p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin: 0;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  justify-content: center;
  align-items: center;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.close-btn {
  position: absolute;
  top: -40px;
  right: 0;
  color: var(--text-light);
  font-size: 2.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.close-btn:hover {
  color: var(--accent-gold);
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  display: block;
}

.lightbox-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: var(--text-light);
  padding: 1.5rem;
  text-align: center;
}

.lightbox-caption h3 {
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.lightbox-caption p {
  color: var(--text-light);
  margin: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .portfolio-hero {
    height: 50vh;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .filters-container {
    padding: 0 1rem;
  }
  
  .filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
  
  .gallery-container {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 0 1rem;
  }
}

@media (max-width: 576px) {
  .portfolio-hero {
    height: 40vh;
  }
  
  .hero-content h1 {
    font-size: 1.8rem;
  }
  
  .filters-container {
    gap: 0.5rem;
  }
  
  .filter-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.7rem;
  }
  
  .gallery-container {
    grid-template-columns: 1fr;
  }
  
  .item-overlay {
    padding: 1rem;
  }
  
  .item-overlay h3 {
    font-size: 1.2rem;
  }
}