/* Events Page Specific Styles */

.events-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.events-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 100 100"><defs><pattern id="aztec" patternUnits="userSpaceOnUse" width="20" height="20"><rect width="20" height="20" fill="none"/><path d="M10,0 L20,10 L10,20 L0,10 Z" fill="rgba(255,215,0,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23aztec)"/></svg>');
    opacity: 0.3;
}

.page-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: #ffd700;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #e0e0e0;
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-description {
    font-size: 1.1rem;
    color: #b0b0b0;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Upcoming Events */
.upcoming-events {
    padding: 80px 0;
    background: #0a0a0a;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.event-card {
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.event-card.featured {
    border-color: #ffd700;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
    transform: scale(1.02);
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.event-card.featured:hover {
    transform: translateY(-10px) scale(1.02);
}

.event-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #1a1a2e;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
    z-index: 2;
    text-transform: uppercase;
}

.event-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.event-card:hover .event-image img {
    transform: scale(1.1);
}

.event-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(26, 26, 46, 0.8), transparent);
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 20px;
}

.event-date {
    background: rgba(255, 215, 0, 0.9);
    color: #1a1a2e;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-weight: 700;
}

.event-date .month {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.event-date .day {
    display: block;
    font-size: 1.5rem;
    line-height: 1;
}

.event-content {
    padding: 30px;
}

.event-content h3 {
    font-family: 'Orbitron', sans-serif;
    color: #ffd700;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.event-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #b0b0b0;
    font-size: 0.9rem;
}

.meta-item i {
    color: #ffd700;
    width: 16px;
}

.event-description {
    color: #e0e0e0;
    line-height: 1.6;
    margin-bottom: 20px;
}

.event-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}

.tag {
    background: rgba(255, 215, 0, 0.1);
    color: #ffd700;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.event-actions {
    display: flex;
    gap: 15px;
}

.event-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.event-btn.primary {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #1a1a2e;
}

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

.event-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Past Events Timeline */
.past-events {
    padding: 80px 0;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
}

.events-timeline {
    margin-top: 50px;
    position: relative;
}

.events-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #ffd700, #4a9eff);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-date {
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border: 3px solid #ffd700;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    color: #ffd700;
    font-weight: 700;
    min-width: 120px;
    position: relative;
    z-index: 2;
}

.timeline-date .month {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.timeline-date .day {
    display: block;
    font-size: 2rem;
    line-height: 1;
}

.timeline-date .year {
    display: block;
    font-size: 0.8rem;
    opacity: 0.8;
}

.timeline-content {
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border-radius: 15px;
    padding: 30px;
    margin: 0 40px;
    flex: 1;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.timeline-content h3 {
    font-family: 'Orbitron', sans-serif;
    color: #ffd700;
    margin-bottom: 15px;
}

.timeline-content p {
    color: #e0e0e0;
    line-height: 1.6;
    margin-bottom: 20px;
}

.timeline-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.timeline-stats .stat {
    background: rgba(255, 215, 0, 0.1);
    color: #ffd700;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.timeline-btn {
    background: transparent;
    color: #4a9eff;
    border: 2px solid #4a9eff;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.timeline-btn:hover {
    background: #4a9eff;
    color: #1a1a2e;
}

/* Event Categories */
.event-categories {
    padding: 80px 0;
    background: #0a0a0a;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.category-card {
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-card:hover::before {
    opacity: 1;
}

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

.category-icon {
    font-size: 3rem;
    color: #ffd700;
    margin-bottom: 25px;
}

.category-card h3 {
    font-family: 'Orbitron', sans-serif;
    color: #ffd700;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.category-card p {
    color: #e0e0e0;
    line-height: 1.6;
    margin-bottom: 25px;
}

.category-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.category-features .feature {
    background: rgba(74, 158, 255, 0.1);
    color: #4a9eff;
    padding: 6px 14px;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(74, 158, 255, 0.3);
}

/* Event Registration */
.event-registration {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.registration-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin-top: 50px;
}

.registration-info h3 {
    font-family: 'Orbitron', sans-serif;
    color: #ffd700;
    font-size: 2rem;
    margin-bottom: 20px;
}

.registration-info p {
    color: #e0e0e0;
    line-height: 1.6;
    margin-bottom: 30px;
}

.registration-benefits {
    space-y: 15px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #e0e0e0;
    margin-bottom: 15px;
}

.benefit-item i {
    color: #ffd700;
    font-size: 1.2rem;
    width: 25px;
}

.registration-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.registration-form h4 {
    font-family: 'Orbitron', sans-serif;
    color: #ffd700;
    margin-bottom: 30px;
    text-align: center;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 10px;
    color: #e0e0e0;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ffd700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #b0b0b0;
}

.submit-btn {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #1a1a2e;
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 auto;
    width: 100%;
    justify-content: center;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    .event-card.featured {
        transform: none;
    }
    
    .events-timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        padding-left: 80px;
    }
    
    .timeline-date {
        position: absolute;
        left: 0;
        min-width: 80px;
        padding: 15px 10px;
    }
    
    .timeline-content {
        margin: 0;
    }
    
    .registration-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .events-hero {
        padding: 100px 0 60px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .event-actions {
        flex-direction: column;
    }
    
    .timeline-stats {
        flex-direction: column;
        gap: 10px;
    }
    
    .registration-form {
        padding: 30px 20px;
    }
}