/**
 * Syquens MainWeb Custom Styles
 * Bootstrap Documentation Style
 */

/* Bootstrap docs native font stack */
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
}

/* Dark navbar zoals Bootstrap docs */
.navbar {
  background-color: #212529 !important;
  padding: 0.1rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar .container-fluid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.navbar .region-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff !important;
  margin-right: auto;
  padding-top: 0;
  padding-bottom: 0;
  text-decoration: none;
}

.navbar-brand:hover {
  color: rgba(255, 255, 255, 0.9) !important;
}

.site-branding {
  margin-right: auto;
  order: -1;
}

.site-branding .site-info {
  display: none;
}

.navbar-nav {
  display: flex;
  flex-direction: row;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
  margin-left: auto;
}

.navbar-nav .nav-link {
  padding: 0.5rem 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75) !important;
  transition: color 0.15s ease-in-out;
  text-decoration: none;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: rgba(255, 255, 255, 0.9) !important;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link.is-active {
  color: #fff !important;
  font-weight: 600;
}

/* Account menu rechts uitlijnen */
.menu--account {
  margin-left: auto;
  order: 3;
}

.menu--account .navbar-nav {
  margin-left: 0;
}

/* Main navigation centraal */
.menu--main {
  order: 2;
  flex-grow: 1;
  display: flex;
  justify-content: center;
}

/* Navbar toggler voor mobile */
.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.1);
  background-color: transparent;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Headings zoals Bootstrap docs */
h1 {
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1.2;
  color: #212529;
  margin-bottom: 0.5rem;
}

h2 {
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.2;
  color: #212529;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

h3 {
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.2;
  color: #212529;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

h4 {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.2;
  color: #212529;
}

h5 {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.2;
  color: #212529;
}

h6 {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
  color: #212529;
}

/* Links styling - Bootstrap primary blue */
a {
  color: #0d6efd;
  text-decoration: none;
  transition: color 0.15s ease-in-out;
}

a:hover {
  color: #0a58ca;
  text-decoration: underline;
}

/* Buttons zoals Bootstrap docs */
.btn {
  display: inline-block;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  border-radius: 0.25rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn-primary {
  color: #fff;
  background-color: #0d6efd;
  border-color: #0d6efd;
}

.btn-primary:hover {
  background-color: #0b5ed7;
  border-color: #0a58ca;
}

/* Content area met container */
.main-content,
main .container {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

/* Code blocks zoals Bootstrap docs */
code {
  font-size: 87.5%;
  color: #d63384;
  word-wrap: break-word;
  font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

pre {
  display: block;
  font-size: 87.5%;
  color: #212529;
  background-color: #f8f9fa;
  padding: 1rem;
  border-radius: 0.375rem;
  overflow-x: auto;
}

pre code {
  color: inherit;
  font-size: inherit;
  word-break: normal;
}

/* Alerts zoals Bootstrap docs */
.alert {
  position: relative;
  padding: 1rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 0.375rem;
}

.alert-info {
  color: #055160;
  background-color: #cff4fc;
  border-color: #b6effb;
}

/* Tables zoals Bootstrap docs */
.table {
  width: 100%;
  margin-bottom: 1rem;
  color: #212529;
  border-collapse: collapse;
  vertical-align: top;
}

.table thead th {
  border-bottom: 2px solid #dee2e6;
  padding: 0.75rem;
  vertical-align: bottom;
}

.table tbody td {
  border-top: 1px solid #dee2e6;
  padding: 0.75rem;
}

/* Footer styling */
.footer {
  padding: 2rem 0;
  margin-top: 3rem;
  background-color: #f8f9fa;
  border-top: 1px solid #dee2e6;
  color: #6c757d;
  font-size: 0.875rem;
}

/* Logo styling - optimized size for dark navbar */
.navbar-brand img,
.site-logo img {
  max-height: 75px;
  width: auto;
  height: auto;
  display: block;
}

/* Logo in dark navbar needs brightness boost */
.navbar .navbar-brand img {
  filter: brightness(1.3) saturate(1.1);
  max-height: 75px;
}

/* Responsive logo */
@media (max-width: 768px) {
  .navbar-brand img,
  .site-logo img {
    max-height: 50px;
  }

  .navbar .region-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .navbar-nav {
    flex-direction: column;
    width: 100%;
  }

  .menu--account,
  .menu--main {
    order: initial;
    margin-left: 0;
  }
}

/* Banner styling voor hero section */
.hero-banner {
  background-image: url(../images/banner.jpg);
  background-size: cover;
  background-position: center;
  padding: 4rem 0;
  margin-bottom: 2rem;
}

.hero-banner h1 {
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Breadcrumbs zoals Bootstrap docs */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  list-style: none;
  background-color: #e9ecef;
  border-radius: 0.375rem;
}

/* Cards zoals Bootstrap docs */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.375rem;
}

.card-body {
  flex: 1 1 auto;
  padding: 1rem 1rem;
}

/* Form elements zoals Bootstrap docs */
.form-control {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  appearance: none;
  border-radius: 0.375rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
  color: #212529;
  background-color: #fff;
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Badge zoals Bootstrap docs */
.badge {
  display: inline-block;
  padding: 0.35em 0.65em;
  font-size: 0.75em;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.375rem;
}

.badge.bg-primary {
  background-color: #0d6efd;
}

/* List groups zoals Bootstrap docs */
.list-group {
  display: flex;
  flex-direction: column;
  padding-left: 0;
  margin-bottom: 0;
  border-radius: 0.375rem;
}

.list-group-item {
  position: relative;
  display: block;
  padding: 0.5rem 1rem;
  color: #212529;
  text-decoration: none;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.125);
}

.list-group-item:first-child {
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
}

.list-group-item:last-child {
  border-bottom-right-radius: inherit;
  border-bottom-left-radius: inherit;
}

/* Utility classes */
.text-muted {
  color: #6c757d !important;
}

.text-center {
  text-align: center !important;
}

.mt-4 {
  margin-top: 1.5rem !important;
}

.mb-4 {
  margin-bottom: 1.5rem !important;
}

.py-4 {
  padding-top: 1.5rem !important;
  padding-bottom: 1.5rem !important;
}
