/* Allgemeines Styling */
body {
    font-family: 'Arial', sans-serif;
    background-color: #111;
    color: #fff;
    margin: 0;
    padding: 0;
}


.logo {
    font-size: 24px;
    font-weight: bold;
    color: red;
}

/* Header Styling */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #111;
    padding: 15px 20px;
    position: relative;
}

/* Hide normal nav menu on small screens */
nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
}

nav ul li {
    list-style: none;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #f1c40f;
}

/* Burger Menu Button */
.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.burger-menu .bar {
    width: 30px;
    height: 4px;
    background: white;
    margin: 5px 0;
    border-radius: 5px;
    transition: 0.4s;
}

/* Mobile Menu */
@media (max-width: 768px) {
    .burger-menu {
        display: relative;
    }

    /* Fix the menu positioning */
    nav {
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%; /* Ensures the menu spans the full width */
        background: #111;
        text-align: center;
        transform: translateX(-100%);
        transition: transform 0.4s ease-in-out;
        border-radius: 0 0 10px 10px;
        z-index: 1000; /* Ensure menu appears on top */
    }


    nav.active {
        transform: translateX(0); /* Slide in when active */
    }

    nav ul {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 10px 0;
        z-index: 1100; /* Ensures button is clickable */
    }

    nav ul li {
        padding: 15px 0;
    }

    nav ul li a {
        font-size: 18px;
        display: block;
        width: 100%;
    }

    /* Show menu when active */
    nav.active {
        transform: translateX(0);
    }

    /* Animate burger icon */
    .burger-menu.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .burger-menu.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .burger-menu.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}


/* Home mit Hintergrundbild */
#home {
    background: url('Resource\\IMAGE\\STU04355.jpg') center/cover no-repeat;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

#home .overlay {
    background: rgba(0, 0, 0, 0.6);
    padding: 40px;
    border-radius: 10px;
}

#home h1 {
    font-size: 48px;
    margin: 0;
}

#home p {
    font-size: 20px;
    margin-top: 10px;
}

/* Galerie */
.carousel {
    position: relative;
    max-width: 600px;
    margin: auto;
    overflow: hidden;
    border-radius: 10px;
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel img {
    width: 100%;
    border-radius: 10px;
}

button.prev, button.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 0, 0, 0.8);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 24px;
}

button.prev { left: 10px; }
button.next { right: 10px; }

button:hover {
    background: red;
}

/* Footer */
footer {
    background: red;
    text-align: center;
    padding: 15px;
    position: relative;
    bottom: 0;
    width: 100%;
}

/* Termin-Sektion */
#termine {
    text-align: center;
    padding: 50px;
    background: #1a1a1a;
}

/* Karten-Container */
.event-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* Karten-Stil */
.event-card {
    background: #222;
    color: white;
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    box-shadow: 0px 5px 15px rgba(255, 0, 0, 0.5);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* Hover-Effekt für Karten */
.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 10px 20px rgba(255, 0, 0, 0.7);
}

/* Überschriften in den Karten */
.event-card h3 {
    color: red;
    font-size: 22px;
}

/* Text in den Karten */
.event-card p {
    margin: 10px 0;
}

/* Logo Styling */
.logo img {
    height: 60px; /* Logo-Höhe anpassen */
    width: auto;
}

/* Allgemeines Styling */
body {
    font-family: Arial, sans-serif;
    background-color: #111;
    margin: 0;
    padding: 0;
}

/* Styling für Karten-Sektionen */
.card-section {
    display: flex;
    justify-content: center;
    padding: 50px 20px;
}

.card {
    background: #222;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    text-align: center;
}

/* Links */
.card a {
    color: #c0392b;
    text-decoration: none;
    font-weight: bold;
}

.card a:hover {
    text-decoration: underline;
}

