/* =================================
   PORTFOLIO PAGE
================================= */

/* =================================
   PORTFOLIO
================================= */

.portfolio-hero {
  max-width: 900px;
  margin: 70px auto 50px;
  padding: 0 20px;
  text-align: center;
}

.portfolio-eyebrow {
  margin-bottom: 12px;
  color: red;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 3px;
}

.portfolio-hero h1 {
  margin: 0;
  font-size: 3rem;
  line-height: 1.15;
}

.portfolio-hero h1 span {
  display: block;
  margin-top: 8px;
  color: red;
}

.portfolio-title-line {
  width: 90px;
  height: 5px;
  margin: 24px auto;
  background: red;
  border-radius: 20px;
}

.portfolio-hero p {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #444;
}


.portfolio-section {
  max-width: 1200px;
  margin: 70px auto;
  padding: 0 20px;
  text-align: center;
}

.portfolio-section h2 {
  margin-bottom: 15px;
  font-size: 2.2rem;
}

.portfolio-section h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  margin: 12px auto 0;
  background: red;
  border-radius: 20px;
}

.portfolio-intro {
  max-width: 750px;
  margin: 0 auto 45px;
  color: #555;
  line-height: 1.7;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 35px;
  align-items: start;
}


/* PROJECT CARD */

.portfolio-card {
  width: 100%;
  overflow: hidden;

  background: white;

  border: 1px solid #ddd;
  border-top: 6px solid red;
  border-radius: 18px;

  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);

  text-align: left;
}

.portfolio-card:hover {
  transform: translateY(-6px);

  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
}


.portfolio-video-placeholder {
  min-height: 280px;

  display: flex;
  justify-content: center;
  align-items: center;

  padding: 30px;

  background:
    linear-gradient(
      135deg,
      #111,
      #2a2a2a
    );

  color: white;

  text-align: center;

  border-bottom: 3px solid red;
}

.portfolio-video-placeholder span {
  padding: 12px 18px;

  border: 2px solid red;
  border-radius: 10px;

  font-weight: 700;
}


.portfolio-card-content {
  padding: 10px 30px 35px;
  text-align: left;
}

.portfolio-project-number {
  margin-bottom: 8px;

  color: red !important;

  font-size: 0.8rem !important;
  font-weight: 800;

  letter-spacing: 2px;
}

.portfolio-card-content h3 {
  margin: 8px 0 18px;

  color: black;
  font-size: 1.6rem;

  text-align: left;
}

.portfolio-audience {
  margin-bottom: 15px;

  color: #555;

  font-size: 0.95rem;
  font-weight: 700;
}

.portfolio-card-content p {
  margin: 0 0 20px;

  color: #444;

  font-size: 1rem;
  line-height: 1.7;

  text-align: left;
}


.portfolio-appstore {
  max-width: 850px;

  margin: 30px auto 80px;

  padding: 45px 30px;

  background: #f8f8f8;

  border: 2px solid #eee;
  border-top: 6px solid red;

  border-radius: 18px;

  text-align: center;

  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.07);
}

.portfolio-appstore h2 {
  margin-bottom: 12px;
}

.portfolio-appstore p {
  max-width: 650px;
  margin: 0 auto 25px;
  color: #444;
}


.portfolio-cta {
  max-width: 850px;

  margin: 70px auto;

  padding: 50px 30px;

  background: white;

  border: 4px solid red;
  border-radius: 18px;

  text-align: center;

  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
}

.portfolio-cta h2 {
  color: black;
  font-size: 2rem;
}

.portfolio-cta p {
  color: black;
}

.portfolio-cta-button {
  display: inline-block;

  margin-top: 15px;

  padding: 14px 28px;

  background: red;
  color: white;

  border-radius: 10px;

  text-decoration: none;
  font-weight: 700;

  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.portfolio-cta-button:hover {
  background: darkred;
  transform: translateY(-3px);
}


/* MOBILE */

@media (max-width: 768px) {

  .portfolio-hero {
    margin-top: 45px;
  }

  .portfolio-hero h1 {
    font-size: 2.2rem;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-video-placeholder {
    min-height: 220px;
  }

  .portfolio-card-content {
    padding: 24px 20px 28px;
  }

  .portfolio-appstore,
  .portfolio-cta {
    margin-left: 15px;
    margin-right: 15px;
    padding: 35px 20px;
  }

}

.portfolio-video {
  width: 100%;
  max-width: 320px;
  height: 340px;
  display: block;

  margin: 25px auto;
  object-fit: contain;

  background: white;
  border-radius: 14px;

  border-bottom: 16px solid red;
}

