@charset "UTF-8";

.hero {
  height: 62vh;
  min-height: 420px;
}

.hero-icon {
  font-size: 42px;
  margin-bottom: 12px;
}

.hero-content h1 {
  font-size: 56px;
}

.hero-content p {
  max-width: 620px;
}

.section {
  max-width: 1100px;
  padding-top: 48px;
  padding-bottom: 52px;
}

.theme-recommended-packages {
  padding-top: 36px;
}

.theme-recommended-packages .packages-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.theme-recommended-packages .carousel-viewport {
  overflow: hidden;
  touch-action: pan-y;
}

.theme-recommended-packages .packages-grid.carousel-track {
  --slides-per-view: 4;
  --carousel-gap: 20px;
  display: flex;
  grid-template-columns: none;
  gap: var(--carousel-gap);
  margin-top: 28px;
  transition: transform 0.42s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

.theme-recommended-packages .packages-grid.carousel-track > * {
  flex: 0 0
    calc(
      (100% - (var(--carousel-gap) * (var(--slides-per-view) - 1))) /
        var(--slides-per-view)
    );
  min-width: 0;
}

.theme-recommended-packages .carousel-track--no-animate {
  transition: none !important;
}

.theme-recommended-packages .carousel-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.theme-recommended-packages .carousel-btn {
  min-width: 54px;
  height: 44px;
  padding: 0 10px;
  border: 0;
  border-radius: 16px;
  background: transparent;
  color: var(--primary);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
}

.theme-recommended-packages .carousel-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  background: rgba(26, 60, 94, 0.08);
  color: var(--accent);
  box-shadow: 0 10px 24px rgba(26, 60, 94, 0.08);
}

.theme-recommended-packages .carousel-btn:disabled {
  opacity: 0.45;
  cursor: default;
  box-shadow: none;
}

.alt-section {
  background: var(--white);
}

.card-grid,
.package-grid,
.activities-grid,
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 28px;
  align-items: stretch;
}

.theme-focus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.theme-focus-card {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  padding: 26px;
  height: 100%;
}

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

.theme-focus-card p {
  color: #666;
  line-height: 1.7;
  font-size: 14px;
}

.activities-grid {
  gap: 28px;
  margin-top: 32px;
}

.info-card,
.package-card,
.activity-card,
.pkg-card {
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.08);
}

.info-card,
.package-card {
  padding: 28px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.activity-card,
.pkg-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
  transition:
    transform 0.32s,
    box-shadow 0.32s;
}

.activity-card:hover,
.pkg-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.14);
}

.info-card h3,
.package-card h3,
.activity-body h3,
.pkg-body h3 {
  font-family: "Playfair Display", serif;
  color: var(--primary);
}

.info-card h3,
.package-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.activity-body h3,
.pkg-body h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.info-card p,
.package-card p,
.activity-body p,
.pkg-body p {
  color: #666;
  line-height: 1.7;
  font-size: 14px;
}

.package-card span {
  display: inline-block;
  margin-top: auto;
  padding-top: 16px;
  color: var(--accent);
  font-weight: 600;
  font-size: 13px;
}

.activity-card img,
.pkg-card > img,
.pkg-card-img img {
  width: 100%;
  aspect-ratio: 16 / 9.2;
  object-fit: cover;
  display: block;
}

.pkg-card-img {
  position: relative;
  aspect-ratio: 16 / 9.2;
  overflow: hidden;
}

.pkg-card-img img {
  height: 100%;
}

.activity-body,
.pkg-body {
  padding: 14px 16px 10px;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.activity-body p,
.pkg-body p {
  font-size: 13px;
  color: #777;
  line-height: 1.6;
  margin-bottom: auto;
}

.activity-body .difficulty {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: max-content;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  line-height: 1.1;
  white-space: nowrap;
}

.hard {
  background: #fdecea;
  color: #c62828;
}

.medium {
  background: #fff8e1;
  color: #f57f17;
}

.easy {
  background: #e8f5e9;
  color: #2e7d32;
}

.pkg-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--accent);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: max-content;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.1;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(241, 171, 32, 0.16);
}

.pkg-location {
  font-size: 11px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.pkg-meta {
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
}

.pkg-footer {
  padding: 10px 16px 14px;
  border-top: 1px solid #f0f0f0;
  display: grid;
  gap: 8px;
  margin-top: auto;
}

.pkg-footer > div {
  display: grid;
  gap: 5px;
  width: 100%;
}

.pkg-meta-item {
  font-size: 12.5px;
  color: #888;
}

.pkg-meta-item strong,
.pkg-footer .pkg-meta-item:first-child {
  color: var(--primary);
}

.btn-pkg {
  background: var(--primary);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  padding: 11px 16px;
  border-radius: 15px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  line-height: 1;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s;
}

.pkg-card:hover .btn-pkg {
  background: var(--accent);
  transform: translateY(-1px);
}

.pkg-duration {
  font-size: 14px;
  color: #888;
  display: flex;
  align-items: center;
  min-height: auto;
}

.btn-sm {
  background: var(--primary);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  padding: 11px 16px;
  border-radius: 15px;
  font-size: 14px;
  text-decoration: none;
  font-weight: 700;
  text-align: center;
  line-height: 1;
  white-space: nowrap;
  transition: background 0.2s;
}

.btn-sm:hover {
  background: var(--accent);
}

.themes-nav {
  background: var(--white);
  padding: 28px 60px;
  border-bottom: 1px solid #eee;
}

.themes-nav h3 {
  font-size: 14px;
  color: #888;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.themes-pills {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.theme-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 30px;
  border: 2px solid #eee;
  text-decoration: none;
  color: var(--dark);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}

.theme-pill:hover,
.theme-pill.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

@media (max-width: 900px) {
  .card-grid,
  .package-grid,
  .activities-grid,
  .packages-grid {
    grid-template-columns: 1fr;
  }

  .theme-recommended-packages .packages-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .theme-recommended-packages .packages-grid.carousel-track {
    --carousel-gap: 18px;
    grid-template-columns: none;
  }

  .themes-nav {
    padding-left: 20px;
    padding-right: 20px;
  }

  .themes-nav {
    padding-top: 28px;
    padding-bottom: 28px;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 380px;
  }

  .themes-nav h3 {
    margin-bottom: 14px;
  }
}

@media (max-width: 1100px) and (min-width: 901px) {
  .theme-recommended-packages .packages-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 430px) {
  .hero {
    min-height: 360px;
  }

  .themes-nav {
    padding-left: 16px;
    padding-right: 16px;
  }

  .theme-pill {
    width: 100%;
    justify-content: center;
  }

  .section {
    padding-top: 52px;
    padding-bottom: 48px;
  }

  .theme-recommended-packages {
    padding-top: 56px;
  }

  .theme-recommended-packages .packages-grid {
    margin-top: 24px;
  }

  .theme-recommended-packages .packages-grid.carousel-track {
    --carousel-gap: 16px;
  }

  .theme-recommended-packages .carousel-btn {
    min-width: 44px;
    height: 40px;
    font-size: 24px;
  }

  .hero-content h1 {
    font-size: 38px;
  }

  .theme-focus-card,
  .info-card,
  .package-card,
  .activity-card,
  .pkg-card {
    border-radius: 16px;
  }

  .btn-sm {
    width: 100%;
  }
}
