/* 
 * HIMABISDIG - Kegiatan List Styles (CLEAN & PROFESSIONAL)
 * Inspired by About Page - No Alay, Pure Professional
 * Created: November 2025
 */

/* ===== CSS VARIABLES ===== */
:root {
    --primary: #0A2463;
    --primary-light: #3E92CC;
    --secondary: #F7931E;
    --text-dark: #1a202c;
    --text-body: #4a5568;
    --text-light: #718096;
    --border: #e2e8f0;
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--primary-light));
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* ===== HERO SECTION ===== */
.kegiatan-hero-section {
    position: relative;
    background-color: var(--primary);
    background-size: cover;
    background-position: center;
    padding: 8rem 0 6rem;
    min-height: 50vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 36, 99, 0.9), rgba(62, 146, 204, 0.8));
    z-index: 1;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px, 30px 30px;
    opacity: 0.4;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
}

/* Breadcrumb */
.breadcrumb-nav {
    position: relative;
    z-index: 3;
    margin-bottom: 2rem;
}

.breadcrumb {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    margin: 0;
    display: inline-flex;
}

.breadcrumb-item {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.breadcrumb-item a {
    color: white;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.9);
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: rgba(255, 255, 255, 0.6);
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    margin: 0;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-arrow {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
}

.scroll-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* ===== FILTER SECTION ===== */
.filter-section {
    padding: 3rem 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
}

.filter-container {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: 50px;
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
}

/* Search Form */
.search-form {
    margin-top: 0.75rem;
}

.search-wrapper {
    position: relative;
    display: flex;
}

.search-wrapper .form-control {
    border-radius: 0.5rem 0 0 0.5rem;
    border: 1px solid var(--border);
    padding: 0.875rem 1rem;
    font-size: 0.9375rem;
}

.search-wrapper .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(10, 36, 99, 0.1);
    outline: none;
}

.btn-search {
    padding: 0.875rem 1.5rem;
    background: var(--primary);
    color: white;
    border: 1px solid var(--primary);
    border-radius: 0 0.5rem 0.5rem 0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-search:hover {
    background: var(--primary-light);
}

/* Select Filters */
.form-control {
    margin-top: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 0.875rem 1rem;
    font-size: 0.9375rem;
    background: white;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(10, 36, 99, 0.1);
    outline: none;
}

/* Active Filters */
.active-filters {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.filter-label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.875rem;
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--primary);
    color: white;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
}

.remove-filter {
    color: white;
    text-decoration: none;
    font-size: 1.25rem;
    line-height: 1;
    margin-left: 0.25rem;
}

.remove-filter:hover {
    color: white;
}

.clear-all {
    color: var(--danger);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
}

.clear-all:hover {
    text-decoration: underline;
}

/* ===== KEGIATAN SECTION ===== */
.kegiatan-section {
    padding: 5rem 0;
    background: var(--bg-white);
}

.finished-section {
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-body);
    margin: 0;
}

/* ===== KEGIATAN GRID ===== */
.kegiatan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

/* ===== KEGIATAN CARD ===== */
.kegiatan-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    border: 2px solid var(--border);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.kegiatan-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

/* Image Section */
.kegiatan-image {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: var(--bg-light);
}

.kegiatan-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.kegiatan-card:hover .kegiatan-image img {
    transform: scale(1.1);
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    color: var(--text-light);
    font-size: 3rem;
}

/* Date Badge - Kiri Atas (tetap di posisi asli) */
.date-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--secondary);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    text-align: center;
    font-weight: 700;
    box-shadow: var(--shadow-md);
    z-index: 3;
    min-width: 70px;
}

.date-badge.finished {
    background: var(--text-light);
}

.date-badge .day {
    display: block;
    font-size: 1.5rem;
    line-height: 1;
}

.date-badge .month {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    margin-top: 0.25rem;
}

/* Status Badge - Kanan Atas dengan max-width */
.status-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    z-index: 2;
    max-width: calc(100% - 100px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.status-badge.open {
    background: var(--success);
    color: white;
}

.status-badge.closed {
    background: var(--danger);
    color: white;
}

.status-badge.full {
    background: var(--warning);
    color: white;
}

.status-badge.finished {
    background: white;
    color: var(--text-dark);
    border: 1px solid var(--border);
}
/* Overlay */
.kegiatan-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 36, 99, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.kegiatan-card:hover .kegiatan-overlay {
    opacity: 1;
}

.btn-view {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-view:hover {
    transform: scale(1.1);
}

/* Content Section */
.kegiatan-content {
    padding: 1.5rem;
}

.kegiatan-meta {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.meta-badge {
    padding: 0.25rem 0.75rem;
    background: rgba(10, 36, 99, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.meta-badge.ekosistem {
    background: rgba(247, 147, 30, 0.1);
    color: var(--secondary);
}

.kegiatan-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.kegiatan-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.kegiatan-title a:hover {
    color: var(--primary);
}

/* Info Items */
.kegiatan-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-body);
}

.info-item i {
    width: 16px;
    color: var(--primary);
}

/* Excerpt */
.kegiatan-excerpt {
    font-size: 0.9375rem;
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Footer */
.kegiatan-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-weight: 700;
}

.price .amount {
    font-size: 1.25rem;
    color: var(--primary);
}

.price .free {
    font-size: 1rem;
    color: var(--success);
}

.success-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
}

.btn-detail {
    padding: 0.625rem 1.25rem;
    background: var(--primary);
    color: white;
    border-radius: 0.5rem;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.btn-detail:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    color: white;
}

/* ===== EMPTY STATE ===== */
.empty-state-section {
    padding: 5rem 0;
    background: var(--bg-white);
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 3.5rem;
}

.empty-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.empty-text {
    font-size: 1.125rem;
    color: var(--text-body);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary-gradient {
    padding: 0.875rem 2rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.btn-primary-gradient:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 1.5rem 0;
    background: transparent;
}

.cta-box {
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: 1.5rem;
    padding: 2.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-height: 200px;
    display: flex;
    align-items: center;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 36, 99, 0.8), rgba(62, 146, 204, 0.7));
    z-index: 1;
}

.cta-content {
    max-width: 700px;
    z-index: 2;
}

.cta-title {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-title .text-warning {
    color: var(--secondary);
}

.cta-text {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.cta-button-wrapper {
    display: flex;
    justify-content: flex-start;
}

.btn-cta-contact {
    padding: 0.875rem 2rem;
    background: var(--secondary);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-cta-contact:hover {
    background: var(--warning);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

/* ===== RESPONSIVE ===== */
/* ===== RESPONSIVE DESIGN - ALL DEVICES ===== */

/* Large Desktop (1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
    
    .kegiatan-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablet Landscape & Medium Desktop (992px - 1199px) */
@media (max-width: 1199.98px) {
    .kegiatan-hero-section {
        padding: 7rem 0 5rem;
        min-height: 45vh;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .hero-subtitle {
        font-size: 1.0625rem;
    }
    
    .kegiatan-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.75rem;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
}

/* Tablet Portrait (768px - 991px) */
@media (max-width: 991.98px) {
    .kegiatan-hero-section {
        padding: 6rem 0 4rem;
        min-height: 40vh;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-badge {
        font-size: 0.8125rem;
        padding: 0.5rem 1rem;
    }
    
    .breadcrumb {
        padding: 0.625rem 1.25rem;
    }
    
    .breadcrumb-item {
        font-size: 0.8125rem;
    }
    
    .scroll-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    /* Filter Section */
    .filter-section {
        padding: 2.5rem 0;
    }
    
    .filter-container {
        padding: 1.75rem;
    }
    
    .section-badge {
        font-size: 0.8125rem;
        padding: 0.4375rem 0.875rem;
    }
    
    .search-wrapper .form-control,
    .form-control {
        font-size: 0.875rem;
        padding: 0.75rem 0.875rem;
    }
    
    .btn-search {
        padding: 0.75rem 1.25rem;
    }
    
    /* Kegiatan Section */
    .kegiatan-section,
    .finished-section,
    .empty-state-section {
        padding: 4rem 0;
    }
    
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .kegiatan-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .kegiatan-image {
        height: 220px;
    }
    
    .kegiatan-body {
        padding: 1.25rem;
    }
    
    .kegiatan-title {
        font-size: 1.125rem;
    }
    
    .info-item {
        font-size: 0.8125rem;
    }
    
    .kegiatan-excerpt {
        font-size: 0.875rem;
    }
    
    /* Empty State */
    .empty-icon {
        width: 110px;
        height: 110px;
        font-size: 3.25rem;
    }
    
    .empty-title {
        font-size: 1.625rem;
    }
    
    .empty-text {
        font-size: 1rem;
    }
}

/* Mobile Landscape & Small Tablet (576px - 767px) */
@media (max-width: 767.98px) {
    .kegiatan-hero-section {
        padding: 5rem 0 3rem;
        min-height: 35vh;
    }
    
    .hero-title {
        font-size: 1.875rem;
        margin-bottom: 0.875rem;
    }
    
    .hero-subtitle {
        font-size: 0.9375rem;
        line-height: 1.6;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 0.4375rem 0.875rem;
        margin-bottom: 1.25rem;
    }
    
    .breadcrumb {
        padding: 0.5rem 1rem;
    }
    
    .breadcrumb-item {
        font-size: 0.75rem;
    }
    
    .scroll-arrow {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
    
    .scroll-indicator {
        bottom: 20px;
    }
    
    /* Filter Section */
    .filter-section {
        padding: 2rem 0;
    }
    
    .filter-container {
        padding: 1.5rem;
        border-radius: 0.875rem;
    }
    
    .section-badge {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
        margin-bottom: 0.625rem;
    }
    
    .search-wrapper .form-control,
    .form-control {
        font-size: 0.8125rem;
        padding: 0.6875rem 0.75rem;
        margin-top: 0.5rem;
    }
    
    .btn-search {
        padding: 0.6875rem 1rem;
        font-size: 0.875rem;
    }
    
    .active-filters {
        margin-top: 1.25rem;
        padding-top: 1.25rem;
        gap: 0.625rem;
    }
    
    .filter-label {
        font-size: 0.8125rem;
    }
    
    .filter-tag {
        padding: 0.4375rem 0.875rem;
        font-size: 0.8125rem;
    }
    
    .clear-all {
        font-size: 0.8125rem;
    }
    
    /* Kegiatan Section */
    .kegiatan-section,
    .finished-section,
    .empty-state-section {
        padding: 3rem 0;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }
    
    .section-subtitle {
        font-size: 0.9375rem;
    }
    
    .kegiatan-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .kegiatan-card {
        border-radius: 0.875rem;
    }
    
    .kegiatan-image {
        height: 200px;
    }
    
    .date-badge {
        padding: 0.5rem 0.625rem;
        font-size: 0.75rem;
    }
    
    .date-badge .day {
        font-size: 1rem;
    }
    
    .date-badge .month {
        font-size: 0.6875rem;
    }
    
    .status-badge {
        padding: 0.4375rem 0.875rem;
        font-size: 0.75rem;
    }
    
    .kegiatan-body {
        padding: 1.125rem;
    }
    
    .kegiatan-tags {
        gap: 0.4375rem;
        margin-bottom: 0.75rem;
    }
    
    .tag {
        padding: 0.25rem 0.625rem;
        font-size: 0.6875rem;
    }
    
    .kegiatan-title {
        font-size: 1.0625rem;
        margin-bottom: 0.875rem;
    }
    
    .kegiatan-info {
        gap: 0.4375rem;
        margin-bottom: 0.875rem;
        padding-bottom: 0.875rem;
    }
    
    .info-item {
        font-size: 0.75rem;
    }
    
    .kegiatan-excerpt {
        font-size: 0.8125rem;
        line-height: 1.5;
        margin-bottom: 0.875rem;
    }
    
    .price .amount {
        font-size: 1.125rem;
    }
    
    .price .free {
        font-size: 0.9375rem;
    }
    
    .success-badge {
        padding: 0.4375rem 0.875rem;
        font-size: 0.8125rem;
    }
    
    .btn-detail {
        padding: 0.5625rem 1.125rem;
        font-size: 0.8125rem;
    }
    
    /* Empty State */
    .empty-state {
        padding: 3rem 1.5rem;
    }
    
    .empty-icon {
        width: 100px;
        height: 100px;
        font-size: 3rem;
        margin-bottom: 1.5rem;
    }
    
    .empty-title {
        font-size: 1.5rem;
        margin-bottom: 0.875rem;
    }
    
    .empty-text {
        font-size: 0.9375rem;
        margin-bottom: 1.5rem;
    }
    
    .btn-primary-gradient {
        padding: 0.75rem 1.75rem;
        font-size: 0.9375rem;
    }
    
    /* CTA Section */
    .cta-section {
        padding: 1.25rem 0;
    }
    
    .cta-box {
        padding: 2rem 1.5rem;
        border-radius: 1.25rem;
        min-height: 180px;
        text-align: center;
    }
    
    .cta-content {
        max-width: 600px;
    }
    
    .cta-title {
        font-size: 1.625rem;
        margin-bottom: 0.875rem;
    }
    
    .cta-text {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }
    
    .cta-button-wrapper {
        justify-content: center;
    }
    
    .btn-cta-contact {
        padding: 0.75rem 1.75rem;
        font-size: 0.9375rem;
    }
}

/* Mobile Portrait (up to 575px) */
@media (max-width: 575.98px) {
    .kegiatan-hero-section {
        padding: 4.5rem 0 2.5rem;
        min-height: 30vh;
    }
    
    .hero-title {
        font-size: 1.625rem;
        margin-bottom: 0.75rem;
        line-height: 1.25;
    }
    
    .hero-subtitle {
        font-size: 0.875rem;
        line-height: 1.5;
    }
    
    .hero-badge {
        font-size: 0.6875rem;
        padding: 0.375rem 0.75rem;
        margin-bottom: 1rem;
        gap: 0.375rem;
    }
    
    .hero-badge i {
        font-size: 0.75rem;
    }
    
    .breadcrumb {
        padding: 0.4375rem 0.875rem;
    }
    
    .breadcrumb-item {
        font-size: 0.6875rem;
    }
    
    .scroll-arrow {
        width: 35px;
        height: 35px;
        font-size: 0.9375rem;
    }
    
    .scroll-indicator {
        bottom: 15px;
    }
    
    /* Filter Section */
    .filter-section {
        padding: 1.75rem 0;
    }
    
    .filter-container {
        padding: 1.25rem;
        border-radius: 0.75rem;
    }
    
    .section-badge {
        font-size: 0.6875rem;
        padding: 0.3125rem 0.625rem;
        margin-bottom: 0.5rem;
    }
    
    .section-badge i {
        font-size: 0.75rem;
    }
    
    .search-wrapper .form-control,
    .form-control {
        font-size: 0.75rem;
        padding: 0.625rem;
        margin-top: 0.4375rem;
        border-radius: 0.4375rem;
    }
    
    .search-wrapper .form-control {
        border-radius: 0.4375rem 0 0 0.4375rem;
    }
    
    .btn-search {
        padding: 0.625rem 0.875rem;
        font-size: 0.8125rem;
        border-radius: 0 0.4375rem 0.4375rem 0;
    }
    
    .active-filters {
        margin-top: 1rem;
        padding-top: 1rem;
        gap: 0.5rem;
        flex-wrap: wrap;
    }
    
    .filter-label {
        font-size: 0.75rem;
        width: 100%;
        margin-bottom: 0.25rem;
    }
    
    .filter-tag {
        padding: 0.375rem 0.75rem;
        font-size: 0.75rem;
    }
    
    .remove-filter {
        font-size: 1.125rem;
    }
    
    .clear-all {
        font-size: 0.75rem;
        width: 100%;
        text-align: center;
        margin-top: 0.5rem;
    }
    
    /* Kegiatan Section */
    .kegiatan-section,
    .finished-section,
    .empty-state-section {
        padding: 2.5rem 0;
    }
    
    .section-header {
        margin-bottom: 1.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 0.625rem;
        line-height: 1.3;
    }
    
    .section-subtitle {
        font-size: 0.875rem;
        line-height: 1.5;
    }
    
    .kegiatan-grid {
        gap: 1rem;
    }
    
    .kegiatan-card {
        border-radius: 0.75rem;
    }
    
    .kegiatan-image {
        height: 180px;
    }
    
    .date-badge {
        padding: 0.4375rem 0.5rem;
        font-size: 0.6875rem;
        top: 0.625rem;
        right: 0.625rem;
    }
    
    .date-badge .day {
        font-size: 0.9375rem;
    }
    
    .date-badge .month {
        font-size: 0.625rem;
    }
    
    .status-badge {
        padding: 0.375rem 0.75rem;
        font-size: 0.6875rem;
        top: 0.625rem;
        left: 0.625rem;
    }
    
    .kegiatan-body {
        padding: 1rem;
    }
    
    .kegiatan-tags {
        gap: 0.375rem;
        margin-bottom: 0.625rem;
    }
    
    .tag {
        padding: 0.1875rem 0.5rem;
        font-size: 0.625rem;
    }
    
    .kegiatan-title {
        font-size: 1rem;
        margin-bottom: 0.75rem;
        line-height: 1.35;
    }
    
    .kegiatan-info {
        gap: 0.375rem;
        margin-bottom: 0.75rem;
        padding-bottom: 0.75rem;
    }
    
    .info-item {
        font-size: 0.6875rem;
    }
    
    .info-item i {
        width: 14px;
        font-size: 0.75rem;
    }
    
    .kegiatan-excerpt {
        font-size: 0.75rem;
        line-height: 1.45;
        margin-bottom: 0.75rem;
    }
    
    .kegiatan-footer {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }
    
    .price .amount {
        font-size: 1rem;
    }
    
    .price .free {
        font-size: 0.875rem;
    }
    
    .success-badge {
        padding: 0.375rem 0.75rem;
        font-size: 0.75rem;
    }
    
    .btn-detail {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
        width: 100%;
        justify-content: center;
    }
    
    /* Empty State */
    .empty-state {
        padding: 2.5rem 1rem;
    }
    
    .empty-icon {
        width: 90px;
        height: 90px;
        font-size: 2.75rem;
        margin-bottom: 1.25rem;
    }
    
    .empty-title {
        font-size: 1.375rem;
        margin-bottom: 0.75rem;
    }
    
    .empty-text {
        font-size: 0.875rem;
        margin-bottom: 1.25rem;
        line-height: 1.6;
    }
    
    .btn-primary-gradient {
        padding: 0.6875rem 1.5rem;
        font-size: 0.875rem;
    }
    
    /* CTA Section */
    .cta-section {
        padding: 1rem 0;
    }
    
    .cta-box {
        padding: 1.75rem 1.25rem;
        border-radius: 1rem;
        min-height: 160px;
    }
    
    .cta-title {
        font-size: 1.375rem;
        margin-bottom: 0.75rem;
        line-height: 1.3;
    }
    
    .cta-text {
        font-size: 0.875rem;
        margin-bottom: 1rem;
        line-height: 1.5;
    }
    
    .btn-cta-contact {
        padding: 0.6875rem 1.5rem;
        font-size: 0.875rem;
    }
}

/* Extra Small Mobile (up to 374px) */
@media (max-width: 374.98px) {
    .hero-title {
        font-size: 1.4375rem;
    }
    
    .hero-subtitle {
        font-size: 0.8125rem;
    }
    
    .filter-container {
        padding: 1rem;
    }
    
    .section-title {
        font-size: 1.375rem;
    }
    
    .kegiatan-image {
        height: 160px;
    }
    
    .kegiatan-body {
        padding: 0.875rem;
    }
    
    .kegiatan-title {
        font-size: 0.9375rem;
    }
    
    .cta-box {
        padding: 1.5rem 1rem;
        min-height: 140px;
    }
    
    .cta-title {
        font-size: 1.25rem;
    }
    
    .cta-text {
        font-size: 0.8125rem;
    }
    
    .btn-cta-contact {
        padding: 0.625rem 1.25rem;
        font-size: 0.8125rem;
    }
}

/* ===== LOADING OVERLAY ===== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(4px);
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== TOAST NOTIFICATION ===== */
.toast-notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 9999;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    border-left: 4px solid var(--primary);
}

.toast-notification.show {
    transform: translateX(0);
}

.toast-notification.toast-error {
    border-left-color: var(--danger);
}

.toast-notification.toast-error i {
    color: var(--danger);
}

.toast-notification i {
    font-size: 1.25rem;
    color: var(--primary);
}

.toast-notification span {
    color: var(--text-dark);
    font-weight: 500;
}

@media (max-width: 575.98px) {
    .toast-notification {
        right: 10px;
        left: 10px;
        transform: translateY(-100px);
    }
    
    .toast-notification.show {
        transform: translateY(0);
    }
}