/* ============================================================
   destination.css
   Styles for: Destination guide pages (templates/destination.php)
   ============================================================ */

/* ============================================================
   HERO — bg image opacity 0.6, content bottom-left (about-hero pattern)
   ============================================================ */
.destination-hero {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding-top: var(--header-h, 72px);
}

@media (min-width: 768px)  { .destination-hero { min-height: 480px; } }
@media (min-width: 1024px) { .destination-hero { min-height: 560px; } }

.destination-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.destination-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.6;
}

/* Manzanillo hero photo — shift crop down slightly from top
   (object-fit: cover crops from center by default) */
.destination-hero--manzanillo .destination-hero__bg img {
  object-position: center 35%;
}

.destination-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top,  rgba(13,31,20,0.95) 0%, rgba(13,31,20,0.4) 50%, transparent 100%),
    linear-gradient(to right, rgba(13,31,20,0.5) 0%, transparent 60%);
}

.destination-hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.destination-hero__content {
  max-width: 640px;
  padding-bottom: var(--space-2xl);
  padding-top: var(--space-3xl);
}

.destination-hero__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5.5vw, 62px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--pr-cream);
  margin-bottom: var(--space-md);
}

.destination-hero__tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(16px, 2vw, 20px);
  color: var(--pr-mint);
  margin-bottom: 0;
}

/* ============================================================
   INTRO — centered prose, max-width 720px
   ============================================================ */
.destination-intro__inner {
  max-width: 720px;
  margin: 0 auto;
}

.destination-intro__inner p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--pr-text-body);
}

.destination-intro__inner p:last-child { margin-bottom: 0; }

/* ============================================================
   WHAT TO DO — activity items, no card chrome (impeccable: no
   shadow/border for simple icon+text items)
   ============================================================ */
.dest-activities {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-xl);
}

@media (min-width: 1024px) {
  .dest-activities {
    grid-template-columns: repeat(3, 1fr);
  }
}

.dest-activity-card {
  padding: var(--space-md) 0;
}

.dest-activity-card__icon {
  font-size: 28px;
  line-height: 1;
  margin-bottom: var(--space-md);
}

.dest-activity-card__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: var(--pr-text-dark);
  margin-bottom: var(--space-sm);
}

.dest-activity-card__body {
  font-size: 14px;
  color: var(--pr-text-muted);
  line-height: 1.7;
  margin: 0;
}

/* ============================================================
   OUR TOURS — dark CTA section, centered prose + button
   ============================================================ */
.our-tours .container {
  position: relative;
  z-index: 2;
}

.our-tours__inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

/* Tour cards keep their white background on this dark section, so
   restore dark title text — .section--dark h3 would otherwise set
   it to cream, which is invisible against the white card. */
.our-tours .transport-card__title {
  color: var(--pr-text-dark);
}

/* ============================================================
   GETTING THERE — transport option cards
   ============================================================ */
.getting-there .section-header__subtitle { margin-top: var(--space-sm); }

.getting-there__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.transport-card {
  display: flex;
  flex-direction: column;
  background: var(--pr-white);
  border: 1px solid var(--pr-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base);
}

@media (hover: hover) and (pointer: fine) {
  .transport-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
  }
}

.transport-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(45, 106, 79, 0.1);
  color: var(--pr-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: var(--space-md);
}

.transport-card__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--pr-text-dark);
  letter-spacing: -0.3px;
  margin-bottom: var(--space-sm);
}

.transport-card__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
}

.transport-card__price-from {
  font-size: 12px;
  font-weight: 500;
  color: var(--pr-text-hint);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.transport-card__price-amount {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  color: var(--pr-green);
  letter-spacing: -0.5px;
}

.transport-card__price-suffix {
  font-size: 13px;
  color: var(--pr-text-muted);
}

.transport-card__duration {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--pr-text-muted);
  margin-bottom: var(--space-lg);
}

.transport-card__duration i { font-size: 14px; color: var(--pr-text-hint); }

.transport-card__includes {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: var(--space-xl);
  flex: 1;
}

.transport-card__includes li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--pr-text-body);
  line-height: 1.5;
}

.transport-card__includes i {
  color: var(--pr-green);
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 1px;
}

.transport-card__cta { margin-top: auto; }

/* ============================================================
   GOOD TO KNOW — dark section, 2x2 tip cards
   ============================================================ */
.good-to-know {
  position: relative;
  overflow: hidden;
}

.good-to-know .container {
  position: relative;
  z-index: 2;
}

.good-to-know__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.tip-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: transform var(--transition-base);
}

@media (hover: hover) and (pointer: fine) {
  .tip-card:hover { transform: translateY(-2px); }
}

.tip-card__icon {
  font-size: 28px;
  line-height: 1;
  margin-bottom: var(--space-md);
}

.tip-card__title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--pr-cream);
  letter-spacing: -0.2px;
  margin-bottom: var(--space-sm);
}

.tip-card__body {
  font-size: 13.5px;
  color: rgba(244, 241, 232, 0.62);
  line-height: 1.7;
  margin: 0;
}

/* ============================================================
   WHAT TO DO — prose, max-width 720px
   ============================================================ */
.what-to-do__inner {
  max-width: 720px;
  margin: 0 auto;
}

.what-to-do__inner .section-header { margin-bottom: var(--space-lg); }

.what-to-do__inner p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--pr-text-body);
}

.what-to-do__inner p:last-child { margin-bottom: 0; }

/* ============================================================
   FAQ — accordion, max-width 760px
   ============================================================ */
.destination-faq__inner {
  max-width: 760px;
  margin: 0 auto;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .destination-hero__title { letter-spacing: -1.2px; }
}
