/*
Theme Name: PTSP Digital MTsN 2 Bojonegoro
Theme URI: https://mtsn2bojonegoro.id
Author: Tim Pengembang Website MTsN 2 Bojonegoro
Author URI: https://mtsn2bojonegoro.id
Description: Tema khusus Landing Page Pelayanan Terpadu Satu Pintu (PTSP) Digital MTsN 2 Bojonegoro. Responsif, cepat, dan mudah disesuaikan.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ptsp-mtsn2bojonegoro
*/

:root {
    --primary-color: #006837; /* Green Kemenag */
    --secondary-color: #fdb913; /* Gold accent */
    --accent-color: #0f4c81;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --white: #ffffff;
    --gray-border: #e2e8f0;
    --font-main: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

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

body {
    font-family: var(--font-main);
    color: var(--dark-color);
    background-color: #f4f7f6;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navbar */
.site-header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 15px;
}

.site-branding img {
    max-height: 50px;
}

.site-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.site-description {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.main-navigation a {
    font-weight: 600;
    color: var(--dark-color);
    padding: 8px 12px;
    border-radius: 6px;
}

.main-navigation a:hover {
    color: var(--primary-color);
    background-color: var(--light-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #004d28 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

/* Services Grid */
.services-section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 2rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.service-card p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.btn-service {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
}

.btn-service:hover {
    background-color: #004d28;
}

/* Main Layout (Single & Page) */
.site-content {
    padding: 40px 0;
}

.content-wrapper {
    display: flex;
    gap: 30px;
}

.main-content {
    flex: 1;
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.sidebar {
    width: 320px;
}

.widget {
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: var(--box-shadow);
}

.widget-title {
    font-size: 1.1rem;
    border-bottom: 2px solid var(--gray-border);
    padding-bottom: 10px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Footer */
.site-footer {
    background: #111827;
    color: #9ca3af;
    padding: 50px 0 20px;
    margin-top: 50px;
}

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

.footer-widget h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

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

/* Responsive */
@media (max-width: 768px) {
    .content-wrapper {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
    }
    .hero-title {
        font-size: 1.8rem;
    }
}