/* --- Fonts --- */
@font-face {
    font-family: "Cochocib Script Latin Pro";
    src: url("Cochocib Script Latin Pro.ttf") format("truetype");
}

@font-face {
    font-family: "Alice-Regular";
    src: url("Alice-Regular.ttf") format("truetype");
}

/* --- Base Styles --- */
body {
    font-family: Alice-Regular, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh; /* Sorgt dafür, dass der Body mindestens die Höhe des Viewports hat */
    display: flex; /* Aktiviert Flexbox */
    flex-direction: column; /* <-- NEU: Ordnet die Hauptelemente vertikal an */

    /* Hintergrundbild */
    background-image: url('./pics/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

a.link1 {
    text-decoration: none;
    display: block;
    
}

a:active {
  color: white; /* Die Farbe, die der Link annimmt, wenn er gedrückt wird */
}

a:visited {
  color: white; /* Die Farbe, die der Link annimmt, nachdem er besucht wurde */
}

a:hover {
  color: gray; /* Die Farbe, die der Link annimmt, nachdem er besucht wurde */
}

h1.header1 {
    font-family: "Cochocib Script Latin Pro", serif;
    font-size: 36px;
    color: white;
    text-align: center;
    margin: 0;
    padding: 0;
}

h2.header2,
h2.header3 {
    font-family: "Alice-Regular";
    font-size: 16px;
    color: white;
    text-align: center;
    margin: 0;
    padding: 0;
}

h2:hover {
    color: gray;
}

h2.header2 {
    cursor: pointer;
    background-color: transparent;
    border: none;
    padding: 0;
}

button.header2 {
  /* Entfernt alle Standard-Button-Styles */
  background: none;
  border: none;
  padding: 0;
  margin: 0;

  /* Passt den Cursor an, um ihn klickbar zu machen */
  cursor: pointer;

  /* Verhindert, dass der Button beim Klick den Fokusrahmen anzeigt */
  outline: none;

  /* Stil-Anpassungen, um den Button wie den ursprünglichen Text aussehen zu lassen */
  font-family: 'Alice-Regular', sans-serif; /* Entspricht dem h2-Font */
  font-size: 16px;                     /* Entspricht dem h2-Font-Size */
  color: white;                        /* Entspricht der h2-Farbe */
  text-align: center;
}

/* --- Neuer Wrapper für die Top-Menüs --- */
.top-menus-wrapper {
    display: flex; /* <-- NEU: Flexbox, um Menüs nebeneinander zu legen */
    width: 100%;
    align-items: flex-start;
    flex-wrap: wrap;
}

/* --- Main Menu Container Styles (Top Row) --- */
.menue1,
.menue2,
.menue3 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    background-color: black;
    box-sizing: border-box;
    position: relative;
    height: 100px;
    border: 0px solid #ccc;
}

.menue1 {
    flex: 2;
}

.menue2 {
    flex: 1;
    z-index: 2;
}

.menue3 {
    flex: 1;
}

/* --- Dropdown Menu Styles (.menue2's ul.dropdown) --- */
.dropdown {
    list-style: none;
    padding: 0;
    margin: 0;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid #ddd;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    min-width: 160px;
    z-index: 1000;
    display: none;
}

.menue2:hover .dropdown {
    display: block;
}

.dropdown li {
    border-bottom: 1px solid #ddd;
}

.dropdown li:last-child {
    border-bottom: none;
}

.dropdown li a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
    white-space: nowrap;
}

.dropdown li a:hover {
    background-color: rgba(241, 241, 241, 0.9);
    color: gray;
}

/* --- Main Content Area mit Hintergrundbild & Overlay --- */
.main-content-area {
    width: 100%;
    flex-grow: 1; /* Nimmt den gesamten vertikalen Platz ein */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.text-overlay-box {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 30px;
    border-radius: 0;
    text-align: center;
    max-width: 540px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    color: white;
}

.text-overlay-box h1 {
    font-family: "Cochocib Script Latin Pro", serif;
    font-size: 3.5em;
    color: white;
    margin-bottom: 15px;
}

.text-overlay-box p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 20px;
}

.cta-button {
    display: inline-block;
    background-color: black;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 0;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #1e1e1e;
}


/* Der Container der Galerie */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 600px;
    margin: 20px auto;
}

/* Stil für jedes einzelne Bildelement */
.gallery-item {
    background-color: #fff;
    border: 1px solid black;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    z-index: 3;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

.gallery-caption {
    padding: 15px;
    margin: 0;
    font-size: 14px;
    color: #555;
    background-color: #f9f9f9;
}

.video {
    h-align: center;
}


/* --- Footer Styles --- */
.footer1 {
    width: 100%;
    text-align: center;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.8);
    color: #333;
    margin-top: auto; /* Schiebt den Footer ganz nach unten */
}

