/* Static Hero Styles */
.hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-static-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-static-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Cinematic mask: solid dark at bottom-left to transparent at top-right */
  background: linear-gradient(
    45deg,
    rgba(10, 5, 2, 0.95) 0%,
    rgba(10, 5, 2, 0.7) 35%,
    rgba(10, 5, 2, 0.2) 65%,
    rgba(10, 5, 2, 0) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 6vw;
  padding-top: var(--nav-h);
  /* Overall container fades in first */
  animation: heroContentFade 1s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
}

@keyframes heroContentFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.hero-tag {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-primary-light);
  margin-bottom: 1.2rem;
  /* Entrance 1: Starts almost immediately */
  opacity: 0;
  animation: heroItemUp 1s 0.15s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--color-white);
  max-width: 680px;
  /* Entrance 2: Noticeable gap after tag */
  opacity: 0;
  animation: heroItemUp 1.2s 0.5s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
}

.hero-title em {
  font-style: italic;
  color: var(--color-primary-light);
}

.hero-desc {
  margin-top: 1.4rem;
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  font-weight: 300;
  color: var(--color-text-on-dark-2);
  max-width: 480px;
  line-height: 1.7;
  /* Entrance 3: Longer delay for a slow build */
  opacity: 0;
  animation: heroItemUp 1.4s 0.9s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  margin-top: 2.2rem;
  flex-wrap: wrap;
  /* Entrance 4: Final reveal */
  opacity: 0;
  animation: heroItemUp 1.2s 1.3s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--color-primary);
  color: var(--color-white);
  text-decoration: none;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.85rem 1.8rem;
  border-radius: 0;
  transition:
    background var(--transition-fast),
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: transparent;
  color: var(--color-white);
  text-decoration: none;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.85rem 1.8rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 0;
  transition:
    border-color var(--transition-fast),
    color var(--transition-fast),
    transform var(--transition-fast);
}

.btn-primary:hover {
  background: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-amber);
}

.btn-outline:hover {
  border-color: var(--color-primary-light);
  color: var(--color-primary-light);
  transform: translateY(-2px);
}

/* Home about belt */
#home-about {
  background: linear-gradient(120deg, var(--color-cream) 0%, #fffaf3 60%, var(--color-cream) 100%);
  padding: 72px 0 40px; /* Reduced bottom padding from 72px to 40px */
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 40px;
}

.about-copy .section-label {
  color: var(--color-primary);
  opacity: 1;
  transform: none;
  margin-bottom: 10px;
}

.about-copy .section-heading {
  margin-bottom: 18px;
  color: var(--color-dark);
  opacity: 1;
  transform: none;
}

.about-body {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text-on-light-2);
  max-width: 640px;
  margin-bottom: 18px;
}

.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.about-badges span {
  background: var(--color-primary-subtle);
  color: var(--color-primary-dark);
  padding: 8px 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.7rem;
  border-radius: 999px;
}

.about-visual {
  position: relative;
  width: 100%;
}

.about-image-frame {
  position: relative;
  width: 100%;
  overflow: visible;
}

.about-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
}

.about-card {
  position: absolute;
  top: -30px;
  left: -30px;
  background: var(--color-white);
  padding: 1.5rem;
  display: flex;
  gap: 1.5rem;
  box-shadow: var(--shadow-lg);
  z-index: 10;
  border-radius: 0;
}

.about-card__metric {
  text-align: center;
}

.metric-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--color-primary);
  line-height: 1;
}

.metric-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-muted);
}

@media (max-width: 768px) {
  .about-card {
    position: relative;
    top: 0;
    left: 0;
    margin-bottom: 20px;
    gap: 1rem;
    padding: 1rem;
  }
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .about-card {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  #home-about {
    padding: 54px 0 42px;
  }
  .about-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 6px;
  }
}

/* generic reveal helper */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}



.experience-section {
  background: var(--color-cream);
  padding: 60px 0 40px; /* Reduced bottom padding from 120px to 40px */
}

.experience-rows {
  display: flex;
  flex-direction: column;
  gap: 120px;
}

.exp-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 80px;
}

.exp-row--reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.exp-row--reverse .exp-row__media {
  order: 2;
}

.exp-row--reverse .exp-row__content {
  order: 1;
}

.exp-row__media {
  width: 100%;
  aspect-ratio: 1/0.85;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.exp-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.exp-row__content {
  padding: 20px 0;
}

.exp-row__eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 16px;
  font-weight: 600;
}

.exp-row__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.1;
  color: var(--color-dark);
  margin-bottom: 24px;
}

.exp-row__body {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.8;
  color: #333333;
  margin-bottom: 32px;
  max-width: 500px;
}

.exp-row__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.exp-row__list li {
  padding: 18px 0;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 300;
  color: #333333;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
}

.exp-row__list li:last-child {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.exp-row__list li::before {
  content: "—";
  margin-right: 12px;
  color: var(--color-primary);
  font-weight: 700;
}

.exp-row__actions {
  margin-top: 40px;
}

.btn-view-more {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: var(--color-dark);
  text-decoration: none;
  text-transform: uppercase;
  border-bottom: 1px solid var(--color-dark);
  padding-bottom: 6px;
  transition: all 0.3s ease;
}

.btn-view-more:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
  gap: 18px;
}

@media (max-width: 1024px) {
  .exp-row {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .experience-rows {
    gap: 80px;
  }
  .exp-row, .exp-row--reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .exp-row--reverse .exp-row__media,
  .exp-row--reverse .exp-row__content {
    order: 0;
  }
  .exp-row__media {
    aspect-ratio: 16/10;
  }
}

/* --- Animations --- */
.ways-section {
  background: var(--color-cream);
  padding: 40px 0 120px; /* Reduced top padding from 120px to 40px */
}

.ways-header {
  text-align: center;
  margin-bottom: 80px;
}

.ways-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 20px;
  font-weight: 600;
}

.ways-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  color: var(--color-dark);
}

.ways-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}

.way-item {
  display: flex;
  flex-direction: column;
}

.way-line {
  width: 100%;
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
}

.way-number {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--color-primary);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.way-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--color-dark);
  margin-bottom: 20px;
  font-weight: 400;
}

.way-text {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: #333333;
  font-weight: 300;
}

/* Journey Section (CTA) */
#booking-cta.journey-section {
  position: relative;
  background: #000 !important;
  padding: 160px 0 100px; /* Increased top padding to 160px to reveal the sun */
  text-align: center;
  color: var(--color-white);
  overflow: hidden;
}

.journey-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 20%; /* Shifted background up slightly */
  background-attachment: fixed; /* Parallax effect */
  z-index: 1;
}

.journey-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.6) 100%
  );
  z-index: 2;
}

.journey-inner {
  position: relative;
  z-index: 3;
}

.journey-header {
  margin-bottom: 30px; /* Reduced from 50px */
}

.journey-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-primary-light);
  margin-bottom: 12px;
  font-weight: 600;
}

.journey-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem); /* Reduced from 6rem */
  line-height: 1.05;
  color: var(--color-white);
  margin-bottom: 20px;
}

.journey-title span {
  color: var(--color-primary-light);
  font-style: italic;
}

.journey-subtitle {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto;
}

.btn-journey {
  display: inline-flex;
  background: var(--color-primary);
  color: white;
  padding: 16px 40px;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-journey:hover {
  background: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-amber);
}

@media (max-width: 768px) {
  #booking-cta.journey-section {
    padding: 80px 0;
  }
  .journey-bg {
    background-attachment: scroll; /* Disable parallax on mobile for better performance */
  }
}

@media (max-width: 900px) {
  .ways-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Testimonials teaser as full-width belt */
#testimonials {
  background: linear-gradient(135deg, var(--color-primary-subtle) 0%, var(--color-cream) 100%);
  padding: 54px 0;
}

.testi-card {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--space-4);
  padding: 0 40px;
}

.testi-card .section-label {
  margin-bottom: 8px;
  color: var(--color-primary);
  opacity: 1;
  transform: none;
}

.testi-copy {
  display: flex;
  flex-direction: column;
}

.testi-card .section-heading {
  margin: 0;
  max-width: 640px;
  color: var(--color-dark);
  line-height: 1.3;
  font-weight: 400;
  opacity: 1;
  transform: none;
}

.testi-cta {
  text-decoration: none;
  white-space: nowrap;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: var(--color-white);
  padding: 14px 26px;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base),
    background var(--transition-base);
  box-shadow: 0 10px 24px rgba(200, 113, 26, 0.22);
}

.testi-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(200, 113, 26, 0.26);
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
}

@media (max-width: 768px) {
  .testi-card {
    grid-template-columns: 1fr;
    gap: var(--space-3);
    padding: 0 24px;
  }
  .testi-cta {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* Guest reviews */
#guest-reviews {
  background: linear-gradient(135deg, #fcf4e9 0%, #f7ead8 100%);
  padding: 76px 0 86px;
}

#guest-reviews .section-label {
  opacity: 1;
  transform: none;
}

#guest-reviews .section-heading {
  opacity: 1;
  transform: none;
  margin-bottom: 10px;
}

.guest-reviews__lead {
  max-width: 860px;
  color: var(--color-text-on-light-2);
  line-height: 1.8;
  margin-bottom: 28px;
}

.guest-reviews__grid {
  display: flex;
  overflow-x: auto;
  gap: 24px;
  padding: 20px 4px 40px;
  margin-bottom: 28px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.guest-reviews__grid::-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
}

.guest-review-card {
  flex: 0 0 420px;
  height: 240px; /* Updated height */
  background: rgba(255, 255, 255, 0.94); /* Slightly more opaque for shadow visibility */
  padding: 24px;
  transition: transform var(--transition-base), background var(--transition-base), box-shadow var(--transition-base);
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  overflow: hidden; /* Hide overflow */
  cursor: help; /* Indicate tooltip availability */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); /* Added box shadow */
}

.guest-review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  background: #fff;
}

.guest-review-card p:last-child {
  margin: 0;
  color: var(--color-text-on-light);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 6; /* Show more lines since height is increased */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 768px) {
  .guest-review-card {
    flex: 0 0 85vw;
    height: 240px;
    padding: 20px;
  }
}

/* Parallax section */
.parallax-section {
  width: 100%;
  height: 400px;
  position: relative;
  margin: 0;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.parallax-food {
  background-image: url("../img/home/food.jpg");
}

.parallax-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
}

.parallax-content {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  text-align: center;
  padding: 0 20px;
}

.parallax-title {
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-family: var(--font-display);
  font-weight: 400;
}

.parallax-text {
  font-size: 1.1rem;
  max-width: 820px;
  margin: 0 auto;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

@media (max-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 48px;
  }
  .why-card + .why-card {
    border-left: none;
  }
  .why-card:nth-child(odd) {
    border-right: 1px solid var(--color-border);
  }
}

@media (max-width: 640px) {
  .section-container {
    padding: 0 20px;
  }
  .why-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .why-card:nth-child(odd) {
    border-right: none;
  }
  #why {
    padding: 64px 0 72px;
  }
  .guest-reviews__grid,
  .guest-reviews__points {
    grid-template-columns: 1fr;
  }
}

/* Match Contact page typography style on Home headers and paragraphs */
.slide-title,
.hero-title h1,
.section-heading {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.15;
}

.slide-desc,
.hero-title .sub,
.section-sub,
.about-body,
.why-body,
.testi-body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 300;
  line-height: 1.8;
}
