/* 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 */
.main-title, h1, .heading {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

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

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

/* Hero Section Styles */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-section::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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-image {
    position: relative;
    z-index: 2;
}

/* Activity Tabs Styles */
.activity-tabs .nav-pills .nav-link {
    background: transparent;
    border: 2px solid #982598;
    color: #982598;
    border-radius: 25px;
    padding: 12px 30px;
    margin: 0 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.activity-tabs .nav-pills .nav-link:hover {
    background: rgba(152, 37, 152, 0.1);
    transform: translateY(-2px);
}

.activity-tabs .nav-pills .nav-link.active {
    background: #982598;
    color: white;
    box-shadow: 0 4px 15px rgba(152, 37, 152, 0.3);
}

/* Completed Activities Styles */
.completed-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

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

.completed-card .card-header {
    border: none;
    padding: 15px 20px;
    font-weight: 600;
}

.completed-card .card-body {
    padding: 20px;
}

.completed-card .card-title {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 10px;
}

.completed-card .card-text {
    color: #6c757d;
    line-height: 1.6;
}

/* Documentation Styles */
.documentation-card {
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    border: 1px solid #e9ecef;
    border-radius: 0;
}

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

.image-wrapper {
    position: relative;
    overflow: hidden;
    height: 250px;
}

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

.documentation-card:hover .documentation-image {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-overlay i {
    color: white;
    font-size: 2rem;
}

.documentation-card:hover .image-overlay {
    opacity: 1;
}

.card-content {
    padding: 1.5rem;
}

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

.card-description {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
    border-radius: 0;
    color: white;
}

.bg-purple {
    background-color: #6f42c1 !important;
}

.bg-yellow {
    background-color: #ffc107 !important;
    color: #000 !important;
}

.bg-green {
    background-color: #28a745 !important;
}

/* Mobile Documentation Styles */
.mobile-doc-card {
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
    margin: 0 15px;
}

.mobile-doc-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.mobile-doc-content {
    padding: 1rem;
    text-align: center;
}

.mobile-doc-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.mobile-doc-desc {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

/* Custom carousel controls */
.carousel-indicators {
    bottom: -50px;
}

.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #6c757d;
    border: none;
    margin: 0 5px;
}

.carousel-indicators .active {
    background-color: #6f42c1;
}

/* Testimonial Styles */
.testimonial-illustration-clean {
    background: transparent;
}

.testimonial-card-elegant {
    background: white;
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    padding: 1.5rem;
    margin: 0 10px;
    transition: all 0.3s ease;
    border-radius: 0;
    height: 450px;
    display: flex;
    flex-direction: column;
}

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

.testimonial-header {
    margin-bottom: 1.5rem;
    text-align: center;
}

.testimonial-name {
    font-size: 1.2rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.testimonial-location {
    color: #6c757d;
    font-size: 0.9rem;
}

.testimonial-image-container {
    text-align: center;
    margin-bottom: 1.5rem;
}

.testimonial-photo {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.testimonial-content {
    position: relative;
    text-align: left;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.quote-icon {
    color: #6f42c1;
    font-size: 1.2rem;
    float: left;
    margin-right: 0.5rem;
    margin-top: 0.2rem;
}

.testimonial-text {
    color: #495057;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 0;
    font-size: 0.95rem;
    flex-grow: 1;
}

/* Kegiatan Terbaru 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;
}

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

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

.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;
}

.badge-success {
    background-color: #28a745;
    color: white;
}

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

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

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

/* Title Styles */
.main-title {
    font-size: 48px;
}

/* Button Purple Custom */
.btn-purple-custom {
    background-color: #6f42c1;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-purple-custom:hover {
    background-color: #5a2d91;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(111, 66, 193, 0.3);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem !important;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
    }
    
    .activity-tabs .nav-pills .nav-link {
        margin: 5px;
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .main-title {
        font-size: 2rem !important;
    }
    
    .heading {
        font-size: 1.5rem !important;
    }
    
    .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;
    }
    
    .section-register {
        margin-left: -15px;
        margin-right: -15px;
    }
    
    .register-panel {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 576px) {
    .main-title {
        font-size: 1.75rem !important;
    }
}