/* ========================================= */
/* ROOT VARIABLES */
/* ========================================= */

:root {
  --green-dark: #0f2418;
  --green-main: #1f3d2b;
  --green-soft: #6f8f5f;
  --moss: #a7b889;
  --earth: #5c3f2e;

  --cream: #f4efe5;
  --white: #ffffff;
  --black: #111111;

  --font-title: "Cormorant Garamond", serif;
  --font-body: "Poppins", sans-serif;

  --container: 1180px;

  --radius-lg: 34px;
  --radius-md: 28px;

  --transition: 0.3s ease;
}

/* ========================================= */
/* RESET */
/* ========================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--green-dark);
  line-height: 1.7;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ========================================= */
/* GLOBAL */
/* ========================================= */

.container {
  width: min(var(--container), 90%);
  margin: 0 auto;
}

.hero-tag,
.section-label {
  display: inline-block;

  margin-bottom: 18px;

  color: var(--moss);

  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.intro h2,
.feature h2,
.wellness h2,
.cards-section h2,
.gallery-preview h2,
.cta h2 {
  margin-bottom: 24px;

  font-family: var(--font-title);
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 1;
}

.intro h2,
.cards-section h2 {
  color: var(--green-dark);
}

.feature h2,
.wellness h2,
.gallery-preview h2,
.cta h2 {
  color: var(--white);
}

.intro p,
.cards-section p {
  color: rgba(15, 36, 24, 0.76);
  font-size: 1rem;
}

.feature p,
.wellness p,
.cta p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
}

/* ========================================= */
/* BUTTONS */
/* ========================================= */

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 14px 26px;

  border-radius: 999px;

  font-weight: 600;

  transition: var(--transition);
}

.btn-primary {
  background: var(--moss);
  color: var(--green-dark);
}

.btn-primary:hover {
  background: var(--cream);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.text-link {
  display: inline-block;

  margin-top: 24px;

  color: var(--moss);
  font-weight: 600;
}

/* ========================================= */
/* HEADER */
/* ========================================= */

.header {
  position: fixed;
  top: 0;
  z-index: 50;

  width: 100%;

  padding: 18px 0;
}

.navbar {
  width: min(var(--container), 90%);
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 14px 22px;

  border-radius: 999px;

  background: rgba(15, 36, 24, 0.72);

  backdrop-filter: blur(14px);
}

.logo {
  display: flex;
  align-items: center;
}

.logo-image {
  width: 150px;
  height: 100px;

  object-fit: contain;
}

.nav-menu {
  display: flex;
  gap: 26px;
}

.nav-menu a {
  color: rgba(255, 255, 255, 0.86);

  font-size: 0.92rem;

  transition: var(--transition);
}

.nav-menu a:hover {
  color: var(--moss);
}

.nav-btn {
  padding: 10px 20px;

  border-radius: 999px;

  background: var(--moss);
  color: var(--green-dark);

  font-weight: 600;
}

/* ========================================= */
/* HERO */
/* ========================================= */

.hero {
  position: relative;

  min-height: 100vh;

  display: flex;
  align-items: center;

  overflow: hidden;

  color: var(--white);
}

.hero-video,
.hero-bg {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;
}

.hero-video {
  object-fit: cover;
}

.hero-bg img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      to right,
      rgba(8, 20, 13, 0.88),
      rgba(8, 20, 13, 0.35)
    ),
    linear-gradient(
      to top,
      rgba(8, 20, 13, 0.75),
      transparent
    );
}

.hero-content {
  position: relative;
  z-index: 2;

  width: min(900px, 90%);

  margin-left: 7%;

  padding-top: 80px;
}

.hero h1 {
  max-width: 950px;

  margin-bottom: 26px;

  font-family: var(--font-title);
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.95;
}

.hero p {
  max-width: 680px;

  margin-bottom: 34px;

  color: rgba(255, 255, 255, 0.88);

  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ========================================= */
/* ABOUT HERO */
/* ========================================= */

.about-hero {
  min-height: 82vh;
}

/* ========================================= */
/* INTRO */
/* ========================================= */

.intro {
  padding: 110px 0;

  background: var(--cream);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 60px;

  align-items: center;
}

.intro-card {
  padding: 40px;

  border-radius: var(--radius-md);

  background: var(--green-dark);
  color: var(--white);
}

.intro-card h3 {
  margin-bottom: 18px;

  font-family: var(--font-title);
  font-size: 2rem;
}

.intro-card li {
  padding: 10px 0;

  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

/* ========================================= */
/* FEATURE */
/* ========================================= */

.feature {
  padding: 110px 0;

  background: var(--green-dark);
  color: var(--white);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;

  align-items: center;
}

.feature-media,
.feature-image {
  height: 620px;

  overflow: hidden;

  border-radius: var(--radius-lg);
}

.feature-media video,
.feature-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}

/* ========================================= */
/* WELLNESS */
/* ========================================= */

.wellness {
  position: relative;

  min-height: 80vh;

  display: grid;
  place-items: center;

  padding: 130px 0;

  overflow: hidden;

  background: var(--green-dark);

  color: var(--white);
  text-align: center;
}

.wellness video {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
}

.wellness-overlay {
  position: absolute;
  inset: 0;

  background: rgba(8, 20, 13, 0.74);
}

.wellness-content {
  position: relative;
  z-index: 2;
}

.center-content {
  max-width: 900px;

  text-align: center;
}

.center-content p {
  max-width: 720px;

  margin: 0 auto;
}

.about-history {
  background:
    linear-gradient(
      rgba(8, 20, 13, 0.78),
      rgba(8, 20, 13, 0.78)
    ),
    url("../img/trail-2.jpeg") center/cover;
}

/* ========================================= */
/* CARDS */
/* ========================================= */

.cards-section {
  padding: 110px 0;

  background: var(--cream);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;

  margin-top: 45px;
}

.card {
  overflow: hidden;

  border-radius: var(--radius-md);

  background: var(--white);

  box-shadow: 0 20px 50px rgba(15, 36, 24, 0.08);
}

.card img {
  width: 100%;
  height: 280px;

  object-fit: cover;
}

.card-content {
  padding: 28px;
}

.card-content h3 {
  margin-bottom: 10px;

  color: var(--green-dark);

  font-family: var(--font-title);
  font-size: 2rem;
}

.card-content p {
  color: rgba(15, 36, 24, 0.72);
}

/* ========================================= */
/* VIDEO PAGE */
/* ========================================= */

.video-section {
  background: var(--cream);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;

  margin-top: 45px;
}

.video-card-main {
  grid-column: 1 / -1;
}

.video-card-main .video-frame video {
  max-height: 620px;
  object-fit: cover;
}

@media (max-width: 900px) {
  .video-card-main {
    grid-column: auto;
  }
}

.video-card {
  overflow: hidden;

  border-radius: var(--radius-md);

  background: var(--white);

  box-shadow: 0 20px 50px rgba(15, 36, 24, 0.08);
}

.video-frame {
  overflow: hidden;

  background: var(--black);
}

.video-frame video {
  width: 100%;

  display: block;
}

.video-content {
  padding: 28px;
}

.video-content h3 {
  margin-bottom: 10px;

  color: var(--green-dark);

  font-family: var(--font-title);
  font-size: 2rem;
}

.video-content p {
  color: rgba(15, 36, 24, 0.72);
}

/* ========================================= */
/* GALLERY */
/* ========================================= */

.gallery-preview {
  padding: 110px 0;

  background: var(--green-dark);

  color: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;

  margin-top: 45px;
}

.gallery-grid img {
  width: 100%;
  height: 360px;

  object-fit: cover;

  border-radius: 26px;

  filter: brightness(0.9);

  transition: 0.4s ease;
}

.gallery-grid img:hover {
  transform: scale(1.03);

  filter: brightness(1);
}

/* ========================================= */
/* CTA */
/* ========================================= */

.cta {
  padding: 120px 0;

  background: var(--green-main);

  color: var(--white);
  text-align: center;
}

.cta p {
  margin-bottom: 28px;
}

/* ========================================= */
/* AUDIO BUTTON */
/* ========================================= */

.audio-toggle {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;

  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 12px 18px;

  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;

  background: rgba(15, 36, 24, 0.86);

  color: var(--white);

  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;

  cursor: pointer;

  backdrop-filter: blur(12px);

  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);

  transition: var(--transition);
}

.audio-toggle:hover {
  background: rgba(31, 61, 43, 0.96);

  transform: translateY(-2px);
}

.audio-toggle.is-playing {
  background: var(--moss);

  color: var(--green-dark);
}

/* ========================================= */
/* FOOTER */
/* ========================================= */

.footer {
  padding: 30px 20px;

  background: #07130d;

  color: rgba(255, 255, 255, 0.75);

  text-align: center;

  font-size: 0.9rem;
}

/* ========================================= */
/* RESPONSIVE */
/* ========================================= */

@media (max-width: 900px) {

  .nav-menu,
  .nav-btn {
    display: none;
  }

  .hero-content {
    margin-left: 5%;
  }

  .intro-grid,
  .feature-grid,
  .cards-grid,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .feature-media,
  .feature-image {
    height: 420px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid img {
    height: 300px;
  }

}

@media (max-width: 560px) {

  .navbar {
    border-radius: 18px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;

    text-align: center;
  }

  .intro,
  .feature,
  .wellness,
  .cards-section,
  .gallery-preview,
  .cta {
    padding: 80px 0;
  }

  .feature-media,
  .feature-image {
    height: 340px;
  }

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

  .audio-toggle {
    right: 16px;
    bottom: 16px;

    max-width: calc(100% - 32px);

    padding: 11px 15px;

    font-size: 0.82rem;
  }

}