/*
Theme Name: Paulus Personal Page
Theme URI: https://paulusyansen.com/
Author: Paulus Yansen Soriton
Author URI: https://paulusyansen.com/
Description: A clean, modern, minimalist portfolio theme with dark design. Features a monospace font (iA Writer Mono), customizable navigation, blog posts support, bookmarks page, and profile picture. Perfect for developers, designers, and tech professionals. Includes responsive design, SEO-friendly structure, and cross-browser compatibility.
Version: 2.0.0-4
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: paulus-portfolio-black
Tags: portfolio, personal, clean, modern, dark, minimalist, developer, blog, responsive, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready
*/
html {
  background: #181a20 !important;
}

/* WordPress specific overrides */
.site {
  background: #181a20 !important;
}

.site-content {
  background: #181a20 !important;
}

#content {
  background: #181a20 !important;
}

#main {
  background: #181a20 !important;
}

.entry-content {
  background: #181a20 !important;
  color: #ffffff;
}

body {
  margin: 0;
  font-family: 'iA Writer Mono', monospace;
  background: #181a20 !important;
  color: #ffffff;
  font-size: 1.08rem;
  line-height: 1.7;
  letter-spacing: 0.01em;
}

.container {
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem 1rem;
  background: #181a20 !important;
}

header {
  background: #181a20;
  border-bottom: 1px solid #404856;
  padding: 1.5rem 0 1rem 0;
  text-align: left;
  font-family: inherit;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0;
  gap: 2rem;
}

.header-text {
  text-align: left;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

header h1 {
  margin: 0 0 0.5rem 0;
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.1;
}

.subtitle {
  color: #7a869a;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.2px;
  font-family: inherit;
}

.profile-picture {
  margin: 0;
  text-align: center;
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  order: 2;
}

.profile-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid #404856;
  transition: border-color 0.3s ease;
  display: block;
  margin: 0;
  padding: 0;
}

.profile-img:hover {
  border-color: #5c7cfa;
}

.profile-img-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid #404856;
  background: #181a20;
  color: #5c7cfa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'iA Writer Mono', monospace;
  font-weight: 700;
  font-size: 1.5rem;
  transition: border-color 0.3s ease;
  text-decoration: none;
  margin: 0;
  padding: 0;
}

.profile-img-placeholder:hover {
  border-color: #5c7cfa;
}

nav {
  margin-top: 0;
}

nav a, .main-nav a {
  color: #5c7cfa;
  text-decoration: none;
  margin: 0 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 1.08rem;
  font-family: 'iA Writer Mono', monospace;
  transition: color 0.2s;
}

nav a:hover, .main-nav a:hover {
  color: #b0b7c3;
}

.main-nav {
  background: #181a20;
  padding: 0.5rem 0;
  border-radius: 6px;
  display: inline-block;
}

section {
  background: #181a20;
  margin: 2rem 0;
  border-radius: 8px;
  border: 1px solid #181a20;
  padding: 2rem;
}

h2 {
  margin-top: 0;
  color: #7ab7ff;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  font-family: inherit;
}

ul {
  padding-left: 1.2rem;
}

footer {
  text-align: center;
  color: #7a869a;
  font-size: 0.95rem;
  padding: 2rem 0 1rem 0;
  border-top: 1px solid #181a20;
  background: #181a20;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  align-items: center;
}

.footer-widgets {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #181a20;
}

.footer-widgets .widget {
  margin-bottom: 1rem;
}

.footer-widgets .widget-title {
  color: #5c7cfa;
  font-family: 'iA Writer Mono', monospace;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.footer-widgets .widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-widgets .widget li {
  margin-bottom: 0.5rem;
}

.footer-widgets .widget a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-widgets .widget a:hover {
  color: #5c7cfa;
}

.saweria-link {
  display: flex;
  align-items: center;
  color: #5c7cfa;
  text-decoration: none;
  font-family: 'iA Writer Mono', monospace;
  font-weight: 600;
  transition: color 0.2s;
}

.saweria-link:hover {
  color: #b0b7c3;
}

.saweria-link svg {
  width: 20px;
  height: 20px;
  margin-right: 0.5rem;
}

/* Plugin Compatibility Styles */
.wp-block-gallery {
  margin: 2rem 0;
}

.wp-block-image img {
  max-width: 100%;
  height: auto;
}

.wp-block-quote {
  border-left: 4px solid #5c7cfa;
  padding-left: 1rem;
  margin: 2rem 0;
  font-style: italic;
}

.wp-block-code {
  background: #181a20;
  border: 1px solid #181a20;
  border-radius: 4px;
  padding: 1rem;
  font-family: 'iA Writer Mono', monospace;
  overflow-x: auto;
}

.wp-block-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
}

.wp-block-table th,
.wp-block-table td {
  border: 1px solid #181a20;
  padding: 0.5rem;
  text-align: left;
}

.wp-block-table th {
  background: #181a20;
  color: #5c7cfa;
  font-weight: 700;
}

/* WooCommerce Compatibility */
.woocommerce {
  color: #ffffff;
}

.woocommerce .product {
  background: #181a20;
  border: 1px solid #181a20;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.woocommerce .price {
  color: #5c7cfa;
  font-weight: 700;
}

/* Contact Form 7 Compatibility */
.wpcf7-form {
  background: #181a20;
  border: 1px solid #181a20;
  border-radius: 8px;
  padding: 2rem;
  margin: 2rem 0;
}

.wpcf7-form input,
.wpcf7-form textarea {
  background: #2a2d35;
  border: 1px solid #404856;
  color: #ffffff;
  padding: 0.5rem;
  border-radius: 4px;
  width: 100%;
  margin-bottom: 1rem;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
  border-color: #5c7cfa;
  outline: none;
}

.wpcf7-submit {
  background: #5c7cfa;
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'iA Writer Mono', monospace;
  font-weight: 600;
  transition: background 0.2s;
}

.wpcf7-submit:hover {
  background: #b0b7c3;
}

/* Elementor Compatibility */
.elementor {
  color: #ffffff;
}

.elementor-widget-container {
  color: #ffffff;
}

/* Comments Compatibility */
.comment-list {
  list-style: none;
  padding: 0;
}

.comment {
  background: #181a20;
  border: 1px solid #181a20;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.comment-author {
  color: #5c7cfa;
  font-weight: 700;
}

.comment-meta {
  color: #7a869a;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.comment-content {
  color: #ffffff;
  line-height: 1.7;
}

/* Search Form Compatibility */
.search-form {
  display: flex;
  gap: 0.5rem;
  margin: 1rem 0;
}

.search-form input[type="search"] {
  flex: 1;
  background: #2a2d35;
  border: 1px solid #404856;
  color: #ffffff;
  padding: 0.5rem;
  border-radius: 4px;
}

.search-form input[type="submit"] {
  background: #5c7cfa;
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'iA Writer Mono', monospace;
  font-weight: 600;
}

a {
  color: #5c7cfa;
  font-family: 'iA Writer Mono', monospace;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: color 0.2s;
}

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

a:visited {
  color: #6c7a89;
}

/* Bookmarks Page Styles */
.bookmarks-content {
  margin-top: 1rem;
}

.page-content {
  color: #ffffff;
  font-family: 'iA Writer Mono', monospace;
  line-height: 1.7;
}

.page-content h3 {
  color: #5c7cfa;
  font-family: 'iA Writer Mono', monospace;
  font-weight: 700;
  font-size: 1.5rem;
  margin: 2rem 0 1rem 0;
  letter-spacing: 0.01em;
}

.page-content ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.page-content li {
  margin-bottom: 0.8rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #181a20;
}

.page-content li:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.page-content a {
  color: #ffffff;
  font-family: 'iA Writer Mono', monospace;
  font-weight: 400;
  text-decoration: none;
  transition: color 0.2s;
}

.page-content a:hover {
  color: #5c7cfa;
  text-decoration: underline;
}

.page-content p {
  color: #7a869a;
  font-family: 'iA Writer Mono', monospace;
  margin-bottom: 1rem;
}

.bookmark-category {
  margin-bottom: 2rem;
  padding: 1.5rem;
  border: 1px solid #181a20;
  border-radius: 8px;
  background: #181a20;
}

.bookmark-category h3 {
  color: #5c7cfa;
  font-family: 'iA Writer Mono', monospace;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  letter-spacing: 0.01em;
}

.bookmark-category ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bookmark-category li {
  margin-bottom: 0.8rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #181a20;
}

.bookmark-category li:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.bookmark-category a {
  color: #ffffff;
  font-family: 'iA Writer Mono', monospace;
  font-weight: 400;
  text-decoration: none;
  transition: color 0.2s;
}

.bookmark-category a:hover {
  color: #5c7cfa;
  text-decoration: underline;
}

.bookmark-category p {
  color: #7a869a;
  font-family: 'iA Writer Mono', monospace;
  margin-bottom: 1rem;
}

/* Blog Posts Styles */
.posts-list {
  margin-top: 2rem;
}

.post-item {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #181a20;
}

.post-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.post-item h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.post-item h3 a {
  color: #5c7cfa;
  text-decoration: none;
  transition: color 0.2s;
}

.post-item h3 a:hover {
  color: #b0b7c3;
  text-decoration: underline;
}

.post-meta {
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #7a869a;
  font-family: 'iA Writer Mono', monospace;
}

.post-date {
  margin-right: 1rem;
}

.post-categories a {
  color: #5c7cfa;
  text-decoration: none;
  margin-right: 0.5rem;
}

.post-categories a:hover {
  color: #b0b7c3;
  text-decoration: underline;
}

.post-excerpt {
  margin-bottom: 1rem;
  line-height: 1.7;
  color: #ffffff;
}

.read-more {
  color: #5c7cfa;
  font-family: 'iA Writer Mono', monospace;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.read-more:hover {
  color: #b0b7c3;
  text-decoration: underline;
}

.pagination {
  margin-top: 3rem;
  text-align: center;
}

.pagination ul {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pagination li {
  margin: 0 0.25rem;
}

.pagination a,
.pagination span {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 1px solid #404856;
  border-radius: 4px;
  color: #ffffff;
  text-decoration: none;
  font-family: 'iA Writer Mono', monospace;
  font-weight: 600;
  transition: all 0.2s;
}

.pagination a:hover {
  background: #5c7cfa;
  border-color: #5c7cfa;
  color: #fff;
}

.pagination .current {
  background: #5c7cfa;
  border-color: #5c7cfa;
  color: #fff;
}

@media (max-width: 600px) {
  .container {
    padding: 1rem 0.5rem;
  }
  
  section {
    padding: 1rem;
  }
  
  header {
    text-align: center;
  }
  
  header h1 {
    font-size: 1.8rem;
  }
  
  .header-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    justify-content: center;
  }
  
  .header-text {
    text-align: center;
    order: 2;
  }
  
  .profile-picture {
    margin-bottom: 0.5rem;
    align-self: center;
    order: 1;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-links {
    margin-top: 1rem;
  }
}

/* Force all backgrounds to #181a20 - Universal overrides */
* {
  background-color: #181a20 !important;
}

body,
html,
.site,
.site-header,
.site-content,
.site-footer,
#page,
#content,
#main,
#primary,
#secondary,
.hfeed,
.entry,
.entry-header,
.entry-content,
.entry-summary,
.entry-footer,
.post,
.page,
.single,
.archive,
.search,
.error404,
.widget,
.widget-area,
.sidebar,
.content-area,
.site-main,
.wrap,
.container-fluid,
.row,
.col,
.column,
div,
article,
section,
aside,
nav,
main,
header,
footer {
  background: #181a20 !important;
  background-color: #181a20 !important;
}

/* WordPress admin bar override */
#wpadminbar {
  background: #181a20 !important;
  background-color: #181a20 !important;
}

/* WordPress blocks */
.wp-block,
.wp-block-group,
.wp-block-column,
.wp-block-columns,
.wp-block-cover,
.wp-block-media-text,
.wp-block-separator,
.has-background {
  background: #181a20 !important;
  background-color: #181a20 !important;
}

/* Common WordPress theme classes */
.entry-meta,
.post-navigation,
.posts-navigation,
.comment-navigation,
.comment-form,
.comment-list,
.comment-body,
.reply,
.bypostauthor,
.sticky,
.gallery,
.gallery-item,
.gallery-caption,
.wp-caption,
.wp-caption-text,
.screen-reader-text,
.menu,
.menu-item,
.sub-menu,
.current-menu-item,
.menu-toggle,
.main-navigation,
.social-navigation,
.post-thumbnail,
.more-link,
.page-links,
.page-header,
.page-title,
.taxonomy-description,
.author-info,
.author-avatar,
.author-description {
  background: #181a20 !important;
  background-color: #181a20 !important;
}

/* Plugin compatibility backgrounds */
.elementor-section,
.elementor-container,
.elementor-row,
.elementor-column,
.elementor-widget,
.elementor-widget-wrap,
.woocommerce,
.woocommerce-page,
.cart,
.checkout,
.shop,
.product,
.wc-block,
.contact-form,
.gform_wrapper,
.ninja-forms-cont,
.wpforms-container,
.yoast,
.rank-math,
.wp-seo {
  background: #181a20 !important;
  background-color: #181a20 !important;
}

/* Table backgrounds */
table,
thead,
tbody,
tfoot,
tr,
th,
td {
  background: #181a20 !important;
  background-color: #181a20 !important;
}

/* Form backgrounds */
form,
fieldset,
legend,
input,
textarea,
select,
option,
button,
.button,
.btn {
  background: #181a20 !important;
  background-color: #181a20 !important;
}

/* Media backgrounds */
img,
figure,
figcaption,
iframe,
embed,
object,
video,
audio {
  background: #181a20 !important;
  background-color: #181a20 !important;
}

/* List backgrounds */
ul,
ol,
li,
dl,
dt,
dd {
  background: #181a20 !important;
  background-color: #181a20 !important;
}

/* Code backgrounds */
pre,
code,
kbd,
samp,
var {
  background: #181a20 !important;
  background-color: #181a20 !important;
} 