/*
Theme Name: FactMedia NBC Style Child
Description: Child theme pentru FactMedia NBC Style - pentru siguranță la actualizări
Template: factmedia-nbcstyle
Version: 1.0.0
Author: FactMedia Development Team
*/

/* Import parent theme styles */
@import url("../factmedia-nbcstyle/style.css");

/* 
==========================================================================
CHILD THEME CUSTOM STYLES - FACTMEDIA NBC STYLE
==========================================================================
Aici poți adăuga stiluri personalizate care nu vor fi pierdute la actualizări
*/

/* Extra customizations for news sites */
.child-theme-custom {
    /* Custom styles here */
}

/* Enhanced category pages */
.category-page .category-hero {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 40px 0;
}

.category-hero-content {
    text-align: center;
}

.category-breadcrumb {
    margin-bottom: 20px;
    opacity: 0.9;
}

.category-breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.category-breadcrumb a:hover {
    color: white;
}

.breadcrumb-separator {
    margin: 0 10px;
    opacity: 0.6;
}

.category-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 20px 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.category-title i {
    margin-right: 15px;
    color: #ffd700;
}

.category-description {
    font-size: 1.1rem;
    margin: 20px 0;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.category-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.category-stats span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.category-stats i {
    color: #ffd700;
}

/* Category filters */
.category-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 30px 0;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    flex-wrap: wrap;
    gap: 20px;
}

.filter-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 10px 20px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-tab:hover {
    border-color: #1e3c72;
    color: #1e3c72;
    transform: translateY(-2px);
}

.filter-tab.active {
    background: #1e3c72;
    border-color: #1e3c72;
    color: white;
}

.view-options {
    display: flex;
    gap: 5px;
}

.view-btn {
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-btn:hover {
    border-color: #1e3c72;
    color: #1e3c72;
}

.view-btn.active {
    background: #1e3c72;
    border-color: #1e3c72;
    color: white;
}

/* Featured article in category */
.featured-article {
    margin: 40px 0;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    position: relative;
}

.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #ff6b35;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 5px;
}

.featured-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.featured-image {
    position: relative;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-image:hover img {
    transform: scale(1.05);
}

.featured-overlay {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.featured-text {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.featured-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666;
    font-size: 0.9rem;
}

.featured-meta i {
    color: #1e3c72;
}

.featured-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.featured-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.featured-title a:hover {
    color: #1e3c72;
}

.featured-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.featured-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Articles grid for categories */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.articles-grid.list-view {
    grid-template-columns: 1fr;
}

.articles-grid.list-view .news-card {
    display: flex;
    gap: 20px;
}

.articles-grid.list-view .news-image {
    flex: 0 0 200px;
}

.articles-grid.list-view .news-content {
    flex: 1;
}

/* Enhanced single article styles */
.single-article-page .article-hero {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 60px 0 40px;
}

.article-breadcrumb {
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.article-breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-breadcrumb a:hover {
    color: white;
}

.article-category-badge {
    margin-bottom: 20px;
}

.category-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.category-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.article-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 30px 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.article-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.5;
    font-weight: 300;
}

/* Article meta bar */
.article-meta-bar {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.meta-primary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 20px;
}

.author-info {
    display: flex;
    gap: 15px;
    align-items: center;
}

.author-avatar img {
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.author-name a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.author-title {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-top: 5px;
}

.publish-info {
    text-align: right;
}

.publish-date,
.update-date {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 10px;
}

.meta-secondary {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    align-items: center;
}

.reading-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.reading-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
}

.article-share-bar {
    display: flex;
    align-items: center;
    gap: 15px;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-3px);
}

.share-btn.facebook { background: #1877f2; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.linkedin { background: #0077b5; }
.share-btn.whatsapp { background: #25d366; }
.share-btn.copy-link { background: #666; border: none; cursor: pointer; }

/* Article content layout */
.content-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 50px;
    margin: 50px 0;
}

.article-content {
    background: white;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.article-body h1,
.article-body h2,
.article-body h3,
.article-body h4,
.article-body h5,
.article-body h6 {
    color: #1e3c72;
    margin: 30px 0 20px;
    font-weight: 700;
}

.article-body p {
    margin-bottom: 20px;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
}

/* Article tags */
.article-tags {
    margin: 40px 0;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 15px;
}

.tags-title {
    color: #1e3c72;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tags-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag-item {
    background: #e9ecef;
    color: #495057;
    padding: 5px 12px;
    border-radius: 15px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.tag-item:hover {
    background: #1e3c72;
    color: white;
    transform: translateY(-2px);
}

/* Reading progress bar */
.reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(30, 60, 114, 0.2);
    z-index: 1000;
}

.reading-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #1e3c72, #2a5298);
    width: 0%;
    transition: width 0.3s ease;
}

/* Floating share bar */
.floating-share-bar {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.floating-share-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #1e3c72;
    color: white;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(30, 60, 114, 0.3);
    transition: all 0.3s ease;
}

.floating-share-btn:hover {
    transform: scale(1.1);
}

.floating-share-menu {
    position: absolute;
    bottom: 70px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.floating-share-menu.active {
    opacity: 1;
    visibility: visible;
}

.floating-share-item {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.floating-share-item:hover {
    transform: scale(1.1);
}

/* Responsive design for child theme */
@media (max-width: 1024px) {
    .content-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .featured-content {
        grid-template-columns: 1fr;
    }
    
    .featured-image img {
        height: 250px;
    }
    
    .article-title {
        font-size: 2.5rem;
    }
    
    .meta-primary {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .meta-secondary {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .category-title {
        font-size: 2rem;
    }
    
    .article-title {
        font-size: 2rem;
    }
    
    .article-content {
        padding: 30px 20px;
    }
    
    .category-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-tabs {
        justify-content: center;
    }
    
    .view-options {
        justify-content: center;
    }
}

/* Print styles */
@media print {
    .floating-share-bar,
    .reading-progress-bar,
    .article-share-bar,
    .category-filters {
        display: none !important;
    }
    
    .article-content {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}
