/* Portfolio Page Custom CSS - vivek_css.css */

/* Hero Section */
.portfolio-hero {
  position: relative;
  background: url('../img/portfolio/port_banner.jpg') no-repeat center center;
  background-size: cover;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  z-index: 1;
}

.portfolio-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: -1;
}

.portfolio-hero h1 {
  font-family: "Aller", sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: white;
}

.portfolio-hero p {
  font-family: "Centrale Sans Regular", sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
}

/* Filter Bar */
.filter-bar {
  padding: 40px 0;
  text-align: center;
}

.filter-btn {
  background: transparent;
  border: none;
  padding: 8px 0;
  margin-right: 25px;
  font-family: "Centrale Sans Regular", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #555;
  cursor: pointer;
  position: relative;
  transition: color 0.3s ease;
}

.filter-btn::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #007bff;
  transition: width 0.3s ease;
}

.filter-btn:hover {
  color: #007bff;
}

.filter-btn.active {
  color: #007bff;
}

.filter-btn.active::after,
.filter-btn:hover::after {
  width: 100%;
}

/* Portfolio Grid */
.portfolio-grid {
  padding-bottom: 60px;
}

.portfolio-item {
  margin-bottom: 30px;
}

.portfolio-card {
  height: 280px;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

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

.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.portfolio-title {
  font-family: "Aller", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #333;
  margin-top: 15px;
  text-align: center;
  transition: color 0.3s ease;
}

.portfolio-item a:hover .portfolio-title {
  color: #007bff;
}

/* Floating "LET'S TALK" Button */
.floating-talk {
  font-family: "Centrale Sans Regular", sans-serif;
  position: fixed;
  right: 0;
  top: 40%;
  background: #007bff;
  color: #fff;
  padding: 15px 10px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  border-radius: 5px 0 0 5px;
  font-weight: 600;
  text-decoration: none;
  z-index: 1000;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
}

.floating-talk:hover {
  background: #0056b3;
  color: #fff;
}

@media (max-width: 768px) {
  .portfolio-hero h1 {
    font-size: 2.5rem;
  }
}

/* Portfolio Detail Page Styles */
.portfolio-detail-page {
  /* padding: 0px 0; */
  background: #fff;
}

.project-title {
  font-family: "Aller", sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: #333;
}

.project-meta-box {
  background-color: #fff;
  border: 1px solid #f0f0f0;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding: 30px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
}

.meta-item {
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.meta-icon {
  font-size: 1.8rem;
  color: #007bff;
  margin-bottom: 12px;
}

.meta-label {
  font-family: "Aller", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  color: #aaa;
  letter-spacing: 2px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.meta-value {
  font-family: "Centrale Sans Regular", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  line-height: 1.5;
  margin: 0;
}

@media (min-width: 768px) {
  .meta-item:not(:last-child) {
    border-right: 1px solid #eee;
  }
}

@media (max-width: 767px) {
  .meta-item:not(:last-child) {
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
    padding-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .detail-hero {
    padding: 60px 0;
  }

  .portfolio-title {
    margin-bottom: 40px;
  }
}

/* Project Main Image (Replaced Laptop Mockup) */
.project-main-img-wrap {
  max-width: 1000px;
  margin: 0 auto;
}

.project-main-img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
  border: 1px solid #eee;
}

/* Technical Icons Styling (Functionality Section) */
.tech-icon-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

.tech-icon-box:hover {
  transform: translateY(-10px);
}

.tech-icon {
  font-size: 3rem;
  color: #007bff;
  margin-bottom: 10px;
}

.tech-icon-label {
  font-family: "Centrale Sans Regular", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: #333;
  margin: 0;
}

@media (max-width: 576px) {
  .functionality-icons {
    flex-direction: column;
    gap: 30px !important;
  }
}

.func-icon {
  display: none;
}

/* Laptop Mockup CSS (Used in Methodology) */
.laptop-frame {
  width: 100%;
  height: auto;
  border: 12px solid #333;
  border-bottom-width: 25px;
  border-radius: 15px 15px 5px 5px;
  background: #fff;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.laptop-frame::before {
  content: "";
  position: absolute;
  bottom: -32px;
  left: -15%;
  width: 130%;
  height: 12px;
  background: #aaa;
  border-radius: 0 0 10px 10px;
}

.laptop-screen {
  overflow: hidden;
  height: 440px;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.screen-shot {
  width: 100%;
  height: auto;
}

/* Methodology */
.methodology {
  background: #000 url('https://images.unsplash.com/photo-1517245318531-1e1697223631?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') no-repeat center center;
  background-size: cover;
  position: relative;
  z-index: 1;
}

.methodology::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

.methodology-title {
  font-family: "Aller", sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 25px;
  color: #fff;
}

.laptop-container-small {
  position: relative;
  max-width: 400px;
  margin: 0 auto;
}

.laptop-frame-small {
  width: 100%;
  height: auto;
  border: 8px solid #333;
  border-bottom-width: 15px;
  border-radius: 10px 10px 3px 3px;
  background: #fff;
}

.laptop-screen-small {
  overflow: hidden;
  height: 220px;
  background: #000;
}

.screen-shot-small {
  width: 100%;
  height: auto;
}

.methodology-content p {
  font-family: "Centrale Sans Regular", sans-serif;
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Functionality */
.functionality-list li {
  font-family: "Centrale Sans Regular", sans-serif;
  font-size: 1.1rem;
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
}

.functionality-list i {
  margin-top: 5px;
}

.lightbulb-decor {
  position: absolute;
  top: 50%;
  right: 5%;
  width: 200px;
  opacity: 0.1;
  pointer-events: none;
}

/* Developer Note */
.developer-note-box {
  border-left: 5px solid #007bff;
}

.dev-note-title {
  font-family: "Aller", sans-serif;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.developer-note-box li {
  font-family: "Centrale Sans Regular", sans-serif;
  margin-bottom: 10px;
  font-style: italic;
  color: #555;
}

.screenshot-grid .row {
  justify-content: center;
}

.screenshot-card {
  height: 250px;
  width: 100%;
  overflow: hidden;
  background: #eee;
}

.screenshot-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.screenshot-card:hover img {
  transform: scale(1.1);
}

/* Next Project Card */
.project-card-small {
  background: #222;
  padding: 15px;
  border-radius: 12px;
  margin-bottom: 30px;
  transition: transform 0.3s ease;
  color: #fff;
}

.project-card-small:hover {
  transform: translateY(-5px);
}

.project-card-small img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 5px;
}

.project-card-small h6 {
  font-family: "Centrale Sans Regular", sans-serif;
  font-weight: 700;
  margin-top: 15px;
}

.more-project-btn {
  background: linear-gradient(to right, #0099ff, #0066cc);
  font-size: 16px;
  font-weight: 700;
  padding: 10px 30px;
  margin: 0;
  border-radius: 50px;
  transition: 0.3s;
  box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
  white-space: nowrap;
  color: #fff;
}

.more-project-btn:hover {
  color: #ffffff;
  background: linear-gradient(to right, #0066cc, #0099ff);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
}

.section-portfolio-title {
  font-weight: 700;
}