/* =========================================================
   EVENT DETAILS PAGE - BEAUTIFUL & WELL-DESIGNED
   ========================================================= */

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    line-height: 1.6;
    color: #1b1b1b;
    background: #ffffff;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* =========================================================
   BACK NAVIGATION
   ========================================================= */

.back-navigation {
    padding: 20px 0;
    background: #f8f9fa;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #002B49;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 8px;
}

.back-link:hover {
    background: rgba(0, 43, 73, 0.08);
    transform: translateX(-4px);
}

.back-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.back-link:hover .back-arrow {
    transform: translateX(-3px);
}

/* =========================================================
   EVENT HEADER SECTION (REPLACING HERO)
   ========================================================= */

.event-header {
    padding: 60px 0 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f1f3f4 100%);
    position: relative;
    overflow: hidden;
}

.event-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(241, 196, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 43, 73, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.event-header-content {
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.event-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, #002B49 0%, #001a2e 100%);
    color: white;
    border-radius: 16px;
    padding: 20px 24px;
    min-width: 90px;
    box-shadow: 0 8px 25px rgba(0, 43, 73, 0.3);
    flex-shrink: 0;
}

.event-month {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.9;
    margin-bottom: 6px;
}

.event-day {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
}

.event-header-info {
    flex-grow: 1;
}

.event-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    font-family: 'Georgia', serif;
    line-height: 1.2;
    color: #002B49;
}

.event-meta-header {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 500;
    color: #444;
}

.meta-icon {
    font-size: 1.2rem;
}

/* Prominent Register Button */
.prominent-register {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.register-btn-prominent {
    background: linear-gradient(135deg, #F1C400 0%, #e6b800 100%);
    color: #002B49;
    border: none;
    padding: 18px 36px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 
        0 8px 25px rgba(241, 196, 0, 0.35),
        0 4px 12px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
    font-family: inherit;
}

.register-btn-prominent:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 12px 35px rgba(241, 196, 0, 0.45),
        0 6px 20px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #e6b800 0%, #F1C400 100%);
}

.register-note {
    font-size: 0.95rem;
    color: #666;
    font-weight: 500;
}

/* Remove old hero styles */
.event-hero {
    display: none;
}

/* =========================================================
   EVENT DETAILS SECTION
   ========================================================= */

.event-details-section {
    padding: 80px 0;
    background: #ffffff;
}

.event-details-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.event-main-content {
    max-width: none;
}

.content-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.08),
        0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #002B49;
    margin-bottom: 25px;
    font-family: 'Georgia', serif;
}

.event-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 35px;
}

.event-highlights {
    padding-top: 30px;
    border-top: 1px solid #f0f0f0;
}

.highlights-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #002B49;
    margin-bottom: 20px;
}

.highlights-list {
    list-style: none;
}

.highlights-list li {
    font-size: 1rem;
    color: #555;
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
}

.highlights-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #F1C400;
    font-weight: 700;
    font-size: 1.1rem;
}

/* =========================================================
   SIDEBAR CARDS
   ========================================================= */

.event-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: sticky;
    top: 30px;
}

.info-card,
.action-card,
.contact-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.08),
        0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #002B49;
    margin-bottom: 20px;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-value {
    font-size: 1rem;
    color: #333;
    font-weight: 500;
    line-height: 1.5;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.action-btn {
    padding: 16px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: inherit;
    text-align: center;
    letter-spacing: 0.5px;
}

.action-btn.primary {
    background: linear-gradient(135deg, #002B49 0%, #001a2e 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(0, 43, 73, 0.25);
}

.action-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 43, 73, 0.35);
}

.action-btn.secondary {
    background: rgba(241, 196, 0, 0.1);
    color: #002B49;
    border: 2px solid rgba(241, 196, 0, 0.4);
}

.action-btn.secondary:hover {
    background: #F1C400;
    color: #002B49;
    transform: translateY(-2px);
}

.action-btn.tertiary {
    background: #f8f9fa;
    color: #666;
    border: 1px solid #e9ecef;
}

.action-btn.tertiary:hover {
    background: #e9ecef;
    color: #333;
    transform: translateY(-2px);
}

/* Contact Card */
.contact-text {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.contact-link {
    display: block;
    color: #002B49;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 8px;
    padding: 8px 0;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: #F1C400;
    border-bottom-color: #F1C400;
}

/* =========================================================
   RELATED EVENTS SECTION
   ========================================================= */

.related-events-section {
    padding: 60px 0 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.related-events-section .section-title {
    text-align: center;
    margin-bottom: 50px;
}

.related-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.mini-event-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.06),
        0 1px 3px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.mini-event-card:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.12),
        0 4px 15px rgba(241, 196, 0, 0.08);
}

.mini-event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, #002B49 0%, #001a2e 100%);
    color: white;
    padding: 12px 16px;
    border-radius: 10px;
    min-width: 60px;
    flex-shrink: 0;
}

.mini-month {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
    opacity: 0.9;
}

.mini-day {
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1;
}

.mini-event-content {
    flex-grow: 1;
}

.mini-event-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #002B49;
    margin-bottom: 5px;
    line-height: 1.3;
}

.mini-event-time {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.mini-event-link {
    color: #F1C400;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid rgba(241, 196, 0, 0.3);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.mini-event-link:hover {
    background: #F1C400;
    color: #002B49;
}

/* =========================================================
   RESPONSIVE DESIGN
   ========================================================= */

@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .event-details-grid {
        gap: 40px;
    }
    
    .event-header {
        padding: 50px 0 30px;
    }
    
    .event-header-content {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .event-details-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .event-sidebar {
        position: static;
    }
    
    .event-header {
        padding: 40px 0 25px;
    }
    
    .event-header-content {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }
    
    .event-title {
        font-size: 2rem;
    }
    
    .event-meta-header {
        gap: 20px;
        justify-content: center;
    }
    
    .meta-item {
        font-size: 1rem;
    }
    
    .prominent-register {
        justify-content: center;
        gap: 15px;
    }
    
    .content-card,
    .info-card,
    .action-card,
    .contact-card {
        padding: 25px;
    }
    
    .mini-event-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .related-events-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .event-header {
        padding: 30px 0 20px;
    }
    
    .event-title {
        font-size: 1.8rem;
    }
    
    .event-badge {
        padding: 16px 20px;
        min-width: 75px;
    }
    
    .event-day {
        font-size: 2rem;
    }
    
    .register-btn-prominent {
        padding: 16px 30px;
        font-size: 1.1rem;
    }
    
    .event-meta-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .prominent-register {
        flex-direction: column;
        gap: 12px;
    }
    
    .content-card,
    .info-card,
    .action-card,
    .contact-card {
        padding: 20px;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .mini-event-date {
        padding: 10px 14px;
        min-width: 55px;
    }
    
    .mini-day {
        font-size: 1.3rem;
    }
}

/* =========================================================
   ACCESSIBILITY & MOTION PREFERENCES
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
    .back-link:hover {
        transform: none;
    }
    
    .back-link:hover .back-arrow {
        transform: none;
    }
    
    .action-btn:hover,
    .mini-event-card:hover {
        transform: none;
    }
}

/* Focus states for accessibility */
.action-btn:focus,
.back-link:focus,
.contact-link:focus,
.mini-event-link:focus {
    outline: 3px solid #F1C400;
    outline-offset: 2px;
}