@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800;900&family=Open+Sans:wght@400;500;600;700&display=swap');

/* Menerapkan font Open Sans ke seluruh elemen secara global */
body, h1, h2, h3, h4, h5, h6, p, a, span, div, button, input, select, textarea {
    font-family: 'Open Sans', sans-serif !important;
}

/* --- Bagian Header Halaman --- */
.event-header-section {
    background-color: #f8f9fa;
    padding: 50px 0;
    border-bottom: 1px solid #eee;
}

.event-title {
    font-weight: 800;
    color: #1a3673; /* Biru Yamaha */
    border-left: 6px solid #1a3673;
    padding-left: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-subtitle {
    font-size: 15px;
    color: #666;
    margin-top: 10px;
    padding-left: 26px;
}

/* --- Filter Lokasi --- */
.filter-location-wrapper {
    background: #fff;
    padding: 10px;
    border-radius: 8px;
}

.select-custom-yamaha {
    border: 2px solid #1a3673;
    border-radius: 4px;
    padding: 10px 15px;
    font-weight: 600;
    color: #1a3673;
    cursor: pointer;
    transition: all 0.3s ease;
}

.select-custom-yamaha:focus {
    box-shadow: 0 0 0 0.25 margin-top: 20px;rem rgba(26, 54, 115, 0.25);
    border-color: #0d204a;
}

/* --- Grid & Card Style --- */
.card-event {
    background: #fff;
    border: 1px solid #eef0f2;
    border-radius: 12px;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.card-event:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(26, 54, 115, 0.12);
    border-color: rgba(26, 54, 115, 0.1);
}

.event-img-box {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background-color: #f0f0f0;
}

.event-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.card-event:hover .event-img-box img {
    transform: scale(1.1);
}

/* --- Informasi Event --- */
.event-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.event-name {
    
    font-size: 16px;
    font-weight: 700;
    color: #222;
    margin-bottom: 15px;
    line-height: 1.5;
    min-height: 48px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-meta {
    margin-bottom: 20px;
}

.event-meta p {
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.event-meta p i {
    color: #1a3673;
    font-size: 14px;
    width: 16px;
    text-align: center;
}

/* --- Tombol Aksi --- */
.btn-selengkapnya {
    background-color: #1a3673;
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    padding: 12px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: auto;
    transition: all 0.3s ease;
    border: none;
}

.btn-selengkapnya:hover {
    background-color: #0d204a;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(13, 32, 74, 0.3);
}

/* --- Load More Aesthetic --- */
.btn-aesthetic-load {
    background: transparent;
    color: #1a3673;
    border: 2px solid #1a3673;
    padding: 14px 40px;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.4s ease;
    cursor: pointer;
    display: inline-block;
}

.btn-aesthetic-load:hover {
    background-color: #1a3673;
    color: #fff;
    box-shadow: 0 10px 20px rgba(26, 54, 115, 0.2);
}

/* --- Animasi Masuk --- */
.event-item {
    animation: fadeInScale 0.5s ease forwards;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* --- Responsif --- */
@media (max-width: 768px) {
    .event-title {
        font-size: 24px;
    }
    .event-img-box {
        height: 200px;
    }
}