/*
Theme Name: Layanan Hukum Online
Theme URI: https://layananhukumonline.id
Author: Tim Sultra Web Studio
Description: Tema WordPress profesional untuk portal layanan hukum, advokat, dan konsultasi hukum online dengan desain elegan, form janji temu, dan area widget dinamis.
Version: 1.0.0
Text Domain: layananhukum
*/

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    line-height: 1.6;
    color: #1e293b;
    background-color: #f8fafc;
}

a {
    color: #1e3a8a;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #b45309;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header & Navigation */
.top-bar {
    background: #0f172a;
    color: #94a3b8;
    font-size: 13px;
    padding: 8px 0;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-header {
    background: #ffffff;
    padding: 20px 0;
    border-bottom: 3px solid #b45309;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.site-title a {
    color: #0f172a;
}

.site-title span {
    color: #b45309;
}

.btn-cta {
    background: #b45309;
    color: #ffffff !important;
    padding: 10px 22px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
}

.btn-cta:hover {
    background: #0f172a;
}

.main-nav {
    background: #1e293b;
}

.main-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

.main-nav a {
    color: #ffffff;
    padding: 14px 20px;
    display: block;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.main-nav li:hover > a {
    background: #b45309;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.9)), url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?auto=format&fit=crop&w=1350&q=80') center/cover no-repeat;
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 15px;
}

.hero-section p {
    font-size: 18px;
    max-width: 750px;
    margin: 0 auto 30px;
    color: #cbd5e1;
}

/* Layout Grid Utama */
.main-layout {
    display: grid;
    grid-template-columns: 2.3fr 1fr;
    gap: 30px;
    margin: 40px auto;
}

/* Post Cards */
.post-card {
    background: #ffffff;
    margin-bottom: 25px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.post-content {
    padding: 25px;
}

.post-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.post-title a {
    color: #0f172a;
}

.post-title a:hover {
    color: #b45309;
}

.post-meta {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 15px;
}

/* Sidebar & Widgets */
.sidebar .widget {
    background: #ffffff;
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.widget-title {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    border-bottom: 3px solid #b45309;
    padding-bottom: 8px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* Footer */
.site-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 50px 0 20px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-widget h4 {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 18px;
    border-bottom: 2px solid #b45309;
    display: inline-block;
    padding-bottom: 5px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #1e293b;
    padding-top: 20px;
    font-size: 13px;
}

@media (max-width: 992px) {
    .main-layout {
        grid-template-columns: 1fr;
    }
}