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

.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;
}

/* Overview Section */
.overview-section {
  padding: 60px 20px;
  background-color: #f9f1e9;
  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;
  font-size: 1.5rem;
  color: var(--primary-color);
  animation: slide 3s infinite linear;
}

@keyframes slide {
  0% {
    transform: translateX(-150%);
  }
  100% {
    transform: translateX(150%);
  }
}

.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);
}

/* Attractions Section */
.attractions-section {
  padding: 60px 20px;
  text-align: center;
}

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

.attraction-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 20px;
  transition: transform 0.3s;
}

.attraction-card:hover {
  transform: translateY(-10px);
}

.attraction-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.attraction-card h3 {
  font-family: "Playfair Display", serif;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.attraction-card p {
  font-family: "Lora", serif;
  margin-bottom: 15px;
}

.attraction-card .details-btn {
  padding: 8px 16px;
  background: var(--accent-color);
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
  transition: transform 0.2s;
}

.attraction-card .details-btn:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .attractions-container {
    grid-template-columns: 1fr;
  }
}

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

.modal.active {
  display: flex;
}

.modal-content {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  max-width: 500px;
  width: 90%;
  animation: fadeIn 0.5s ease;
}

.modal-content img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

/* 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);
  }
}
