/* ====================================================
   PORTFOLIO STYLES
   ==================================================== */
.portfolio-page {
  pointer-events: auto;
}

.portfolio-item {
  background: linear-gradient(
    180deg,
    #ffffff00 0%,
    #ffffff57 0%,
    #b2b2b236 100%
  );
  border-radius: 20px;
  padding: 20px;
  box-shadow: inset 0 2px 3px -3px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  margin-bottom: 30px;
  pointer-events: auto;
}

.portfolio-card {
  height: 300px;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  position: relative;
  margin-bottom: 15px;
}

.portfolio-image {
  width: 100%;
  height: auto;
  min-height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 4s ease-in-out;
}

.portfolio-card:hover .portfolio-image {
  transform: translateY(calc(-100% + 300px));
}

.portfolio-info {
  text-align: left;
}

.company-name {
  font-size: 1.2rem;
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 8px;
  font-family: "SUSE", sans-serif;
}

.company-name a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.company-name a:hover {
  text-decoration: underline;
  color: #2980b9; /* or your brand primary color */
}

.company-details {
  font-size: 0.95rem;
  color: #7f8c8d;
  line-height: 1.4;
}

/* Dark mode overrides */
body.dark .company-name,
body.dark .company-details {
  color: #ffffff;
}

.portfolio-row {
  margin: 50px 0;
}

@media (max-width: 768px) {
  .portfolio-card {
    margin-bottom: 30px;
  }
}
