/*
Theme Name: Taryadi Child
Template: generatepress
Version: 3.0.2
*/

:root {
    --bg-main: #000000;
    --bg-card: #1a1a1a;
    --accent: #e63946;
    --accent-hover: #ff0000;
    --text-main: #ffffff;
    --text-muted: #b3b3b3;
    --border-color: #333;
    
    --font-head: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;
}

body, html {
    background-color: var(--bg-main) !important;
    color: var(--text-main);
    font-family: var(--font-body);
    margin: 0 !important;
    width: 100% !important;
    box-sizing: border-box;
}

a { text-decoration: none; color: inherit; transition: color 0.3s ease; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; color: var(--text-main); letter-spacing: 1px; }

.site-content { display: block; width: 100%; max-width: 100%; padding: 0; }

.container-custom {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 40px;
    border-left: 5px solid var(--accent);
    padding-left: 15px;
    display: inline-block;
    line-height: 1;
}

.hero-section {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at center, #1a1a1a 0%, #000000 90%);
    padding: 80px 20px;
}
.hero-content h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 20px; }
.hero-content .highlight { color: var(--accent); }
.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px auto;
}
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid var(--accent);
    color: var(--text-main);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    background: transparent;
}
.btn:hover {
    background-color: var(--accent);
    color: white;
    box-shadow: 0 0 15px rgba(230, 57, 70, 0.4); 
    transform: translateY(-2px);
}
.btn-outline {
    background: transparent;
    margin-left: 10px;
    border-color: var(--text-muted);
    color: #ccc;
}
.btn-outline:hover {
    background-color: var(--text-main);
    color: var(--bg-main);
    border-color: var(--text-main);
    box-shadow: none;
}

.portfolio-section { padding: 100px 0; }
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}
.portfolio-card {
    background-color: var(--bg-card);
    overflow: hidden;
    border: 1px solid #333;
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.portfolio-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}
.portfolio-img-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
}
.portfolio-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.4s ease, transform 0.4s ease;
}
.portfolio-card:hover .portfolio-img-wrapper img {
    filter: grayscale(0%);
    transform: scale(1.05);
}
.portfolio-info { padding: 20px; }
.portfolio-info h3 { font-size: 1.4rem; margin-bottom: 10px; color: white; }
.portfolio-tags { font-size: 0.8rem; color: var(--accent); text-transform: uppercase; font-weight: 700; letter-spacing: 1px; }

.blog-section {
    padding: 100px 0;
    background-color: #050505;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
}
.blog-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px; /* Halaman blog tetap standar (tidak terlalu lebar) agar enak dibaca list-nya */
    margin: 0 auto;
}
.blog-post {
    background-color: var(--bg-card);
    padding: 30px;
    border-left: 3px solid transparent;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}
.blog-post:hover {
    border-left-color: var(--accent);
    background-color: #222;
}
.blog-post h2 a {
    color: #ffffff !important; 
    transition: color 0.3s ease;
}
.blog-post h2 a:hover { color: var(--accent) !important; }
.blog-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.blog-meta span { color: var(--accent); font-weight: 700; }
.read-more {
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
}
.read-more:hover { color: var(--accent); }
.read-more::after { content: '→'; margin-left: 5px; transition: margin-left 0.3s; }
.read-more:hover::after { margin-left: 10px; }

.contact-section { padding: 100px 0; text-align: center; }
.contact-text {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.email-link {
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-head);
    color: var(--text-main);
    border-bottom: 2px solid var(--accent);
    padding-bottom: 5px;
    word-break: break-all;
}
.email-link:hover {
    color: var(--accent);
    border-color: transparent;
}

.site-footer {
    background-color: var(--bg-main) !important;
    border-top: 1px solid #222;
    padding: 50px 0 !important;
    margin-top: 50px;
    width: 100%;
    float: none;
    clear: both;
    text-align: center;
    position: relative;
}
.footer-socials {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}
.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--bg-card);
    color: var(--accent);
    transition: all 0.3s ease;
}
.social-icon:hover {
    background-color: var(--accent);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.3);
}
.social-icon svg { width: 20px; height: 20px; fill: currentColor; }
.copyright { color: #666; font-size: 0.85rem; }

@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.5rem; }
    .email-link { font-size: 1.5rem; }
    .portfolio-grid { grid-template-columns: 1fr; }
}

.single-article-wrapper {
    background-color: #000000;
    padding: 80px 0;
}

.article-header-section {
    text-align: left;
    margin-bottom: 40px;
    border-bottom: 1px solid #222;
    padding-bottom: 30px;
    width: 100%;
}

.article-cat-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 1px solid #333;
    padding: 5px 12px;
    margin-bottom: 15px;
}

.article-cat-badge:hover {
    background-color: var(--accent);
    color: #fff;
    text-decoration: none;
}

.article-title-big {
    font-family: 'Oswald', sans-serif;
    font-size: 2.8rem;
    line-height: 1.2;
    color: #fff;
    margin: 0 0 15px 0;
}

.article-meta-full {
    color: #888;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
}

.article-meta-full span { margin-right: 20px; }

.entry-content-styled {
    color: #cccccc;
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    line-height: 1.8;
    max-width: 100%;
    width: 100%;
}

.entry-content-styled h2 {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #fff;
}

.entry-content-styled h3 {
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #fff;
}

.entry-content-styled p { margin-bottom: 25px; }
.entry-content-styled ul, .entry-content-styled ol { margin-bottom: 25px; padding-left: 25px; }
.entry-content-styled li { margin-bottom: 10px; }

.entry-content-styled blockquote {
    border-left: 4px solid var(--accent);
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #fff;
    background-color: #0a0a0a;
    padding: 20px;
}

.article-navigation {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #222;
    padding-top: 30px;
    margin-top: 60px;
    font-family: 'Oswald', sans-serif;
    width: 100%;
}

.nav-prev a, .nav-next a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.nav-prev a:hover, .nav-next a:hover { color: var(--accent); }

.comments-wrapper {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 2px solid var(--accent);
    max-width: 100%;
    width: 100%;
}

.comments-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 30px;
}

ol.comment-list { list-style: none; padding: 0; margin: 0; }

.comment-body {
    background-color: #0a0a0a;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #222;
    border-radius: 4px;
}

.comment-meta { margin-bottom: 10px; color: var(--accent); font-size: 0.9rem; font-weight: 700; }
.comment-author { color: #fff !important; text-decoration: none; }
.comment-author:hover { color: var(--accent) !important; }

.comment-respond {
    background-color: #0a0a0a;
    padding: 30px;
    border: 1px solid #222;
    margin-top: 40px;
    border-radius: 4px;
}

.comment-reply-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 20px;
}

input[type="text"], input[type="email"], input[type="url"], textarea {
    background-color: #1a1a1a !important;
    border: 1px solid #444 !important;
    color: #fff !important;
    padding: 15px !important;
    width: 100%;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    margin-bottom: 15px;
}

textarea { height: 150px; }
input:focus, textarea:focus { border-color: var(--accent) !important; outline: none; }

input[type="submit"] {
    background-color: var(--accent);
    color: #fff;
    border: none;
    padding: 15px 30px;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 2px;
}

input[type="submit"]:hover { background-color: #ff0000; transform: translateY(-2px); }

@media (max-width: 768px) {
    .article-title-big { font-size: 2rem; }
    .entry-content-styled { font-size: 1rem; }
    .article-navigation { flex-direction: column; gap: 20px; }
    .article-navigation div { width: 100%; text-align: center; }
}