/* ============================================
   PAGES CSS - Just Track It
   Common styles for interior pages
   ============================================ */

/* ============================================
   PAGE HERO
   ============================================ */
.page-hero {
  padding: 80px 0 50px;
  background: linear-gradient(
    135deg,
    var(--color-black) 0%,
    var(--color-black-blue) 100%
  );
  position: relative;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.86);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.breadcrumbs a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.breadcrumbs a:hover {
  color: var(--color-white);
}

.breadcrumbs .separator {
  color: rgba(255, 255, 255, 0.62);
}

/* ============================================
   PAGE TITLES
   ============================================ */
.page-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--color-white);
  text-transform: uppercase;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.page-subtitle {
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  line-height: 1.6;
  color: var(--color-gray-200);
}

/* ============================================
   MAIN CONTENT AREA
   ============================================ */
.main-content {
  padding: 4rem 0;
}

#main-content:focus {
  outline: none;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  line-height: 1.65;
  color: var(--color-text-muted);
}

/* ============================================
   COMMON CARDS
   ============================================ */
.card {
  background: var(--color-white);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

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

/* ============================================
   CTA SECTIONS
   ============================================ */
.cta-section {
  background: linear-gradient(
    135deg,
    var(--color-black) 0%,
    var(--color-black-blue) 100%
  );
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none; /* Allow clicks to pass through to buttons */
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--color-white);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.cta-text {
  font-size: 1.25rem;
  color: var(--color-gray-200);
  margin-bottom: 2rem;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s ease;
}

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

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 768px) {
  .page-hero {
    padding: 120px 0 60px;
  }

  .main-content {
    padding: 3rem 0;
  }

  .cta-section {
    padding: 3rem 0;
  }
}
