/* BirkAero.net: styles layered on Bootstrap 5.3. Colors carried over from the original site. */
:root {
    --brand: #164c7d;
    --brand-dark: #0d3a5c;
    --brand-title: #003d7a;
    --brand-mid: #3a5f8f;
    --panel: #e4e5e6;
    --text: #333;
    --bs-font-sans-serif: "jaf-facitweb", "Helvetica Neue", Arial, sans-serif;
    --bs-link-color-rgb: 22, 76, 125;
    --bs-link-hover-color-rgb: 9, 65, 153;
}

body {
    background: url(../images/repeatBG.jpg) repeat #ececec;
    color: var(--text);
    padding-bottom: 40px;
}
.site-wrap { background: url(../images/BG.jpg) no-repeat top center; padding-top: 18px; }

a:focus-visible, button:focus-visible { outline: 3px solid #ffd700; outline-offset: 2px; }
.skip-link { position: absolute; top: 8px; left: 8px; z-index: 1000; background: #fff; color: var(--brand); padding: 8px 14px; border-radius: 4px; font-weight: bold; }

/* Header */
.site-header .navbar { padding: 0 0 12px; }
.site-logo { width: 140px; height: auto; }
.main-nav { gap: 5px; }
.main-nav .nav-link { color: #fff !important; background: rgba(0, 0, 0, .4); border-radius: 4px; padding: 8px 10px !important; font-size: 12pt; letter-spacing: -.5px; }
.main-nav .nav-link:hover, .main-nav .nav-link.active { background: rgba(0, 0, 0, .65); }
.site-search .form-control { width: 210px; }
.btn-brand { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-brand:hover, .btn-brand:focus { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
@media (max-width: 991.98px) {
    .main-nav .nav-link { text-align: center; margin-bottom: 4px; }
    .site-search, .site-search .form-control { width: 100%; }
}

/* Home */
.hero { box-shadow: 0 8px 21px 2px rgba(0, 0, 0, .3); background: #fff; border: 3px solid #fff; }
.hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.slide-tag { z-index: 2; position: absolute; left: 0; bottom: 0; background: #d5d5d5; color: var(--brand); font-weight: bold; padding: 5px 12px; border-radius: 0 4px 0 0; text-decoration: none; }
.slide-tag:hover { text-decoration: underline; }
.hero .carousel-control-prev-icon, .hero .carousel-control-next-icon { filter: drop-shadow(0 0 3px rgba(0, 0, 0, .8)); }
.feature-tiles { margin: 25px 0 40px; }
.feature-tile { display: block; text-align: center; text-decoration: none; }
.feature-tile h2 { color: #fff; background: rgba(0, 0, 0, .4); border-radius: 4px; padding: 25px 20px; font-size: 24px; font-weight: bold; margin: 0 0 20px; transition: background .2s; }
.feature-tile:hover h2 { background: rgba(0, 0, 0, .6); }
.feature-tile img { width: 70%; max-width: 260px; }
.intro { font-size: 1.35rem; font-weight: 300; color: #444; line-height: 1.6; }

/* Content box */
.content-box { background: #fff; box-shadow: 0 8px 21px 2px rgba(0, 0, 0, .4); padding: 40px; margin-bottom: 20px; min-height: 500px; }
@media (max-width: 575.98px) { .content-box { padding: 20px 16px; } }
.page-crumb { font-size: 12px; color: var(--text); margin-bottom: 30px; letter-spacing: .5px; }
.page-title { color: var(--brand-title); font-size: 24px; font-weight: bold; text-align: center; letter-spacing: -1px;
    background: url(../images/3ProBG.png) top center no-repeat; padding: 8px 0 14px; margin-bottom: 24px; text-shadow: 0 1px 2px rgba(255, 255, 255, .8); }
.section-heading { color: var(--brand); font-size: 20px; font-weight: bold; }
.bar-heading { background: var(--brand); color: #fff; font-size: 15px; font-weight: bold; padding: 15px; margin: 24px 0 18px; line-height: 1.5; }
.prose { font-size: 16px; line-height: 1.65; }
.prose h2 { color: var(--brand); font-size: 22px; font-weight: bold; }
.prose h3:not(.bar-heading) { color: #094199; font-size: 18px; font-weight: bold; margin-top: 1.5rem; }
.prose h4 { color: var(--brand); font-size: 16px; font-weight: bold; }
.facility { background: #f5f5f5; border-left: 4px solid var(--brand); padding: 14px 18px; }
.doc-links { list-style: none; padding: 0; }
.doc-links li { padding: 10px 0; border-bottom: 1px solid #e5e5e5; }
.doc-links span, .part-card small { color: #777; font-size: .85em; }
.news-links li { margin-bottom: 10px; word-break: break-word; }
.test-types { text-align: center; color: var(--brand); font-weight: bold; }
.columns-2 { columns: 2; }
@media (max-width: 575.98px) { .columns-2 { columns: 1; } }

/* Product cards */
.part-card { display: block; background: #eee; text-decoration: none; color: var(--text); height: 100%; transition: box-shadow .2s, transform .2s; }
.part-card:hover { box-shadow: 0 4px 14px rgba(0, 0, 0, .2); transform: translateY(-2px); }
.part-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: contain; background: #fff; }
.part-card span { display: block; font-weight: bold; font-size: 14px; padding: 10px 12px 2px; color: var(--brand); }
.part-card small { display: block; padding: 0 12px 10px; }

/* Product detail */
.product-photo img { width: 100%; max-width: 652px; }
.product-photo { text-align: center; margin: 10px 0 20px; }
.product-detail p, .spec-list { font-size: 17px; line-height: 1.6; color: #444; }
.spec-list { padding-left: 1.2rem; }

/* Product menu (accordion) */
.product-menu { border: 2px solid #fff; }
.product-menu-title { background: var(--brand); color: #fff; font-size: 14pt; font-weight: bold; text-align: center; text-transform: uppercase; padding: 12px; margin: 0; }
.menu-btn { display: block; width: 100%; border: 0; border-top: 2px solid #fff; text-align: left; font-weight: bold; padding: 11px 14px; position: relative; }
.menu-btn::after { content: "\203A"; position: absolute; right: 14px; transition: transform .2s; }
.menu-btn:not(.collapsed)::after { transform: rotate(90deg); }
.depth-1 > .menu-btn { background: var(--panel); color: var(--brand); font-size: 12pt; }
.depth-1 > .menu-btn:hover { background: var(--brand); color: #fff; }
.depth-2 > .menu-btn { background: var(--brand-mid); color: #fff; font-size: 11pt; padding-left: 22px; }
.depth-2 > .menu-btn:hover { background: var(--brand); }
.depth-3 > .menu-btn { background: #5a7ba6; color: #fff; font-size: 10.5pt; padding-left: 30px; }
.menu-item, .menu-all { display: block; padding: 7px 14px 7px 34px; font-size: 14px; text-decoration: none; text-transform: uppercase; background: #f7f7f7; border-top: 1px solid #fff; color: var(--brand); }
.menu-item:hover, .menu-item.active { background: var(--brand); color: #fff; }
.menu-all { text-transform: none; font-style: italic; font-size: 13px; color: #555; background: #fff; }

/* Footer */
.site-footer { padding: 28px 20px 10px; }
.site-footer p { font-weight: bold; font-size: 14px; }
.footer-nav { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 18px; }
.footer-nav a { color: var(--brand); font-weight: bold; text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
@media (max-width: 767.98px) { .footer-nav { justify-content: flex-start; } }
.footer-logos { margin-top: 24px; text-align: center; }
.footer-logos img { max-width: 100%; max-height: 90px; }
