/* Bimbel Styles */

.bimbel-page {
    font-family: 'Inter', sans-serif;
    color: #1e293b; /* text-slate-800 */
    background-color: white;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* Hero Section */
.bimbel-hero {
    background-color: #153826;
    color: white;
    padding-bottom: 5rem;
    overflow: hidden;
    position: relative;
}

.bimbel-container {
    max-width: 80rem; /* max-w-7xl */
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .bimbel-container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (min-width: 768px) {
    .bimbel-container {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

@media (min-width: 1024px) {
    .bimbel-container {
        padding-left: 6rem;
        padding-right: 6rem;
    }
}

.bimbel-hero-inner {
    padding-top: 3rem;
    padding-bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bimbel-title {
    font-size: 1.875rem; /* text-3xl */
    line-height: 2.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem; /* mb-16 */
    line-height: 1.25;
}

@media (min-width: 768px) {
    .bimbel-title {
        font-size: 3rem; /* text-5xl */
        line-height: 1;
    }
}

.bimbel-content-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 3rem; /* gap-12 */
}

@media (min-width: 1024px) {
    .bimbel-content-wrapper {
        flex-direction: row;
    }
}

/* Image Section */
.bimbel-image-section {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (min-width: 1024px) {
    .bimbel-image-section {
        width: 50%;
    }
}

.bimbel-image-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 400px;
    background: linear-gradient(to bottom, #374151, #111827); /* from-gray-700 to-gray-900 */
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); /* shadow-2xl */
    margin-left: auto;
    margin-right: auto;
    border: 4px solid rgba(255, 255, 255, 0.125); /* border-[#ffffff20] */
}

.bimbel-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bimbel-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    text-align: center;
}

.bimbel-placeholder-box {
    width: 100%;
    height: 50%;
    background-color: rgba(75, 85, 99, 0.5); /* bg-gray-600/50 */
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    animation: placeholder-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes placeholder-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .5; }
}

.bimbel-placeholder-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #facc15; /* text-yellow-400 */
    margin-bottom: 0.5rem;
}

.bimbel-placeholder-year {
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
}

.bimbel-placeholder-school {
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* Text Section */
.bimbel-text-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem; /* space-y-6 */
}

@media (min-width: 1024px) {
    .bimbel-text-section {
        width: 50%;
        text-align: left;
    }
}

.bimbel-desc {
    font-size: 1rem;
    line-height: 1.625;
    text-align: left;
    white-space: pre-line;
}

@media (min-width: 768px) {
    .bimbel-desc {
        font-size: 1.125rem;
    }
}

.bimbel-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: auto;
}

.bimbel-wa-btn {
    background-color: #25D366;
    color: white;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    border-radius: 1rem;
    font-weight: 700;
    font-size: 1.125rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* shadow-lg */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-decoration: none;
}

.bimbel-wa-btn:hover {
    background-color: #20bd5a;
    box-shadow: 0 10px 15px -3px rgba(34, 197, 94, 0.3); /* shadow-green-500/30 */
    transform: translateY(-0.25rem); /* -translate-y-1 */
}

.bimbel-wa-btn svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Download Section */
.bimbel-download-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.bimbel-section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #153826;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .bimbel-section-title {
        font-size: 2.25rem;
    }
}

.bimbel-section-desc {
    color: #6b7280; /* text-gray-500 */
    margin-bottom: 3rem;
    max-width: 48rem; /* max-w-3xl */
    font-size: 1.125rem;
    line-height: 1.625;
}

.bimbel-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 2rem;
}

@media (min-width: 768px) {
    .bimbel-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.bimbel-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-decoration: none;
    cursor: pointer;
}

.bimbel-card:hover .bimbel-card-image {
    transform: scale(1.05);
}

.bimbel-card:hover .bimbel-card-placeholder {
    background-color: rgba(21, 56, 38, 0.2);
}

.bimbel-card-image-wrapper {
    aspect-ratio: 3 / 4;
    background-color: #D9D9D9;
    border-radius: 1.5rem;
    width: 100%;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.bimbel-card:hover .bimbel-card-image-wrapper {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.bimbel-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.bimbel-card-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(21, 56, 38, 0.1);
    transition: background-color 0.3s ease;
}

.bimbel-card-placeholder span {
    font-size: 2.25rem; /* text-4xl */
    font-weight: 700;
    color: rgba(21, 56, 38, 0.2);
}

.bimbel-card-title {
    font-size: 1.25rem; /* text-xl */
    font-weight: 700;
    color: #153826;
    text-align: center;
    padding-left: 1rem;
    padding-right: 1rem;
    text-decoration: underline;
    text-underline-offset: 8px;
    text-decoration-thickness: 2px;
    margin: 0;
}

.bimbel-card-kategori {
    font-size: 0.875rem; /* text-sm */
    color: #6b7280; /* text-gray-500 */
    text-align: center;
    margin-top: -0.5rem;
    margin-bottom: 0;
}

.bimbel-empty {
    color: #9ca3af; /* text-gray-400 */
    grid-column: 1 / -1;
    text-align: center;
    padding-top: 3rem;
    padding-bottom: 3rem;
}
