/* Theme Name: Mediar
Author: Thorben Heinz
Version: 1.0
Description: Custom minimalist and professional WordPress theme.
Text Domain: mediar
*/
body {
  font-family: sans-serif;
  background-color: #f9f9f9;
  color: #333;
  padding: 2rem;
}

main {
  max-width: 800px;
  margin: 0 auto;
  background: rgb(0, 255, 21);
  padding: 2rem;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  }
/* ========== Navigation ========== */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 2rem;
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

.nav-list li {
  position: relative;
}

.nav-list > li > a {
  text-decoration: none;
  font-weight: 600;
  color: #111;
  padding: 0.5rem 0;
  display: inline-block;
  transition: color 0.3s;
}

.nav-list > li > a:hover {
  color: #00aa88;
}

/* ===== Submenu Dropdown ===== */

.nav-list li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  min-width: 180px;
  padding: 0.5rem 0;
  z-index: 1000;
  list-style: none;
}

.nav-list li:hover > ul {
  display: block;
  list-style: none;
}

.nav-list li ul li {
  padding: 0;
}

.nav-list li ul li a {
  display: block;
  padding: 0.5rem 1rem;
  color: #333;
  text-decoration: none;
  font-weight: 500;
}

.nav-list li ul li a:hover {
  background: #f3f3f3;
  color: #00aa88;
}

/* ===== Responsive mobile nav (optional) ===== */
@media (max-width: 768px) {
  .nav-list {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-list li ul {
    position: static;
    box-shadow: none;
  }

  .nav-list li:hover > ul {
    display: none; /* optional – für späteres Burger-Menü */
  }
}
/* ===== Logo ===== */
.site-logo {
  display: flex;
  align-items: center;
  max-height: 60px;
  margin-right: 2rem;
}

.site-logo img {
  max-height: 48px;
  height: auto;
  width: auto;
  display: block;
  padding: 4px 0;
}
@media (max-width: 480px) {
  .site-logo img {
    max-height: 40px;
  }
}
.logo-text {
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
  color: #007766;
}