/* VELOURÉ NAILS & SPA - Gallery Page Styles */

/* Gallery Hero Section */
.gallery-hero {
  background: linear-gradient(135deg, var(--veloure-primary) 0%, var(--veloure-secondary) 100%);
  padding: 100px 0 80px;
  color: white;
  text-align: center;
}

/* Gallery Section */
.gallery-section {
  padding: 80px 0;
}

/* Gallery Filter */
.gallery-filter {
  text-align: center;
  margin-bottom: 50px;
}

.filter-btn {
  background: transparent;
  border: 2px solid var(--veloure-primary);
  color: var(--veloure-primary);
  padding: 10px 25px;
  margin: 5px;
  border-radius: 25px;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--veloure-primary);
  color: white;
  text-decoration: none;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

/* Gallery Item */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.gallery-item:hover {
  transform: translateY(-10px);
}

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

/* Gallery Overlay */
.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 107, 157, 0.8), rgba(255, 143, 171, 0.8));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay-content {
  text-align: center;
  color: white;
}

.gallery-overlay-content h4 {
  margin-bottom: 10px;
  font-size: 1.5rem;
  font-weight: 600;
}

.gallery-overlay-content p {
  margin: 0;
  font-size: 1rem;
  opacity: 0.9;
}

/* Gallery Category */
.gallery-category {
  background: var(--veloure-light);
  padding: 60px 0;
}

/* Featured Gallery */
.featured-gallery {
  background: white;
  padding: 80px 0;
}

.featured-item {
  text-align: center;
  margin-bottom: 40px;
}

.featured-item img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.featured-item img:hover {
  transform: scale(1.02);
}

.featured-caption {
  margin-top: 20px;
}

.featured-caption h4 {
  color: var(--veloure-dark);
  margin-bottom: 10px;
  font-size: 1.4rem;
}

.featured-caption p {
  color: var(--veloure-text);
  margin: 0;
  line-height: 1.6;
}

/* Gallery Modal */
.modal-content {
  border: none;
  border-radius: 15px;
  overflow: hidden;
}

.modal-header {
  border: none;
  padding: 20px 30px 10px;
  background: var(--veloure-light);
}

.modal-body {
  padding: 0 30px 30px;
}

.modal-body img {
  width: 100%;
  border-radius: 10px;
}

/* Gallery Call to Action */
.gallery-cta {
  background: white;
  padding: 60px 0;
  text-align: center;
}

.gallery-cta h3 {
  color: var(--veloure-dark);
  font-size: 2rem;
  margin-bottom: 20px;
}

.gallery-cta p {
  color: var(--veloure-text);
  font-size: 1.1rem;
  margin-bottom: 30px;
}

/* Filter Animation */
.gallery-item {
  animation: fadeInUp 0.6s ease forwards;
}

.gallery-item.hidden {
  display: none;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Category-specific Styles */
.gallery-item[data-category="manicure"] {
  border-top: 4px solid var(--veloure-primary);
}

.gallery-item[data-category="pedicure"] {
  border-top: 4px solid var(--veloure-secondary);
}

.gallery-item[data-category="nail-art"] {
  border-top: 4px solid #ff6b9d;
}

.gallery-item[data-category="spa"] {
  border-top: 4px solid #ff8fab;
}

/* Gallery Load More Button */
.load-more-btn {
  background: linear-gradient(135deg, var(--veloure-primary), var(--veloure-secondary));
  color: white;
  border: none;
  padding: 15px 40px;
  border-radius: 25px;
  font-weight: bold;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  margin-top: 30px;
}

.load-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(255, 107, 157, 0.3);
}

/* Gallery Search */
.gallery-search {
  max-width: 400px;
  margin: 0 auto 40px;
  position: relative;
}

.gallery-search input {
  width: 100%;
  padding: 12px 45px 12px 15px;
  border: 2px solid #ddd;
  border-radius: 25px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.gallery-search input:focus {
  outline: none;
  border-color: var(--veloure-primary);
}

.gallery-search .search-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--veloure-primary);
  font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .gallery-hero {
    padding: 80px 0 60px;
  }

  .gallery-section {
    padding: 60px 0;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }

  .gallery-item img {
    height: 250px;
  }

  .featured-item img {
    height: 300px;
  }

  .filter-btn {
    padding: 8px 20px;
    font-size: 14px;
    margin: 3px;
  }

  .gallery-cta h3 {
    font-size: 1.5rem;
  }

  .modal-header {
    padding: 15px 20px 10px;
  }

  .modal-body {
    padding: 0 20px 20px;
  }
}

@media (max-width: 576px) {
  .gallery-hero {
    padding: 60px 0 40px;
  }

  .gallery-section {
    padding: 40px 0;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .gallery-item img {
    height: 200px;
  }

  .featured-item img {
    height: 250px;
  }

  .filter-btn {
    padding: 6px 15px;
    font-size: 12px;
    margin: 2px;
  }

  .gallery-cta {
    padding: 40px 0;
  }

  .gallery-cta h3 {
    font-size: 1.3rem;
  }

  .gallery-search {
    max-width: 300px;
  }
}

/* Print Styles */
@media print {
  .gallery-filter,
  .gallery-cta {
    display: none;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .gallery-item {
    break-inside: avoid;
  }
}
