/* ==========================================================
   PREMIUM PORTFOLIO PAGE STYLES - WEB MATRIX NOVA
   ========================================================== */

:root {
  --primary-blue: #0A6ED1;
  --light-blue: #1E90FF;
  --dark-blue: #004AAD;

  --primary-orange: #FF7A00;
  --light-orange: #FFA500;
  --dark-orange: #FF4500;

  --bg-light: #F4F7FB;
  --card-bg: #FFFFFF;
  --text-main: #1A1A1A;
}

.contact-breadcrumb {
  position: relative;
  background-image: url("../images/portfolio/portfolio-bradcumbs.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  padding: 200px 0;
  color: #fff;
  z-index: 1;
}

.portfolio-section {
  background-color: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.portfolio-section h2 span {
  color: var(--primary-orange);
}

/* Custom Pill Badge */
.badge-custom-pill {
  display: inline-block;
  background: rgba(10, 110, 209, 0.08);
  color: var(--primary-blue);
  border: 1px solid rgba(10, 110, 209, 0.15);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 30px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Portfolio Card Design */
.portfolio-card {
  background: var(--card-bg);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(10, 37, 64, 0.06);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(10, 110, 209, 0.15);
}

/* Image Wrapper */
.portfolio-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 260px;
  background-color: #f1f3f5;
}

.portfolio-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.portfolio-card:hover .portfolio-img-wrapper img {
  transform: scale(1.08);
}

/* 🔥 TOP-TO-BOTTOM HOVER OVERLAY EFFECT */
.portfolio-overlay {
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 37, 64, 0.92);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
  text-align: center;
  transition: top 0.4s ease-in-out;
}

.portfolio-card:hover .portfolio-overlay {
  top: 0;
}

/* Overlay Content Styles */
.tech-tag {
  display: inline-block;
  background: rgba(255, 122, 0, 0.2);
  color: var(--light-orange);
  border: 1px solid rgba(255, 122, 0, 0.4);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 15px;
  letter-spacing: 0.5px;
}

.portfolio-overlay h4 {
  font-size: 1.25rem;
  margin-top: 10px;
}

.portfolio-overlay p {
  font-size: 0.85rem;
  color: #d1d5db;
  line-height: 1.5;
  margin-bottom: 15px;
}

/* Live Link Button */
.btn-live-link {
  display: inline-block;
  background: var(--primary-orange);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 25px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(255, 122, 0, 0.4);
  transition: all 0.3s ease;
}

.btn-live-link:hover {
  background: #e06c00;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 122, 0, 0.6);
}

/* Bottom Title Info */
.portfolio-info h5 {
  font-size: 1.05rem;
  font-weight: 700;
}

/* Responsive Fixes */
@media (max-width: 768px) {
  .portfolio-img-wrapper {
    height: 240px;
  }
}