/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Montserrat:wght@300;400;500;600;700&display=swap');

/* Typography System */
.hero-title, h1, .heading, .kegiatan-title {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

h2, h3, h4, h5, h6, .hero-subtitle, .section-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

p, .text-muted, .description-content, .kegiatan-description, .meta-label, .meta-value, body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

/* Breadcrumb Styles */
.text-purple {
    color: #6f42c1 !important;
}

.text-purple-dark {
    color: #5a2d91 !important;
}

.custom-breadcrumb {
    font-size: 1rem;
    font-weight: 500;
}

.custom-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #6f42c1;
    margin: 0 0.5rem;
}

.custom-breadcrumb a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.custom-breadcrumb a:hover {
    color: #5a2d91 !important;
    text-shadow: 0 0 5px rgba(111, 66, 193, 0.3);
}

/* Hero Section */
.hero-section {
    padding: 120px 0 80px;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
}

/* Detail Kegiatan Styles */
.kegiatan-detail-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

.kegiatan-header-image {
    position: relative;
    min-height: 500px;
    overflow: hidden;
    padding: 1rem;
}

.main-image-container {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 8px;
}

.main-image {
    max-width: 100%;
    max-height: 480px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

.single-main-image {
    max-width: 100%;
    max-height: 500px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

.single-image-container {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
}

.thumbnail-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    height: 100%;
}

.thumbnail-item {
    height: calc(50% - 0.25rem);
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    overflow: hidden;
}

.thumbnail-item:hover {
    border-color: #6f42c1;
}

.thumbnail-item.active {
    border-color: #6f42c1;
    opacity: 1;
}

.thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.1));
    display: flex;
    align-items: flex-end;
    padding: 2rem;
}

.overlay-content {
    width: 100%;
}

.badge-lg {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
}

.kegiatan-content {
    padding: 2.5rem;
}

.kegiatan-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.kegiatan-meta {
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 1.5rem;
}

.meta-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.meta-item i {
    width: 20px;
    margin-right: 0.75rem;
}

.meta-label {
    font-weight: 600;
    margin-right: 0.5rem;
    color: #495057;
}

.meta-value {
    color: #6c757d;
}

.section-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 1rem;
    border-bottom: 2px solid #6f42c1;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.description-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #495057;
    text-align: justify;
}

.sidebar-info {
    position: sticky;
    top: 2rem;
}

.info-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid #6f42c1;
}

.info-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.info-item {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #dee2e6;
}

.info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.action-buttons .btn {
    font-weight: 600;
    border-radius: 0;
    box-shadow: none;
}

/* Kegiatan List Styles */
.kegiatan-item {
    background: transparent;
    padding: 2rem;
    border-radius: 0;
    box-shadow: none;
    transition: all 0.3s ease;
}

.kegiatan-item:hover {
    transform: translateY(-3px);
    box-shadow: none;
}

.kegiatan-image-wrapper {
    overflow: hidden;
    border-radius: 0;
}

.kegiatan-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.kegiatan-item:hover .kegiatan-image {
    transform: scale(1.05);
}

.kegiatan-content {
    padding-left: 1rem;
}

.kegiatan-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.kegiatan-description {
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.kegiatan-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.kegiatan-date {
    color: #495057;
    font-size: 0.95rem;
}

.kegiatan-divider {
    border-color: #e9ecef;
    margin: 2rem 0;
}

.no-kegiatan {
    padding: 3rem 1rem;
}

/* Badge Styles */
.badge-success {
    background-color: #28a745;
    color: white;
}

.badge-warning {
    background-color: #ffc107;
    color: #212529;
}

.badge-info {
    background-color: #17a2b8;
    color: white;
}

/* Button Styles */
.btn-lexi-yellow {
    border-radius: 0;
    box-shadow: none;
    color: white !important;
    border: none;
}

.btn {
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Breadcrumb Override */
.breadcrumb {
    background: transparent;
    padding: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .kegiatan-header-image {
        min-height: 300px;
    }
    
    .main-image-container {
        min-height: 280px;
    }
    
    .single-image-container {
        min-height: 300px;
    }
    
    .kegiatan-content {
        padding: 1.5rem;
    }
    
    .kegiatan-title {
        font-size: 1.8rem;
    }
    
    .image-overlay {
        padding: 1rem;
    }
    
    .sidebar-info {
        margin-top: 2rem;
        position: static;
    }
    
    .meta-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .meta-item i {
        margin-bottom: 0.25rem;
    }
    
    .kegiatan-item {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .kegiatan-content {
        padding-left: 0;
        margin-top: 1rem;
    }
    
    .kegiatan-title {
        font-size: 1.25rem;
    }
    
    .kegiatan-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .kegiatan-status {
        margin-left: 0 !important;
        margin-top: 0.5rem;
    }
}

@media (max-width: 576px) {
    .kegiatan-title {
        font-size: 1.5rem;
    }
    
    .description-content {
        font-size: 1rem;
    }
}