/* Blog Glassmorphism Styling - Matching Biodiversity Section */

/* Nature Color Palette */
:root {
    --color-primary: #2E7D32;
    --color-secondary: #1565C0;
    --gradient-primary: linear-gradient(135deg, #2E7D32 0%, #1565C0 100%);
}

/* Glassmorphism Card Styles */
.blog-glass-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.blog-glass-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(46, 125, 50, 0.2);
}

/* Bio Button Styling */
.btn-bio {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-bio:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.3);
    color: white;
}

/* Filter Section with Glassmorphism */
.filter-glass-section {
    background: var(--gradient-primary);
    position: relative;
    padding: 30px 0;
    margin-bottom: 40px;
}

.filter-glass-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.filter-glass-section .container {
    position: relative;
    z-index: 2;
}

.filter-glass-card {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 25px;
}

.filter-glass-card .form-label {
    color: white;
    font-weight: 500;
    margin-bottom: 8px;
}

.filter-glass-card .form-control,
.filter-glass-card .form-select {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #333;
}

.filter-glass-card .form-control:focus,
.filter-glass-card .form-select:focus {
    background: rgba(255, 255, 255, 1);
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

/* Sidebar Glassmorphism */
.sidebar-glass-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(46, 125, 50, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.sidebar-glass-card:hover {
    box-shadow: 0 8px 25px rgba(46, 125, 50, 0.15);
}

.sidebar-glass-header {
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.1) 0%, rgba(21, 101, 192, 0.1) 100%);
    border-bottom: 2px solid var(--color-primary);
    padding: 15px 20px;
}

.sidebar-glass-header h5 {
    color: var(--color-primary);
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
}

.sidebar-glass-header i {
    margin-right: 10px;
    color: var(--color-secondary);
}

/* Subscribe Card with Gradient */
.subscribe-glass-card {
    background: var(--gradient-primary);
    border: none;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 20px rgba(46, 125, 50, 0.3);
    color: white;
}

.subscribe-glass-card h5 {
    font-weight: 600;
    margin-bottom: 20px;
}

.subscribe-glass-card .form-control {
    border: none;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.95);
}

.subscribe-glass-card .btn {
    background: #FFA726;
    border: none;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.subscribe-glass-card .btn:hover {
    background: #FB8C00;
    transform: scale(1.05);
}

/* Tag Badges */
.tag-glass-badge {
    display: inline-block;
    padding: 6px 14px;
    margin: 4px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(46, 125, 50, 0.3);
}

.tag-glass-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(46, 125, 50, 0.4);
    color: white;
}

/* Blog Card Enhancements */
.blog-card-glass {
    border: none;
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    background: white;
}

.blog-card-glass:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(46, 125, 50, 0.15);
}

.blog-card-glass .featured-image {
    transition: transform 0.5s ease;
}

.blog-card-glass:hover .featured-image {
    transform: scale(1.05);
}

/* Category Badge */
.category-badge-glass {
    background: var(--gradient-primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    display: inline-block;
}

/* Search Form Glass */
.search-glass-form {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(46, 125, 50, 0.1);
}

.search-glass-form .form-control {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(46, 125, 50, 0.2);
}

.search-glass-form .form-control:focus {
    border-color: var(--color-primary);
    box-shadow: none;
    background: white;
}

.search-glass-form .btn {
    background: var(--color-primary);
    border: none;
    color: white;
    transition: background 0.3s ease;
}

.search-glass-form .btn:hover {
    background: #45a049;
}

/* Pagination with Nature Theme */
.pagination-glass .page-link {
    color: var(--color-primary);
    border-color: rgba(46, 125, 50, 0.2);
}

.pagination-glass .page-link:hover {
    background: rgba(46, 125, 50, 0.1);
    color: var(--color-primary);
}

.pagination-glass .page-item.active .page-link {
    background: var(--gradient-primary);
    border-color: var(--color-primary);
}

/* Blog Detail Page Enhancements */
.article-header-glass {
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.05) 0%, rgba(21, 101, 192, 0.05) 100%);
    padding: 30px;
    border-radius: 1rem;
    margin-bottom: 30px;
}

.article-meta-glass {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 15px;
    border: 1px solid rgba(46, 125, 50, 0.1);
}

/* Related Articles Glass Cards */
.related-glass-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(46, 125, 50, 0.1);
}

.related-glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(46, 125, 50, 0.15);
}

/* Breadcrumb Nature Theme */
.breadcrumb-glass {
    background: rgba(46, 125, 50, 0.05);
    padding: 12px 20px;
    border-radius: 8px;
}

.breadcrumb-glass .breadcrumb-item a {
    color: var(--color-primary);
    text-decoration: none;
}

.breadcrumb-glass .breadcrumb-item a:hover {
    color: var(--color-secondary);
}

.breadcrumb-glass .breadcrumb-item.active {
    color: #666;
}

/* Social Sharing Glassmorphism Section */
.social-sharing-glass {
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.08) 0%, rgba(21, 101, 192, 0.08) 100%);
    border-radius: 1rem;
    padding: 30px;
    margin: 30px 0;
    border: 1px solid rgba(46, 125, 50, 0.1);
}

.social-sharing-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 1.1rem;
}

.social-sharing-header i {
    margin-right: 10px;
    font-size: 1.3rem;
    color: var(--color-secondary);
}

.social-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.social-btn {
    flex: 1;
    min-width: 100px;
    padding: 5px 10px;
    border: none;
    border-radius: 8px;
    font-weight: 400;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.social-btn i {
    font-size: 1.1rem;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-btn-twitter {
    background: linear-gradient(135deg, #1DA1F2 0%, #0d8bd9 100%);
    color: white;
}

.social-btn-twitter:hover {
    background: linear-gradient(135deg, #0d8bd9 0%, #0a6fb3 100%);
}

.social-btn-facebook {
    background: linear-gradient(135deg, #1877F2 0%, #0d5ec7 100%);
    color: white;
}

.social-btn-facebook:hover {
    background: linear-gradient(135deg, #0d5ec7 0%, #094a9c 100%);
}

.social-btn-linkedin {
    background: linear-gradient(135deg, #0A66C2 0%, #084d8f 100%);
    color: white;
}

.social-btn-linkedin:hover {
    background: linear-gradient(135deg, #084d8f 0%, #063764 100%);
}

.social-btn-copy {
    background: linear-gradient(135deg, #2E7D32 0%, #1b5e20 100%);
    color: white;
}

.social-btn-copy:hover {
    background: linear-gradient(135deg, #1b5e20 0%, #0d3d10 100%);
}

.action-btn-group {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.action-btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.action-btn-print {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(46, 125, 50, 0.3);
    color: var(--color-primary);
}

.action-btn-print:hover {
    background: white;
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.15);
}

.action-btn-back {
    background: var(--gradient-primary);
    border: none;
    color: white;
}

.action-btn-back:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3);
    filter: brightness(1.1);
}

@media (max-width: 768px) {
    .social-btn-group {
        flex-direction: column;
    }
    
    .social-btn {
        min-width: 100%;
    }
    
    .action-btn-group {
        flex-direction: column;
        margin-top: 20px;
    }
    
    .action-btn {
        width: 100%;
        justify-content: center;
    }
}

