/* ================================================
   PORTFOLIO PAGE STYLES
   Projects & Equipment Pages
================================================ */

/* === PAGE HERO === */
.portfolio-hero {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
  background: linear-gradient(135deg, #0d1b2a 0%, #1b263b 100%);
}

.portfolio-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.3;
}

.portfolio-hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(177, 15, 60, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(177, 15, 60, 0.08) 0%, transparent 50%);
}

.portfolio-hero-content {
  position: relative;
  z-index: 2;
}

.portfolio-hero .hero-badge {
  display: inline-block;
  background: rgba(177, 15, 60, 0.15);
  color: #b10f3c;
  padding: 8px 20px;
  border-radius: 30px;
  font-family: var(--body-fonts);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
  border: 1px solid rgba(177, 15, 60, 0.3);
}

.portfolio-hero .hero-title {
  font-family: var(--display-fonts);
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: #ffffff;
  margin-bottom: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.portfolio-hero .hero-subtitle {
  font-family: var(--body-fonts);
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 25px;
}

.portfolio-hero .breadcrumb-nav {
  font-family: var(--body-fonts);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.portfolio-hero .breadcrumb-nav a {
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.3s ease;
}

.portfolio-hero .breadcrumb-nav a:hover {
  color: #b10f3c;
}

.portfolio-hero .breadcrumb-nav i {
  margin-right: 8px;
  color: #b10f3c;
}

/* === PORTFOLIO SECTION === */
.portfolio-section {
  padding: 80px 0;
  background: var(--grey-color);
}

.portfolio-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.portfolio-intro h2 {
  font-family: var(--display-fonts);
  font-size: 2.5rem;
  color: var(--dark-grey-color);
  margin-bottom: 15px;
  letter-spacing: 0.04em;
}

.portfolio-intro p {
  font-family: var(--body-fonts);
  font-size: 16px;
  color: var(--body-fonts-color);
  line-height: 1.7;
}

/* === PROJECT CARDS === */
.project-card {
  background: var(--white-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 30px;
  height: 100%;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.project-card .card-image {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.project-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .card-image img {
  transform: scale(1.08);
}

.project-card .card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(13, 27, 42, 0.8) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.project-card:hover .card-overlay {
  opacity: 1;
}

.project-card .card-content {
  padding: 25px;
}

.project-card .card-badge {
  display: inline-block;
  background: rgba(177, 15, 60, 0.1);
  color: #b10f3c;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}

.project-card .card-title {
  font-family: var(--title-fonts);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark-grey-color);
  margin-bottom: 10px;
  line-height: 1.3;
}

.project-card .card-title a {
  color: inherit;
  transition: color 0.3s ease;
}

.project-card .card-title a:hover {
  color: #b10f3c;
}

.project-card .card-desc {
  font-family: var(--body-fonts);
  font-size: 14px;
  color: var(--body-fonts-color);
  line-height: 1.6;
  margin-bottom: 15px;
}

/* === EQUIPMENT CARDS === */
.equipment-card {
  background: var(--white-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 30px;
}

.equipment-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.equipment-card .card-image {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.equipment-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.equipment-card:hover .card-image img {
  transform: scale(1.08);
}

.equipment-card .card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(13, 27, 42, 0.9) 0%, transparent 70%);
  display: flex;
  align-items: flex-end;
  padding: 25px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.equipment-card:hover .card-overlay {
  opacity: 1;
}

.equipment-card .overlay-content {
  color: #ffffff;
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.equipment-card:hover .overlay-content {
  transform: translateY(0);
}

.equipment-card .card-content {
  padding: 20px 25px;
  border-top: 3px solid #b10f3c;
}

.equipment-card .card-title {
  font-family: var(--title-fonts);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark-grey-color);
  margin-bottom: 5px;
}

.equipment-card .card-meta {
  font-family: var(--body-fonts);
  font-size: 14px;
  color: var(--body-fonts-color);
}

.equipment-card .card-meta i {
  color: #b10f3c;
  margin-right: 8px;
}

/* === CLIENTS SECTION === */
.clients-section {
  padding: 80px 0;
  background: var(--grey-color);
}

.clients-section .section-header {
  text-align: center;
  margin-bottom: 50px;
}

.clients-section .section-badge {
  display: inline-block;
  background: rgba(177, 15, 60, 0.1);
  color: #b10f3c;
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.clients-section .section-title {
  font-family: var(--display-fonts);
  font-size: 2.5rem;
  color: var(--dark-grey-color);
  letter-spacing: 0.04em;
}

.client-logo-card {
  background: var(--white-color);
  border-radius: 10px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  margin-bottom: 20px;
}

.client-logo-card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.client-logo-card img {
  max-width: 140px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
  filter: grayscale(100%);
}

.client-logo-card:hover img {
  opacity: 1;
  filter: grayscale(0%);
}

/* === NOTE SECTION === */
.note-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #0d1b2a 0%, #1b263b 100%);
}

.note-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px 40px;
  text-align: center;
}

.note-box .note-icon {
  width: 50px;
  height: 50px;
  background: rgba(177, 15, 60, 0.2);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.note-box .note-icon i {
  color: #b10f3c;
  font-size: 20px;
}

.note-box p {
  font-family: var(--body-fonts);
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin: 0;
}

.note-box strong {
  color: #b10f3c;
}

/* === RESPONSIVE === */
@media (max-width: 991px) {
  .portfolio-hero {
    padding: 70px 0 60px;
  }

  .portfolio-hero .hero-title {
    font-size: 2.5rem;
  }

  .portfolio-section {
    padding: 60px 0;
  }
}

@media (max-width: 767px) {
  .portfolio-hero {
    padding: 60px 0 50px;
  }

  .portfolio-hero .hero-title {
    font-size: 2rem;
  }

  .portfolio-hero .hero-subtitle {
    font-size: 16px;
  }

  .project-card .card-image,
  .equipment-card .card-image {
    height: 200px;
  }
}
