/* Projects Page Styles - Index ile Tutarlı Modern Tasarım */

/* Stats Section - Index key numbers tarzında */
.stats-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  }
  
  .section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
  }
  
  .section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
  }
  
  .section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .stat-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid transparent;
    text-align: center;
    height: 100%;
  }
  
  .stat-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-15px);
    border-color: var(--primary-color);
  }
  
  .stat-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    transition: all 0.3s ease;
  }
  
  .stat-icon i {
    font-size: 2rem;
    color: white;
  }
  
  .stat-card:hover .stat-icon {
    transform: scale(1.1);
  }
  
  .stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1;
  }
  
  .stat-label {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0;
  }
  
  /* Featured Projects Section */
  .featured-projects-section {
    padding: 8rem 0;
    background: white;
  }
  
  /* Project Filters - Index filter buttons tarzında */
  .project-filters {
    margin-bottom: 4rem;
    text-align: center;
  }
  
  .filter-btn {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-dark);
    border: 2px solid #e2e8f0;
    padding: 1rem 2rem;
    margin: 0.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    backdrop-filter: blur(10px);
  }
  
  .filter-btn:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.25);
  }
  
  .filter-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
  }
  
  /* Project Cards - Index featured projects tarzında */
  .project-card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    overflow: hidden;
    border: 1px solid transparent;
    height: 100%;
  }
  
  .project-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-15px);
    border-color: var(--primary-color);
  }
  
  .project-image {
    position: relative;
    overflow: hidden;
    height: 280px;
  }
  
  .project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
  }
  
  .project-card:hover .project-image img {
    transform: scale(1.1);
  }
  
  .project-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  }
  
  .project-badge.featured {
    background: linear-gradient(135deg, #EF4444, #DC2626);
    color: white;
  }
  
  .project-badge.power {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: white;
  }
  
  .project-badge.new {
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
  }
  
  .project-badge.government {
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
    color: white;
  }
  
  .project-badge.innovative {
    background: linear-gradient(135deg, #06B6D4, #0891B2);
    color: white;
  }
  
  .project-badge.emission {
    background: linear-gradient(135deg, #84CC16, #65A30D);
    color: white;
  }
  
  .project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.9), rgba(30, 64, 175, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
  }
  
  .project-card:hover .project-overlay {
    opacity: 1;
  }
  
  .overlay-content {
    text-align: center;
  }
  
  .overlay-content .btn {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-weight: 600;
    backdrop-filter: blur(15px);
    transition: all 0.3s ease;
  }
  
  .overlay-content .btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
    color: white;
  }
  
  .project-content {
    padding: 2rem;
  }
  
  .project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
  }
  
  .project-year {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.85rem;
    font-weight: 600;
  }
  
  .project-client {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
  }
  
  .project-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
  }
  
  .project-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }
  
  .project-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .highlight-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-dark);
    font-weight: 500;
  }
  
  .highlight-item i {
    font-size: 0.9rem;
  }
  
  /* Client Logos Section - Index trusted by tarzında */
  .client-logos-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  }
  
  .client-logos {
    padding: 2rem 0;
  }
  
  .client-logo {
    background: white;
    padding: 2rem 1rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    text-align: center;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
  }
  
  .client-logo:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-color: var(--primary-color);
  }
  
  .client-logo img {
    max-height: 80px;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.7;
    transition: all 0.3s ease;
  }
  
  .client-logo:hover img {
    filter: grayscale(0);
    opacity: 1;
  }
  
  .more-clients {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 600;
  }
  
  /* Timeline Section - Index timeline ile aynı */
  .timeline-section {
    padding: 8rem 0;
    background: white;
  }
  
  .timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
  }
  
  .timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-color), var(--primary-light));
    transform: translateX(-50%);
    border-radius: 2px;
  }
  
  .timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
    position: relative;
  }
  
  .timeline-item:nth-child(odd) {
    flex-direction: row;
  }
  
  .timeline-item:nth-child(even) {
    flex-direction: row-reverse;
  }
  
  .timeline-year {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius-lg);
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: var(--shadow-lg);
    z-index: 2;
    min-width: 100px;
    text-align: center;
  }
  
  .timeline-content {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    width: calc(50% - 60px);
    position: relative;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
  }
  
  .timeline-content:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
    transform: translateY(-5px);
  }
  
  .timeline-item:nth-child(odd) .timeline-content {
    margin-right: auto;
  }
  
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
  }
  
  .timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 0;
    height: 0;
    border: 15px solid transparent;
    transform: translateY(-50%);
  }
  
  .timeline-item:nth-child(odd) .timeline-content::before {
    right: -30px;
    border-left-color: white;
  }
  
  .timeline-item:nth-child(even) .timeline-content::before {
    left: -30px;
    border-right-color: white;
  }
  
  .timeline-content h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.3rem;
  }
  
  .timeline-content p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
  }
  
  /* CTA Section - Index ile Aynı */
  .cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1E3A8A 0%, #1E40AF 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  
  .cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="cta-grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23cta-grid)"/></svg>');
    opacity: 0.3;
  }
  
  .cta-section .container {
    position: relative;
    z-index: 2;
  }
  
  .cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .cta-description {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .cta-btn {
    min-width: 220px;
    padding: 1rem 2rem;
    background: white !important;
    color: #1E3A8A !important;
    border: 2px solid white;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
  }
  
  .cta-btn:hover {
    background: #f8fafc !important;
    color: #1E3A8A !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
  }
  
  /* Modal Improvements - Modern Tasarım */
  .modal-xl {
    max-width: 1200px;
  }
  
  .modal-header {
    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
  }
  
  .modal-title {
    color: var(--text-dark);
    font-weight: 700;
  }
  
  .modal-body {
    padding: 2.5rem;
    background: white;
  }
  
  .modal-footer {
    border-top: 1px solid #e2e8f0;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
  }
  
  .modal-content {
    border-radius: var(--border-radius-lg);
    border: none;
    box-shadow: var(--shadow-xl);
  }
  
  /* Filter animations */
  .project-item {
    transition: all 0.6s ease;
  }
  
  .project-item.hidden {
    opacity: 0;
    transform: scale(0.8);
  }
  
  /* Animations - Index'teki gibi */
  @keyframes fadeInUp {
    0% {
      opacity: 0;
      transform: translateY(30px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Loading states */
  .project-item.loading {
    opacity: 0.5;
    pointer-events: none;
  }
  
  /* Accessibility improvements */
  .filter-btn:focus,
  .project-card:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
  }
  
  .project-overlay .btn:focus {
    outline: 2px solid white;
    outline-offset: 2px;
  }
  
  /* Print styles */
  @media print {
    .project-overlay,
    .filter-btn,
    .cta-section {
      display: none;
    }
    
    .project-card {
      page-break-inside: avoid;
    }
  }
  
  /* Responsive Design */
  @media (max-width: 1200px) {
    .section-title {
      font-size: 2.4rem;
    }
    
    .cta-title {
      font-size: 2rem;
    }
  }
  
  @media (max-width: 992px) {
    .timeline::before {
      left: 20px;
    }
    
    .timeline-item {
      flex-direction: column !important;
      align-items: flex-start;
      padding-left: 60px;
    }
    
    .timeline-year {
      left: 20px;
      transform: none;
    }
    
    .timeline-content {
      width: 100%;
      margin: 0 !important;
      margin-top: 1rem !important;
    }
    
    .timeline-content::before {
      display: none;
    }
    
    .cta-title {
      font-size: 2.2rem;
    }
  }
  
  @media (max-width: 768px) {
    .project-filters {
      text-align: center;
      margin-bottom: 3rem;
    }
    
    .filter-btn {
      margin: 0.25rem;
      font-size: 0.9rem;
      padding: 0.75rem 1.5rem;
      min-width: 140px;
    }
    
    .project-image {
      height: 220px;
    }
    
    .project-content {
      padding: 1.5rem;
    }
    
    .project-meta {
      flex-direction: column;
      align-items: flex-start;
      gap: 0.5rem;
    }
    
    .project-highlights {
      flex-direction: column;
      gap: 0.75rem;
    }
    
    .stat-number {
      font-size: 2.5rem;
    }
    
    .stat-icon {
      width: 60px;
      height: 60px;
    }
    
    .stat-icon i {
      font-size: 1.5rem;
    }
    
    .section-title {
      font-size: 2rem;
    }
    
    .cta-title {
      font-size: 2.2rem;
    }
    
    .cta-buttons {
      flex-direction: column;
      align-items: center;
      gap: 1rem;
    }
    
    .cta-btn {
      min-width: 280px;
      width: 100%;
      max-width: 350px;
    }
    
    .client-logo {
      height: 100px;
      padding: 1.5rem 1rem;
    }
    
    .client-logo img {
      max-height: 60px;
    }
    
    .modal-body {
      padding: 1.5rem;
    }
  }
  
  @media (max-width: 576px) {
    .filter-btn {
      font-size: 0.85rem;
      padding: 0.625rem 1.25rem;
      margin: 0.25rem 0.125rem;
    }
    
    .project-title {
      font-size: 1.1rem;
    }
    
    .project-description {
      font-size: 0.85rem;
    }
    
    .timeline-content {
      padding: 1.5rem;
    }
    
    .timeline-year {
      padding: 0.75rem 1rem;
      font-size: 1rem;
      min-width: 80px;
    }
    
    .section-title {
      font-size: 1.8rem;
    }
    
    .cta-title {
      font-size: 1.8rem;
    }
    
    .stat-card {
      padding: 2rem 1.5rem;
    }
    
    .stat-number {
      font-size: 2rem;
    }
    
    .modal-body {
      padding: 1rem;
    }
  }