/* Google Fonts Imports */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;900&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

/* Swiss Poster Series — Styling Design Tokens */
:root {
  --white: #FFFFFF;
  --black: #0A0A0A;
  --blue: #0055FF;
  --blue-dark: #003CC7;
  --blue-light: #E8F0FF;
  --surface: #F5F5F5;
  --gray-200: #A3A3A3;
  --gray-300: #D4D4D4;
  --gray-500: #737373;
  --gray-900: #1A1A1A;

  --sidebar-width: 200px;
  --sidebar-border: 2px;
  --grid-gutter: 24px;
  --content-max-width: 1200px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--white);
  color: var(--gray-900);
  font-family: 'Source Sans 3', sans-serif;
  line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--white);
}
::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gray-500);
}

::selection {
  background-color: var(--blue);
  color: var(--white);
}

/* Swiss Design Geometry Utilities */
.geo-circle {
  border-radius: 50%;
  position: absolute;
  pointer-events: none;
}

.geo-rect {
  position: absolute;
  pointer-events: none;
}

.geo-line {
  position: absolute;
  pointer-events: none;
}

.geo-ring {
  border-radius: 50%;
  background: transparent;
  position: absolute;
  pointer-events: none;
}

/* Text Outlines (Swiss Grotesque Style) */
@supports (-webkit-text-stroke: 1px black) {
  .text-outline {
    -webkit-text-stroke: 2px var(--black);
    color: transparent;
  }
  .text-outline-white {
    -webkit-text-stroke: 2px var(--white);
    color: transparent;
  }
  .text-outline-blue {
    -webkit-text-stroke: 2px var(--blue);
    color: transparent;
  }
}

@supports not (-webkit-text-stroke: 1px black) {
  .text-outline {
    color: var(--gray-300);
    font-weight: 700;
  }
  .text-outline-white {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 700;
  }
  .text-outline-blue {
    color: var(--blue-light);
    font-weight: 700;
  }
}

/* Transition utility classes */
.swiss-transition {
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Scroll reveal initial states */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-line {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-line.visible {
  transform: scaleX(1);
}

.reveal-scale {
  transform: scale(0.9);
  opacity: 0;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.visible {
  transform: scale(1);
  opacity: 1;
}

/* Swiss navigation panel active state styling */
.nav-active-indicator {
  border-left: 3px solid var(--blue);
  padding-left: 8px;
  margin-left: -8px;
  color: var(--black) !important;
}

/* Glassmorphism Navigation */
.glass-header {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
