/* San Francisco Pro Font Family */
@font-face {
    font-family: "SF Pro Display";
    src: url("/fonts/SF-Pro-Display-Regular.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "SF Pro Display";
    src: url("/fonts/SF-Pro-Display-Medium.otf") format("opentype");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "SF Pro Display";
    src: url("/fonts/SF-Pro-Display-Semibold.otf") format("opentype");
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: "SF Pro Display";
    src: url("/fonts/SF-Pro-Display-Bold.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "SF Pro Text";
    src: url("/fonts/SF-Pro-Text-Regular.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "SF Pro Text";
    src: url("/fonts/SF-Pro-Text-Medium.otf") format("opentype");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "SF Pro Text";
    src: url("/fonts/SF-Pro-Text-Semibold.otf") format("opentype");
    font-weight: 600;
    font-style: normal;
}

/* Apply SF Pro Display to headings */
h1, h2, h3, h4, h5, h6 {
    font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: 600;
}

/* Apply SF Pro Text to body text */
body {
    font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: 400;
}

/* Apply medium weight to specific elements */
.nav-link, .btn, .font-medium {
    font-weight: 500;
}

/* Apply semibold weight to specific elements */
.font-semibold, .font-bold {
    font-weight: 600;
}

/* Apply bold weight to specific elements */
.font-bold {
    font-weight: 700;
}

/* Ensure proper font rendering */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom theme colors */
:root {
  --primary-hue: 210deg;
  --primary-saturation: 100%;
  --primary-lightness: 50%;
}

/* Dark mode adjustments */
html[class~="dark"] {
  --primary-lightness: 60%;
}

/* Typography improvements */
.content {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Card enhancements */
.hextra-card {
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.hextra-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Feature cards */
.hextra-feature-card {
  border-radius: 8px;
  transition: all 0.2s ease-in-out;
}

.hextra-feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Navigation improvements */
.nav-container {
  backdrop-filter: blur(10px);
}

/* Footer customization */
.hextra-footer {
  background-color: #f8f9fa;
  border-top: 1px solid #e9ecef;
}

html[class~="dark"] .hextra-footer {
  background-color: #1a1a1a;
  border-top: 1px solid #2d2d2d;
}

/* Button styles */
.hextra-button {
  transition: all 0.2s ease-in-out;
}

.hextra-button:hover {
  transform: translateY(-1px);
}

/* Code block improvements */
.hextra-code-block {
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Search customization */
.search-input {
  border-radius: 8px;
  transition: all 0.2s ease-in-out;
}

.search-input:focus {
  box-shadow: 0 0 0 2px rgba(var(--primary-hue), var(--primary-saturation), var(--primary-lightness), 0.2);
}

/* Table of contents */
.hextra-toc {
  border-left: 2px solid #e9ecef;
}

html[class~="dark"] .hextra-toc {
  border-left: 2px solid #2d2d2d;
}

/* Responsive improvements */
@media (max-width: 768px) {
  .hextra-feature-card {
    margin-bottom: 1rem;
  }
}

/* Custom scrollbar */
.hextra-scrollbar::-webkit-scrollbar {
  width: 6px;
}

.hextra-scrollbar::-webkit-scrollbar-track {
  background: transparent;
}

.hextra-scrollbar::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 3px;
}

.hextra-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #666;
}

/* Logo styling */
.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    color: #0066cc;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

html[class~="dark"] .logo-icon {
    color: #60a5fa;
}

.logo-text {
    font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
    line-height: 1.5;
    margin: 0;
}

.logo-text .company-name {
    color: #0066cc;
}

html[class~="dark"] .logo-text .company-name {
    color: #60a5fa;
}

.logo-text .product-name {
    font-weight: 500;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .logo-text {
        font-size: 1rem;
    }
    .logo-icon {
        width: 20px;
        height: 20px;
    }
} 