/* ==== AURA BALANCE STYLES - ZERO SCROLL / VIEWPORT FIT ==== */
:root {
  --bg-color: #F2EFE9;
  --text-dark: #3E4A3D;
  --accent-sage: #5B6B59;
  --card-bg: #E9E4DB;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Montserrat', 'Inter', sans-serif;
  --header-height: 68px;
}

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: var(--bg-color) !important;
  color: var(--text-dark);
  font-family: var(--font-body);
  overflow: hidden !important; /* Zero scroll on desktop viewports */
}

h1, h2, h3, .playfair {
  font-family: var(--font-heading);
}

/* Header */
.header-nav {
  height: var(--header-height);
}

/* Main Container */
.main-wrapper {
  margin-top: var(--header-height);
  min-height: calc(100vh - var(--header-height));
  width: 100%;
  position: relative;
  overflow: hidden;
}

/* Tab Page Section */
.section-content {
  display: none;
  width: 100%;
  min-height: calc(100vh - var(--header-height));
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  animation: fadeIn 0.3s ease-in-out;
}

.section-content.active {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.page-inner-content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.5rem 2.5rem 0 2.5rem;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  overflow: hidden;
}

/* Navigation Links */
.nav-link {
  cursor: pointer;
  transition: all 0.25s ease;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}

.nav-link.active,
.nav-link:hover {
  border-bottom: 2px solid #3E4A3D;
  font-weight: 600;
}

/* Buttons */
.btn-dark {
  background-color: #3E4A3D;
  color: #F2EFE9;
  transition: all 0.25s ease;
}

.btn-dark:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

/* Cards */
.card {
  background: #E9E4DB !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border-radius: 6px;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.04);
}

.card-green {
  background: #5B6B59 !important;
  color: #FFFFFF !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border-radius: 6px;
}

.card-green:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.bg-sage {
  background-color: #5B6B59;
  width: 100%;
  flex-shrink: 0;
}

.text-sage {
  color: #5B6B59;
}

.home-icon-btn {
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-icon-btn i {
  color: #5B6B59;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.card-green.home-icon-btn i {
  color: #FFFFFF !important;
}

.home-icon-btn:hover {
  transform: translateY(-3px);
}

/* Responsive fallback for mobile / small screens */
@media (max-height: 760px), (max-width: 1024px) {
  html, body {
    overflow-y: auto !important;
  }
  .main-wrapper {
    min-height: calc(100vh - var(--header-height));
    height: auto;
    overflow: visible;
  }
  .section-content {
    position: relative;
    min-height: calc(100vh - var(--header-height));
    height: auto;
  }
}
