/* --- CUSTOM THEME STYLING CONFIGURATION --- */
:root {
  /* Oasis Nature theme color variables */
  --joint-bg-essence: #f4f8f6;
  --joint-surface-glass: rgba(255, 255, 255, 0.75);
  --joint-accent-vital: #1b7a5a;
  --joint-energy-spark: #e67e22;
  --joint-dark-ink: #1c2826;
  --joint-muted-whisper: #5c6b68;
  --joint-gradient-flow: linear-gradient(135deg, #1b7a5a 0%, #2ecc71 100%);
  
  /* Fonts */
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Poppins', sans-serif;

  /* Custom Border Radiuses & Shadows */
  --radius-soft: 16px;
  --radius-soft-pill: 999px;
  --shadow-raised: 0 10px 30px rgba(27, 122, 90, 0.08);
}

/* Base resets & typography */
html {
  scroll-behavior: smooth;
}

body.joint-body-wrapper {
  font-family: var(--font-body);
  color: var(--joint-dark-ink);
  background: var(--joint-bg-essence);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
}

/* Page Scroll Progress Tracker */
.joint-scroll-tracker {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  z-index: 100;
  width: 100%;
  transform-origin: left;
  animation: progress-grow linear;
  animation-timeline: scroll();
}

@keyframes progress-grow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* Custom Header Navigation & Hamburger Trigger (CSS Only) */
.joint-header-capsule {
  background: rgba(28, 40, 38, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.3s ease;
}

.joint-nav-links ul li a {
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.3s ease;
}

.joint-nav-links ul li a:hover {
  color: var(--joint-energy-spark);
}

/* Mobile Hidden Nav */
@media (max-width: 767px) {
  .joint-nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--joint-dark-ink);
    padding: 1.5rem;
    box-shadow: 0 10px 15px rgba(0,0,0,0.3);
  }
}

#joint-menu-toggle:checked ~ .joint-nav-links {
  display: flex !important;
}

/* Hamburger graphic lines */
.joint-menu-btn .bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #ffffff;
  margin: 4px 0;
  transition: all 0.3s ease;
}

/* Custom Features Bento / Grid styling */
.joint-shield-capsule {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.joint-shield-capsule:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(27, 122, 90, 0.15) !important;
}

/* SVG backgrounds or abstract element decorations */
.joint-motion-wave::before {
  content: "";
  display: block;
  width: 100%;
  height: 10px;
  background-image: radial-gradient(circle, transparent 20%, var(--joint-accent-vital) 21%);
  background-size: 20px 20px;
}

/* Scroll-driven simple animation for containers entering view */
@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Applying scrollreveal timeline animations on key blocks where supported */
@supports (animation-timeline: view()) {
  .joint-shield-capsule, .joint-voice-brick, .joint-query-node {
    animation: slide-up ease-out both;
    animation-timeline: view();
    animation-range: entry 10% cover 30%;
  }
}

/* Accent Buttons & Interactions */
.joint-action-trigger {
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.joint-action-trigger:hover {
  filter: brightness(1.1);
  box-shadow: 0 12px 35px rgba(230, 126, 34, 0.45) !important;
}

.joint-action-trigger-small {
  transition: background 0.3s ease, transform 0.2s ease;
}

.joint-action-trigger-small:hover {
  filter: brightness(1.1);
  transform: scale(1.03);
}

/* Address & Form elements styling */
input::placeholder, textarea::placeholder {
  color: rgba(255, 255, 255, 0.45) !important;
}

input:focus, textarea:focus {
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 15px rgba(46, 204, 113, 0.2);
}