/* Additional Custom Styles */

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #cc0000;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    display: none;
    z-index: 999;
}

.back-to-top:hover {
    background-color: #990000;
    transform: translateY(-3px);
}

/* Sticky Header */
.site-header.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* Read More Button */
.read-more {
    display: inline-block;
    background-color: #cc0000;
    color: #fff;
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 15px;
    transition: background-color 0.3s ease;
}

.read-more:hover {
    background-color: #990000;
    color: #fff;
}

/* Search Form */
.search-form {
    margin-top: 30px;
}

.search-form input[type="search"] {
    padding: 10px 15px;
    border: 2px solid #cc0000;
    border-radius: 5px;
    width: 100%;
    font-size: 16px;
}

.search-form button {
    background-color: #cc0000;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 10px;
}

.search-form button:hover {
    background-color: #990000;
}

/* Author Bio */
.author-bio {
    display: flex;
    align-items: center;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin: 40px 0;
}

.author-avatar img {
    border-radius: 50%;
    margin-right: 20px;
}

.author-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #cc0000;
}

/* Error 404 Page */
.error-404 {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.error-title {
    font-size: 120px;
    font-weight: bold;
    color: #cc0000;
    margin-bottom: 20px;
}

.error-subtitle {
    font-size: 36px;
    margin-bottom: 20px;
    color: #333;
}

.error-message {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

.error-actions {
    margin-bottom: 30px;
}

.btn-home,
.btn-back {
    display: inline-block;
    background-color: #cc0000;
    color: #fff;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: bold;
    margin: 0 10px;
    transition: background-color 0.3s ease;
}

.btn-home:hover,
.btn-back:hover {
    background-color: #990000;
    color: #fff;
}

/* Comments Section */
.comments-area {
    margin-top: 40px;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comment {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.comment:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.comment-author {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 10px;
}

.comment-meta {
    font-size: 13px;
    color: #999;
    margin-bottom: 15px;
}

.comment-content {
    line-height: 1.6;
}

.comment-reply-link {
    color: #cc0000;
    font-weight: bold;
}

.comment-form {
    margin-top: 40px;
}

.comment-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 15px;
}

.comment-form textarea {
    height: 150px;
    resize: vertical;
}

.comment-form button {
    background-color: #cc0000;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.comment-form button:hover {
    background-color: #990000;
}