/* Club Events Page - Exklusive Veranstaltungen für Club-Mitglieder */

/* Booking Header - wie in anmeldung-modern */
.booking-header {
    display: flex;
    background-color: #3CB371;
    color: white;
    border-radius: 4px;
    margin-bottom: 30px;
    padding: 20px;
    align-items: center;
}

.booking-info {
    flex: 1;
}

.booking-info h1 {
    text-transform: uppercase;
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: white;
}

.booking-description {
    font-size: 1.1rem;
}

.booking-image {
    flex: 0 0 auto;
    margin-left: 20px;
}

.booking-image img {
    max-width: 100%;
    height: auto;
    max-height: 200px;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Hero Section - wie auf der Startseite */
.hero-section {
    background: linear-gradient(135deg, #111E0A 0%, #1a2a0a 100%);
    padding: 60px 0;
    margin-bottom: 50px;
    border-radius: 20px;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-text {
    color: #ffffff;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 20px;
}

.title-line {
    display: block;
}

.title-line.highlight-white {
    color: #ffffff;
}

.title-line.highlight {
    color: #ffd700;
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #cccccc;
}

.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-primary, .cta-secondary {
    display: inline-flex;
    align-items: center;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-primary {
    background: linear-gradient(135deg, #e31818 0%, #c01414 100%);
    color: white;
}

.cta-primary:hover {
    transform: translateY(-3px);
    color: white;
}

.cta-secondary {
    background-color: transparent;
    color: #ffd700;
    border: 2px solid #ffd700;
}

.cta-secondary:hover {
    background-color: #ffd700;
    color: #111E0A;
    transform: translateY(-3px);
}

.cta-primary i, .cta-secondary i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.hero-image {
    text-align: center;
}

.hero-img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Club Events Content */
.events-content {
    background-color: #111E0A;
    border-radius: 20px;
    margin-bottom: 30px;
}

.events-intro {
    margin-bottom: 40px;
    text-align: center;
}

.club-events-intro h2 {
    color: #ffd700;
    font-size: 2rem;
    margin-bottom: 15px;
}

.club-events-intro p {
    color: #cccccc;
    font-size: 1.2rem;
}

/* Club Benefits */
.club-benefits {
    margin-bottom: 50px;
}

.club-benefits h3 {
    color: #ffd700;
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-align: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.benefit-card {
    background-color: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.2);
    border-color: #ffd700;
}

.benefit-icon {
    font-size: 2.5rem;
    color: #ffd700;
    margin-bottom: 15px;
}

.benefit-card h4 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.benefit-card p {
    color: #cccccc;
    font-size: 1rem;
}

/* Club Events Container */
.events-container {
    margin-bottom: 50px;
}

.year-header {
    color: #ffd700;
    text-transform: uppercase;
    font-size: 1.5rem;
    margin: 40px 0 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #ffd700;
    font-weight: bold;
}

/* Club Events Grid */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.club-event-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 215, 0, 0.3);
    position: relative;
}

.club-event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    border-color: #ffd700;
}

.event-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #111E0A;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
}

.event-badge i {
    font-size: 1rem;
}

/* Badge Variants */
.event-badge.badge-popular {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #111E0A;
}

.event-badge.badge-almost-full {
    background: linear-gradient(135deg, #ff9800 0%, #ff6f00 100%);
    color: white;
    animation: pulse 2s ease-in-out infinite;
}

.event-badge.badge-sold-out {
    background: linear-gradient(135deg, #e31818 0%, #c01414 100%);
    color: white;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

.event-track-image {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.03);
    min-height: 120px;
}

.event-track-image img {
    max-width: 100%;
    height: auto;
    height: 200px;
    filter: brightness(0) saturate(100%) invert(89%) sepia(22%) saturate(5939%) hue-rotate(0deg) brightness(105%) contrast(103%);
}

.event-details {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.event-details h4 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: white;
    font-weight: bold;
}

.event-date {
    color: #ffd700;
    margin-bottom: 15px;
    font-weight: bold;
    font-size: 1.1rem;
}

.event-price {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.price-badge {
    background-color: #60b347;
    color: white;
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: bold;
    display: inline-block;
}

.member-label {
    color: #cccccc;
    font-size: 1rem;
    font-weight: normal;
}

.discount-badge {
    background-color: #e31818;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}

.event-description {
    color: #cccccc;
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 20px;
    flex-grow: 1;
}

.event-booking-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e31818 0%, #c01414 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-top: auto;
    text-decoration: none;
    font-size: 1rem;
}

.event-booking-button:hover {
    background: linear-gradient(135deg, #ff2e2e 0%, #e31818 100%);
    color: white;
    transform: translateY(-2px);
}

.event-booking-button i {
    margin-right: 8px;
}

/* Past Events */
.past-events-grid {
    display: none;
}

.past-events-grid.show {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.past-event {
    opacity: 0.6;
    filter: grayscale(0.3);
}

.past-event:hover {
    opacity: 0.8;
}

.event-status {
    color: #aaa;
    font-style: italic;
    margin-top: auto;
    text-align: center;
    padding: 10px;
    background-color: rgba(170, 170, 170, 0.1);
    border-radius: 6px;
}

.year-header.past-events {
    color: #aaa;
    border-bottom-color: #aaa;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
    font-size: 1.2rem;
}

.year-header.past-events:hover {
    color: #ffd700;
}

.year-header.past-events i {
    transition: transform 0.3s ease;
}

/* Membership CTA */
.membership-cta {
    margin-top: 50px;
    padding: 40px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 215, 0, 0.05) 100%);
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.membership-cta h3 {
    color: #ffd700;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.membership-cta p {
    margin-bottom: 25px;
    color: #cccccc;
    font-size: 1.2rem;
}

.cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-primary.large, .cta-secondary.large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .booking-header {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }
    
    .booking-info {
        width: 100%;
    }
    
    .booking-info h1 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .booking-description {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    .calendar-subscription {
        margin-top: 20px;
        display: flex;
        justify-content: center;
    }
    
    .calendar-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .booking-image {
        margin-left: 0;
        margin-top: 20px;
        width: 100%;
    }
    
    .booking-image img {
        max-height: 180px;
        width: 100%;
        object-fit: cover;
    }
    
    .events-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .past-events-grid.show {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .booking-header {
        padding: 20px 15px;
    }
    
    .booking-info h1 {
        font-size: 1.3rem;
    }
    
    .booking-description {
        font-size: 0.95rem;
    }
    
    .calendar-btn {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
    
    .booking-image img {
        max-height: 150px;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    .past-events-grid.show {
        grid-template-columns: 1fr;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-primary.large, .cta-secondary.large {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .booking-header {
        padding: 15px 10px;
    }
    
    .booking-info h1 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .booking-description {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .calendar-subscription {
        margin-top: 15px;
    }
    
    .calendar-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .booking-image img {
        max-height: 120px;
    }
    
    .club-event-card {
        margin-bottom: 20px;
    }
    
    .event-details {
        padding: 20px;
    }
    
    .membership-cta {
        padding: 25px 20px;
    }
}

/* Clickable Event Cards */
.clickable-card {
    cursor: pointer;
    transition: all 0.3s ease;
}

.clickable-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.clickable-card .event-booking-button {
    pointer-events: auto;
}

.calendar-subscription {
    margin-top: 20px;
}

.calendar-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #312E0A;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.calendar-btn:hover {
    transform: translateY(-3px);
    color: #312E0A;
}

.calendar-btn i {
    font-size: 1.1rem;
}

/* Calendar Popup Styles */
.calendar-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.popup-content {
    background: #ffffff;
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 2px solid #f0f0f0;
}

.popup-header h3 {
    color: #312E0A;
    font-size: 1.5rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.popup-header h3 i {
    color: #ffd700;
}

.popup-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.popup-close:hover {
    background: #f0f0f0;
    color: #333;
}

.popup-body {
    padding: 30px;
}

.popup-body p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 25px;
    text-align: center;
}

.subscription-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.option-card {
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    padding: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.option-card:hover {
    border-color: #ffd700;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.2);
}

.option-card.selected {
    border-color: #ffd700;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 215, 0, 0.05) 100%);
}

.option-icon {
    font-size: 2.5rem;
    color: #ffd700;
    margin-bottom: 15px;
}

.option-content h4 {
    color: #312E0A;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.option-content p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 15px;
    text-align: left;
}

.option-pros {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.pro-tag {
    background: #e8f5e8;
    color: #2d5a2d;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
}

.subscription-url {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 25px;
    margin-top: 20px;
}

.subscription-url h4 {
    color: #312E0A;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.subscription-url h4 i {
    color: #ffd700;
}

.url-container {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.url-container input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.9rem;
    background: #ffffff;
}

.copy-btn {
    background: #ffd700;
    color: #312E0A;
    border: none;
    padding: 12px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: #ffed4e;
}

.url-instructions {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.popup-footer {
    display: flex;
    gap: 15px;
    justify-content: center;
    padding: 25px 30px;
    border-top: 2px solid #f0f0f0;
}

.action-btn {
    padding: 12px 25px;
    border-radius: 25px;
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.download-btn {
    background: #e31818;
    color: white;
}

.download-btn:hover {
    background: #c01414;
    transform: translateY(-2px);
}

.subscribe-btn {
    background: #ffd700;
    color: #312E0A;
}

.subscribe-btn:hover {
    background: #ffed4e;
    transform: translateY(-2px);
}

.cancel-btn {
    background: #6c757d;
    color: white;
}

.cancel-btn:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .subscription-options {
        grid-template-columns: 1fr;
    }
    
    .popup-content {
        width: 95%;
        margin: 20px;
    }
    
    .popup-header, .popup-body, .popup-footer {
        padding: 20px;
    }
    
    .popup-footer {
        flex-direction: column;
    }
    
    .action-btn {
        width: 100%;
        justify-content: center;
    }
}
.track-filter-notice {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    border: 2px solid #e31818;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    color: #312E0A;
}

.track-filter-notice i {
    color: #e31818;
    font-size: 1.2em;
}

.clear-filter {
    margin-left: auto;
    background: #e31818;
    color: white;
    padding: 5px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9em;
    transition: background-color 0.3s ease;
}

.clear-filter:hover {
    background: #c01515;
    color: white;
    text-decoration: none;
}

.highlighted-event {
    border: 2px solid #e31818 !important;
}
