/* Events Hero */
.events-hero {
    position: relative;
    height: 60vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.events-hero .hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.events-hero .hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.events-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
    z-index: 2;
}

.events-hero .hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
}

/* Event Filter */
.events-filter {
    display: flex;
    justify-content: center;
    gap: 0.1rem;
    margin-bottom: 2rem;
}


.event-image {
    width: 100%;
    height: 300px; /* Setze hier die gewünschte Höhe ein */
    overflow: hidden;
    position: relative;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
	transition: transform 0.3s ease;
}

.event-card:hover .event-image img {
    transform: scale(1.1);
}

.filter-btn {
    padding: 0.5rem 1rem;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
}

/* Event Booking */
.event-booking {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
}

.event-booking:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 0, 255, 0.3);
}

/* Booking Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
}

.modal-content {
    background-color: #1a1a1a;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    position: relative;
    border-radius: 10px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    animation: modalFadeIn 0.3s;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover,
.close:focus {
    color: var(--primary-color);
    text-decoration: none;
}

@keyframes modalFadeIn {
    from {top: -300px; opacity: 0}
    to {top: 0; opacity: 1}
}

#booking-form {
    display: grid;
    gap: 1rem;
}

#booking-form label {
    font-weight: bold;
}

#booking-form input,
#booking-form button {
    padding: 0.5rem;
    border: none;
    border-radius: 5px;
}

#booking-form button {
    background-color: var(--primary-color);
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

#booking-form button:hover {
    background-color: var(--secondary-color);
}

/* Booking Confirmation Page */
.booking-confirmation,
.booking-confirmation-page {
    padding: 6rem 2rem;
    background: linear-gradient(to bottom, #000, #1a0020);
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.booking-confirmation .container,
.booking-confirmation-page .container {
    max-width: 800px;
    margin: 0 auto;
}

.booking-confirmation h1,
.booking-confirmation-page h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.booking-confirmation p,
.booking-confirmation-page p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.booking-confirmation h2 {
    font-size: 2rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.booking-confirmation ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.booking-confirmation li {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.booking-confirmation .button,
.booking-confirmation-page .button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
}

.booking-confirmation .button:hover,
.booking-confirmation-page .button:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 0, 255, 0.3);
}

.confirmation-success,
.confirmation-error {
    padding: 2rem;
    border-radius: 10px;
}

.confirmation-success {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid #4CAF50;
}

.confirmation-error {
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid #f44336;
}

.confirmation-details,
.error-actions {
    margin-top: 2rem;
}