/*
Theme Name: White Simple
Theme URI: https://example.com/white-simple
Author: Lab Bahan & ChatGPT
Author URI: https://example.com
Description: Tema WordPress sederhana dengan background putih, header dengan logo dan menu di sebelah kanan, tipografi dapat diatur lewat Customizer, serta footer widgetized. Desain responsif untuk desktop dan smartphone.
Version: 1.0.0
Text Domain: whitesimple
*/

html, body {
    margin: 0;
    padding: 0;
    background-color: #ffffff;
}

body {
    font-family: "Times New Roman", Times, serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333333;
    text-align: left;
}

a {
    color: #1a73e8;
    text-decoration: none;
}

a:hover,
a:focus {
    color: #0b5ed7;
    text-decoration: underline;
}

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

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

/* Header */
.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    position: relative;
    z-index: 100;
}

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

/* Logo */
.site-branding .custom-logo-link,
.site-branding .site-title {
    display: inline-flex;
    align-items: center;
}

.site-branding .site-title {
    font-size: 20px;
    font-weight: bold;
    color: #222222;
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
}

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

.main-navigation li {
    margin: 0;
    padding: 0;
}

.main-navigation a {
    display: block;
    padding: 4px 0;
    font-family: "Times New Roman", Times, serif;
    font-size: 12px;
    color: #333333;
    text-decoration: none;
}

.main-navigation a:hover,
.main-navigation a:focus {
    color: #1a73e8;
}

/* Mobile menu button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
}

.menu-toggle .bar {
    display: block;
    width: 22px;
    height: 2px;
    margin: 4px 0;
    background-color: #333333;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

/* Content */
.site-content {
    background-color: #ffffff;
    padding: 30px 0 40px;
}

.site-main h1,
.site-main h2,
.site-main h3,
.site-main h4,
.site-main h5,
.site-main h6 {
    color: #111111;
    margin-top: 0;
}

/* Footer */
.site-footer {
    background-color: #ffffff;
    border-top: 1px solid #e5e5e5;
    padding: 20px 0;
    color: #666666;
    font-size: 14px;
}

.site-footer-widgets {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.site-footer-widgets .widget {
    flex: 1 1 250px;
}

/* Responsive */
@media (max-width: 768px) {
    .header-inner {
        padding: 10px 0;
    }

    .main-navigation {
        position: absolute;
        top: 100%;
        right: 0;
        background-color: #ffffff;
        border: 1px solid #e5e5e5;
        box-shadow: 0 4px 10px rgba(0,0,0,0.05);
        padding: 10px 20px;
        display: none;
        flex-direction: column;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 10px;
    }

    .main-navigation.is-open {
        display: flex;
    }

    .menu-toggle {
        display: inline-block;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 15px;
    }

    .site-main h1 {
        font-size: 24px;
    }
}
