/**
 * Pirates Park FKK Saunaclub
 * Event-Detailseiten CSS
 */

/* Hero Banner */
.event-detail-page .hero-banner {
    position: relative;
    height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    margin-bottom: 3rem;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.event-detail-page .hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
}

.event-detail-page .hero-banner .container {
    position: relative;
    z-index: 2;
    padding-bottom: 3rem;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.event-detail-page .hero-banner h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
    color: var(--gold);
}

.event-detail-page .event-teaser {
    font-size: 1.3rem;
    max-width: 800px;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.event-detail-page .recurring-badge,
.event-detail-page .date-badge {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background-color: var(--gold);
    color: #000;
    font-weight: bold;
    border-radius: 4px;
    font-size: 1.1rem;
}

.event-detail-page .recurring-badge i {
    margin-right: 0.5rem;
}

/* Event Content Layout */
.event-content-wrapper {
    display: flex;
    flex-wrap: nowrap;
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.event-main-content {
    flex: 1;
    min-width: 0; /* Wichtig für Flexbox-Layout */
    background-color: rgba(0, 0, 0, 0.7);
    padding: 2rem;
    border-radius: 8px;
    color: var(--silver);
}

.event-sidebar {
    width: 350px;
    flex-shrink: 0;
    background-image: url('../img/backgrounds/papyrus.png');
    background-size: cover;
    border-radius: 10px;
    overflow: hidden;
    padding: 0 3.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: #5A3921;
    height: fit-content;
    position: sticky;
    top: 20px;
    
    /* Maske für den Transparenzverlauf */
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 95%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 95%, rgba(0, 0, 0, 0) 100%);
}

.event-description {
    margin-bottom: 3rem;
}

.event-description h2, 
.highlights-section h2, 
.similar-events h2,
.event-comments-section h2 {
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    padding-bottom: 0.7rem;
    position: relative;
}

.event-description h2::after, 
.highlights-section h2::after, 
.similar-events h2::after,
.event-comments-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--gold);
}

.event-description .content, 
.highlights-section .content {
    font-size: 1.1rem;
    line-height: 1.6;
}

.description-section,
.highlights-section {
    margin-bottom: 2rem;
}

/* Similar Events Section */
.similar-events {
    margin-bottom: 3rem;
}

.similar-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.similar-event-card {
    background-color: rgba(90, 57, 33, 0.2);
    padding: 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.similar-event-card:hover {
    background-color: rgba(90, 57, 33, 0.3);
    transform: translateY(-5px);
}

.similar-event-card h3 {
    color: var(--gold);
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

.similar-event-card p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.btn-view {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--mahogany);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.btn-view:hover {
    background-color: #A33500;
}

/* Comments/Ratings Section */
.event-comments-section {
    margin-top: 3rem;
}

/* Overall rating display */
.overall-rating {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.rating-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.score {
    font-size: 3rem;
    font-weight: bold;
    color: var(--gold);
}

.stars-display {
    color: var(--gold);
    font-size: 1.5rem;
    letter-spacing: 0.2rem;
}

.rating-count {
    color: var(--silver);
    font-style: italic;
}

/* Comment items */
.comment-item {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
}

.comment-author {
    font-weight: bold;
    color: var(--gold);
}

.comment-date {
    color: var(--silver);
    font-size: 0.9rem;
}

.comment-rating {
    color: var(--gold);
    margin-bottom: 1rem;
}

.comment-content {
    line-height: 1.6;
}

.comment-form {
    background-color: rgba(90, 57, 33, 0.1);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.comment-form h3 {
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.rating-input {
    margin-bottom: 1.5rem;
}

.rating-input label {
    display: block;
    margin-bottom: 0.5rem;
}

.stars {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.stars input {
    display: none;
}

.stars label {
    cursor: pointer;
    width: 30px;
    height: 30px;
    background-image: url('../img/icons/star-empty.svg');
    background-size: 30px;
    background-repeat: no-repeat;
    margin-right: 5px;
}

.stars label:hover,
.stars label:hover ~ label,
.stars input:checked ~ label {
    background-image: url('../img/icons/star-filled.svg');
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 4px;
    color: white;
}

.form-group.checkbox {
    display: flex;
    align-items: flex-start;
}

.form-group.checkbox input {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

.form-group.checkbox label {
    margin-bottom: 0;
}

.btn-submit {
    background-color: var(--gold);
    color: black;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn-submit:hover {
    background-color: #b8a032;
}

.future-event-message {
    background-color: rgba(90, 57, 33, 0.1);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    font-style: italic;
}

.comments-list {
    margin-top: 2rem;
}

.no-comments {
    text-align: center;
    font-style: italic;
    padding: 1.5rem;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
}

/* Sidebar Styles */
.event-quick-info {
    display: flex;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px dashed #5A3921;
}

.event-date-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 80px;
    background-color: #C04000;
    border-radius: 8px;
    color: white;
    margin-right: 1rem;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.event-date-badge .month {
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.3);
    width: 100%;
    text-align: center;
    padding: 0.2rem 0;
    border-radius: 8px 8px 0 0;
}

.event-date-badge .day {
    font-size: 2rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    width: 100%;
}

.event-time-location {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-time-location p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.event-time-location p:last-child {
    margin-bottom: 0;
    color: white;
    font-weight: bold;
}

.event-time-location i {
    margin-right: 0.5rem;
    color: #C04000;
}

.event-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.primary-btn,
.secondary-btn,
.tertiary-btn {
    display: block;
    padding: 0.8rem;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.primary-btn {
    background-color: #C04000;
    color: white;
}

.primary-btn:hover {
    background-color: #A33500;
}

.secondary-btn {
    background-color: rgba(90, 57, 33, 0.1);
    color: #5A3921;
    border: 1px dashed #5A3921;
}

.secondary-btn:hover {
    background-color: rgba(90, 57, 33, 0.2);
}

.tertiary-btn {
    background-color: transparent;
    color: #5A3921;
    border: 1px solid #5A3921;
}

.tertiary-btn:hover {
    background-color: rgba(90, 57, 33, 0.1);
}

.event-capacity {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px dashed #5A3921;
}

.capacity-bar {
    height: 10px;
    background-color: rgba(90, 57, 33, 0.1);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.capacity-fill {
    height: 100%;
    background-color: #C04000;
    border-radius: 5px;
}

.event-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px dashed #5A3921;
    text-align: center;
    justify-content: center;
}

.tag {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: white;
}

.upcoming-events {
    margin-bottom: 1.5rem;
    text-align: center;
}

.upcoming-events h4 {
    color: #5A3921;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.upcoming-events-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.upcoming-event-item {
    display: block;
    padding: 0.8rem;
    background-color: rgba(90, 57, 33, 0.05);
    border-radius: 5px;
    color: #5A3921;
    text-decoration: none;
    transition: all 0.3s ease;
}

.upcoming-event-item:hover {
    background-color: rgba(90, 57, 33, 0.1);
    transform: translateX(5px);
}

.event-mini-title {
    font-weight: bold;
    margin-bottom: 0.3rem;
}

.event-mini-date {
    font-size: 0.9rem;
    color: #8a6d56;
}

.event-countdown {
    background-color: rgba(90, 57, 33, 0.05);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
}

.event-countdown h4 {
    color: #5A3921;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.countdown-timer {
    display: flex;
    justify-content: space-between;
}

.countdown-segment {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-segment span {
    display: block;
}

.countdown-segment .days,
.countdown-segment .hours,
.countdown-segment .minutes,
.countdown-segment .seconds {
    font-size: 1.8rem;
    font-weight: bold;
    color: #C04000;
}

.countdown-segment .label {
    font-size: 0.8rem;
    color: #8a6d56;
}

/* Modal Styles */
.reservation-modal,
.reminder-modal,
.share-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.reservation-modal .modal-content,
.reminder-modal .modal-content,
.share-modal .modal-content {
    background-image: url('../img/backgrounds/pergament.png');
    background-size: cover;
    width: 90%;
    max-width: 500px;
    border-radius: 10px;
    padding: 2rem;
    position: relative;
    color: #5A3921;
    max-height: 90vh;
    overflow-y: auto;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #5A3921;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #C04000;
}

.modal-content h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #5A3921;
    padding-bottom: 0.8rem;
    border-bottom: 1px dashed #5A3921;
}

.share-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.share-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem;
    border-radius: 5px;
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.share-button:hover {
    opacity: 0.9;
}

.share-button i {
    margin-right: 0.5rem;
}

.share-button.facebook {
    background-color: #3b5998;
}

.share-button.twitter {
    background-color: #1da1f2;
}

.share-button.whatsapp {
    background-color: #25d366;
}

.share-button.email {
    background-color: #ea4335;
}

.direct-link {
    margin-top: 1.5rem;
}

.direct-link p {
    margin-bottom: 0.5rem;
}

.link-box {
    display: flex;
    border: 1px solid rgba(90, 57, 33, 0.3);
    border-radius: 5px;
    overflow: hidden;
}

.link-box input {
    flex-grow: 1;
    padding: 0.8rem;
    border: none;
    background-color: rgba(255, 255, 255, 0.5);
    color: #5A3921;
}

.copy-btn {
    background-color: rgba(90, 57, 33, 0.1);
    border: none;
    padding: 0 0.8rem;
    cursor: pointer;
    color: #5A3921;
    transition: background-color 0.3s ease;
}

.copy-btn:hover {
    background-color: rgba(90, 57, 33, 0.2);
}

/* Responsive Styles */
@media (max-width: 991px) {
    .event-content-wrapper {
        flex-direction: column;
    }
    
    .event-sidebar {
        position: static;
        margin-top: 2rem;
        width: 100%;
    }
    
    .event-detail-page .hero-banner {
        height: 300px;
    }
    
    .event-detail-page .hero-banner h1 {
        font-size: 2.5rem;
    }
    
    .event-detail-page .event-teaser {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .event-detail-page .hero-banner {
        height: 250px;
    }
    
    .event-detail-page .hero-banner h1 {
        font-size: 2rem;
    }
    
    .event-description h2, 
    .highlights-section h2, 
    .similar-events h2,
    .event-comments-section h2 {
        font-size: 1.5rem;
    }
    
    .similar-events-grid {
        grid-template-columns: 1fr;
    }
    
    .share-options {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .event-detail-page .hero-banner {
        height: 200px;
    }
    
    .event-detail-page .hero-banner h1 {
        font-size: 1.8rem;
    }
    
    .event-detail-page .event-teaser {
        font-size: 1rem;
    }
    
    .event-quick-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .event-date-badge {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .event-content-wrapper {
        padding: 0 1rem;
    }
    
    .event-main-content,
    .event-sidebar {
        padding: 1.5rem;
    }
    
    .countdown-segment .days,
    .countdown-segment .hours,
    .countdown-segment .minutes,
    .countdown-segment .seconds {
        font-size: 1.5rem;
    }
    
    .countdown-segment .label {
        font-size: 0.7rem;
    }
}