@import url('styles.css');

/* Hero Section */
.hero-section {
  position: relative;
  height: 80vh;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: var(--header-height);
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(43, 78, 114, 0.3), rgba(212, 163, 115, 0.3));
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 40px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  max-width: 800px;
  width: 90%;
  transform: translateY(20px);
  opacity: 0;
  animation: fadeIn 0.5s ease forwards 0.5s;
}

.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  margin-bottom: 15px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-content p {
  font-family: 'Lora', serif;
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  margin-bottom: 20px;
}

.hero-content .btn-primary {
  padding: 12px 30px;
  font-size: 1.1rem;
  transition: transform 0.3s, background 0.3s;
}

.hero-content .btn-primary:hover {
  transform: scale(1.1);
  background: var(--accent-color);
}

/* Overview Section */
.overview-section {
  padding: 60px 20px;
  background-color: #f9f1f5;
  text-align: center;
}

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

.overview-divider {
  width: 100px;
  height: 2px;
  background: var(--accent-color);
  margin: 20px auto;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.overview-divider::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--primary-color);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  animation: rotate 3s infinite linear;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.overview-container p[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.overview-container p[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* Section Labels */
.section-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
}

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

.gallery-filter {
  margin-bottom: 30px;
}

.filter-btn {
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 10px 20px;
  margin: 5px;
  border-radius: 6px;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  transition: background 0.3s, transform 0.2s;
}

.filter-btn:hover {
  background: var(--accent-color);
  transform: scale(1.05);
}

.filter-btn.active {
  background: var(--accent-color);
}

.gallery-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.gallery-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.gallery-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

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

.gallery-zoom {
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  transition: background 0.3s, transform 0.2s;
}

.gallery-zoom:hover {
  background: var(--accent-color);
  transform: scale(1.1);
}

.gallery-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.gallery-modal.active {
  display: flex;
}

.gallery-modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  max-width: 80%;
  max-height: 80%;
  position: relative;
}

.gallery-modal-content img {
  max-width: 100%;
  max-height: 60vh;
  object-fit: contain;
  border-radius: 8px;
}

.gallery-modal-caption {
  font-family: 'Lora', serif;
  margin-top: 10px;
  color: #333;
}

.gallery-modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
  color: #333;
}

/* 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: clamp(2rem, 3vw, 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;
  margin: 10px;
  transition: transform 0.3s;
}

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

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

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

/* Responsive Styles */
@media (max-width: 768px) {
  .hero-section {
    height: 60vh;
  }

  .hero-content {
    padding: 20px;
  }

  .hero-content h1 {
    font-size: clamp(2rem, 3vw, 2.5rem);
  }

  .hero-content p {
    font-size: clamp(1rem, 1.5vw, 1.1rem);
  }

  .overview-section {
    padding: 40px 15px;
  }

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

  .gallery-container {
    grid-template-columns: 1fr;
  }

  .gallery-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .filter-btn {
    padding: 8px 15px;
    font-size: 0.9rem;
  }

  .cta-section {
    padding: 30px 15px;
  }
}

@media (max-width: 600px) {
  .gallery-modal-content img {
    max-height: 50vh;
  }

  .cta-container .btn-primary {
    padding: 10px 20px;
    font-size: 1rem;
  }
}

@import url('styles.css');

/* [Previous CSS sections unchanged: Hero, Overview, Section Labels] */

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

.gallery-filter {
  margin-bottom: 30px;
}

.filter-btn {
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 10px 20px;
  margin: 5px;
  border-radius: 6px;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  transition: background 0.3s, transform 0.2s;
}

.filter-btn:hover, .filter-btn:focus {
  background: var(--accent-color);
  transform: scale(1.05);
  outline: none;
}

.filter-btn.active {
  background: var(--accent-color);
}

.gallery-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.gallery-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.gallery-image {
  width: 100%;
  aspect-ratio: 3 / 2; /* Preserve image proportions */
  object-fit: cover;
  display: block;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

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

.gallery-zoom {
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  transition: background 0.3s, transform 0.2s;
}

.gallery-zoom:hover, .gallery-zoom:focus {
  background: var(--accent-color);
  transform: scale(1.1);
  outline: none;
}

.gallery-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.gallery-modal.active {
  display: flex;
}

.gallery-modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  max-width: 80%;
  max-height: 80%;
  position: relative;
}

.gallery-modal-content img {
  max-width: 100%;
  max-height: 70vh; /* Increased for better visibility */
  object-fit: contain;
  border-radius: 8px;
}

.gallery-modal-caption {
  font-family: 'Lora', serif;
  margin-top: 10px;
  color: #333;
}

.gallery-modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
  color: #333;
}

/* [Remaining CSS sections unchanged: CTA, Animations, Responsive Styles] */

/* Responsive Styles */
@media (max-width: 768px) {
  .gallery-section {
    padding: 40px 15px;
  }

  .gallery-container {
    grid-template-columns: 1fr;
  }

  .gallery-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .filter-btn {
    padding: 8px 15px;
    font-size: 0.9rem;
  }

  .gallery-modal-content img {
    max-height: 60vh;
  }
}

@media (max-width: 600px) {
  .gallery-modal-content img {
    max-height: 50vh;
  }
}@import url('styles.css');

/* Hero, Overview, Section Labels unchanged */

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

.gallery-filter {
  margin-bottom: 30px;
}

.filter-btn {
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 10px 20px;
  margin: 5px;
  border-radius: 6px;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  transition: background 0.3s, transform 0.2s;
}

.filter-btn:hover, .filter-btn:focus {
  background: var(--accent-color);
  transform: scale(1.05);
  outline: none;
}

.filter-btn.active {
  background: var(--accent-color);
}

.gallery-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.gallery-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.gallery-image {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

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

.gallery-zoom {
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  transition: background 0.3s, transform 0.2s;
}

.gallery-zoom:hover, .gallery-zoom:focus {
  background: var(--accent-color);
  transform: scale(1.1);
  outline: none;
}

.gallery-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.gallery-modal.active {
  display: flex;
}

.gallery-modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  max-width: 80%;
  max-height: 80%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-modal-content img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 8px;
}

.gallery-modal-caption {
  font-family: 'Lora', serif;
  margin-top: 10px;
  color: #333;
}

.gallery-modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
  color: #333;
  transition: color 0.3s;
}

.gallery-modal-close:hover {
  color: var(--accent-color);
}

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

.gallery-modal-prev {
  left: 15px;
}

.gallery-modal-next {
  right: 15px;
}

.gallery-modal-prev:hover,
.gallery-modal-next:hover,
.gallery-modal-prev:focus,
.gallery-modal-next:focus {
  background: var(--accent-color);
  transform: translateY(-50%) scale(1.1);
  outline: none;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .gallery-section {
    padding: 40px 15px;
  }

  .gallery-container {
    grid-template-columns: 1fr;
  }

  .gallery-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .filter-btn {
    padding: 8px 15px;
    font-size: 0.9rem;
  }

  .gallery-modal-content img {
    max-height: 60vh;
  }

  .gallery-modal-prev,
  .gallery-modal-next {
    font-size: 1.2rem;
    padding: 8px;
  }
}

@media (max-width: 600px) {
  .gallery-modal-content img {
    max-height: 50vh;
  }

  .gallery-modal-prev,
  .gallery-modal-next {
    font-size: 1rem;
    padding: 6px;
  }
}