/* ============================================================
   Frigy.es - Stylesheet
   ============================================================ */

/* Header & Navigation */

header .navbar {
  background-color: #1a6496 !important;
  padding: 0.8rem 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff !important;
  font-size: 1.4rem;
  font-weight: bold;
}

.logo {
  height: 40px;
  width: auto;
}

.navbar-nav .nav-link {
  color: rgba(255,255,255,0.85) !important;
  padding: 0.5rem 1rem;
  margin: 0 0.3rem;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
  background-color: rgba(255,255,255,0.2);
  color: #ffffff !important;
}

/* Sprachumschalter */

.lang-btn {
  font-size: 0.85rem;
  padding: 4px 12px;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.6) !important;
  background: transparent !important;
  color: #ffffff !important;
}

.lang-btn.active, .lang-btn:hover {
  background-color: rgba(255,255,255,0.3) !important;
  color: #ffffff !important;
}

/* Hauptinhalt */

main h2 {
  color: #1a6496;
  font-weight: bold;
}

/* Sidebar & Boxen */

.sidebar-box {
  background-color: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  border: 1px solid #dee2e6;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.sidebar-box h4 {
  color: #1a6496;
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.warning-box {
  border-left: 5px solid #ffc107;
  padding: 1.5rem;
  border-radius: 6px;
  background-color: #fff8e1;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.warning-box h4 {
  color: #856404;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

/* Projektkarten */

.project-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  background: #fff;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

.project-card h5 {
  color: #1a6496;
  font-weight: bold;
}

/* Bildunterschrift */

.image-caption {
  font-style: italic;
  color: #6c757d;
  border-left: 3px solid #1a6496;
  padding-left: 10px;
}

/* Footer */

footer {
  background-color: #222222;
  color: #aaaaaa;
}

footer a {
  color: #cccccc;
  transition: color 0.2s;
}

footer a:hover {
  color: #ffffff !important;
  text-decoration: underline !important;
}

/* Hilfsklassen */

.bi-check2-circle {
  font-size: 1.2rem;
}

