/*-----------------------------------*\
  #PROJECT DETAIL PAGE STYLES
\*-----------------------------------*/

/* PROJECT HERO */
.project-hero {
  padding: 120px 0 40px;
  background: linear-gradient(135deg, var(--space-cadet) 0%, var(--independence) 100%);
}

.project-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: var(--fs-6);
  color: var(--cadet-blue-crayola);
}

.project-breadcrumb a {
  color: var(--vivid-sky-blue);
  text-decoration: none;
  transition: var(--transition-2);
}

.project-breadcrumb a:hover {
  color: var(--gold-web-golden);
}

.project-title {
  font-size: var(--fs-1);
  font-family: var(--ff-barlow);
  font-weight: var(--fw-700);
  color: var(--white);
  margin-bottom: 30px;
  line-height: 1.2;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: var(--fs-6);
}

.meta-item ion-icon {
  font-size: 24px;
  color: var(--gold-web-golden);
}

/* PROJECT BANNER */
.project-banner-section {
  padding: 60px 0;
  background: var(--white);
}

.project-banner-wrapper {
  position: relative;
  border-radius: var(--radius-20);
  overflow: hidden;
  height: 500px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.project-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 30px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--white);
}

.banner-overlay ion-icon {
  font-size: 32px;
}

.banner-overlay p {
  font-size: var(--fs-5);
  font-weight: var(--fw-600);
}

/* PROJECT OVERVIEW */
.project-overview {
  padding: var(--section-padding) 0;
  background: var(--white);
}

.overview-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
}

.overview-content .section-text {
  margin-bottom: 20px;
  line-height: 1.8;
  color: var(--independence);
}

.project-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
  padding: 30px;
  background: var(--space-cadet);
  border-radius: var(--radius-15);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: var(--fs-2);
  font-family: var(--ff-barlow);
  font-weight: var(--fw-700);
  color: var(--gold-web-golden);
  margin-bottom: 10px;
}

.stat-label {
  font-size: var(--fs-6);
  color: var(--white);
}

/* SIDEBAR */
.overview-sidebar {
  position: sticky;
  top: 100px;
}

.info-box,
.tech-stack {
  background: var(--space-cadet);
  padding: 30px;
  border-radius: var(--radius-15);
  margin-bottom: 20px;
}

.info-title {
  font-size: var(--fs-4);
  font-family: var(--ff-barlow);
  font-weight: var(--fw-700);
  color: var(--white);
  margin-bottom: 20px;
}

.info-list {
  list-style: none;
}

.info-list li {
  display: flex;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-list li:last-child {
  border-bottom: none;
}

.info-label {
  color: var(--cadet-blue-crayola);
  font-size: var(--fs-6);
  font-weight: var(--fw-600);
}

.info-value {
  color: var(--white);
  font-size: var(--fs-6);
  text-align: right;
  max-width: 60%;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-tag {
  background: var(--independence);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: var(--fw-600);
  transition: var(--transition-2);
}

.tech-tag:hover {
  background: var(--vivid-sky-blue);
  transform: translateY(-2px);
}

/* FEATURES SECTION */
.features-section {
  padding: var(--section-padding) 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-subtitle {
  color: var(--vivid-sky-blue);
  font-weight: var(--fw-600);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.features-section .section-title{
  color: #2C3E50;
}

.feature-card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius-15);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: var(--transition-2);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--vivid-sky-blue), var(--bluetiful));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon ion-icon {
  font-size: 30px;
  color: var(--white);
}

.feature-title {
  font-size: var(--fs-5);
  font-family: var(--ff-barlow);
  font-weight: var(--fw-700);
  color: var(--independence);
  margin-bottom: 15px;
}

.feature-text {
  color: var(--manatee);
  line-height: 1.7;
  font-size: var(--fs-6);
}

/* PROJECT GALLERY */
.project-gallery {
  padding: 40px 0;
  background: var(--white);
}



.project-gallery .section-title{
  color: #2C3E50;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.gallery-item {
  position: relative;
}

.gallery-image-wrapper {
  position: relative;
  border-radius: var(--radius-15);
  overflow: hidden;
  height: 300px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gallery-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-2);
}

.gallery-item:hover .gallery-image-wrapper img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-2);
  color: var(--white);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay ion-icon {
  font-size: 48px;
  margin-bottom: 10px;
}

.gallery-caption {
  margin-top: 15px;
  color: var(--independence);
  font-size: var(--fs-6);
  text-align: center;
}

/* COMPACT GALLERY */
.gallery-grid-compact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.gallery-item-compact {
  position: relative;
  border-radius: var(--radius-10);
  overflow: hidden;
  height: 250px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition-2);
}

.gallery-item-compact:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.gallery-item-compact img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* RESPONSIBILITIES SECTION */
.responsibilities-section {
  padding: var(--section-padding) 0;
  background: var(--space-cadet);
}

.responsibilities-section .section-header {
  margin-bottom: 50px;
}

.responsibilities-section .section-subtitle {
  color: var(--gold-web-golden);
}

.responsibilities-section .section-title {
  color: var(--white);
}

.responsibilities-content {
  display: grid;
  gap: 40px;
}

.responsibility-category {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: var(--radius-15);
  border-left: 4px solid var(--vivid-sky-blue);
}

.category-title {
  font-size: var(--fs-4);
  font-family: var(--ff-barlow);
  font-weight: var(--fw-700);
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.category-title ion-icon {
  font-size: 32px;
  color: var(--gold-web-golden);
}

.responsibility-list {
  list-style: none;
  display: grid;
  gap: 15px;
}

.responsibility-list li {
  color: var(--cadet-blue-crayola);
  padding-left: 30px;
  position: relative;
  line-height: 1.7;
}

.responsibility-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--vivid-sky-blue);
  font-weight: bold;
}

/* CHALLENGES SECTION */
.challenges-section {
  padding: var(--section-padding) 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.challenges-section .section-title{
  color: #2C3E50;
}

.challenges-grid {
  display: grid;
  gap: 30px;
}

.challenge-card {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-15);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  position: relative;
  padding-left: 100px;
}

.challenge-number {
  position: absolute;
  left: 30px;
  top: 30px;
  font-size: 48px;
  font-family: var(--ff-barlow);
  font-weight: var(--fw-700);
  color: rgba(102, 126, 234, 0.2);
}

.challenge-title {
  font-size: var(--fs-4);
  font-family: var(--ff-barlow);
  font-weight: var(--fw-700);
  color: var(--independence);
  margin-bottom: 20px;
}

.challenge-content {
  display: grid;
  gap: 20px;
}

.challenge-problem h4,
.challenge-solution h4 {
  font-size: var(--fs-6);
  font-weight: var(--fw-700);
  color: var(--vivid-sky-blue);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.challenge-problem p,
.challenge-solution p {
  color: var(--manatee);
  line-height: 1.7;
}

/* OUTCOMES SECTION */
.outcomes-section {
  padding: var(--section-padding) 0;
  background: var(--white);
}

.outcomes-section .section-title{
  color: #2C3E50;
}

.outcomes-wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: start;
}

.outcomes-content .section-header {
  text-align: left;
  margin-bottom: 30px;
}

.outcomes-list {
  display: grid;
  gap: 25px;
  margin-top: 40px;
}

.outcome-item {
  display: flex;
  gap: 20px;
}

.outcome-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--vivid-sky-blue), var(--bluetiful));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.outcome-icon ion-icon {
  font-size: 24px;
  color: var(--white);
}

.outcome-title {
  font-size: var(--fs-5);
  font-family: var(--ff-barlow);
  font-weight: var(--fw-700);
  color: var(--independence);
  margin-bottom: 10px;
}

.outcome-text {
  color: var(--manatee);
  line-height: 1.7;
  font-size: var(--fs-6);
}

.outcomes-stats {
  display: grid;
  gap: 20px;
  position: sticky;
  top: 100px;
}

.stat-box {
  background: var(--space-cadet);
  padding: 20px;
  border-radius: var(--radius-15);
  text-align: center;
  transition: var(--transition-2);
}

.stat-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-box .stat-icon {
  width: 60px;
  height: 60px;
  background: var(--gold-web-golden);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.stat-box .stat-icon ion-icon {
  font-size: 30px;
  color: var(--space-cadet);
}

.stat-box .stat-number {
  font-size: var(--fs-2);
  font-family: var(--ff-barlow);
  font-weight: var(--fw-700);
  color: var(--gold-web-golden);
  margin-bottom: 10px;
}

.stat-box .stat-label {
  font-size: var(--fs-6);
  color: var(--white);
}

/* CTA SECTION */
.cta-section {
  padding: var(--section-padding) 0;
  background: linear-gradient(135deg, var(--space-cadet) 0%, var(--independence) 100%);
}

.cta-card {
  text-align: center;
  padding: 60px 30px;
}

.cta-title {
  font-size: var(--fs-2);
  font-family: var(--ff-barlow);
  font-weight: var(--fw-700);
  color: var(--white);
  margin-bottom: 20px;
}

.cta-text {
  font-size: var(--fs-5);
  color: var(--cadet-blue-crayola);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--space-cadet);
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .overview-grid,
  .outcomes-wrapper {
    grid-template-columns: 1fr;
  }

  .overview-sidebar,
  .outcomes-stats {
    position: static;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .challenge-card {
    padding-left: 40px;
  }

  .challenge-number {
    left: 15px;
    font-size: 36px;
  }

  .gallery-grid-compact {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .project-title {
    font-size: var(--fs-2);
  }

  .project-meta {
    flex-direction: column;
    gap: 15px;
  }

  .project-banner-wrapper {
    height: 300px;
  }

  .project-stats {
    grid-template-columns: 1fr;
  }

  .features-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-image-wrapper {
    height: 250px;
  }

  .challenge-card {
    padding: 30px 20px;
  }

  .challenge-number {
    position: static;
    margin-bottom: 15px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
  }

  .gallery-grid-compact {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .gallery-item-compact {
    height: 180px;
  }
}

@media (max-width: 576px) {
  .project-hero {
    padding: 100px 0 30px;
  }

  .banner-overlay {
    padding: 20px;
  }

  .banner-overlay ion-icon {
    font-size: 24px;
  }

  .banner-overlay p {
    font-size: var(--fs-6);
  }

  .info-value {
    max-width: 50%;
    font-size: 14px;
  }

  .tech-tag {
    font-size: 12px;
    padding: 6px 12px;
  }

  .gallery-item-compact {
    height: 160px;
  }
}


/*-----------------------------------*\
  #ADDITIONAL STYLES FOR TECH SECTION
  Add these styles to your project-detail.css file
\*-----------------------------------*/

/* TECH SECTION */
.tech-section {
  padding: var(--section-padding) 0;
  background: var(--white);
}

.tech-section .section-title {
  color: #2C3E50;
}

.tech-categories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.tech-category {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
  padding: 30px;
  border-radius: var(--radius-15);
  border: 1px solid rgba(102, 126, 234, 0.1);
  transition: var(--transition-2);
}

.tech-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--vivid-sky-blue);
}

.tech-category-title {
  font-size: var(--fs-5);
  font-family: var(--ff-barlow);
  font-weight: var(--fw-700);
  color: var(--independence);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.tech-category-title ion-icon {
  font-size: 28px;
  color: var(--vivid-sky-blue);
}

.tech-category .tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tech-category .tech-tag {
  background: var(--white);
  color: var(--independence);
  padding: 10px 18px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: var(--fw-600);
  border: 2px solid transparent;
  transition: var(--transition-2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.tech-category .tech-tag:hover {
  background: var(--vivid-sky-blue);
  color: var(--white);
  border-color: var(--vivid-sky-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* RESPONSIVE FOR TECH SECTION */
@media (max-width: 768px) {
  .tech-categories {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .tech-category {
    padding: 25px;
  }

  .tech-category-title {
    font-size: var(--fs-6);
  }

  .tech-category .tech-tag {
    font-size: 13px;
    padding: 8px 14px;
  }
}

@media (max-width: 576px) {
  .tech-category {
    padding: 20px;
  }

  .tech-category-title ion-icon {
    font-size: 24px;
  }

  .tech-category .tech-tag {
    font-size: 12px;
    padding: 6px 12px;
  }
}