/* ----------------------------------------------------------
   Projects List Page Styles (Flexbox version)
----------------------------------------------------------- */

.projects-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
  }
  
  .projects-container h1 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
  }
  
  .projects-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
  }
  
  .project-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    flex: 1 1 280px;
    max-width: 350px;
  }
  
  .project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  }
  
  .project-card img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin-bottom: 0.75rem;
  }
  
  .project-card h2 {
    font-size: 1.2rem;
    color: #333;
    margin: 0.5rem 0;
  }
  
  .project-card p {
    color: #555;
    font-size: 0.95rem;
  }
  
  /* ----------------------------------------------------------
     Project Detail Page Styles
  ----------------------------------------------------------- */
  
  .project-post {
    max-width: 900px;
    margin: 3rem auto;
    padding: 0 1rem;
    font-family: sans-serif;
    line-height: 1.6;
  }
  
  .project-header {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .project-main-photo {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 1rem;
  }
  
  .project-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #333;
  }
  
  .project-date {
    color: #888;
    font-size: 0.9rem;
  }
  
  .project-description {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: #444;
  }
  
  .project-body img,
  .project-body video {
    max-width: 100%;
    margin: 1rem 0;
    border-radius: 6px;
  }
  
  .project-body h2 {
    margin-top: 2rem;
    color: #222;
    font-size: 1.5rem;
  }
  
  .project-body ul {
    margin-left: 1.5rem;
    list-style: disc;
  }
  
  .project-contact {
    text-align: center;
    margin-top: 3rem;
  }
  
  .contact-button {
    background-color: #004080;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
  }
  
  .contact-button:hover {
    background-color: #0059b3;
  }
  