/*
Theme Name: LobeHub Style
Theme URI: http://example.com/
Author: Cline
Author URI: http://example.com/
Version: 1.0
Description: A theme inspired by lobehub.com.
*/

body {
    background: #000;
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    padding-top: 100px; /* Add padding for fixed header */
}

a {
    color: #fff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

#header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1200px;
    z-index: 1000;
}

#header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(28, 28, 28, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 15px 25px; /* Increased padding */
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#logo a {
    font-size: 24px;
    font-weight: bold;
}

#nav-menu {
    display: flex;
    align-items: center;
}

#nav-menu a {
    margin-left: 30px;
    font-size: 16px;
    transition: color 0.3s;
}

#nav-menu a:hover {
    color: #fff;
}

#nav-menu a.current {
    color: #fff;
    font-weight: bold;
    position: relative;
}

#nav-menu a.current::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: #fff;
    border-radius: 2px;
}

.action-button {
    background: #fff;
    color: #000;
    padding: 8px 16px;
    border-radius: 12px;
    font-weight: bold;
    margin-left: 30px;
    transition: background 0.3s;
}

.action-button:hover {
    background: #eee;
    text-decoration: none;
}

#main {
    padding: 40px 0;
}

.post {
    margin-bottom: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid #222;
}

.post:last-child {
    border-bottom: none;
}

.post-title {
    font-size: 36px;
    margin-bottom: 20px;
}

.post-title a {
    transition: color 0.3s;
}

.post-title a:hover {
    color: #007bff;
}

.post-meta {
    color: #888;
    font-size: 14px;
    margin-bottom: 20px;
}

.post-meta a {
    color: #888;
    text-decoration: underline;
}

.post-content {
    font-size: 18px;
    line-height: 1.8;
}

#footer {
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid #333;
    color: #999;
}

/* Comments */
#comments {
    margin-top: 40px;
}

#comments h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment-list li {
    padding: 20px;
    border: 1px solid #222;
    border-radius: 5px;
    margin-bottom: 20px;
}

.comment-author .fn {
    font-weight: bold;
}

.comment-meta {
    font-size: 12px;
    color: #888;
    margin-bottom: 10px;
}

.comment-reply a {
    font-size: 12px;
    color: #007bff;
}

#comment-form {
    margin-top: 40px;
}

#comment-form input,
#comment-form textarea {
    background: #111;
    border: 1px solid #333;
    color: #fff;
    padding: 10px;
    width: 100%;
    border-radius: 5px;
    margin-bottom: 20px;
}

#comment-form button {
    background: #007bff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

#comment-form button:hover {
    background: #0056b3;
}

.archive-title {
    font-size: 28px;
    margin-bottom: 40px;
    text-align: center;
}

/* Post List */
.post-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.post-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 10px;
    height: 400px;
    background: #111;
    transition: transform 0.3s;
}

.post-card:hover {
    transform: translateY(-5px);
}

.post-card-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.post-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
}

.post-card-title {
    font-size: 22px;
    margin-bottom: 10px;
}

.post-card p {
    font-size: 14px;
    color: #ccc;
    line-height: 1.5;
}

/* Single Post */
.post-single {
    max-width: 800px;
    margin: 0 auto;
}

.post-single .post-title {
    text-align: center;
    font-size: 48px;
    margin-bottom: 20px;
}

.post-single .post-meta {
    text-align: center;
    margin-bottom: 40px;
}

.post-single .post-content {
    font-size: 18px;
    line-height: 1.8;
}

.post-single .post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.post-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #222;
}
