/* ============================================
   AGENDA PAGE
   ============================================ */

/* Hero */
.agenda-hero {
    background: linear-gradient(135deg, #0d2b4e 0%, #1a6fa8 100%);
    padding: 40px 0;
    color: white;
    text-align: center;
}

.agenda-hero-icon {
    font-size: 80px;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
}

.agenda-hero h1 {
    font-size: 42px;
    margin-bottom: 15px;
    font-weight: 700;
}

.agenda-hero p {
    font-size: 18px;
    opacity: 0.95;
}

/* Breadcrumb */
.breadcrumb-section {
    background: #f8f9fa;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.breadcrumb-nav {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 14px;
    color: #666;
}

.breadcrumb-nav a {
    color: #2a5298;
    text-decoration: none;
}

.breadcrumb-nav a:hover {
    text-decoration: underline;
}

/* Content */
.content-section {
    background: #f5f7fa;
    padding: 60px 0;
}

.agenda-section-title {
    text-align: center;
    margin-bottom: 40px;
}

.agenda-section-title h2 {
    font-size: 32px;
    color: #1e3c72;
    margin-bottom: 10px;
}

.agenda-section-title p {
    color: #666;
    font-size: 16px;
}

.agenda-section-title.mt {
    margin-top: 60px;
}

/* Grid */
.agenda-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

/* Card */
.agenda-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    cursor: pointer;
}

.agenda-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.2);
}

/* Image */
.agenda-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.agenda-image.upcoming {
    background: linear-gradient(135deg, #0d2b4e 0%, #1a6fa8 100%);
}

.agenda-image.ongoing {
    background: linear-gradient(135deg, #4CAF50 0%, #81C784 100%);
}

.agenda-image.completed {
    background: linear-gradient(135deg, #9E9E9E 0%, #BDBDBD 100%);
}

.agenda-image.completed-photo {
    filter: grayscale(30%);
}

.agenda-status-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: white;
    backdrop-filter: blur(10px);
}

/* Content */
.agenda-content {
    padding: 25px;
}

.agenda-date {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #667eea;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 14px;
}

.agenda-title {
    font-size: 20px;
    color: #1e3c72;
    margin-bottom: 12px;
    font-weight: 700;
    line-height: 1.4;
}

.agenda-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.agenda-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Button */
.btn-detail {
    display: inline-block;
    background: linear-gradient(135deg, #0d2b4e 0%, #1a6fa8 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-detail:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 16px;
}

.empty-state-icon {
    font-size: 80px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.empty-state p {
    color: #999;
    font-size: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .agenda-hero { padding: 60px 0; }
    .agenda-hero h1 { font-size: 30px; }
    .agenda-hero p { font-size: 15px; }
    .agenda-grid { grid-template-columns: 1fr; }
    .agenda-section-title h2 { font-size: 24px; }
}

/* ============================================
   AGENDA SHOW (DETAIL)
   ============================================ */

.agenda-detail-hero {
    background: linear-gradient(135deg, #0d2b4e 0%, #1a6fa8 100%);
    padding: 40px 0;
    color: white;
    text-align: center;
}

.agenda-detail-hero-icon {
    font-size: 80px;
    margin-bottom: 20px;
}

.agenda-detail-hero h1 {
    font-size: 42px;
    margin-bottom: 15px;
    font-weight: 700;
}

/* Main card */
.main-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.agenda-image-large {
    width: 100%;
    height: 450px;
    object-fit: contain;
}

.agenda-image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #0d2b4e 0%, #1a6fa8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 120px;
}

.main-content {
    padding: 40px;
}

.status-badge {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
}

.agenda-title-main {
    font-size: 32px;
    color: #1e3c72;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.agenda-meta-main {
    display: grid;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: #555;
}

.meta-icon {
    font-size: 24px;
    width: 40px;
    height: 40px;
    background: #f0f0f0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.description-title {
    color: #1e3c72;
    margin-bottom: 15px;
    font-size: 22px;
}

.description-section {
    line-height: 1.9;
    color: #555;
    font-size: 16px;
    margin-top: 30px;
}

/* Sidebar */
.sidebar-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 25px;
}

.sidebar-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    color: #1e3c72;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.info-item {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 12px;
}

.info-label {
    font-size: 12px;
    color: #999;
    margin-bottom: 5px;
}

.info-value {
    font-size: 16px;
    color: #333;
    font-weight: 600;
}

/* Alert box */
.alert-box {
    background: linear-gradient(135deg, #0d2b4e 0%, #1a6fa8 100%);
    border-radius: 16px;
    padding: 25px;
    color: white;
    text-align: center;
}

.alert-box.ongoing {
    background: linear-gradient(135deg, #4CAF50 0%, #81C784 100%);
}

.alert-box.completed {
    background: linear-gradient(135deg, #9E9E9E 0%, #BDBDBD 100%);
}

.alert-box-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.alert-box h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.alert-box p {
    font-size: 14px;
    opacity: 0.9;
    margin: 0;
}

/* Related */
.related-section {
    margin-top: 50px;
}

.related-title {
    font-size: 28px;
    color: #1e3c72;
    margin-bottom: 30px;
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.related-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    cursor: pointer;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.related-image {
    height: 180px;
    background-size: cover;
    background-position: center;
}

.related-image.placeholder {
    background: linear-gradient(135deg, #0d2b4e 0%, #1a6fa8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

.related-content {
    padding: 20px;
}

.related-date {
    color: #667eea;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 13px;
}

.related-card-title {
    font-size: 18px;
    color: #1e3c72;
    margin-bottom: 10px;
    font-weight: 700;
}

.related-location {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.related-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    color: white;
}

/* Back button */
.back-btn-wrap {
    margin-top: 40px;
    text-align: center;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: #2a5298;
    padding: 14px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid #2a5298;
    transition: all 0.3s;
    font-size: 16px;
}

.btn-back:hover {
    background: #2a5298;
    color: white;
}

/* Responsive show */
@media (max-width: 968px) {
    .agenda-image-large,
    .agenda-image-placeholder { height: 250px; }
    .agenda-title-main { font-size: 24px; }
    .agenda-detail-hero h1 { font-size: 28px; }
}

/* ============================================
   AGENDA SHOW - LAYOUT GRID (tidak bentrok dengan home.css)
   ============================================ */
.agenda-show-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

@media (max-width: 968px) {
    .agenda-show-grid {
        grid-template-columns: 1fr;
    }
}