body {
  font-family: Arial, sans-serif;
  background: url("imgs/pot.jpg") no-repeat center center fixed; 
  background-size: cover;  /* makes image cover full screen */
  margin: 0;
  padding: 0;
  text-align: center;
  color: #4b0000;
}

 /* ---------- Portfolio Sections ---------- */
    .portfolio-section {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 60px;
      padding: 150px 10%;
      transition: all 0.8s ease;
      opacity: 0;
      transform: translateX(-100px);
    }

    .portfolio-section.visible {
      opacity: 1;
      transform: translateX(0);
    }

    /* Alternate direction for visual rhythm */
    .portfolio-section:nth-child(even) {
      flex-direction: row-reverse;
      transform: translateX(100px);
    }

    .portfolio-section:nth-child(even).visible {
      transform: translateX(0);
    }

    .portfolio-section img {
      width: 50%;
      max-width: 600px;
      height: 400px;
      object-fit: cover;
      border-radius: 20px;
      box-shadow: 0 4px 25px rgba(0,0,0,0.15);
      cursor: pointer;
      transition: transform 0.5s ease;
    }

    .portfolio-section img:hover {
      transform: scale(1.05);
    }

    .portfolio-text {
      width: 45%;
    }

    .portfolio-text h2 {
      font-size: 2.2rem;
      color: #4b0000;
      margin-bottom: 15px;
    }

    .portfolio-text p {
      font-size: 1.5rem;
      color: #d48400;
      line-height: 1.6;
      margin-bottom: 20px;
    }

    .portfolio-text a {
      display: inline-block;
      padding: 10px 25px;
      background-color: #e0d0b8ae;
      color: #fff;
      text-decoration: none;
      border-radius: 8px;
      transition: background 0.3s;
    }

    .portfolio-text a:hover {
      background-color: #d48400;
    }

    /* ---------- Responsive ---------- */
    @media (max-width: 768px) {
      .portfolio-section {
        flex-direction: column !important;
        text-align: center;
        padding: 60px 5%;
      }
      .portfolio-section img {
        width: 100%;
        height: 280px;
      }
      .portfolio-text {
        width: 100%;
      }
      .portfolio-text h2 {
        font-size: 1.6rem;
      }
    }
    footer {
  text-align: center;
  padding: 60px;
  font-size: 1.1rem;
  font-weight: bold;
  color: #4b0000;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
}

.linkedin-icon {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  transition: transform 0.3s ease, fill 0.3s ease;
}

.linkedin-link:hover .linkedin-icon {
  transform: translateY(-3px) scale(1.1);
  fill: #0077b5; /* LinkedIn blue on hover */
}