/* ===========================
   Base + Tokens
   =========================== */

:root {

  --bg-light: #fdfaf6;
  --driftwoodbeige: #e9e2d8;
  --offwhite: #ffffff;
  --sagegreen: #a3b8a1;
  --seamistblue: #9fc9d5;
  --charcoalgrey: #2e2e2e;
  --sagegrey: #899690;
  --coralblush: #f4b9a7;
  --text-main: #2e2e2e;
  --lightgrey: #bfbfbf;
  --section-border: var(--lightgrey);
  --section-border-width: 1.5px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Quicksand", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: var(--driftwoodbeige);
  color: var(--text-main);
}

img {
  max-width: 100%;
  display: block;
}

p {
  margin: 0;
}

/* ===========================
   Navigation
   =========================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 18px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(245, 239, 230, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--sagegrey);
  z-index: 20;
  height: 75px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--charcoalgrey);
}

.nav-logo img {
  height: 50px;
  width: auto;
}

.nav-logo span {
  font-size: 1.1rem;
  letter-spacing: 0.05em;
}

.nav-links a {
  margin-left: 28px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--charcoalgrey);
  opacity: 0.8;
  text-decoration: none;
  font-weight: 600;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--sagegreen);
}

/* ===========================
   Eyebrow
   =========================== */

.eyebrow {
  text-transform: uppercase;
  font-weight: bold;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  color: var(--charcoalgrey);
  margin-bottom: 12px;
}

/* ===========================
   Hero
   =========================== */

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 40px;
  padding: 140px 60px 80px;
  align-items: center;
  background: var(--driftwoodbeige);
  border-bottom: var(--section-border-width) solid var(--section-border);
}

.hero-content h1 {
  font-size: 3rem;
  margin: 0 0 12px;
  color: var(--charcoalgrey);
}

.hero-sub {
  font-size: 1.05rem;
  max-width: 420px;
  margin-bottom: 26px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 999px;
  border: none;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;

  /* NEW */
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    background 0.18s ease, color 0.18s ease;
}


.btn-primary {
  background: linear-gradient(135deg, var(--sagegrey), var(--sagegreen));
  color: #fff;
  box-shadow: 0 10px 30px rgba(15, 15, 15, 0.18);
  position: relative;
  overflow: hidden;
}

.btn-secondary {
  background: transparent;
  color: var(--charcoalgrey);
  border: 1px solid rgba(40, 50, 58, 0.25);
}

/* Hero media */

.hero-media {
  position: relative;
  display: grid;
  place-items: center;
}

.hero-main-card {
  width: 100%;
  max-width: 460px;
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.28);
  background: #fff;

}

.hero-main-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1);
}

.hero-tag {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(2, 43, 58, 0.9);
  color: #fff;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  white-space: nowrap;
}


.hero-tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--offwhite);
}

.hero-floating-card {
  position: absolute;
  top: 10%;
  right: 5%;
  background: rgba(245, 239, 230, 0.96);
  padding: 16px 20px;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  max-width: 220px;
  font-size: 0.8rem;
}

#wellness-tip-text {
  display: block;
  transition: opacity 0.5s ease;
}

.hero-floating-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--charcoalgrey);
}

/* ===========================
   Generic Sections
   =========================== */

.section {
  padding: 60px 60px 70px;
  min-height: 100vh;
  scroll-margin-top: 75px;
  /* height of your nav */
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 24px;
}

.section-header h2 {
  font-size: 2rem;
  margin: 0;
  color: var(--charcoalgrey);
}

.section-header p {
  max-width: 360px;
  font-size: 0.95rem;
  opacity: 0.85;
}

.section-header .buttons {
  transform: translateY(2.8em);
}

/* ===========================
   MY STORY
   =========================== */

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  background: var(--driftwoodbeige);
  border-bottom: var(--section-border-width) solid var(--section-border);
}

.story-grid .section-header {
  grid-column: 1 / -1;
}

.story-text {
  line-height: 1.4;
  font-size: 0.95rem;
}

.story-text p {
  margin-bottom: 1rem;
}

.my-story-img {
  width: min(30vw, auto);
  height: 60vh;
  /* object-fit: cover; */
  margin: 0 auto;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, z-index 0.3s ease;
  filter: brightness(0.94) contrast(0.96);
  display: flex;
  align-self: center;
  margin-left: 20px;
  float: right;

}

/* ===========================
   PLAN TRAVEL
   =========================== */

.section-plan-travel {
  background: var(--driftwoodbeige);
  border-bottom: var(--section-border-width) solid var(--section-border);
}

/* ==== HORIZONTAL GRID CARDS ==== */

.escapes-row {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.escape-card {
  flex: 1 1 300px;
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.escape-card-link {
  display: block;
  text-decoration: none;
  color: var(--text-main);
}

.escape-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.tag-pill {
  display: inline-block;
  font-weight: bold;
  margin-bottom: 2rem;
  padding: 0.4rem 1rem;
  border: 2px solid var(--sagegreen);
  border-radius: 999px;
  background-color: var(--sagegreen);
  color: var(--offwhite);
}

/* ===========================
   JOIN THE TEAM
   =========================== */

.section-work {
  background: var(--driftwoodbeige);
  border-bottom: var(--section-border-width) solid var(--section-border);
}

.section-travel-agents {
  background: var(--driftwoodbeige);
  border-bottom: var(--section-border-width) solid var(--section-border);
}

.section-mentoring {
  background: var(--driftwoodbeige);
  border-bottom: var(--section-border-width) solid var(--section-border);
}

/* ===========================
   FAQ
   =========================== */

.section-faq {
  background: var(--driftwoodbeige);
  border-bottom: var(--section-border-width) solid var(--section-border);
  min-height: 1vh;
  width: fit-content;
  max-width: max-content;
  align-self: flex-start;
}

.faq-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.faq-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-body p {
  margin: 0;
}

.faq-heading {
  display: flex;
  align-items: center;
  border-bottom: 2px solid var(--sagegreen);
  padding-bottom: 0.5rem;
}

.faq-body img {
  width: 30px;
  height: 30px;
}

.faq-image {
  margin: 0 10px 0 0;
}

.faq-pill {
  display: inline-flex;
  align-items: center;
  justify-content: left;
  font-weight: bold;
  color: var(--charcoalgrey);
  vertical-align: baseline;
  width: 100%;
  align-self: flex-start;
  height: 30px;

}

.faq-card {
  flex: 1 1 300px;
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media (max-width: 1024px) {
  .faq-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .faq-row {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}

/* ===========================
   CONTACT 
   =========================== */

.section-contact {
  background: var(--driftwoodbeige);
}

.contact-form {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0 auto;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.form-row-message {
  display: flex;
  flex-wrap: wrap;
  min-height: 40vh;
}

.contact-form input,
.contact-form textarea {
  flex: 1;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid #ddd;
  font-family: inherit;
  font-size: 0.95rem;
}

.contact-form textarea {
  border-radius: 18px;
  resize: vertical;
}

/* ===========================
   Footer
   =========================== */

.site-footer {
  background: var(--charcoalgrey);
  color: #fdfaf6;
  padding: 40px 60px 32px;
  min-height: 200px;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-column h4 {
  margin-top: 0;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.footer-column p {
  max-width: 260px;
  font-size: 0.9rem;
  opacity: 0.9;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
}

.footer-column li+li {
  margin-top: 6px;
}

.footer-bottom {
  width: 100%;
  text-align: right;
  font-size: 0.78rem;
  opacity: 0.7;
  margin-top: 20px;
}

.footer-link {
  color: var(--offwhite);
  text-decoration: none;
}

.footer-link:hover {
  text-decoration: underline;
}

/* ===========================
   Responsive
   =========================== */

@media (max-width: 900px) {
  .nav {
    padding: 16px 22px;
  }

  .nav-links {
    display: none;
    /* simple mobile behaviour for now */
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    padding: 120px 22px 60px;
  }

  .hero-media {
    order: -1;
  }

  .section,
  .story-grid {
    padding: 40px 22px 60px;
  }

  .story-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-footer {
    padding: 32px 22px 26px;
  }

  .hero-tag {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(2, 43, 58, 0.9);
    color: #fff;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 0.6rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
  }

}

/* ===========================
   Button Hover Effects
   =========================== */

.btn-submit {
  margin-top: 4px;
  align-self: flex-start;
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(15, 15, 15, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  background: linear-gradient(135deg, var(--sagegreen), var(--sagegrey));
}

.btn-secondary {
  background: transparent;
  border: 1px solid rgba(40, 50, 58, 0.25);
}

.btn-secondary:hover {
  transform: translateY(-4px);
  background: var(--seamistblue);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
  transform: translateY(-2px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-submit:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(15, 15, 15, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media (max-width: 640px) {
  .btn {
    font-size: 0.6rem;
  }

}

/* ---- ANIMATION ---- */

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 650ms ease, transform 650ms ease;
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 650ms ease, transform 0.2s ease;
  transition-delay: 0ms;
}

.reveal.is-visible:hover {
  transform: translateY(-4px);
  box-shadow: 0px 12px 60px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  transition-delay: 0ms;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    transition: none;
    transform: none;
    opacity: 1;
  }
}


/* Toast Notifications */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(16px);
  opacity: 0;
  pointer-events: none;

  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(12, 36, 46, 0.92);
  /* tweak to match your palette */
  color: var(--offwhite);
  font-size: 0.95rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);

  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 9999;
}

.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast.toast-error {
  background: rgba(120, 35, 35, 0.92);
}

@media (prefers-reduced-motion: reduce) {
  .toast {
    transition: none;
  }
}