/* Event Detail Page Styles */

.event-detail-page {
    background-color: #f8fafc;
    min-height: 100vh;
    padding-bottom: 80px;
}

/* Hero Section */
.event-hero {
    position: relative;
    height: 60vh;
    min-height: 500px;
    width: 100%;
    margin-bottom: -100px;
    padding-top: 160px;
    /* Increased padding for fixed navbar */
    display: flex;
    align-items: flex-start;
    /* Align content to top */
    justify-content: center;
    overflow: hidden;
}

.event-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.event-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(10, 35, 81, 0.4) 0%,
            rgba(10, 35, 81, 0.8) 100%);
    backdrop-filter: blur(2px);
}

.event-hero-content {
    position: relative;
    z-index: 10;
    color: white;
    text-align: center;
    max-width: 800px;
    margin-top: 20px;
    /* Reduced spacing */
    transform: none;
    /* Removed negative transform as we align from top now */
}

.event-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(4px);
}

.event-badge.camp {
    background: rgba(234, 179, 8, 0.9);
    color: #fff;
}

.event-badge.training {
    background: rgba(59, 130, 246, 0.9);
    color: #fff;
}

.event-badge.seminar {
    background: rgba(168, 85, 247, 0.9);
    color: #fff;
}

.event-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.event-meta-hero {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    font-size: 1.1rem;
    font-weight: 500;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.meta-icon {
    font-size: 1.25rem;
}

/* Content Grid */
.event-content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 20;
}

.event-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
}

/* Left Column */
.event-main {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.event-card {
    background: white;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0a2351;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title svg {
    color: #e11d48;
}

.event-description {
    color: #475569;
    line-height: 1.8;
    font-size: 1.05rem;
}

.schedule-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.schedule-item {
    padding: 16px;
    border-left: 4px solid #e2e8f0;
    background: #f8fafc;
    margin-bottom: 12px;
    border-radius: 0 12px 12px 0;
    transition: all 0.3s ease;
}

.schedule-item:hover {
    border-left-color: #0a2351;
    padding-left: 24px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.requirements-list {
    display: grid;
    gap: 12px;
}

.req-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #334155;
    font-weight: 500;
}

.check-icon {
    color: #10b981;
    background: #d1fae5;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* Right Column - Sidebar */
.event-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.registration-card {
    background: white;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.price-tag {
    text-align: center;
    margin-bottom: 24px;
}

.price-amount {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: #0a2351;
    line-height: 1;
}

.price-period {
    color: #64748b;
    font-size: 0.9rem;
}

.event-info-list {
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.info-label {
    color: #64748b;
    font-size: 0.95rem;
}

.info-value {
    color: #0f172a;
    font-weight: 600;
}

.btn-register {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 8px 20px rgba(225, 29, 72, 0.3);
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(225, 29, 72, 0.4);
}

.organizer-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.organizer-avatar {
    width: 50px;
    height: 50px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.organizer-info h4 {
    margin: 0 0 4px;
    color: #0f172a;
    font-weight: 700;
    font-size: 1rem;
}

.organizer-info p {
    margin: 0;
    color: #64748b;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 900px) {
    .event-grid {
        grid-template-columns: 1fr;
    }

    .event-hero {
        margin-bottom: -60px;
        height: 50vh;
    }

    .event-title {
        font-size: 2.25rem;
    }
}