/* General */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body.portfolio-page {
  background: #FCFBC5;
  color: #333;
  font-family: "Times", "Times New Roman", serif;
  line-height: 1.6;
}

/* Hero Section */
.portfolio-hero {
  position: relative;
  height: 60vh;
  background: url("images/portfolio-hero.jpg") center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  overflow: hidden;
}


.portfolio-hero .hero-overlay {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 20px;

}

.portfolio-hero h1 {
  font-size: 4rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: white;
}

.portfolio-hero p {
  font-size: 1.2rem;
  line-height: 1.6;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
  color: #FCFBC5;
}

/* Portfolio Showcase */
.portfolio-showcase {
  padding: 60px 0;
  background: #123E2C;
  color: #FCFBC5;
  border-radius: 20px;
  width: 85%;
  margin: 80px auto;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.25);
}

.portfolio-main {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.portfolio-main .swiper-slide {
  height: auto !important;
}

.portfolio-main img {
  width: 100%;
  height: auto !important;
  max-height: 90vh;
  object-fit: contain !important;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

@media (max-width: 1024px) {
  .portfolio-main img {
    object-fit: cover;
    max-height: 70vh;
  }
}

@media (max-width: 768px) {
  .portfolio-showcase {
    width: 95%;
    padding: 30px 0;
  }

  .portfolio-main img {
    object-fit: contain;
    aspect-ratio: auto;
    max-height: 60vh;
  }
}


.project-info {
  position: absolute;
  bottom: 30px;
  left: 30px;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  padding: 15px 20px;
  border-radius: 10px;
}

.portfolio-thumbs {
  margin-top: 20px;
  width: 80%;
  max-width: 800px;
}

.portfolio-thumbs .swiper-slide {
  opacity: 0.5;
  cursor: pointer;
  transition: opacity 0.3s;
}

.portfolio-thumbs .swiper-slide-thumb-active {
  opacity: 1;
}

.portfolio-thumbs img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
  color: #fff;
}

@media (max-width: 768px) {
  body {
    font-size: 0.95rem;
  }

  section {
    padding: 50px 6%;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 0.9rem;
  }

  section {
    padding: 250px 5%;
  }
}

@media (max-width: 768px) {
  .project-info {
    bottom: 10px;
    left: 10px;
    right: 10px;
    font-size: 0.8rem; 
    padding: 8px 12px; 
    border-radius: 6px;
  }
}

@media (max-width: 480px) {
  .project-info {
    font-size: 0.7rem;
    padding: 6px 10px;
    bottom: 8px;
  }
}
