/*
------------------------------------------------
Portfolio Hero Section
------------------------------------------------
*/

.hs-portfolio-hero {
  padding: 100px 0;
  background: #111;
}

.hs-portfolio-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hs-portfolio-hero h1 {
  margin-bottom: 30px;
  line-height: 1.2;
}

.hs-portfolio-hero-lead {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.hs-portfolio-hero-actions {
  display: flex;
  gap: 20px;
  margin-top: 40px;
}

.hs-portfolio-hero-image img {
  width: 100%;
  max-width: 700px;
  height: auto;
  display: block;
}


/*
------------------------------------------------
Portfolio Intro Section
------------------------------------------------
*/

.hs-portfolio-intro {
  padding: 100px 0;
  background: rgba(75, 0, 0, 0.25);
}

.hs-portfolio-intro-content {
  max-width: 950px;
  margin: 0 auto;
  text-align: center;
}

.hs-portfolio-intro h2 {
  margin-bottom: 30px;
}

.hs-portfolio-intro-lead {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.hs-portfolio-intro p {
  margin-bottom: 25px;
}


/*
------------------------------------------------
Portfolio Project Sections
------------------------------------------------
*/

.hs-portfolio-project {
  padding: 100px 0;
}

.hs-portfolio-project:nth-child(odd) {
  background: #111;
}

.hs-portfolio-project:nth-child(even) {
  background: rgba(75, 0, 0, 0.25);
}

.hs-project-status {
  display: inline-block;

  margin: 15px 0 25px;

  padding: 6px 14px;

  font-size: 0.9rem;

  font-weight: 600;

  color: var(--hs-gold);

  background: rgba(255, 255, 255, 0.04);

  border: 1px solid rgba(255, 215, 0, 0.25);

  border-radius: 4px;
}

/*
------------------------------------------------
Project Grid
------------------------------------------------
*/

.hs-portfolio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hs-align-right .hs-portfolio-image {
  order: 2;
}

.hs-align-right .hs-portfolio-content {
  order: 1;
}


/*
------------------------------------------------
Project Image
------------------------------------------------
*/

.hs-portfolio-image img {
  width: 100%;
  display: block;
  height: auto;
  border-radius: 8px;
}


/*
------------------------------------------------
Project Content
------------------------------------------------
*/

.hs-portfolio-content h2 {
  margin-bottom: 30px;
}

.hs-portfolio-description p {
  margin-bottom: 25px;
}


/*
------------------------------------------------
Portfolio Subheadings
------------------------------------------------
*/

.hs-portfolio-subheading {
  font-size: 1.2rem;
  margin: 40px 0 20px;
  color: var(--hs-gold);
}


/*
------------------------------------------------
Portfolio Lists
------------------------------------------------
*/

.hs-portfolio-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 5px;
}

.hs-portfolio-list li {
  position: relative;
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.025);
  transition: all 0.2s ease;
}

.hs-portfolio-list li:hover {
  transform: translateX(3px);
}

.hs-portfolio-list li::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 70%;
  height: 1px;
  background: linear-gradient(
    to right,
    var(--hs-gold),
    rgba(75, 0, 0, 0.5)
  );
}


/*
------------------------------------------------
Project Footer / CTA
------------------------------------------------
*/

.hs-portfolio-project-footer {
  margin-top: 40px;
}

.hs-portfolio-project-link {
  color: var(--hs-gold);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.hs-portfolio-project-link:hover,
.hs-portfolio-project-link:focus {
  color: #ffffff;
}


/*
------------------------------------------------
Portfolio CTA
------------------------------------------------
*/

.hs-portfolio-cta {
  padding: 120px 0;
  background: #111;
  border-top: 1px solid #333;
}

.hs-portfolio-cta-inner {
  max-width: 950px;
  margin: 0 auto;
  text-align: center;
}

.hs-portfolio-cta h2 {
  margin-bottom: 35px;
}

.hs-portfolio-cta-lead {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.hs-portfolio-cta p {
  margin-bottom: 25px;
}

.hs-portfolio-cta-actions {
  margin: 50px 0;
}

.hs-portfolio-cta-note {
  font-size: 0.95rem;
  opacity: 0.85;
  max-width: 700px;
  margin: 0 auto;
}


/*
------------------------------------------------
Accessibility
------------------------------------------------
*/

.hs-portfolio a:focus-visible,
.hs-portfolio-hero a:focus-visible,
.hs-portfolio-cta a:focus-visible {
  outline: 3px solid #005fcc;
  outline-offset: 3px;
}


/*
------------------------------------------------
Tablet
------------------------------------------------
*/

@media (max-width: 1000px) {

  .hs-portfolio-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .hs-align-right .hs-portfolio-image,
  .hs-align-right .hs-portfolio-content {
    order: initial;
  }
}


/*
------------------------------------------------
Mobile
------------------------------------------------
*/

@media (max-width: 900px) {

  .hs-portfolio-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hs-portfolio-hero-image {
    order: -1;
  }

  .hs-portfolio-hero-actions {
    flex-direction: column;
  }
}


@media (max-width: 768px) {

  .hs-portfolio-project,
  .hs-portfolio-intro,
  .hs-portfolio-cta {
    padding: 70px 0;
  }

  .hs-portfolio-subheading {
    margin-top: 30px;
  }
}