/* Event Detail Page - Modern Design */

/* Hero Section */
.event-hero {
    background: linear-gradient(135deg, #111E0A 0%, #1a2a0a 100%);
    padding: 60px 0;
    margin-bottom: 30px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.event-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".1" fill="%23ffd700"/></svg>') no-repeat;
    background-size: cover;
    opacity: 0.1;
}

.event-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.event-hero-info {
    color: white;
}

.event-hero-info h1 {
    font-size: 3.5rem;
    font-weight: bold;
    color: #ffd700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.event-subtitle {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #cccccc;
}

.event-meta-badges {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.event-date-badge,
.event-price-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(255, 215, 0, 0.2);
    border: 2px solid #ffd700;
    color: #ffd700;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: bold;
}

/* Regular Price Box */
.regular-price-box {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    padding: 10px 16px;
    background: linear-gradient(135deg, rgba(227, 24, 24, 0.08) 0%, rgba(227, 24, 24, 0.03) 100%);
    border-left: 3px solid rgba(227, 24, 24, 0.6);
    border-radius: 6px;
}

.regular-price-box .price-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0.9;
}

.regular-price-box .price-badge i {
    font-size: 0.95rem;
}

.regular-price-box .price-badge .badge-label {
    font-weight: 600;
}

.regular-price-box .price-amount {
    display: flex;
    align-items: baseline;
    margin-left: auto;
}

.regular-price-box .price-value {
    font-size: 1.3rem;
    font-weight: bold;
    color: #ffffff;
}

/* Member Price Box - Subtle Design */
.member-price-box {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    padding: 10px 16px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.08) 0%, rgba(255, 215, 0, 0.03) 100%);
    border-left: 3px solid rgba(255, 215, 0, 0.6);
    border-radius: 6px;
    flex-wrap: nowrap;
}

.member-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #ffd700;
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0.9;
    flex: 1 1 auto;
    min-width: 0;
}

.member-badge i {
    font-size: 0.95rem;
}

.member-badge .badge-label {
    font-weight: 600;
}

.member-price-amount {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-left: auto;
    flex: 0 0 auto;
    white-space: nowrap;
}

.discount-price {
    font-size: 1.3rem;
    font-weight: bold;
    color: #ffd700;
}

.savings {
    font-size: 0.75rem;
    color: #a8e6a3;
    font-weight: 500;
    background-color: rgba(76, 175, 80, 0.15);
    padding: 3px 10px;
    border-radius: 12px;
    border: 1px solid rgba(76, 175, 80, 0.25);
}

.event-meta-badges i {
    font-size: 1.3rem;
}

.event-track-info {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 25px;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
}

@media (max-width: 420px) {
    .member-price-box { gap: 10px; padding: 10px 14px; }
    .member-badge { font-size: 0.8rem; }
    .member-badge i { font-size: 0.9rem; }
    .member-price-amount { gap: 8px; }
    .discount-price { font-size: 1.15rem; }
    .savings { font-size: 0.7rem; padding: 2px 8px; }
}

@media (max-width: 360px) {
    .member-badge { font-size: 0.75rem; }
    .discount-price { font-size: 1.05rem; }
    .savings { font-size: 0.65rem; padding: 2px 6px; }
}

.track-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #cccccc;
    font-size: 1rem;
}

.track-stat i {
    color: #ffd700;
    font-size: 1.2rem;
}

.event-action-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

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

.event-primary-button:hover:not(.disabled) {
    background: linear-gradient(135deg, #ffed4e 0%, #ffd700 100%);
    transform: translateY(-3px);
    color: #1a1a1a;
    text-decoration: none;
}

.event-primary-button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: linear-gradient(135deg, #666 0%, #555 100%);
    color: #ccc;
}

.event-secondary-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    color: white;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3) 0%, rgba(255, 215, 0, 0.2) 100%);
    border: 2px solid #ffd700;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.event-secondary-button:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.5) 0%, rgba(255, 215, 0, 0.3) 100%);
    transform: translateY(-3px);

    color: white;
    text-decoration: none;
}

.event-hero-image {
    text-align: center;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.15);
}

.event-hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    transition: transform 0.3s ease;
    filter: brightness(0) saturate(100%) invert(89%) sepia(22%) saturate(5939%) hue-rotate(0deg) brightness(105%) contrast(103%);
}

.event-hero-image img:hover {
    transform: scale(1.05);
}

/* Container */
.event-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Content Section */
.content-section {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 215, 0, 0.05) 100%);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.content-section h2 {
    color: #ffd700;
    font-size: 1.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.content-section h2 i {
    font-size: 1.4rem;
    color: #e31818;
}

.section-content {
    color: #cccccc;
    line-height: 1.8;
}

.section-content p {
    margin-bottom: 15px;
}

.section-content ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.section-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 15px 0;
}

.section-content a {
    color: #ffd700;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.section-content a:hover {
    color: #ffed4e;
}

.intro-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #cccccc;
    margin-bottom: 0;
}

/* Booking CTA Section */
.booking-cta-section {
    background: linear-gradient(135deg, rgba(227, 24, 24, 0.15) 0%, rgba(227, 24, 24, 0.05) 100%);
    border-color: rgba(227, 24, 24, 0.5);
}

.booking-cta-section:hover {
    border-color: #e31818;
}

.booking-cta-box {
    text-align: center;
}

.booking-cta-box h2 {
    justify-content: center;
    font-size: 2rem;
}

.availability-info {
    margin: 30px 0;
}

.spots-available,
.spots-full {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.spots-available {
    color: #4ade80;
}

.spots-available i {
    color: #4ade80;
    font-size: 1.5rem;
}

.spots-full {
    color: #fbbf24;
}

.spots-full i {
    color: #fbbf24;
    font-size: 1.5rem;
}

.availability-bar {
    width: 100%;
    max-width: 500px;
    height: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.availability-fill {
    height: 100%;
    background: linear-gradient(90deg, #4ade80 0%, #fbbf24 70%, #ef4444 100%);
    border-radius: 10px;
    transition: width 0.5s ease;
}

.booking-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #e31818 0%, #c01414 100%);
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.3rem;
    border: none;
    cursor: pointer;
    margin-top: 20px;
}

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

.booking-cta-button i {
    font-size: 1.4rem;
}

.booking-cta-button.disabled {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    cursor: not-allowed;
    opacity: 0.7;
}

.booking-cta-button.disabled:hover {
    transform: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.booking-hint {
    margin-top: 15px;
    font-size: 1rem;
    color: #9ca3af;
    font-style: italic;
}

/* iCal Download */
.ical-download {
    text-align: center;
}

.ical-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    color: white;
    background: linear-gradient(135deg, #4285F4 0%, #1a73e8 100%);
    box-shadow: 0 4px 15px rgba(66, 133, 244, 0.3);
}

.ical-button:hover {
    background: linear-gradient(135deg, #5a9fff 0%, #4285F4 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(66, 133, 244, 0.5);
    color: white;
    text-decoration: none;
}

.ical-button i {
    font-size: 1.2rem;
}

.ical-hint {
    margin-top: 12px;
    font-size: 0.95rem;
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .event-hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .event-hero-info h1 {
        font-size: 3rem;
    }
    
    .event-meta-badges,
    .event-track-info,
    .event-action-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .event-hero {
        padding: 40px 0;
    }
    
    .event-hero-info h1 {
        font-size: 2.5rem;
    }
    
    .event-subtitle {
        font-size: 1.1rem;
    }
    
    .content-section {
        padding: 25px 20px;
    }
    
    .content-section h2 {
        font-size: 1.3rem;
    }
    
    .booking-cta-button {
        padding: 15px 30px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .event-hero-info h1 {
        font-size: 2rem;
    }
    
    .event-meta-badges {
        flex-direction: column;
        align-items: stretch;
    }
    
    .event-track-info {
        flex-direction: column;
        gap: 10px;
    }
    
    .event-action-buttons {
        flex-direction: column;
    }
    
    .event-secondary-button {
        width: 100%;
        justify-content: center;
    }
    
    .content-section {
        padding: 20px 15px;
    }
    
    .booking-cta-button {
        width: 100%;
        padding: 15px 20px;
    }
}

.mt-20 {
    margin-top: 20px;
}

.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.is-visible {
    opacity: 1;
    transform: translateY(0);
}

