/* ============================================================
   BHOOMIVISTA — THEME: TERRA v7.1
   ------------------------------------------------------------
   Palette: Neutral Earth / Warm Beige
   Purpose:
     Serves as the “base” palette — calm, timeless, and natural.
     Used for main pages, balanced layouts, and neutral containers.
     Works as the fallback if no Spark/Light/Echo theme is applied.

   Works with:
     – core.css, motion.css, utilities.css, components.css
     – Elementor + Gutenberg (FSE)
     – iOS / Android / Desktop friendly

   Structure:
     [1] Theme Tokens
     [2] Hero & Cover
     [3] Headings & Text
     [4] Buttons
     [5] Images & Media
     [6] Columns & Interactive
     [7] Contextual Sections
     [8] Accessibility & Motion Safety
   ============================================================ */


/* ============================================================
   [1] THEME TOKENS
   ============================================================ */
.terra-theme {
  --theme-base:   #DBC8B7; /* beige-tan */
  --theme-light:  #EFE5DA; /* soft cream */
  --theme-glow:   rgba(220,200,180,0.25);
  --theme-bg-tint:#F7F1EA;
  --theme-gradient: linear-gradient(135deg, #DBC8B7, #EFE5DA);
  color: var(--color-text-main);
  background: var(--theme-bg-tint);
}


/* ============================================================
   [2] HERO & COVER
   ============================================================ */
.terra-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 65vh;
  text-align: center;
  color: var(--color-text-main);
  background: linear-gradient(180deg, rgba(240,232,220,0.85), rgba(220,200,180,0.65)),
              url('../images/terra-hero-bg.jpg') center/cover no-repeat;
  overflow: hidden;
}

.terra-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 25%, rgba(255,255,255,0.25), transparent 70%);
  mix-blend-mode: soft-light;
}

.terra-hero h1, .terra-hero h2 {
  font-family: var(--font-heading);
  background: var(--theme-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientFlowSoft 14s ease infinite;
}

.terra-hero .terra-subtext {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: rgba(43,43,43,0.8);
  margin-top: 0.8rem;
}


/* ============================================================
   [3] HEADINGS & TEXT
   ============================================================ */
.terra-heading-gradient {
  background: var(--theme-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 14s ease infinite;
}

.terra-paragraph {
  color: var(--color-text-main);
  border-left: 3px solid var(--theme-base);
  padding-left: 1rem;
  margin-block: 1rem 1.5rem;
}

.terra-tagline {
  color: var(--theme-base);
  letter-spacing: 1px;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
}


/* ============================================================
   [4] BUTTONS
   ============================================================ */
.terra-btn {
  background: var(--theme-base);
  color: #2B2B2B;
  border-radius: var(--radius-md);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  transition: background var(--motion-fast), transform var(--motion-fast);
}
@media (hover: hover) {
  .terra-btn:hover {
    background: var(--theme-light);
    transform: translateY(-2px);
  }
}

.terra-btn-outline {
  border: 2px solid var(--theme-base);
  background: transparent;
  color: var(--color-text-main);
}
@media (hover: hover) {
  .terra-btn-outline:hover {
    background: var(--theme-base);
    color: #2B2B2B;
  }
}

.terra-btn-minimal {
  color: var(--theme-base);
  background: none;
  border: none;
  padding: 0;
  position: relative;
  font-weight: 600;
}
.terra-btn-minimal::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--theme-light);
  transition: width .3s ease;
}
@media (hover: hover) {
  .terra-btn-minimal:hover::after { width: 100%; }
}


/* ============================================================
   [5] IMAGES & MEDIA
   ============================================================ */
.terra-img {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.terra-img img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.8s ease;
}
@media (hover: hover) {
  .terra-img:hover img {
    transform: scale(1.04);
  }
}
.terra-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(220,200,180,0.25), rgba(240,232,220,0.1));
  mix-blend-mode: soft-light;
  transition: opacity .4s ease;
}
@media (hover: hover) {
  .terra-img:hover::after { opacity: 0.6; }
}


/* ============================================================
   [6] COLUMNS & INTERACTIVE
   ============================================================ */
.terra-column {
  position: relative;
  padding: 2rem;
  border-radius: var(--radius-md);
  background: rgba(220,200,180,0.05);
  transition: box-shadow .3s ease, transform .3s ease;
}
@media (hover: hover) {
  .terra-column:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(220,200,180,0.25);
  }
}

.terra-column::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--theme-base), var(--theme-light));
}


/* ============================================================
   [7] CONTEXTUAL SECTIONS
   ============================================================ */
.terra-section {
  background: var(--theme-bg-tint);
  border-top: 2px solid var(--theme-base);
  padding-block: clamp(60px, 10vw, 100px);
}

.terra-section-dark {
  background: #2B2B2B;
  color: #fff;
}
.terra-section-dark h2 {
  background: linear-gradient(90deg, var(--theme-base), #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


/* ============================================================
   [8] ACCESSIBILITY & MOTION SAFETY
   ============================================================ */
.terra-btn:focus-visible,
.terra-btn-outline:focus-visible,
.terra-btn-minimal:focus-visible {
  outline: var(--a11y-focus-outline);
  outline-offset: var(--a11y-focus-offset);
}

@media (prefers-reduced-motion: reduce) {
  .terra-hero, .terra-img img, .terra-column {
    animation: none !important;
    transition: none !important;
  }
}

/* ============================================================
   END OF FILE — terra.css v7.1
   Next: freedom.css → teal/green variant (calm & nature tone)
   ============================================================ */
