@import url('styles.css');

.hero-section {
  position: relative;
  height: 80vh;
  max-height: 620px;
  margin-top: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: #101820;
}

.hero-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.03);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    45deg,
    rgba(20, 41, 52, 0.62),
    rgba(151, 47, 47, 0.28)
  );
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 40px;
  background: rgba(0, 0, 0, 0.28);
  border-radius: 16px;
  max-width: 820px;
  width: 90%;
  transform: translateY(20px);
  opacity: 0;
  animation: fadeInHero 0.6s ease forwards 0.4s;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.16);
}

.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.6rem, 4vw, 4rem);
  margin-bottom: 14px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

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

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

.hero-content .btn-primary:hover {
  transform: translateY(-2px);
}

.countdown-section {
  padding: 48px 20px;
  background: #f8f3f1;
  text-align: center;
}

.countdown-container {
  max-width: 900px;
  margin: 0 auto;
}

.countdown-container h2 {
  font-family: 'Playfair Display', serif;
  color: var(--primary-color);
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin-bottom: 24px;
}

.countdown-timer {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.timer-unit {
  min-width: 130px;
  background: #fff;
  padding: 18px 16px;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.timer-unit span {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  color: var(--accent-color);
  display: block;
  font-weight: 700;
}

.timer-unit p {
  font-family: 'Lora', serif;
  margin-top: 6px;
  color: #475569;
}

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

.overview-section h2,
.packages-section h2,
.highlights-section h2,
.stay-section h2,
.testimonials-section h2,
.cta-container h2 {
  font-family: 'Playfair Display', serif;
  /* color: var(--primary-color); */
  font-size: 1.5em;
  margin-bottom: 16px;
  text-align: center;
  font-weight: bold;
  display: block;
}           

.overview-section {
  padding: 80px 20px;
  background: #fff;
  text-align: center;
}

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

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

.overview-divider::before {
  content: '❄';
  position: absolute;
  color: var(--primary-color);
  font-size: 1.2rem;
  animation: snowflakeMove 4s linear infinite;
}

.overview-container p {
  font-family: 'Lora', serif;
  color: #475569;
  line-height: 1.9;
  font-size: 1.08rem;
}

.packages-section {
  padding: 90px 20px;
  text-align: center;
  background: #f8f3f1;
}

.packages-tabs {
  max-width: 900px;
  margin: 0 auto 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.tab-button {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  padding: 11px 20px;
  border-radius: 999px;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--primary-color);
  transition: all 0.25s ease;
}

.tab-button.active,
.tab-button:hover {
  background: var(--primary-color);
  color: #fff;
}

.packages-content {
  max-width: 900px;
  margin: 0 auto;
}

.package-tab {
  display: none;
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  text-align: left;
}

.package-tab.active {
  display: block;
  animation: fadeInCard 0.45s ease;
}

.package-tab img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 18px;
}

.package-tab h3 {
  font-family: 'Playfair Display', serif;
  color: var(--primary-color);
  font-size: 1.9rem;
  margin-bottom: 12px;
}

.package-tab p {
  font-family: 'Lora', serif;
  color: #475569;
  line-height: 1.8;
  margin-bottom: 14px;
}

.highlights-section {
  padding: 90px 20px;
  background: #fff;
}

.highlights-container {
  max-width: 1200px;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.highlight-card {
  background: #fff;
  border-radius: 18px;
  padding: 28px 22px;
  text-align: center;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  opacity: 0;
  transform: translateY(24px);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.highlight-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.highlight-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
}

.highlight-card i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 14px;
}

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

.highlight-card p {
  font-family: 'Lora', serif;
  color: #475569;
  line-height: 1.75;
  margin: 0;
}

.stay-section {
  padding: 90px 20px;
  background: #f8f3f1;
}

.stay-grid {
  max-width: 1200px;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.stay-card {
  background: #fff;
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  opacity: 0;
  transform: translateY(24px);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.stay-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.stay-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
}

.stay-card h3 {
  font-family: 'Playfair Display', serif;
  color: var(--primary-color);
  margin-bottom: 14px;
}

.stay-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.stay-card li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
  font-family: 'Lora', serif;
  color: #475569;
  line-height: 1.75;
}

.stay-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent-color);
}

.testimonials-section {
  padding: 90px 20px;
  text-align: center;
  background: #fff;
}

.testimonials-container {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
}

.testimonial-card {
  display: none;
  background: #fff;
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.testimonial-card.active {
  display: block;
  animation: fadeInCard 0.45s ease;
}

.testimonial-card p {
  font-family: 'Lora', serif;
  font-style: italic;
  color: #475569;
  line-height: 1.85;
  margin-bottom: 14px;
}

.testimonial-card h4 {
  font-family: 'Montserrat', sans-serif;
  color: var(--primary-color);
}

.carousel-controls {
  margin-top: 20px;
}

.carousel-prev,
.carousel-next {
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  margin: 0 10px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.carousel-prev:hover,
.carousel-next:hover {
  background: var(--accent-color);
  transform: translateY(-1px);
}

.cta-section {
  padding: 64px 20px;
  background: var(--primary-color);
  color: #fff;
  text-align: center;
}

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

.cta-container h2 {
  color: #fff;
}

.cta-container p {
  font-family: 'Lora', serif;
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

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

.cta-container .btn-primary {
  display: inline-block;
  margin-top: 8px;
  padding: 12px 30px;
  transition: transform 0.3s ease;
}

.cta-container .btn-primary:hover {
  transform: translateY(-2px);
}

[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

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

@keyframes fadeInCard {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

@media (max-width: 1100px) {
  .highlights-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stay-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-section {
    height: 62vh;
  }

  .hero-content {
    padding: 26px 20px;
  }

  .countdown-section,
  .overview-section,
  .packages-section,
  .highlights-section,
  .stay-section,
  .testimonials-section {
    padding: 60px 15px;
  }

  .packages-tabs {
    flex-direction: column;
    align-items: stretch;
  }

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

  .package-tab img {
    height: 240px;
  }
}

@media (max-width: 600px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }

  .timer-unit {
    min-width: 110px;
  }

  .timer-unit span {
    font-size: 1.6rem;
  }
}