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

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #000;
    color: #fff;
}

header {
    padding: 1rem;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

footer {
    padding: 1rem;
    background-color: transparent;
    color: #fff;
    border: none;
    box-shadow: none;
}

footer p {
    margin: 0;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #007bff;
}

@media (max-width: 768px) {
    footer .container {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

/* Add container padding to match other sections */
footer p {
    padding-left: 2rem;  /* Match container padding */
}

/* Navbar Styles */
.navbar {
    background-color: rgba(0, 0, 0, 0.6) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1030;
    padding-top: 1rem;
    padding-bottom: 1rem;
    border: none;
}

.navbar-brand {
    font-family: 'HerrVonMuellerhoff', Arial, sans-serif;
    color: #fff !important;
    font-size: 3rem;
    line-height: 1;    /* Reduce line height */
    padding-top: 0;    /* Adjust top padding */
    padding-bottom: 0; /* Adjust bottom padding */
    margin-bottom: 0;  /* Remove bottom margin */
}

.navbar-brand:hover {
    color: rgba(255, 255, 255, 0.8) !important;
}

.nav-link {
    color: #fff !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #007bff !important;
}

/* Mobile navbar adjustments */
@media (max-width: 991px) {
    .navbar-collapse {
        padding: 1rem 0;
    }
    
    .nav-link {
        padding: 0.5rem 0 !important;
    }
}

.navbar-toggler {
    border-color: rgba(255,255,255,0.5);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Section Styles */
section {
    scroll-margin-top: 70px; /* Accounts for sticky navbar when scrolling to anchors */
}

.bg-light {
    background-color: #111 !important;
}

/* Card Styles */
.card {
    transition: transform 0.3s ease;
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.card:hover {
    transform: translateY(-5px);
}

/* Form Styles */
.form-control {
    background-color: #111;
    border-color: #333;
    color: #fff;
}

.form-control:focus {
    background-color: #222;
    border-color: #007bff;
    color: #fff;
}

.form-label {
    color: #fff;
}

/* Button Styles */
.btn-primary {
    background-color: #007bff;
    border: none;
    padding: 0.5rem 2rem;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }
    
    .card {
        margin-bottom: 1.5rem;
    }
}

/* Swiper Styles */
.hero-swiper {
    width: 100%;
    height: 70vh;
    min-height: 400px;
}

.swiper-slide {
    text-align: center;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-slide img {
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
}

/* Swiper navigation buttons */
.swiper-button-next,
.swiper-button-prev {
    color: #fff;
}

/* Swiper pagination */
.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #fff;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}

/* Responsive adjustments for swiper */
@media (max-width: 768px) {
    .hero-swiper {
        height: 50vh;
        min-height: 300px;
    }
}

/* Über uns section styles */
#uber-uns img {
    width: 100%;
    transition: transform 0.3s ease;
}

#uber-uns img:hover {
    transform: scale(1.02);
}

@media (max-width: 991px) {
    #uber-uns .text-justify {
        text-align: center;
    }
}

/* Termine section styles */
#termine .list-group-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
    background-color: #111;
    color: #fff;
}

#termine .list-group-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

#termine h5 {
    color: #fff;
    font-weight: 600;
}

#termine small {
    color: #ccc;
}

#termine p.mb-1 {
    color: #007bff;
    font-weight: 500;
}

#termine .btn-primary {
    font-size: 0.9rem;
    padding: 0.25rem 1rem;
    background-color: #007bff;
    border: none;
    transition: all 0.3s ease;
}

#termine .btn-primary:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

/* Add Font Awesome icons */
@media (max-width: 768px) {
    #termine .d-flex {
        flex-direction: row; /* Keep row direction for mobile */
    }
    
    #termine .text-end {
        min-width: 100px; /* Ensure space for the button */
    }
}

/* Individual bio styles */
.bio-content {
    padding: 2rem;
    background-color: #111;
    color: #fff;
    border-radius: 8px;
    height: 100%;
    transition: transform 0.3s ease;
}

.bio-content:hover {
    transform: translateY(-5px);
}

.bio-content h3 {
    color: #fff;
    font-weight: 600;
    position: relative;
    padding-bottom: 1rem;
}

.bio-content h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #007bff;
}

.bio-content p {
    color: #ccc;
    margin-bottom: 1rem;
}

.bio-content p:last-child {
    margin-bottom: 0;
}

/* Text colors */
h2 {
    color: #fff;
}

.lead {
    color: #ccc;
}

/* Über uns section styles */
.uber-uns-image {
    top: 80px; /* Adjust this value to match your navbar height */
    max-height: calc(100vh - 80px); /* Subtract navbar height from viewport height */
    object-fit: contain;
    z-index: 1; /* Ensure image stays below navbar */
}

@media (max-width: 991px) {
    .uber-uns-image {
        margin-bottom: 2rem;
        position: relative !important;
        top: 0;
    }
}

/* Custom Font */
@font-face {
    font-family: 'HerrVonMuellerhoff';
    src: url('/assets/fonts/HerrVonMuellerhoff-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Also ensure the navbar doesn't show border on collapse */
.navbar-collapse {
    border: none;
}

/* Modal Styles */
.modal-content {
    background-color: #111;
    color: #fff;
}

.modal-header {
    border-bottom: 1px solid #333;
}

.modal-header .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.modal-title {
    color: #fff;
}

.modal h6 {
    color: #007bff;
    margin-top: 1.5rem;
}

.modal h6:first-child {
    margin-top: 0;
}

.modal p {
    color: #ccc;
}

/* Termine image styles */
.termine-image {
    width: 100%;
    height: 100%; /* Fill the container height */
    object-fit: cover;
    border-radius: 8px;
    position: relative; /* Change from sticky to relative */
}

/* Remove the container styles we don't need anymore */
.termine-image-container {
    height: 100%;
    position: relative;
}

/* Update media query */
@media (max-width: 991px) {
    .termine-image {
        margin-bottom: 2rem;
        height: auto; /* Let it scale naturally on mobile */
    }
}

/* Add this to ensure the image column matches the list height */
#termine .row {
    align-items: stretch;
}

#termine .col-lg-4 {
    display: flex;
    flex-direction: column;
}

/* Termine expand/collapse button styles */
.btn-outline-light {
    border-color: #fff;
    color: #fff;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
}

.termine-list .collapse {
    transition: all 0.3s ease;
}

/* Programme styles */
.program-item {
    margin-bottom: 1rem;
}

.program-header {
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #111 !important;
    border: none;
    border-radius: 8px;
    color: #fff;
    position: relative;
    padding-bottom: 2.5rem !important;  /* Make room for the arrow */
}

.program-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.program-details {
    background-color: #111;
    padding: 2rem;
    margin-top: -1px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.program-header h5 {
    color: #fff;
    font-weight: 600;
}

.program-header small {
    color: #ccc;
}

.program-header p.mb-1 {
    color: #007bff;
    font-weight: 500;
}

.expand-icon {
    transition: transform 0.3s ease;
    color: #fff;
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.2rem;
    opacity: 0.8;
}

.expand-icon:hover {
    opacity: 1;
}

.program-header:hover .expand-icon {
    color: #007bff;
}

/* Add this to handle the rotation when expanded */
.program-header[aria-expanded="true"] .expand-icon {
    transform: translateX(-50%) rotate(180deg);
}

.program-header[aria-expanded="true"]:hover .expand-icon {
    color: #007bff;
}

.program-details img {
    margin-bottom: 1rem;
    border-radius: 8px;
}

.program-details p {
    color: #ccc;
}

@media (max-width: 768px) {
    .program-details {
        padding: 1rem;
    }
}

/* Social Media Links */
.btn-outline-light {
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    transform: translateY(-2px);
}

/* Media section specific styles */
#media .btn-outline-light {
    min-width: 120px;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    #media .btn-outline-light {
        width: 100%;
        margin: 0.5rem 0;
    }
}

/* Album Card Styles */
.album-card {
    background-color: #111;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
    height: 100%;
}

.album-card:hover {
    transform: translateY(-5px);
}

.album-content {
    padding: 1.5rem;
}

.album-title {
    color: #fff;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.album-date {
    color: #007bff;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.album-description {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .album-content {
        padding: 1rem;
    }
    
    .album-card img {
        border-radius: 8px 8px 0 0;
    }
}