/* News Page Styles - BMW Style */

:root {
    --primary-blue: #0066B1;
    --light-blue: #00a3e0;
    --dark-bg: #0a1628;
    --darker-bg: #060d18;
    --text-white: #ffffff;
    --text-gray: #a0aec0;
    --gradient-primary: linear-gradient(135deg, #0066B1 0%, #00a3e0 100%);
}

/* News Hero Section */
.news-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--dark-bg);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 30% 30%, rgba(0, 102, 177, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 70%, rgba(0, 163, 224, 0.3) 0%, transparent 50%),
        linear-gradient(180deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--light-blue);
    border-radius: 50%;
    opacity: 0.6;
    animation: float-particle 15s infinite ease-in-out;
}

.particle:nth-child(1) { left: 15%; top: 25%; animation-delay: 0s; }
.particle:nth-child(2) { left: 35%; top: 55%; animation-delay: 2s; }
.particle:nth-child(3) { left: 55%; top: 35%; animation-delay: 4s; }
.particle:nth-child(4) { left: 75%; top: 65%; animation-delay: 6s; }
.particle:nth-child(5) { left: 85%; top: 45%; animation-delay: 8s; }
.particle:nth-child(6) { left: 25%; top: 75%; animation-delay: 10s; }

@keyframes float-particle {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
    25% { transform: translate(20px, -30px) scale(1.2); opacity: 0.8; }
    50% { transform: translate(-10px, -60px) scale(0.8); opacity: 0.4; }
    75% { transform: translate(30px, -30px) scale(1.1); opacity: 0.7; }
}

.news-hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 120px 20px 80px;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(0, 102, 177, 0.2);
    border: 1px solid rgba(0, 102, 177, 0.4);
    border-radius: 30px;
    color: var(--light-blue);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    animation: fadeInDown 0.8s ease forwards;
}

.hero-label svg { fill: var(--light-blue); }

.hero-title {
    font-size: clamp(36px, 8vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-white);
    margin-bottom: 30px;
}

.title-line {
    display: block;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.title-line:nth-child(1) { animation-delay: 0.2s; }
.title-line:nth-child(2) { animation-delay: 0.4s; background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.hero-description {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-gray);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: bounce 2s infinite;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--light-blue), transparent);
}

/* Categories Section */
.categories-section {
    padding: 60px 0;
    background: var(--darker-bg);
    border-bottom: 1px solid rgba(0, 102, 177, 0.2);
}

.categories-filter {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(0, 102, 177, 0.1);
    border: 1px solid rgba(0, 102, 177, 0.3);
    border-radius: 30px;
    color: var(--text-gray);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn svg { fill: currentColor; }

.filter-btn:hover, .filter-btn.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
}

/* Featured Section */
.featured-section {
    padding: 100px 0;
    background: var(--dark-bg);
}

.featured-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.featured-main { height: 100%; }

.featured-card {
    height: 100%;
    background: rgba(0, 102, 177, 0.05);
    border: 1px solid rgba(0, 102, 177, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.featured-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-blue);
    box-shadow: 0 30px 60px rgba(0, 102, 177, 0.3);
}

.featured-image {
    position: relative;
    height: 300px;
    background: linear-gradient(135deg, rgba(0, 102, 177, 0.4), rgba(0, 163, 224, 0.3));
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 102, 177, 0.6), rgba(0, 163, 224, 0.4));
}

.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--gradient-primary);
    border-radius: 20px;
    color: white;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 1;
}

.featured-badge svg { fill: white; }

.featured-category {
    position: absolute;
    bottom: 20px;
    left: 20px;
    padding: 6px 14px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 20px;
    color: white;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 1;
}

.featured-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

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

.meta-date, .meta-read {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-gray);
}

.meta-date svg, .meta-read svg { fill: var(--text-gray); }

.featured-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-white);
    line-height: 1.3;
    margin-bottom: 15px;
}

.featured-excerpt {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
    flex: 1;
}

.featured-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    color: var(--light-blue);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.featured-link svg { fill: var(--light-blue); transition: transform 0.3s ease; }

.featured-link:hover { color: white; }
.featured-link:hover svg { transform: translateX(5px); fill: white; }

.featured-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-card {
    position: relative;
    padding: 30px;
    background: rgba(0, 102, 177, 0.05);
    border: 1px solid rgba(0, 102, 177, 0.2);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.sidebar-card:hover {
    transform: translateX(-10px);
    border-color: var(--primary-blue);
}

.sidebar-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 4px 12px;
    background: rgba(0, 102, 177, 0.3);
    border-radius: 20px;
    color: var(--light-blue);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sidebar-badge.hot { background: rgba(255, 107, 107, 0.3); color: #ff6b6b; }

.sidebar-category {
    font-size: 12px;
    color: var(--light-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.sidebar-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-white);
    line-height: 1.4;
    margin-bottom: 10px;
}

.sidebar-excerpt {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}

.sidebar-date {
    display: block;
    margin-top: 15px;
    font-size: 12px;
    color: var(--text-gray);
}

/* News Grid Section */
.news-grid-section {
    padding: 100px 0;
    background: var(--darker-bg);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 102, 177, 0.15);
    border-radius: 20px;
    color: var(--light-blue);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.section-label svg { fill: var(--light-blue); }

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    color: var(--text-white);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: rgba(0, 102, 177, 0.05);
    border: 1px solid rgba(0, 102, 177, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.news-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-blue);
    box-shadow: 0 30px 60px rgba(0, 102, 177, 0.3);
}

.news-image {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, rgba(0, 102, 177, 0.3), rgba(0, 163, 224, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.news-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.news-card:hover .news-overlay { opacity: 1; }

.news-overlay svg { fill: white; opacity: 0.8; }

.news-category {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 4px 12px;
    background: var(--gradient-primary);
    border-radius: 20px;
    color: white;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-content { padding: 25px; }

.news-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.news-date, .news-author {
    font-size: 12px;
    color: var(--text-gray);
}

.news-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-white);
    line-height: 1.4;
    margin-bottom: 10px;
}

.news-excerpt {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 20px;
}

.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.news-read-time {
    font-size: 12px;
    color: var(--text-gray);
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--light-blue);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.news-link svg { fill: var(--light-blue); transition: transform 0.3s ease; }

.news-link:hover { color: white; }
.news-link:hover svg { transform: translateX(5px); fill: white; }

.load-more {
    text-align: center;
    margin-top: 60px;
}

/* Insights Section */
.insights-section {
    padding: 100px 0;
    background: var(--dark-bg);
}

.insights-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.insights-main {}

.insights-title {
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 40px;
}

.insight-card {
    display: flex;
    gap: 25px;
    padding: 30px;
    background: rgba(0, 102, 177, 0.05);
    border: 1px solid rgba(0, 102, 177, 0.2);
    border-radius: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.insight-card:hover {
    border-color: var(--primary-blue);
    transform: translateX(10px);
}

.insight-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.insight-icon svg { width: 30px; height: 30px; fill: white; }

.insight-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 10px;
}

.insight-content p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 10px;
}

.insight-date {
    font-size: 12px;
    color: var(--light-blue);
}

.insights-sidebar {}

.popular-posts {
    padding: 30px;
    background: rgba(0, 102, 177, 0.05);
    border: 1px solid rgba(0, 102, 177, 0.2);
    border-radius: 20px;
    margin-bottom: 30px;
}

.popular-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 25px;
}

.popular-list {}

.popular-item {
    display: flex;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.popular-item:last-child { border-bottom: none; }

.popular-number {
    flex-shrink: 0;
    font-size: 24px;
    font-weight: 800;
    color: rgba(0, 102, 177, 0.3);
}

.popular-content h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.popular-item:hover .popular-content h4 { color: var(--light-blue); }

.popular-content span {
    font-size: 12px;
    color: var(--text-gray);
}

.tags-cloud {
    padding: 30px;
    background: rgba(0, 102, 177, 0.05);
    border: 1px solid rgba(0, 102, 177, 0.2);
    border-radius: 20px;
}

.tags-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 20px;
}

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

.tag {
    padding: 8px 16px;
    background: rgba(0, 102, 177, 0.2);
    border-radius: 20px;
    color: var(--text-gray);
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag:hover {
    background: var(--gradient-primary);
    color: white;
}

/* Newsletter Section */
.newsletter-section {
    position: relative;
    padding: 120px 0;
    background: var(--darker-bg);
    overflow: hidden;
}

.newsletter-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.newsletter-bg::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(0, 102, 177, 0.3), transparent 70%);
}

.newsletter-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.nl-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--light-blue);
    border-radius: 50%;
    animation: float-particle 10s infinite ease-in-out;
}

.nl-particle:nth-child(1) { left: 20%; top: 30%; animation-delay: 0s; }
.nl-particle:nth-child(2) { left: 50%; top: 50%; animation-delay: 3s; }
.nl-particle:nth-child(3) { left: 80%; top: 40%; animation-delay: 6s; }

.newsletter-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.newsletter-icon svg { width: 40px; height: 40px; fill: white; }

.newsletter-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 15px;
}

.newsletter-text {
    font-size: 18px;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 40px;
}

.newsletter-form {}

.form-group {
    display: flex;
    gap: 15px;
}

.form-group input {
    flex: 1;
    padding: 16px 24px;
    background: rgba(0, 102, 177, 0.1);
    border: 1px solid rgba(0, 102, 177, 0.3);
    border-radius: 50px;
    color: white;
    font-size: 15px;
    outline: none;
    transition: all 0.3s ease;
}

.form-group input::placeholder { color: var(--text-gray); }

.form-group input:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 20px rgba(0, 102, 177, 0.3);
}

.form-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    font-size: 13px;
    color: var(--text-gray);
}

.form-note svg { fill: var(--text-gray); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 10px 30px rgba(0, 102, 177, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 102, 177, 0.5);
}

.btn svg { fill: currentColor; transition: transform 0.3s ease; }
.btn:hover svg { transform: translateX(5px); }

/* Animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Responsive */
@media (max-width: 1200px) {
    .featured-grid, .insights-grid { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .categories-filter { gap: 10px; }
    .filter-btn { padding: 10px 16px; font-size: 13px; }
    .news-grid { grid-template-columns: 1fr; }
    .form-group { flex-direction: column; }
    .insight-card { flex-direction: column; }
    .hero-scroll-indicator { display: none; }
}