/*-- scss:defaults --*/

$font-size-base: 1rem;
$line-height-base: 1.5;
$spacer: 1rem;
$paragraph-margin-bottom: 1rem;
$headings-margin-bottom: 0.5rem;
$navbar-padding-y: 0.5rem;
$navbar-padding-x: 1rem;
$nav-link-padding-y: 0.5rem;
$nav-link-padding-x: 0.5rem;
$border-radius: 0.375rem;
$container-padding-x: 0.75rem;
$font-family-base: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

$galaxy-blue: #041746;
$burning-orange: #CC7A00;
$white: #FFFFFF;
$gray-1: #C4C4C4;
$gray-2: #7D7D7D;
$sky-blue: #0052cc;
$forest-green: #00CC14;
$background-light: #FFFFFF;
$surface-light: #f8f9fa;

// Theme variables
$primary: #041746ef;
$secondary: $burning-orange !default;
$success: $burning-orange !default;
$light: $gray-1;
$dark: $gray-2;
$important: $burning-orange;

// Body
$body-bg: $background-light;
$body-color: $galaxy-blue;

// Links
$link-color: $sky-blue;

// Code
$code-bg: $surface-light;
$code-color: $galaxy-blue;

// Navbar
$navbar-bg: $galaxy-blue;
$navbar-fg: $white;

// Cards and surfaces
$card-bg: $white;
$card-border-color: rgba(0, 0, 0, 0.1);

/*-- scss:rules --*/

// Force consistent navbar height
#quarto-header {
    height: 56px !important;
    min-height: 56px !important;
    max-height: 56px !important;
}

.navbar {
    height: 56px !important;
    min-height: 56px !important;
    max-height: 56px !important;
    padding: 0.5rem 1rem !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
}

.navbar > .container-fluid {
    height: 100% !important;
    padding: 0 !important;
}

.navbar-brand {
    height: 40px !important;
    padding: 0.3125rem 0 !important;
    margin-right: 1rem !important;
    font-size: 1.25rem !important;
    line-height: 1.5 !important;
}

.navbar-brand img {
    height: 30px !important;
    max-height: 30px !important;
}

.navbar-nav {
    height: 100% !important;
    align-items: center !important;
}

.navbar-nav .nav-item {
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
}

.navbar-nav .nav-link {
    padding: 0.5rem !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
}

.navbar-collapse {
    height: 100% !important;
}

// Force consistent body padding
body.nav-fixed {
    padding-top: 56px !important;
}

// Force consistent content min-height calculation
#quarto-content {
    min-height: calc(100vh - 56px) !important;
}
