/* Additional custom styles for Thia theme */

/* Header Styles */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(245, 245, 220, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.site-title {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 400;
}

.site-title a {
    color: var(--color-dark);
    text-decoration: none;
}

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

#primary-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

#primary-menu a {
    color: var(--color-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

#primary-menu a:hover {
    color: #666;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-dark);
    transition: all 0.3s ease;
}

/* Content Area */
.content-area {
    max-width: 1200px;
    margin: 0 auto;
}

/* Entry Styles */
.entry-header {
    margin-bottom: 30px;
}

.entry-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 15px;
}

.entry-meta {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
}

.entry-meta span {
    margin-right: 15px;
}

.entry-content {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.entry-content p {
    margin-bottom: 20px;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

/* Featured Image */
.featured-image {
    margin: 30px 0;
}

/* Post Navigation */
.post-navigation {
    margin: 40px 0;
    padding: 30px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.nav-previous,
.nav-next {
    flex: 1;
}

.nav-next {
    text-align: right;
}

/* Comments */
.comments-area {
    margin-top: 50px;
    padding: 40px 0;
    border-top: 1px solid #eee;
}

.comments-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-bottom: 30px;
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.comment-author {
    font-weight: 600;
    margin-bottom: 10px;
}

.comment-meta {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

.comment-content {
    line-height: 1.6;
}

/* Comment Form */
.comment-form {
    margin-top: 30px;
}

.comment-form p {
    margin-bottom: 20px;
}

.comment-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
}

.comment-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* Page Navigation */
.page-links {
    margin: 30px 0;
    text-align: center;
}

.page-links a,
.page-links span {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: var(--color-dark);
}

/* Search Form */
.search-form {
    display: flex;
    gap: 10px;
    max-width: 400px;
}

.search-form input[type="search"] {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

/* Footer Styles */
.site-footer {
    padding: 60px 20px 30px;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
}

.footer-bottom p {
    margin-top: 15px;
}

#footer-menu {
    display: flex;
    justify-content: center;
    gap: 20px;
    list-style: none;
    padding: 0;
}

#footer-menu a {
    color: var(--color-white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

#footer-menu a:hover {
    opacity: 1;
}

/* Utility Classes */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.about-left,
.about-right,
.newsletter-form,
.about-me-content,
.blog-post-content,
.contact-content {
    animation: fadeIn 0.8s ease-out;
}
