/* =========================================
   1. GLOBAL VARIABLES & RESET
   ========================================= */
:root {
    --primary-blue: #003366;    /* Biru Tua PrimeCare */
    --light-blue: #006699;      /* Biru Sidebar/Slogan */
    --accent-blue: #0099cc;     /* Biru Cerah (Judul Halaman) */
    --text-color: #333333;
    --bg-light: #f4f4f4;
    --white: #ffffff;
    --border-color: #dddddd;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: var(--bg-light);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: 0.3s;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container Global */
.container {
    max-width: 1000px; 
    margin: 0 auto;
    padding: 0 15px;
    background: var(--white); 
    flex: 1;
}

/* =========================================
   2. NAVBAR ATAS (HITAM)
   ========================================= */
.top-navbar {
    background-color: #333333; 
    border-bottom: 1px solid #000;
    width: 100%;
}

/* KOREKSI: Membuat Container di Navbar Transparan */
.top-navbar .container {
    background: transparent; 
}

.top-navbar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.top-navbar li a {
    display: block;
    padding: 15px 20px;
    color: #ffffff;
    font-weight: bold;
    font-size: 13px;
    text-transform: uppercase;
    text-decoration: none;
}

.top-navbar li a:hover {
    color: #cccccc;
    background-color: #444;
}

/* =========================================
   3. HERO SECTION (HEADER LOGO SAJA)
   ========================================= */
.hero-section {
    background-color: #ffffff;
    padding: 20px 0;
    height: 120px;
    overflow: hidden;
}

.hero-layout {
    display: flex;
    justify-content: flex-start;
    align-items: center; 
    height: 100%;
}

/* Logo di Kiri */
.hero-logo h1 {
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
    font-weight: bold;
    font-size: 42px;
    color: var(--primary-blue);
    margin: 0;
    line-height: 1;
}

.hero-logo .icon-logo {
    font-size: 0.8em;
}

.hero-logo .slogan {
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-style: italic;
    font-size: 16px;
    color: var(--light-blue);
    margin: 5px 0 0 40px;
}

/* Gambar Kanan Dihilangkan */
.hero-image {
    display: none !important; 
}

/* Garis Biru Pembatas */
.blue-divider {
    height: 5px;
    background-color: var(--primary-blue);
    width: 100%;
    margin-bottom: 20px;
}

/* =========================================
   4. MAIN LAYOUT (SIDEBAR & KONTEN)
   ========================================= */
.main-layout {
    flex: 1; 
    padding-bottom: 40px;
}

.row {
    display: flex;
    gap: 20px;
}

/* Kolom Kiri (Sidebar) */
.col-sidebar {
    flex: 0 0 240px;
}

/* Kolom Kanan (Konten Utama) */
.col-main {
    flex: 1;
    min-width: 0; 
}

/* =========================================
   5. SIDEBAR STYLES (BIRU)
   ========================================= */
.left-sidebar {
    background-color: var(--light-blue);
    color: white;
}

/* Menu Sidebar */
.sidebar-menu-container {
    padding: 0;
}

.sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav li {
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.sidebar-nav li a {
    display: flex;
    justify-content: space-between;
    padding: 12px 15px;
    color: white;
    font-weight: bold;
    font-size: 13px;
    text-decoration: none;
}

.sidebar-nav li a:hover {
    background-color: rgba(0,0,0,0.2);
    padding-left: 20px;
}

/* Promo Boxes (Kotak-kotak di Sidebar) */
.sidebar-promo {
    padding: 15px;
}

.promo-box {
    border: 2px solid white;
    margin-bottom: 15px;
    padding: 10px;
    text-align: center;
    color: white;
    background: linear-gradient(to bottom, #005580, #003366); 
}

.promo-box h3 {
    margin: 5px 0;
    font-size: 14px;
    font-weight: bold;
}

.promo-box p {
    font-size: 12px;
    margin-bottom: 5px;
}

.btn-click {
    display: inline-block;
    background: white;
    color: var(--primary-blue);
    padding: 2px 10px;
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
    margin-top: 5px;
    border-radius: 2px;
}

/* =========================================
   6. PAGE CONTENT STYLES
   ========================================= */
.page-heading {
    font-family: Georgia, serif;
    color: var(--text-color);
    font-size: 32px;
    margin-bottom: 5px;
    font-weight: normal;
}

.breadcrumb {
    color: #666;
    font-size: 14px;
    position: relative;
    min-height: 30px;
}

.home-content p {
    margin-bottom: 15px;
}

/* =========================================
   7. LOCATIONS GRID (Halaman Lokasi)
   ========================================= */
.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    padding-bottom: 50px;
    margin-top: 20px;
}

.location-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.loc-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.loc-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.loc-content h3 {
    color: var(--primary-blue);
    margin-top: 0;
}

.loc-info {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    font-size: 13px;
}

.loc-info li {
    margin-bottom: 10px;
    display: flex;
    gap: 10px;
}

.loc-actions {
    margin-top: auto;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--primary-blue);
    color: white;
    padding: 10px;
    border-radius: 4px;
    border: none;
}

.btn-block:hover {
    background: var(--light-blue);
    text-decoration: none;
}

/* =========================================
   8. FOOTER STYLES
   ========================================= */
.site-footer {
    background-color: #222; 
    color: #999;
    padding: 30px 0;
    font-size: 12px;
    border-top: none; 
    margin-top: auto;
}

.site-footer .container {
    background-color: transparent;
}

.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 15px;
}

.footer-links a {
    color: #ccc;
}

.footer-links a:hover {
    color: var(--white);
}

/* =========================================
   9. RESPONSIVE (Tampilan HP)
   ========================================= */
@media (max-width: 768px) {
    
    /* Navbar jadi tumpuk */
    .top-navbar ul {
        flex-direction: column;
        text-align: center;
    }

    /* Header tumpuk */
    .hero-section {
        height: auto;
        padding: 20px;
    }
    .hero-layout {
        flex-direction: column;
        text-align: center;
    }
    .hero-logo .slogan {
        margin-left: 0;
    }
    
    /* Layout Utama jadi 1 kolom */
    .row {
        flex-direction: column;
    }
    .col-sidebar {
        order: 2;
        flex: 1;
        min-width: 0;
    }
    
    /* Footer tumpuk */
    .footer-row {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}