/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

:root {
    --primary-color: #0d9488;     /* Teal modern */
    --primary-hover: #0f766e;
    --secondary-color: #f59e0b;   /* Amber/Gold hangat */
    --dark-color: #1e293b;        /* Slate dark */
    --light-color: #f8fafc;       /* Light background */
    --gray-color: #64748b;        /* Subtext */
    --white: #ffffff;
    --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--dark-color);
    background-color: #ffffff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-color);
}

/* ==========================================================================
   TYPOGRAPHY & BUTTONS
   ========================================================================== */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.sub-title {
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 8px;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark-color);
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--dark-color);
}

.btn-whatsapp {
    background-color: #25d366;
    color: var(--white);
    width: 100%;
    text-align: center;
    padding: 14px;
    font-size: 1rem;
}

.btn-whatsapp:hover {
    background-color: #1eb954;
}

.btn-sm {
    padding: 8px 16px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
}

.btn-sm:hover {
    background-color: var(--primary-hover);
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark-color);
}

.logo span {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    font-weight: 500;
    color: var(--dark-color);
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--primary-color);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: url('https://puskesmasngemplak.boyolali.go.id/files/news/1700101973-63bbafbe829a5.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(15, 23, 42, 0.6), rgba(15, 23, 42, 0.8));
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 750px;
}

.badge {
    background-color: rgba(13, 148, 136, 0.2);
    border: 1px solid var(--primary-color);
    color: #5eead4;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.1rem;
    color: #cbd5e1;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

/* ==========================================================================
   STATS SECTION
   ========================================================================== */
.stats {
    background-color: var(--white);
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    padding: 30px;
}

.stat-card {
    text-align: center;
    border-right: 1px solid #e2e8f0;
}

.stat-card:last-child {
    border-right: none;
}

.stat-card h3 {
    font-size: 2.2rem;
    color: var(--primary-color);
    font-weight: 800;
}

.stat-card p {
    color: var(--gray-color);
    font-size: 0.9rem;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--secondary-color);
    color: var(--white);
    padding: 15px 25px;
    border-radius: 12px;
    font-weight: 700;
    box-shadow: var(--card-shadow);
}

.about-text h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--gray-color);
    margin-bottom: 15px;
}

.about-list {
    margin-top: 20px;
}

.about-list li {
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark-color);
}

/* ==========================================================================
   SERVICES / FASILITAS SECTION
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.service-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
}

.service-card .icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--gray-color);
    font-size: 0.9rem;
}

/* ==========================================================================
   UMKM SECTION
   ========================================================================== */
.umkm-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.umkm-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 1px solid #f1f5f9;
}

.umkm-card:hover {
    transform: translateY(-5px);
}

.umkm-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.umkm-body {
    padding: 25px;
}

.umkm-body .category {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.umkm-body h3 {
    font-size: 1.25rem;
    margin: 8px 0;
}

.umkm-body p {
    color: var(--gray-color);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.umkm-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f1f5f9;
    padding-top: 15px;
}

.umkm-footer .price {
    font-weight: 700;
    color: var(--dark-color);
    font-size: 0.9rem;
}

/* ==========================================================================
   GALLERY SECTION
   ========================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 12px;
    height: 220px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-box {
    background: var(--dark-color);
    color: var(--white);
    border-radius: 20px;
    padding: 60px;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.contact-info p {
    color: #94a3b8;
    margin-bottom: 30px;
}

.info-item {
    margin-bottom: 15px;
}

.info-item strong {
    display: block;
    color: var(--white);
}

.info-item p {
    margin-bottom: 0;
}

.contact-action {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-action h3 {
    margin-bottom: 10px;
}

.contact-action p {
    font-size: 0.9rem;
    margin-bottom: 20px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background-color: #0f172a;
    color: #64748b;
    padding: 30px 0;
    font-size: 0.85rem;
    text-align: center;
    border-top: 1px solid #1e293b;
}

.footer p {
    margin: 5px 0;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE FRIENDLY)
   ========================================================================== */
@media (max-width: 992px) {
    .hero h1 { font-size: 2.5rem; }
    .about-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .umkm-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-box { grid-template-columns: 1fr; padding: 40px; }
}
    
@media (max-width: 768px) {
    .nav-menu { display: none; } /* Dapat ditingkatkan dengan menu burger toggle */
    .hero h1 { font-size: 2rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .stat-card { border-right: none; }
    .umkm-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .hero-buttons { flex-direction: column; }
}