/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body mit Hintergrundbild */
body {
  background-image: url("../Bilder/BosporusIstanbul.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  font-family: sans-serif;
  color: #333;
  min-height: 100vh;
  position: relative;
}

/* Overlay für bessere Lesbarkeit */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5); /* dunkles halbtransparentes Overlay */
  pointer-events: none;
  z-index: 0;
}

/* Wrapper für den Inhalt */
.wrapper {
  background: rgba(255, 255, 255, 0.85);
  margin: 60px auto;
  max-width: 1000px;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 1;
}

/* Header */
header {
  background: linear-gradient(90deg, #00b4d8, #90e0ef);
  color: #fff;
  text-align: center;
  padding: 40px 20px;
  border-radius: 12px 12px 0 0;
  position: relative;
  z-index: 2;
}

h1 {
  font-family: 'Pacifico', cursive;
  font-size: 3em;
  margin-bottom: 10px;
}

.tagline {
  font-style: italic;
  font-size: 1.25em;
  opacity: 0.9;
}

/* Navigation */
.navbar {
  background: linear-gradient(90deg, #00b4d8, #90e0ef);
  display: flex;
  justify-content: center; /* Navigation mittig horizontal */
  align-items: center;
  padding: 15px 5%;
  font-family: 'Pacifico', cursive;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar ul {
  display: flex;
  list-style: none;
  gap: 24px; /* Abstand zwischen Links */
}

.navbar ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 12px;
  transition: color 0.3s;
}

.navbar ul li a:hover {
  color: #ffe066;
}

/* Inhalt */
article {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 40px;
}

.content_main {
  flex: 2;
  padding: 20px;
}

.content_sub {
  flex: 1;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  align-self: flex-start;
}

h2, h3 {
  color: #00b4d8;
  margin-bottom: 10px;
}

p {
  margin-bottom: 1.2em;
}

ul {
  list-style: disc;
  margin-left: 20px;
}

/* Bilder */
img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-top: 15px;
}

.portrait {
  border: 2px solid #ccc;
  margin-bottom: 15px;
}

/* Footer */
footer {
  background: #003049;
  color: white;
  text-align: center;
  font-size: 0.85rem;
  padding: 12px 5%;
  font-family: 'Times New Roman', Times, serif;
  border-radius: 0 0 12px 12px;
  margin-top: 40px;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
}

/* Responsive Styles */
@media (max-width: 768px) {
  article {
    flex-direction: column;
  }

  .content_sub {
    margin-top: 20px;
  }

  .navbar ul {
    flex-direction: column;
    gap: 12px;
  }
}

