/* Projects Filter Section */
.projects-filter-section {
    padding: 40px 0;
    background: var(--ui-bg);
    border-bottom: 1px solid #e0e0e0;
}

.filter-bar {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-blue);
}

.filter-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    background: var(--white);
}

.filter-group select:focus {
    outline: none;
    border-color: var(--energy-green);
    box-shadow: 0 0 0 3px rgba(0, 208, 132, 0.1);
}

#reset-filters {
    padding: 12px 24px;
    white-space: nowrap;
}

/* Projects Map Section */
.projects-map-section {
    padding: 80px 0;
    background: var(--white);
}

.map-container {
    position: relative;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-blue), #0A3A5C);
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-overlay {
    text-align: center;
    color: var(--white);
    max-width: 600px;
    padding: 40px;
}

.map-overlay h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.map-overlay p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.map-legend {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-top: 30px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.legend-dot.operating {
    background: var(--energy-green);
}

.legend-dot.development {
    background: var(--premium-gold);
}

.legend-dot.planning {
    background: var(--ui-gray);
}

/* Projects Grid Section */
.projects-grid-section {
    padding: 80px 0;
    background: var(--ui-bg);
}

.projects-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.stat-box {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.stat-box .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--energy-green);
    margin-bottom: 10px;
}

.stat-box .stat-label {
    color: var(--ui-gray);
    font-weight: 600;
}

.projects-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.project-card-large {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    transition: 0.3s;
}

.project-card-large:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.project-image-large {
    height: 100%;
    min-height: 300px;
    background: linear-gradient(135deg, var(--primary-blue), var(--energy-green));
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-image-large .project-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
}

html[lang="en"] .project-image-large .project-badge {
    right: auto;
    left: 20px;
}

.project-badge.operating {
    background: var(--energy-green);
    color: var(--primary-blue);
}

.project-badge.development {
    background: var(--premium-gold);
    color: var(--white);
}

.project-badge.planning {
    background: var(--ui-gray);
    color: var(--white);
}

.project-content-large {
    padding: 40px;
}

.project-meta-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tag {
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.tag.renewable {
    background: rgba(0, 208, 132, 0.1);
    color: var(--energy-green);
}

.tag.water {
    background: rgba(0, 150, 255, 0.1);
    color: #0096FF;
}

.tag.hydrogen {
    background: rgba(197, 160, 101, 0.1);
    color: var(--premium-gold);
}

.tag.gas {
    background: rgba(255, 150, 0, 0.1);
    color: #FF9600;
}

.tag.logistics {
    background: rgba(150, 150, 150, 0.1);
    color: #969696;
}

.tag.hospitality {
    background: rgba(255, 100, 150, 0.1);
    color: #FF6496;
}

.tag.location {
    background: rgba(10, 37, 64, 0.1);
    color: var(--primary-blue);
}

.project-content-large h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary-blue);
}

.project-content-large p {
    color: var(--ui-gray);
    line-height: 1.8;
    margin-bottom: 30px;
}

.project-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--ui-bg);
    border-radius: 8px;
}

.detail-item {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-size: 0.85rem;
    color: var(--ui-gray);
    margin-bottom: 5px;
}

.detail-value {
    font-weight: 700;
    color: var(--primary-blue);
}

.project-actions {
    display: flex;
    gap: 15px;
}

.project-actions .btn-outline {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.project-actions .btn-outline:hover {
    background: var(--primary-blue);
    color: var(--white);
}

/* Case Studies Section */
.case-studies-section {
    padding: 100px 0;
    background: var(--white);
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.case-study-card {
    padding: 30px;
    border: 2px solid var(--ui-bg);
    border-radius: 12px;
    transition: 0.3s;
}

.case-study-card:hover {
    border-color: var(--energy-green);
    background: var(--ui-bg);
}

.case-study-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-blue);
}

.case-study-card p {
    color: var(--ui-gray);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        min-width: 100%;
    }
    
    .map-container {
        height: 300px;
    }
    
    .map-legend {
        flex-direction: column;
        gap: 15px;
    }
    
    .projects-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .project-card-large {
        grid-template-columns: 1fr;
    }
    
    .project-image-large {
        min-height: 200px;
    }
    
    .project-details {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .project-actions {
        flex-direction: column;
    }
    
    .case-studies-grid {
        grid-template-columns: 1fr;
    }
}

/* Animation for filtering */
.project-item {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.project-item.hidden {
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
    display: none;
}

.project-item.visible {
    opacity: 1;
    transform: scale(1);
}