/*
Theme Name: Puskesmas Kebon Jeruk Glass
Author: Gemini
Description: Sebuah tema landing page kustom yang indah dan responsif untuk Puskesmas Kebon Jeruk dengan efek glassmorphism, gradasi warna, dan integrasi Tawk.to.
Version: 1.0
Tags: landing-page, responsive-layout, custom-theme, health
*/

/* --- Google Font Import --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

/* --- CSS Variables for Easy Customization --- */
:root {
    --primary-font: 'Poppins', sans-serif;
    --text-color-light: #f0f4f8;
    --text-color-dark: #333;
    --accent-color: #007bff;
    --gradient-start: #6dd5ed;
    --gradient-end: #2193b0;
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.2);
    --card-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

/* --- General Body Styling & Background --- */
body {
    font-family: var(--primary-font);
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    background-attachment: fixed;
    color: var(--text-color-dark);
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scroll */
    position: relative;
}

/* --- Background Blobs for Visual Effect --- */
body::before, body::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
}

body::before {
    background: #ffafbd; /* Soft pink blob */
    width: 300px;
    height: 300px;
    top: 10%;
    left: 10%;
    opacity: 0.5;
}

body::after {
    background: #c9ffbf; /* Soft green blob */
    width: 400px;
    height: 400px;
    bottom: 5%;
    right: 5%;
    opacity: 0.4;
}

/* --- Main Container --- */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* --- Glassmorphism Card Style --- */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 1rem;
    border: 1px solid var(--glass-border);
    box-shadow: var(--card-shadow);
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    transition: transform 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
}

/* --- Header --- */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    flex-wrap: wrap;
}

.site-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

/* --- Hero Section --- */
.hero-section {
    text-align: center;
    color: white;
    padding: 6rem 1rem;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

.hero-section p {
    font-size: 1.25rem;
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto;
}

/* --- General Section Styling --- */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--text-color-dark);
}

/* --- Visi & Misi Section --- */
.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.profile-item h3 {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.profile-item ul {
    padding-left: 1.2rem;
}
.profile-item li, .profile-item p {
    line-height: 1.8;
    font-size: 1rem;
}

/* --- Services Section --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    text-align: center;
}

.service-card {
    background: rgba(255, 255, 255, 0.4);
    padding: 2rem 1.5rem;
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.service-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 0;
}

/* --- Schedule Section --- */
.schedule-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.schedule-table th, .schedule-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--glass-border);
}

.schedule-table th {
    font-weight: 600;
}

.schedule-table tr:last-child td {
    border-bottom: none;
}

/* --- Location Section --- */
.location-map iframe {
    width: 100%;
    height: 450px;
    border-radius: 1rem;
    border: 0;
}

/* --- Footer --- */
.site-footer {
    text-align: center;
    padding: 2rem;
    color: var(--text-color-light);
    margin-top: 2rem;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .main-container {
        padding: 1rem;
    }

    .site-header {
        flex-direction: column;
        text-align: center;
    }

    .site-title {
        margin-bottom: 1rem;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section p {
        font-size: 1.1rem;
    }
    
    .glass-card {
        padding: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }
}
