/* Base Styles - Dark Theme */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  background-color: #000;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  height: 100%;
  display: flex;
  flex-direction: column;
  margin: 0;
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
}

/* Main content area - expands to fill available space */
main.site-main {
  flex: 1 0 auto;
  width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Disable scroll snapping on mobile/tablet (touch devices) */
@media (max-width: 768px) {
  html, body {
    scroll-snap-type: none !important;
  }
  main {
    scroll-snap-type: none !important;
  }
  [data-snap="section"] {
    scroll-snap-align: none !important;
    scroll-snap-stop: normal !important;
  }
}

/* Only add padding-top for pages that are not home */
body:not(.home-page) {
  padding-top: 72px;
}

@media (max-width: 768px) {
  body:not(.home-page) {
    padding-top: 64px;
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  flex: 1;
}

a {
  color: #fff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

@media (max-width: 1024px) {
  html, body, main {
    scroll-snap-type: none !important;
  }
  section, [data-snap="section"] {
    scroll-snap-align: none !important;
    scroll-snap-stop: normal !important;
  }
}

/* Global Breadcrumbs */
.breadcrumb-bar {
  width: 100%;
  background: rgba(13, 9, 7, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 240, 0.06);
  position: relative;
  z-index: 1;
  margin-top: 0; /* Ensure no gap after navbar */
}

.breadcrumb-bar__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 14px 24px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 240, 0.65);
}

.breadcrumbs a {
  color: rgba(255, 255, 240, 0.8);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumbs a:hover {
  color: #FCC300;
}

.breadcrumbs__current {
  color: rgba(255, 255, 240, 0.9);
}

.breadcrumbs__sep {
  opacity: 0.35;
  user-select: none;
}

@media (max-width: 768px) {
  .breadcrumb-bar__inner {
    padding: 12px 16px;
  }
  
  .breadcrumbs {
    font-size: 11px;
    gap: 8px;
  }
}