/* home.css */

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-h) + 2rem);
  padding-bottom: 8vh;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(28, 28, 28, 0.82) 0%,
      rgba(28, 28, 28, 0.45) 50%,
      rgba(28, 28, 28, 0.15) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-text {
  max-width: 620px;
}

.hero-text h1 {
  color: var(--white);
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1.05;
  margin: 1rem 0 1.4rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero-text h1 em {
  font-style: italic;
  color: #e8c27a;
}

.hero-sub {
  color: rgba(244, 239, 230, 0.82);
  font-size: 1.05rem;
  max-width: 480px;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.hero-scroll span {
  display: block;
  width: 1px;
  height: 60px;
  background: rgba(244, 239, 230, 0.4);
  margin: 0 auto;
  animation: scrollPulse 2.2s ease-in-out infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    transform: scaleY(1);
    opacity: 0.4;
  }

  50% {
    transform: scaleY(0.4) translateY(-10px);
    opacity: 0.9;
  }
}

/* ── INTRO STRIP ── */
.intro-strip {
  background: var(--parchment2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
}

.intro-strip-inner {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.intro-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.stat-num {
  font-family: var(--serif-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--sienna);
  line-height: 1;
}

.stat-label {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warm-grey);
  margin-top: 0.3rem;
}

.intro-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

.intro-tagline {
  font-size: 0.95rem;
  color: var(--warm-grey);
  font-style: italic;
  max-width: 380px;
  line-height: 1.65;
}

/* ── DESTINATIONS ── */
.destinations-section {
  padding: 7rem 0 5rem;
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-header h2 {
  margin-top: 0.75rem;
}

.dest-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.dest-card {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
}

.dest-img-wrap {
  position: absolute;
  inset: 0;
}

.dest-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.dest-card:hover .dest-img-wrap img {
  transform: scale(1.06);
}

.dest-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28, 28, 28, 0.85) 0%, rgba(28, 28, 28, 0.2) 60%, transparent 100%);
  transition: opacity 0.4s;
}

.dest-card:hover .dest-overlay {
  opacity: 0.9;
}

.dest-body {
  position: relative;
  z-index: 1;
  padding: 3rem 2.5rem;
  color: var(--white);
}

.dest-eyebrow {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.65;
  margin-bottom: 0.5rem;
}

.dest-body h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--white);
}

.dest-body p {
  font-size: 0.92rem;
  opacity: 0.8;
  max-width: 340px;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.dest-link {
  pointer-events: none;
}

/* ── POSTS ── */
.posts-section {
  padding: 7rem 0;
  background: var(--white);
}

.posts-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.posts-header h2 {
  margin-top: 0.75rem;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem 2rem;
}

.home-post-card {}

.home-post-featured {}

.posts-loading {
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--warm-grey);
  grid-column: 1/-1;
}

/* ── PULL QUOTE ── */
.quote-section {
  padding: 6rem 0;
  text-align: center;
}

.pull-quote p {
  font-family: var(--serif-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
  max-width: 640px;
  margin: 1.5rem auto 0.75rem;
  line-height: 1.4;
}

.pull-quote cite {
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--warm-grey);
  font-style: normal;
}

/* ── TIPS ── */
.tips-section {
  padding: 6rem 0;
  background: var(--parchment2);
}

.tips-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 6rem;
  align-items: start;
}

.tips-text h2 {
  margin-top: 0.75rem;
  margin-bottom: 1rem;
}

.tips-text p {
  color: var(--warm-grey);
}

.tips-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.tip-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.8rem 0;
  border-bottom: 1px solid var(--border);
}

.tip-item:first-child {
  border-top: 1px solid var(--border);
}

.tip-num {
  font-family: var(--serif-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--sienna);
  opacity: 0.35;
  line-height: 1;
  flex-shrink: 0;
  width: 2.5rem;
  text-align: right;
}

.tip-item h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.tip-item p {
  font-size: 0.9rem;
  color: var(--warm-grey);
  line-height: 1.65;
  margin: 0;
}

/* ── NEWSLETTER ── */
.newsletter-section {
  background: var(--forest);
  padding: 6rem 0;
  color: var(--white);
}

.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.newsletter-text h2 {
  color: var(--white);
  margin: 0.75rem 0 1rem;
}

.newsletter-text p {
  color: rgba(244, 239, 230, 0.7);
  font-size: 0.95rem;
}

.newsletter-field {
  display: flex;
  gap: 0;
}

.newsletter-field input {
  flex: 1;
  padding: 0.85rem 1.2rem;
  border: 1.5px solid rgba(244, 239, 230, 0.3);
  border-right: none;
  background: rgba(244, 239, 230, 0.08);
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}

.newsletter-field input::placeholder {
  color: rgba(244, 239, 230, 0.4);
}

.newsletter-field input:focus {
  border-color: rgba(244, 239, 230, 0.6);
}

.newsletter-field .btn-filled {
  flex-shrink: 0;
  white-space: nowrap;
}

.newsletter-small {
  font-family: var(--sans);
  font-size: 0.72rem;
  color: rgba(244, 239, 230, 0.35);
  margin-top: 0.75rem;
  letter-spacing: 0.04em;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .dest-grid {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .dest-card {
    min-height: 420px;
  }

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

  .tips-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .newsletter-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .intro-strip-inner {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .posts-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-field {
    flex-direction: column;
  }

  .newsletter-field input {
    border-right: 1.5px solid rgba(244, 239, 230, 0.3);
    border-bottom: none;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .posts-header {
    flex-direction: column;
    align-items: flex-start;
  }
}