/* ============================================
   Event Details Page Styles
   Professional Bootstrap 5 Design
   ============================================ */

/* CSS Variables */
:root {
    --event-primary: #0d4a6f;
    --event-secondary: #1a8a8a;
    --event-accent: #28a745;
    --event-gold: #c9a227;
    --event-light: #f0f7fa;
    --event-dark: #0a3a5a;
    --event-gradient: linear-gradient(135deg, #0d4a6f 0%, #1a8a8a 50%, #28a745 100%);
    --event-gradient-reverse: linear-gradient(135deg, #28a745 0%, #1a8a8a 50%, #0d4a6f 100%);
    --event-shadow: 0 10px 40px rgba(13, 74, 111, 0.12);
    --event-shadow-hover: 0 20px 60px rgba(13, 74, 111, 0.2);
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 12px;
}

/* ============================================
   Scroll Animation Styles
   ============================================ */

/* Base state for all animated elements */
[data-animate] {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Fade In Up Animation */
[data-animate="fade-in-up"] {
    transform: translateY(50px);
}

[data-animate="fade-in-up"].animated {
    opacity: 1;
    transform: translateY(0);
}

/* Fade In Down Animation */
[data-animate="fade-in-down"] {
    transform: translateY(-50px);
}

[data-animate="fade-in-down"].animated {
    opacity: 1;
    transform: translateY(0);
}

/* Fade In Left Animation */
[data-animate="fade-in-left"] {
    transform: translateX(-50px);
}

[data-animate="fade-in-left"].animated {
    opacity: 1;
    transform: translateX(0);
}

/* Fade In Right Animation */
[data-animate="fade-in-right"] {
    transform: translateX(50px);
}

[data-animate="fade-in-right"].animated {
    opacity: 1;
    transform: translateX(0);
}

/* Zoom In Animation */
[data-animate="zoom-in"] {
    transform: scale(0.8);
}

[data-animate="zoom-in"].animated {
    opacity: 1;
    transform: scale(1);
}

/* Zoom Out Animation */
[data-animate="zoom-out"] {
    transform: scale(1.2);
}

[data-animate="zoom-out"].animated {
    opacity: 1;
    transform: scale(1);
}

/* Flip In Animation */
[data-animate="flip-in"] {
    transform: perspective(1000px) rotateY(-90deg);
}

[data-animate="flip-in"].animated {
    opacity: 1;
    transform: perspective(1000px) rotateY(0);
}

/* Bounce In Animation */
[data-animate="bounce-in"] {
    transform: scale(0.3);
}

[data-animate="bounce-in"].animated {
    opacity: 1;
    transform: scale(1);
    animation: bounce-effect 0.6s ease-out;
}

@keyframes bounce-effect {
    0% { transform: scale(0.3); }
    50% { transform: scale(1.05); }
    70% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

/* Slide Rotate Animation */
[data-animate="slide-rotate"] {
    transform: translateX(-100px) rotate(-10deg);
}

[data-animate="slide-rotate"].animated {
    opacity: 1;
    transform: translateX(0) rotate(0);
}

/* Page Layout */
.event-page {
    background: linear-gradient(180deg, #f8fbfc 0%, #e8f4f8 100%);
    min-height: 100vh;
    direction: rtl;
    font-family: 'Tajawal', 'Segoe UI', sans-serif;
}

/* ============================================
   Hero Section with Countdown
   ============================================ */
.event-hero {
    position: relative;
    margin-top: 9rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 450px;
    box-shadow: var(--event-shadow);
}

@media (max-width: 768px) {
    .event-hero {
        margin: 15px;
        height: 350px;
    }
}

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

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

.event-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13, 74, 111, 0.2) 0%, rgba(13, 74, 111, 0.7) 100%);
}

/* Countdown Timer */
.countdown-container {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 500px;
    padding: 0 20px;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: var(--radius-md);
    padding: 15px 20px;
    min-width: 80px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: var(--transition-smooth);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.countdown-item:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.countdown-number {
    font-size: 2.2rem;
    font-weight: 800;
    background: var(--event-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    display: block;
    transition: transform 0.15s ease;
}

.countdown-label {
    font-size: 0.85rem;
    color: var(--event-primary);
    font-weight: 600;
    margin-top: 5px;
    display: block;
}

@media (max-width: 576px) {
    .countdown-item {
        padding: 12px 15px;
        min-width: 65px;
    }
    .countdown-number {
        font-size: 1.8rem;
    }
    .countdown-label {
        font-size: 0.75rem;
    }
}

/* Event Status Badge */
.event-status-badge {
    position: absolute;
    top: 25px;
    right: 25px;
    background: var(--event-accent);
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 5px 20px rgba(40, 167, 69, 0.4);
    animation: pulse-badge 2s infinite;
    z-index: 10;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); box-shadow: 0 5px 20px rgba(40, 167, 69, 0.4); }
    50% { transform: scale(1.03); box-shadow: 0 8px 30px rgba(40, 167, 69, 0.6); }
}

/* ============================================
   Event Main Section
   ============================================ */
.event-main-section {
    margin-top: -60px;
    position: relative;
    z-index: 10;
    padding-bottom: 60px;
}

/* Actions Card (Right Side) */
.event-actions-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--event-shadow);
    position: sticky;
    top: 20px;
    transition: var(--transition-smooth);
}

.event-actions-card:hover {
    box-shadow: var(--event-shadow-hover);
}

.event-mobile-title {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--event-light);
}

.event-mobile-title h1 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--event-dark);
    margin-bottom: 8px;
}

.event-mobile-title p {
    color: #666;
    margin: 0;
    font-size: 0.95rem;
}

/* Action Buttons */
.actions-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.btn-event-primary {
    background: var(--event-gradient);
    color: white;
    border: none;
    padding: 16px 30px;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition-smooth);
    box-shadow: 0 8px 25px rgba(13, 74, 111, 0.3);
    text-decoration: none;
}

.btn-event-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(13, 74, 111, 0.4);
    color: white;
}

.btn-event-secondary {
    background: white;
    color: var(--event-primary);
    border: 2px solid var(--event-primary);
    padding: 14px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.btn-event-secondary:hover {
    background: var(--event-primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(13, 74, 111, 0.25);
}

/* Quick Info */
.quick-info-wrapper {
    background: var(--event-light);
    border-radius: var(--radius-md);
    padding: 25px;
    margin-bottom: 25px;
}

.quick-info-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--event-dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.quick-info-title i {
    color: var(--event-secondary);
}

.quick-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.quick-info-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: white;
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
}

.quick-info-list li:hover {
    transform: translateX(-5px);
    box-shadow: 0 5px 15px rgba(13, 74, 111, 0.1);
}

.quick-info-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: white;
    flex-shrink: 0;
}

.quick-info-icon.category { background: var(--event-primary); }
.quick-info-icon.date { background: var(--event-secondary); }
.quick-info-icon.time { background: var(--event-gold); }
.quick-info-icon.type { background: #e74c3c; }
.quick-info-icon.status { background: var(--event-accent); }

.quick-info-text {
    display: flex;
    flex-direction: column;
}

.quick-info-text .label {
    font-size: 0.75rem;
    color: #999;
}

.quick-info-text .value {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--event-dark);
}

/* QR Code */
.qr-wrapper {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, var(--event-light) 0%, #e0f2f1 100%);
    border-radius: var(--radius-md);
    border: 2px dashed rgba(13, 74, 111, 0.2);
}

.qr-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--event-dark);
    margin-bottom: 15px;
}

.qr-code-box {
    background: white;
    padding: 15px;
    border-radius: var(--radius-sm);
    display: inline-block;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition-smooth);
}

.qr-wrapper:hover .qr-code-box {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.qr-hint {
    font-size: 0.85rem;
    color: #777;
    margin: 15px 0 0;
}

/* Details Card (Left Side) */
.event-details-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--event-shadow);
    transition: var(--transition-smooth);
}

.event-details-card:hover {
    box-shadow: var(--event-shadow-hover);
}

/* Event Header */
.event-header {
    margin-bottom: 35px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--event-light);
}

.event-category-badge {
    display: inline-flex;
    align-items: center;
    background: var(--event-gradient);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.event-main-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--event-dark);
    margin-bottom: 15px;
    line-height: 1.3;
}

.event-subtitle {
    font-size: 1.15rem;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

/* Section Heading */
.section-heading {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--event-dark);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.heading-icon {
    width: 45px;
    height: 45px;
    background: var(--event-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
}

/* Description Content */
.description-content {
    font-size: 1.1rem;
    line-height: 2;
    color: #555;
}

.description-content p {
    margin-bottom: 20px;
}

.description-content strong {
    color: var(--event-primary);
}

.highlight-box {
    background: linear-gradient(135deg, var(--event-light) 0%, #e0f2f1 100%);
    border-right: 5px solid var(--event-secondary);
    padding: 25px;
    border-radius: var(--radius-md);
    margin: 25px 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.highlight-icon {
    width: 50px;
    height: 50px;
    background: var(--event-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.highlight-box p {
    margin: 0;
    font-size: 1.1rem;
    color: var(--event-dark);
}

.welcome-text {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.08) 0%, rgba(26, 138, 138, 0.08) 100%);
    padding: 20px 25px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-top: 25px;
}

.welcome-icon {
    width: 40px;
    height: 40px;
    background: var(--event-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

/* Event Highlights */
.event-highlights {
    margin-top: 35px;
    padding-top: 30px;
    border-top: 2px solid var(--event-light);
}

.highlight-card {
    background: var(--event-light);
    border-radius: var(--radius-md);
    padding: 25px 20px;
    text-align: center;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.highlight-card:hover {
    background: white;
    border-color: var(--event-secondary);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(26, 138, 138, 0.15);
}

.highlight-card-icon {
    width: 55px;
    height: 55px;
    background: var(--event-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 1.4rem;
}

.highlight-card h5 {
    font-size: 2rem;
    font-weight: 800;
    background: var(--event-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.highlight-card p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
    font-weight: 600;
}

/* ============================================
   Location Section
   ============================================ */
.location-section {
    padding: 0 20px 60px;
}

.main-section-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--event-dark);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.title-icon {
    width: 50px;
    height: 50px;
    background: var(--event-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
}

.map-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--event-shadow);
    transition: var(--transition-smooth);
    height: 100%;
}

.map-card:hover {
    box-shadow: var(--event-shadow-hover);
    transform: translateY(-5px);
}

.map-container {
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.location-info-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--event-shadow);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.location-info-card:hover {
    box-shadow: var(--event-shadow-hover);
}

.location-detail {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid var(--event-light);
}

.location-detail:last-of-type {
    border-bottom: none;
}

.location-detail-icon {
    width: 45px;
    height: 45px;
    background: var(--event-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--event-primary);
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.location-detail:hover .location-detail-icon {
    background: var(--event-gradient);
    color: white;
}

.location-detail-text {
    display: flex;
    flex-direction: column;
}

.location-detail-text .label {
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 3px;
}

.location-detail-text .value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--event-dark);
}

.btn-directions {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--event-gradient);
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    margin-top: auto;
    transition: var(--transition-smooth);
}

.btn-directions:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(13, 74, 111, 0.3);
    color: white;
}

/* ============================================
   Gallery Section
   ============================================ */
.gallery-section {
    padding: 0 20px 80px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition-smooth);
    height: 200px;
}

.gallery-item.featured,
.gallery-item.wide {
    height: 300px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(13, 74, 111, 0.2);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(13, 74, 111, 0.7) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: white;
    font-size: 2.5rem;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

/* ============================================
   Lightbox
   ============================================ */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(10, 58, 90, 0.95);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.gallery-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.lightbox-close:hover {
    background: white;
    color: var(--event-primary);
    transform: rotate(90deg);
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    transform: scale(0.9);
    transition: transform 0.4s ease;
}

.gallery-lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

/* ============================================
   Responsive Adjustments
   ============================================ */
@media (max-width: 991px) {
    .event-actions-card {
        position: relative;
        top: 0;
    }
    
    .event-details-card {
        padding: 30px;
    }
    
    .event-main-title {
        font-size: 1.8rem;
    }
    
    .map-container {
        height: 300px;
    }
}

@media (max-width: 767px) {
    .event-main-section {
        margin-top: -40px;
    }
    
    .event-actions-card,
    .event-details-card {
        padding: 25px;
    }
    
    .section-heading {
        font-size: 1.15rem;
    }
    
    .heading-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .highlight-box {
        flex-direction: column;
        text-align: center;
    }
    
    .welcome-text {
        flex-direction: column;
        text-align: center;
    }
    
    .gallery-item {
        height: 180px;
    }
    
    .gallery-item.featured,
    .gallery-item.wide {
        height: 220px;
    }
}

@media (max-width: 576px) {
    .event-hero {
        margin: 10px;
        height: 300px;
        margin-top:8rem;
        border-radius: var(--radius-md);
    }
    
    .event-status-badge {
        top: 15px;
        right: 15px;
        padding: 8px 18px;
        font-size: 0.8rem;
    }
    
    .countdown-container {
        bottom: 25px;
    }
    
    .main-section-title {
        font-size: 1.4rem;
    }
    
    .title-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .location-section,
    .gallery-section {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* ============================================
   Event Agenda Section
   ============================================ */
.agenda-section {
    padding: 60px 0;
    background: linear-gradient(180deg, #f8fbfc 0%, #e8f4f8 100%);
}

.agenda-wrapper {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--event-shadow);
}

.agenda-timeline {
    position: relative;
}

.agenda-item {
    display: grid;
    grid-template-columns: 100px 60px 1fr;
    gap: 0;
    margin-bottom: 20px;
}

.agenda-item:last-child {
    margin-bottom: 0;
}

.agenda-time {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 20px;
}

.time-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--event-primary);
}

.time-period {
    font-size: 0.8rem;
    color: #888;
    font-weight: 600;
}

.agenda-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
}

.connector-dot {
    width: 16px;
    height: 16px;
    background: var(--event-gradient);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(13, 74, 111, 0.15);
    flex-shrink: 0;
    z-index: 2;
}

.connector-line {
    width: 3px;
    flex-grow: 1;
    background: linear-gradient(180deg, var(--event-primary) 0%, var(--event-secondary) 100%);
    margin-top: 8px;
    min-height: 60px;
    border-radius: 3px;
}

.agenda-content {
    padding-bottom: 20px;
}

.agenda-card {
    background: var(--event-light);
    border-radius: var(--radius-md);
    padding: 25px;
    transition: var(--transition-smooth);
    border-right: 4px solid var(--event-primary);
    position: relative;
    overflow: hidden;
}

.agenda-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: var(--event-gradient);
    opacity: 0;
    transition: var(--transition-smooth);
}

.agenda-card:hover {
    transform: translateX(-5px);
    box-shadow: 0 10px 30px rgba(13, 74, 111, 0.15);
}

.agenda-card.featured {
    background: linear-gradient(135deg, rgba(13, 74, 111, 0.08) 0%, rgba(26, 138, 138, 0.08) 100%);
    border-right-width: 6px;
}

.agenda-card.closing {
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.1) 0%, rgba(40, 167, 69, 0.1) 100%);
    border-right-color: var(--event-gold);
}

.agenda-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.agenda-badge.registration {
    background: rgba(13, 74, 111, 0.15);
    color: var(--event-primary);
}

.agenda-badge.opening {
    background: rgba(26, 138, 138, 0.15);
    color: var(--event-secondary);
}

.agenda-badge.keynote {
    background: var(--event-gradient);
    color: white;
}

.agenda-badge.break {
    background: rgba(201, 162, 39, 0.15);
    color: #a08520;
}

.agenda-badge.workshop {
    background: rgba(40, 167, 69, 0.15);
    color: var(--event-accent);
}

.agenda-badge.panel {
    background: rgba(155, 89, 182, 0.15);
    color: #8e44ad;
}

.agenda-badge.closing-badge {
    background: linear-gradient(135deg, var(--event-gold), var(--event-accent));
    color: white;
}

.agenda-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--event-dark);
    margin-bottom: 8px;
}

.agenda-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.agenda-speaker {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: white;
    border-radius: var(--radius-sm);
    margin-bottom: 15px;
}

.agenda-speaker img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
}

.agenda-speaker strong {
    display: block;
    font-size: 0.95rem;
    color: var(--event-dark);
}

.agenda-speaker span {
    font-size: 0.8rem;
    color: #888;
}

.agenda-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.agenda-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #888;
}

.agenda-meta span i {
    color: var(--event-secondary);
}

/* ============================================
   Modal Styles
   ============================================ */
.registration-modal .modal-content,
.guide-modal .modal-content {
    border: none;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(13, 74, 111, 0.25);
}

.registration-modal .modal-header,
.guide-modal .modal-header {
    background: var(--event-gradient);
    padding: 25px 30px;
    border: none;
}

.modal-header-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.modal-icon {
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.modal-icon.guide {
    background: rgba(231, 76, 60, 0.3);
}

.modal-title {
    color: white;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
}

.modal-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 5px 0 0;
}

.btn-close-modal {
    position: absolute;
    left: 20px;
    top: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-close-modal:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.registration-modal .modal-body,
.guide-modal .modal-body {
    padding: 30px;
}

/* Form Styles */
.registration-form .form-group {
    margin-bottom: 0;
}

.registration-form .form-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--event-dark);
    margin-bottom: 10px;
}

.registration-form .required {
    color: #e74c3c;
}

.input-wrapper {
    position: relative;
}

.input-wrapper i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--event-secondary);
    font-size: 1rem;
    z-index: 2;
}

.input-wrapper.textarea-wrapper i {
    top: 18px;
    transform: none;
}

.input-wrapper .form-control,
.input-wrapper .form-select {
    padding: 14px 45px 14px 15px;
    border: 2px solid #e8f0f3;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: var(--transition-smooth);
    background: #f8fbfc;
}

.input-wrapper .form-control:focus,
.input-wrapper .form-select:focus {
    border-color: var(--event-secondary);
    background: white;
    box-shadow: 0 0 0 4px rgba(26, 138, 138, 0.1);
}

.input-wrapper .form-control::placeholder {
    color: #aaa;
}

.input-wrapper textarea.form-control {
    min-height: 100px;
    resize: none;
}

.terms-check {
    padding: 20px;
    background: var(--event-light);
    border-radius: var(--radius-sm);
    margin-top: 10px;
}

.terms-check .form-check-input {
    width: 20px;
    height: 20px;
    margin-left: 12px;
    border: 2px solid var(--event-primary);
    cursor: pointer;
}

.terms-check .form-check-input:checked {
    background-color: var(--event-primary);
    border-color: var(--event-primary);
}

.terms-check .form-check-label {
    font-size: 0.95rem;
    color: #555;
    cursor: pointer;
}

.terms-link {
    color: var(--event-primary);
    text-decoration: underline;
    font-weight: 600;
}

/* Modal Footer */
.registration-modal .modal-footer,
.guide-modal .modal-footer {
    padding: 20px 30px;
    border-top: 2px solid var(--event-light);
    gap: 12px;
}

.btn-modal-cancel {
    padding: 12px 25px;
    border: 2px solid #e0e0e0;
    background: white;
    color: #666;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
}

.btn-modal-cancel:hover {
    border-color: #e74c3c;
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.05);
}

.btn-modal-submit {
    padding: 12px 30px;
    background: var(--event-gradient);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    box-shadow: 0 5px 20px rgba(13, 74, 111, 0.3);
}

.btn-modal-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13, 74, 111, 0.4);
}

.btn-modal-download {
    padding: 12px 30px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
    box-shadow: 0 5px 20px rgba(231, 76, 60, 0.3);
}

.btn-modal-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
    color: white;
}

/* Guide Modal */
.guide-preview {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.08) 0%, rgba(192, 57, 43, 0.08) 100%);
    border-radius: var(--radius-md);
    margin-bottom: 25px;
}

.guide-preview .guide-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.guide-preview .guide-info h6 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--event-dark);
    margin: 0 0 5px;
}

.guide-preview .guide-info span {
    font-size: 0.9rem;
    color: #888;
}

.guide-description {
    padding: 20px;
    background: var(--event-light);
    border-radius: var(--radius-md);
}

.guide-description p {
    margin-bottom: 15px;
    color: #555;
    font-size: 0.95rem;
}

.guide-description ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.guide-description ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: #666;
    font-size: 0.95rem;
}

.guide-description ul li i {
    color: var(--event-accent);
    font-size: 1rem;
}

/* Responsive Agenda */
@media (max-width: 768px) {
    .agenda-wrapper {
        padding: 25px 20px;
    }
    
    .agenda-item {
        grid-template-columns: 80px 40px 1fr;
    }
    
    .time-value {
        font-size: 1.2rem;
    }
    
    .agenda-card {
        padding: 20px;
    }
    
    .agenda-card h4 {
        font-size: 1.05rem;
    }
    
    .agenda-meta {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 576px) {
    .agenda-item {
        grid-template-columns: 60px 30px 1fr;
    }
    
    .time-value {
        font-size: 1rem;
    }
    
    .time-period {
        font-size: 0.7rem;
    }
    
    .connector-dot {
        width: 12px;
        height: 12px;
    }
    
    .connector-line {
        width: 2px;
    }
    
    .agenda-card {
        padding: 15px;
    }
    
    .agenda-badge {
        font-size: 0.7rem;
        padding: 5px 10px;
    }
    
    .agenda-speaker {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    /* Modal Responsive */
    .registration-modal .modal-header,
    .guide-modal .modal-header {
        padding: 20px;
    }
    
    .modal-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .modal-title {
        font-size: 1.2rem;
    }
    
    .registration-modal .modal-body,
    .guide-modal .modal-body {
        padding: 20px;
    }
    
    .registration-modal .modal-footer,
    .guide-modal .modal-footer {
        flex-direction: column;
        padding: 15px 20px;
    }
    
    .btn-modal-cancel,
    .btn-modal-submit,
    .btn-modal-download {
        width: 100%;
        justify-content: center;
    }
    
    .guide-preview {
        flex-direction: column;
        text-align: center;
    }
}
