@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* =============================================
   Layanan Terpadu Kesehatan
   ============================================= */

/* ── Page Wrapper ─────────────────────────────────────────────── */
.lt-page-wrapper {
    width: 100%;
    min-height: 100vh;
    background-color: #FFFFFF;
    font-family: 'Plus Jakarta Sans', sans-serif;
    box-sizing: border-box;
    padding-top: 103px;
}

/* ── Header Section ───────────────────────────────────────── */
.lt-header {
    background-color: #006045;
    position: relative;
    overflow: hidden;
    padding: 60px 0;
    text-align: left;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.lt-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 0);
    background-size: 24px 24px;
    pointer-events: none;
}

.lt-header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

.lt-header-title {
    font-size: 48px;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0 0 12px 0;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.lt-header-subtitle {
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.6;
    max-width: 800px;
}

/* ── Main Content Section ────────────────────────────────────── */
.lt-content {
    padding: 40px 0;
    box-sizing: border-box;
    background-color: #F8FAFC;
}

.lt-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}

/* ── Title Section ─────────────────────────────────────────────── */
.lt-title-section {
    margin-bottom: 24px;
}

.lt-category-tag {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #009966;
    display: block;
    margin-bottom: 6px;
}

.lt-main-title {
    font-size: 28px;
    font-weight: 800;
    color: #0F172A;
    margin: 0;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

/* ── Category Section ────────────────────────────────────────── */
.lt-category-section {
    margin-bottom: 60px;
}

/* ── Services Grid ───────────────────────────────────────────── */
.lt-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

/* ── Service Item ────────────────────────────────────────────── */
.lt-service-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 1px;
    box-shadow: 0 0 35px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.lt-service-item:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.lt-service-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F0FAF6;
    border-radius: 3px;
    color: #009966;
}

.lt-service-icon svg {
    width: 20px;
    height: 20px;
}

.lt-service-text {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    line-height: 1.4;
}

/* ── Logos Section ───────────────────────────────────────────── */
.lt-logos-section {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 1px;
    padding: 40px;
    box-shadow: 0 0 35px rgba(0, 0, 0, 0.05);
}

.lt-logos-grid {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 32px;
}

.lt-logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.lt-logo-placeholder {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lt-logo-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.lt-logo-text {
    font-size: 11px;
    font-weight: 700;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ── Filter Bar (inside lt-container) ─────────────────────── */
.lt-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    background: #FFFFFF;
    padding: 14px 20px;
    border-radius: 1px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    margin-bottom: 32px;
}

.lt-search-wrapper {
    position: relative;
    flex: 1;
    min-width: 220px;
    display: flex;
    align-items: center;
}

.lt-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94A3B8;
    font-size: 20px;
    pointer-events: none;
}

.lt-search-input {
    width: 100%;
    height: 40px;
    padding: 0 14px 0 42px;
    border: 1px solid #E2E8F0;
    border-radius: 3px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
    background: #F8FAFC;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: border-color 0.2s;
}

.lt-search-input:focus {
    border-color: #009966;
    background: #FFFFFF;
}

.lt-search-btn {
    height: 40px;
    padding: 0 24px;
    background-color: #009966;
    color: #FFFFFF;
    border: none;
    border-radius: 3px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    white-space: nowrap;
}

.lt-search-btn:hover {
    background-color: #008055;
}

/* ── Empty State ─────────────────────────────────────────────── */
.lt-empty-state {
    grid-column: 1 / -1;
    color: #94A3B8;
    text-align: center;
    padding: 20px;
}

.lt-service-link {
    text-decoration: none;
    color: inherit;
}

/* ── Responsive Design ───────────────────────────────────────── */
@media (max-width: 768px) {
    .lt-page-wrapper {
        padding-top: 103px; /* Keep same as desktop to prevent sliding under navbar */
    }

    .lt-header {
        padding: 40px 0; /* Give more vertical breathing room */
    }

    .lt-header-container,
    .lt-container,
    .lt-filter-bar {
        padding: 0 24px; /* Slightly more horizontal padding */
    }

    .lt-header-title {
        font-size: 26px;
        margin-bottom: 16px; /* Space out title and subtitle */
    }

    .lt-header-subtitle {
        font-size: 14px;
        line-height: 1.6;
    }

    .lt-content {
        padding: 30px 0;
    }

    .lt-main-title {
        font-size: 20px;
    }

    .lt-services-grid {
        grid-template-columns: 1fr;
    }

    .lt-logos-section {
        padding: 20px;
    }

    .lt-filter-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .lt-search-wrapper {
        min-width: 100%;
        width: 100%;
    }

    .lt-logos-grid {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .lt-logo-placeholder {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 640px) {
    .lt-container {
        padding: 0 20px;
    }

    .lt-header-container {
        padding: 0 20px;
    }
}
