/* Hero Section */
.hero-section {
  position: relative;
  height: 80vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 40px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
}

.hero-content h1 {
  font-family: "Playfair Display", serif;
  font-size: 3.5rem;
  margin-bottom: 15px;
}

.hero-content p {
  font-family: "Lora", serif;
  font-size: 1.3rem;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .hero-section {
    height: 60vh;
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
}

.cta-section a {
  color: white;
  text-decoration: none;
}

/* Gallery Section */
.gallery-section {
  padding: 60px 20px;
  text-align: center;
  background-color: #f0f4f8;
}

.gallery-filter {
  max-width: 800px;
  margin: 0 auto 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.filter-btn {
  background: #fff;
  border: 1px solid var(--primary-color);
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
  transition:
    background 0.3s,
    color 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--accent-color);
  color: #fff;
}

.gallery-container {
  max-width: 1200px;
  margin: 0 auto;
  column-count: 3;
  column-gap: 15px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 15px;
  cursor: pointer;
  transition:
    opacity 0.3s,
    transform 0.3s;
}

.gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

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

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

@media (max-width: 768px) {
  .gallery-container {
    column-count: 2;
  }
}

@media (max-width: 480px) {
  .gallery-container {
    column-count: 1;
  }
  .gallery-filter {
    flex-direction: column;
  }
}

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

.lightbox.active {
  display: flex;
}

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

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 8px;
}

.lightbox-caption {
  color: #fff;
  font-family: "Lora", serif;
  margin-top: 10px;
}

.lightbox-close {
  position: absolute;
  top: -30px;
  right: -20px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.lightbox-prev {
  left: -40px;
}

.lightbox-next {
  right: -40px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--accent-color);
}

/* CTA Section */
.cta-section {
  padding: 40px 20px;
  background: var(--primary-color);
  color: #fff;
  text-align: center;
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
}

.cta-container h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.cta-container p {
  font-family: "Lora", serif;
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.cta-container .btn-primary {
  padding: 12px 30px;
  font-size: 1.1rem;
  transition: transform 0.3s;
}

.cta-container .btn-primary:hover {
  transform: scale(1.1);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
