/* Blog Styles */
:root {
    --primary-color: #d4af37;
    --dark-color: #1a1a1a;
    --light-color: #ffffff;
    --grey-color: #f5f5f5;
    --text-color: #333333;
    --text-muted: #6c757d;
    --border-color: #dee2e6;
}

/* Blog Card */
.blog-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card-image {
    position: relative;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.category-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: var(--dark-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.category-badge:hover {
    background: var(--dark-color);
    color: var(--primary-color);
}

.blog-card-body {
    padding: 1.5rem;
}

.blog-card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.blog-card-title a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card-title a:hover {
    color: var(--primary-color);
}

.blog-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-card-excerpt {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: var(--grey-color);
    color: var(--text-color);
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag:hover {
    background: var(--primary-color);
    color: var(--dark-color);
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: var(--dark-color);
    transform: translateX(5px);
}

/* Sidebar */
.blog-sidebar {
    position: sticky;
    top: 100px;
}

.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.card-header {
    background: var(--dark-color);
    color: var(--light-color);
    border-radius: 10px 10px 0 0 !important;
    padding: 1rem 1.5rem;
}

.card-header h5 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.card-body {
    padding: 1.5rem;
}

/* Search Widget */
.input-group .form-control {
    border-radius: 20px 0 0 20px;
    border: 1px solid var(--border-color);
}

.input-group .btn {
    border-radius: 0 20px 20px 0;
    background: var(--primary-color);
    color: var(--dark-color);
    padding: 0.5rem 1.5rem;
}

.input-group .btn:hover {
    background: var(--dark-color);
    color: var(--primary-color);
}

/* Categories Widget */
.list-unstyled a {
    color: var(--text-color);
    text-decoration: none;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.list-unstyled a:hover {
    color: var(--primary-color);
}

.badge.bg-gold {
    background: var(--primary-color);
    color: var(--dark-color);
}

/* Tag Cloud */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-cloud-link {
    background: var(--grey-color);
    color: var(--text-color);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag-cloud-link:hover {
    background: var(--primary-color);
    color: var(--dark-color);
}

/* Featured Posts */
.featured-post-item {
    transition: all 0.3s ease;
}

.featured-post-item:hover {
    transform: translateX(5px);
}

.featured-post-item img {
    height: 80px;
    object-fit: cover;
}

.featured-post-item h6 {
    font-size: 1rem;
    line-height: 1.4;
}

.featured-post-item a {
    text-decoration: none;
}

.featured-post-item a:hover {
    color: var(--primary-color) !important;
}

/* Pagination */
.pagination {
    margin-top: 2rem;
}

.page-link {
    color: var(--text-color);
    border: none;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.page-link:hover {
    background: var(--primary-color);
    color: var(--dark-color);
}

.page-item.active .page-link {
    background: var(--primary-color);
    color: var(--dark-color);
    border: none;
}

/* Responsive */
@media (max-width: 991.98px) {
    .blog-sidebar {
        margin-top: 2rem;
        position: static;
    }
}

@media (max-width: 767.98px) {
    .blog-card-image img {
        height: 200px;
    }
    
    .blog-card-title {
        font-size: 1.25rem;
    }
    
    .blog-card-meta {
        font-size: 0.8rem;
    }
}

/* Blog Post Detail Styles */
.blog-post {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.blog-post-header {
    margin-bottom: 2rem;
}

.blog-post-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-post-subtitle {
    font-size: 1.5rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-weight: 500;
    display: block;
    color: #333;
}

.blog-post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.blog-post-content p {
    margin-bottom: 1.5rem;
}

.blog-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
}

.blog-post-content h2, 
.blog-post-content h3 {
    margin: 2rem 0 1rem;
}

/* Comments Section */
.comments-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.comment {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.comment-date {
    color: #666;
    font-size: 0.9rem;
}

.comment-reply {
    margin-left: 2rem;
    padding: 1rem;
    background: #fff;
    border-radius: 8px;
    margin-top: 1rem;
}

/* Related Posts and Products */
.related-post-card,
.product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.related-post-card:hover,
.product-card:hover {
    transform: translateY(-5px);
}

.related-post-card img,
.product-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.related-post-card h5,
.product-card h5 {
    padding: 1rem;
    margin: 0;
    font-size: 1.1rem;
}

/* Custom Button Styles */
.btn-gold {
    background-color: #d4af37;
    border-color: #d4af37;
    color: #fff;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    background-color: #b28f1d;
    border-color: #b28f1d;
    color: #fff;
}

.btn-outline-gold {
    border-color: #d4af37;
    color: #d4af37;
}

.btn-outline-gold:hover {
    background-color: #d4af37;
    color: #fff;
} 