/* =====================================================================
   ABOUT US PAGE STYLESHEET
   File:   css/about_us.css
   ===================================================================== */


/* =====================================================================
   1. RESET & BASE
   ===================================================================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--color-text-dark);
  background-color: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}


/* =====================================================================
   2. DESIGN TOKENS (colors / fonts / spacing)
   ===================================================================== */
:root {
  --color-navy-deep:   #0c1a2b;
  --color-navy:        #16283f;
  --color-navy-light:  #24405f;

  --color-brown-dark: #FFF9EB;
  --color-brown-panel: #2b2119;

  --color-cream:       #f8ecd8;
  --color-cream-soft:  #fbf4e6;

  --color-gold:        #c68a3f;
  --color-gold-soft:   #d9b06b;

  --color-green:       #355e3b;
  --color-green-dark:  #294a2e;

  --color-text-dark:   #1e1c19;
  --color-text-body:   #5a564d;
  --color-text-light:  #f1ede3;
  --color-text-light-body: #cfc9bc;

  --color-white:       #ffffff;

  --color-text-muted:    var(--color-text-body);
  --color-accent-orange: var(--color-gold);
  --color-primary-green: var(--color-green);

  --font-heading: 'Playfair Display', serif;
  --font-eyebrow: 'Cinzel', serif;
  --font-body:    'Poppins', sans-serif;

  --max-width: 1240px;
  --radius-pill: 999px;
  --radius-md: 12px;
}


/* =====================================================================
   3. SHARED / UTILITY CLASSES
   ===================================================================== */
.section-eyebrow {
  text-align: start;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  font-family: var(--font-eyebrow);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 14px;
}

.section-eyebrow__arrow {
  font-size: 14px;
  color: var(--color-gold);
}

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  transition: background-color 0.25s ease, transform 0.15s ease;
}

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

.btn--primary:hover {
  background-color: var(--color-green-dark);
  transform: translateY(-1px);
}


/* =====================================================================
   4. PAGE HERO SECTION
   ===================================================================== */
.page-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 18, 32, 0.35) 0%, rgba(9, 18, 32, 0.20) 45%, rgba(9, 18, 32, 0.45) 100%);
}

.page-hero__content {
  height: 500px;
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 160px 24px 100px;
  text-align: center;
}

.page-hero__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 57px;
  line-height: 1.25;
  color: var(--color-white);
  margin-bottom: 22px;
  max-width: 956px;
  opacity: 1;
}

.page-hero__description {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text-light-body);
  max-width: 760px;
  margin: 0 auto;
}


/* =====================================================================
   5. OUR STORY SECTION (shared base, light + dark variants)
   ===================================================================== */
.our-story {
  position: relative;
  background-color: var(--color-white);
  padding: 31px 24px;
  overflow: hidden;
}

.our-story__container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.our-story__title {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 31px;
  line-height: 48px;
  color: #111111;
  margin-bottom: 18px;
  max-width: 748px;
}

.our-story__text {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 28px;
  color: #4D4D4D;
  max-width: 700px;
}

.our-story__image-wrapper {
  display: flex;
  justify-content: flex-end;
}

.our-story__image {
  width: 100%;
  max-width: 420px;
  height: auto;
}

.our-story--dark {
  position: relative;
  padding: 110px 24px;
  background: url('../assets/making-bg.webp') left bottom / cover no-repeat;
  overflow: hidden;
}

.our-story__container--dark {
  grid-template-columns: 1fr 1fr;
  align-items: flex-start;
  justify-items: stretch;
  text-align: left;
}

.hassle-free__image-wrapper {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  width: 100%;
}

.hassle-free__image {
  width: 100%;
  max-width: clamp(220px, 75vw, 420px);
  height: auto;
}


/* =====================================================================
   6. OUR VISION SECTION
   ===================================================================== */
.our-vision {
  background-color: var(--color-white);
  padding: 20px 24px 100px;
}

.our-vision__container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.our-vision__image-wrapper {
  display: flex;
  justify-content: flex-start;
}

.our-vision__image {
  width: 100%;
  max-width: 420px;
  height: auto;
}

.our-vision__title {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 34px;
  line-height: 48px;
  color: var(--color-text-dark);
  margin-bottom: 18px;
}

.our-vision__text {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.85;
  color: var(--color-text-body);
  max-width: 480px;
}




/* =====================================================================
   7. "BEGIN YOUR SACRED JOURNEY TODAY" CTA BAND
   ===================================================================== */
.cta-band {
  position: relative;
  background: var(--color-cream) url('../../assets/images/cta.webp') center center / cover no-repeat;
  padding: 90px 24px;
  text-align: center;
  overflow: hidden;
}

.cta-band__container {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0 auto;
}

/* FIX: the old rule had a hard-coded `width: 779px`, which is wider than
   the whole phone screen. That's what was slicing the heading in half
   on mobile. Swapped to max-width so it can never exceed its container,
   on any screen size. */
.cta-band__title {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 48px;
  letter-spacing: 0%;
  color: var(--color-text-dark);
  text-align: center;
  max-width: 100%;
  margin: 0 auto 12px;
  opacity: 1;
}

.cta-band__subtitle {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-text-body);
  margin-bottom: 28px;
}

.cta-band .btn--primary {
  padding: 13px 20px;
  border-radius: 4px;
}

/* --- Mobile-only corner decorations ---
   Two gold mandala motifs (left_design.png / right_design.png) that
   sit in the top-left and bottom-right corners of the CTA band, exactly
   like the Figma mobile frame. Built as ::before/::after pseudo-elements
   on .cta-band itself so no HTML changes are needed — `display: none`
   here keeps them off the desktop/tablet layout entirely, and the
   @media block in section 8 below is the ONLY place that turns them on. */
.cta-band::before,
.cta-band::after {
  content: "";
  display: none;
  position: absolute;
  width: 60px;
  height: 80px;
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 1;
  pointer-events: none;
}

.cta-band::before {
  background-image: url('../assets/left_design.png');
  top: 1px;
  left: 0px;
}

.cta-band::after {
  background-image: url('../assets/right_design.png');
  bottom: 0px;
  right: -27px;
}


/* =====================================================================
   8. RESPONSIVE BREAKPOINTS
   ===================================================================== */
@media (max-width: 1024px) {
  .our-story__container,
  .our-vision__container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .our-story__text,
  .our-vision__text {
    margin: 0 auto;
  }

  .our-story__image,
  .our-vision__image {
    max-width: 380px;
  }

  .our-story__image-wrapper {
    justify-content: center;
  }

  .hassle-free__image-wrapper {
    justify-content: flex-start;
    margin-top: 36px;
    margin-left: 20px;
  }

  .our-vision__image-wrapper {
    justify-content: center;
  }

  .our-vision__content {
    order: -1;
  }

  .our-story--dark {
    background-color: var(--color-brown-dark);
    background-size: 230% auto;
    background-position: 7% bottom;
    padding: 70px 24px 260px;
  }

  .our-story__container--dark {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    row-gap: 32px;
  }

  .our-story--dark .our-story__content {
    text-align: center;
  }

  .our-story--dark .section-eyebrow {
    justify-content: flex-start;
  }

  .our-story--dark .our-story__text {
    margin: 0 auto;
  }
}

/* --- Mobile (<= 640px) --- */
@media (max-width: 640px) {
  .page-hero__title {
    font-size: 30px;
  }

  .page-hero__content {
    height: auto;
    padding: 104px 15px 40px 15px;
  }

  /* .our-story,
  .our-vision {
    padding: 40px 20px;
  } */

  .our-story--dark {
    padding: 60px 20px 220px;
  }

  .our-story__title,
  .our-vision__title {
    font-size: 35px;
  }

  .our-story--dark .our-story__title {
    font-size: 35px;
    text-align: left;
  }

  .our-story--dark .our-story__text {
    font-size: 16px;
    max-width: 390px;
    text-align: left;
  }

  .our-story__image,
  .hassle-free__image,
  .our-vision__image {
    width: 424px;
    height: 445px;
    max-width: 100%;
    object-fit: contain;
  }

  /* CTA band: text-size fix (already existed) + a bit more vertical
     breathing room now that the two corner motifs sit inside the box */
  .cta-band {
    padding: 70px 24px;
  }

  .cta-band__title {
    font-size: 26px;
  }

  /* This is the ONLY place the corner motifs get switched on */
  .cta-band::before,
  .cta-band::after {
    display: block;
  }

  .section-eyebrow {
    text-align: center;
  }

  .our-story__container {
    gap: 0px;
  }

}
