/* 
 * Pirates Park FKK Saunaclub
 * CSS für die Informationen-Seite
 */

.information-section {
    margin: 3rem 0 5rem;
}

.information-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Kategorie-Navigation */
.info-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.info-category-btn {
    background: transparent;
    color: var(--silver);
    border: 1px solid var(--gold);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Cinzel', serif;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-category-btn i {
    font-size: 1.1rem;
}

.info-category-btn:hover, 
.info-category-btn.active {
    background: var(--gold-gradient);
    color: var(--black);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}

/* Kategorie-Inhalte */
.info-category-content {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.info-category-content.active {
    display: block;
}

.info-category-title {
    color: var(--gold);
    font-size: 2.2rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.info-category-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--gold-gradient);
    box-shadow: 0 1px 3px rgba(212, 175, 55, 0.5);
}

.info-category-description {
    text-align: center;
    color: var(--silver);
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Akkordeon für Informationselemente */
.info-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.info-item {
    background-color: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 10px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.info-item:hover {
    border-color: rgba(212, 175, 55, 0.6);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.info-item-header {
    padding: 1.2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-item-header h3 {
    color: var(--gold);
    font-size: 1.3rem;
    margin: 0;
    transition: all 0.3s ease;
}

.info-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    color: var(--gold);
    transition: all 0.3s ease;
}

.info-item.active .info-toggle {
    transform: rotate(45deg);
}

.info-item-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    padding: 0 1.2rem;
}

.info-item.active .info-item-content {
    max-height: 2000px; /* Großer Wert, damit der Inhalt vollständig angezeigt wird */
    padding-bottom: 1.5rem;
}

.info-item-image {
    margin-bottom: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.info-item-image img {
    width: 100%;
    height: auto;
    display: block;
}

.info-item-text {
    color: var(--silver);
    line-height: 1.6;
}

.info-item-text p {
    margin-bottom: 1rem;
}

.info-item-text ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.info-item-text li {
    margin-bottom: 0.5rem;
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Keine Inhalte */
.no-content, .no-items {
    text-align: center;
    color: var(--silver);
    padding: 2rem;
    font-style: italic;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .info-categories {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 1rem;
        justify-content: flex-start;
    }
    
    .info-category-btn {
        flex: 0 0 auto;
        white-space: nowrap;
    }
    
    .info-category-title {
        font-size: 1.8rem;
    }
    
    .info-item-header h3 {
        font-size: 1.1rem;
    }
}

/* Bilder in Grid-Layout für bestimmte Informationskategorien */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.gallery-image:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.gallery-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

/* Besondere Layouts für bestimmte Infotypen */
.info-with-icon {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.info-icon {
    flex: 0 0 60px;
    font-size: 1.8rem;
    color: var(--gold);
    padding-top: 0.3rem;
}

.info-text {
    flex: 1;
}

/* Info-Boxen für Hervorhebungen */
.info-box {
    background-color: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.info-box.warning {
    background-color: rgba(220, 53, 69, 0.1);
    border-color: rgba(220, 53, 69, 0.3);
}

.info-box.notice {
    background-color: rgba(13, 110, 253, 0.1);
    border-color: rgba(13, 110, 253, 0.3);
}

.info-box h4 {
    color: var(--gold);
    margin-top: 0;
    margin-bottom: 1rem;
}

.info-box.warning h4 {
    color: #dc3545;
}

.info-box.notice h4 {
    color: #0d6efd;
}

/**
 * Pirates Park FKK Saunaclub
 * CSS für den FAQ-Bereich
 */

/* FAQ-Bereich */
.faq-section {
    background-color: rgba(0, 0, 0, 0.4);
    padding-top: 4rem;
    padding-bottom: 4rem;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
}

.faq-section .section-title {
    color: var(--gold);
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

.faq-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--gold-gradient);
    box-shadow: 0 1px 3px rgba(212, 175, 55, 0.5);
}

/* Kategorie-Filter */
.category-filter {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.category-filter .btn-group {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.category-filter .btn {
    padding: 0.5rem 1rem;
    border-radius: 30px;
    background: transparent;
    color: var(--silver);
    border: 1px solid var(--gold);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.category-filter .btn:hover,
.category-filter .btn.active {
    background: var(--gold-gradient);
    color: var(--black);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

/* Suchfilter */
.search-filter {
    max-width: 600px;
    margin: 0 auto 2rem;
}

.search-filter .input-group {
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 30px;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.6);
}

.search-filter .input-group-text {
    background-color: transparent;
    border: none;
    color: var(--gold);
    padding-left: 1.2rem;
}

.search-filter .form-control {
    background-color: transparent;
    border: none;
    color: var(--silver);
    padding: 0.8rem 1.2rem 0.8rem 0.5rem;
}

.search-filter .form-control:focus {
    box-shadow: none;
    outline: none;
}

.search-filter .form-control::placeholder {
    color: rgba(192, 192, 192, 0.6);
}

/* Akkordeon für FAQs */
#faqAccordion {
    max-width: 900px;
    margin: 0 auto;
}

.accordion-item {
    background-color: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 10px !important;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-item:not(:last-child) {
    margin-bottom: 1rem;
}

.accordion-header {
    margin: 0;
}

.accordion-button {
    background-color: transparent !important;
    color: var(--gold) !important;
    font-size: 1.1rem;
    padding: 1.2rem;
    font-weight: 500;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    box-shadow: none;
    background-color: rgba(212, 175, 55, 0.05) !important;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(212, 175, 55, 0.5);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23D4AF37' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E") !important;
    transition: transform 0.3s ease;
}

.accordion-body {
    color: var(--silver);
    padding: 1.2rem;
    line-height: 1.6;
    background-color: rgba(0, 0, 0, 0.4);
}

/* "Keine Ergebnisse" Meldung */
#noResults {
    background-color: rgba(13, 110, 253, 0.1);
    border-color: rgba(13, 110, 253, 0.3);
    color: var(--silver);
}

/* Animation für Akkordeon */
.accordion-collapse {
    transition: all 0.3s ease-out;
}

/* Responsive Anpassungen */
@media screen and (max-width: 768px) {
    .category-filter .btn-group {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 0.5rem;
    }
    
    .category-filter .btn {
        flex: 0 0 auto;
        white-space: nowrap;
    }
    
    .accordion-button {
        font-size: 1rem;
        padding: 1rem;
    }
}

/* Spezielle Stilisierung für Kategorie-Badges */
.category-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: rgba(212, 175, 55, 0.2);
    color: var(--gold);
    border-radius: 20px;
    font-size: 0.8rem;
    margin-right: 0.5rem;
}

/* Hervorhebung für wichtige FAQs */
.faq-item.important {
    border-color: rgba(212, 175, 55, 0.6);
}

.faq-item.important .accordion-button {
    font-weight: 600;
}

/* FAQ Hover-Effekt */
.faq-item:hover {
    border-color: rgba(212, 175, 55, 0.6);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}