/* Project Details Page Styles */

/* Banner Section */
.project-details-banner {
  position: relative;
  min-height: 50vh;
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("../img/network-banner.png") center/cover;
  opacity: 0.3;
  z-index: 1;
}

.banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
}

.banner-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.banner-title .title-line {
  display: block;
}

.banner-title .highlight {
  color: #3189c9;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: #3189c9;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: white;
}

.breadcrumb .separator {
  color: #3189c9;
}

.breadcrumb .current {
  color: rgba(255, 255, 255, 0.8);
}

/* Floating Elements Animation */
.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
}

.floating-icon {
  position: absolute;
  color: rgba(255, 255, 255, 0.1);
  font-size: 1.5rem;
  animation: float 6s ease-in-out infinite;
  animation-delay: var(--delay);
}

.floating-icon:nth-child(1) {
  top: 20%;
  left: 10%;
}
.floating-icon:nth-child(2) {
  top: 60%;
  right: 15%;
}
.floating-icon:nth-child(3) {
  top: 30%;
  right: 25%;
}
.floating-icon:nth-child(4) {
  top: 70%;
  left: 20%;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(180deg);
  }
}

/* Project Details Section */
.project-details-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.project-main-content {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

/* Project Hero Image */
.project-hero-image {
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.project-hero-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-hero-image:hover img {
  transform: scale(1.05);
}

/* Project Meta Info */
.project-meta-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 15px;
  margin-bottom: 2rem;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.meta-label {
  font-size: 0.8rem;
  color: #6c757d;
  font-weight: 600;
  text-transform: uppercase;
}

.meta-value {
  font-size: 1rem;
  color: #2c3e50;
  font-weight: 700;
}

.social-share {
  display: flex;
  gap: 0.5rem;
}

.social-share a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #3189c9;
  color: white;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-share a:hover {
  background: #e74c3c;
  transform: translateY(-2px);
}

/* Project Title */
.project-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

/* Project Description */
.project-description {
  margin-bottom: 2rem;
}

.project-description p {
  color: #6c757d;
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.project-description h3 {
  color: #2c3e50;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 2rem 0 1rem;
}

.project-description ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.project-description li {
  color: #6c757d;
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

/* Project Tags */
.project-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.tag {
  background: #3189c9;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.tag:hover {
  background: #e74c3c;
  transform: translateY(-2px);
}

/* Project Navigation */
.project-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid #e9ecef;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #3189c9;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: rgba(49, 137, 201, 0.1);
}

.nav-link:hover {
  background: #3189c9;
  color: white;
  transform: translateY(-2px);
}

.nav-link.prev {
  flex-direction: row;
}

.nav-link.next {
  flex-direction: row-reverse;
}

/* Sidebar */
.project-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-card {
  background: white;
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
}

.sidebar-card h3 {
  color: #2c3e50;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #3189c9;
}

/* Project Info Card */
.info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 0.75rem;
  background: #f8f9fa;
  border-radius: 10px;
}

.info-item i {
  color: #3189c9;
  font-size: 1.2rem;
  width: 20px;
}

.info-item .label {
  font-size: 0.8rem;
  color: #6c757d;
  font-weight: 600;
  text-transform: uppercase;
}

.info-item .value {
  font-size: 1rem;
  color: #2c3e50;
  font-weight: 700;
}

/* Contact Card */
.contact-card p {
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.contact-info {
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  padding: 0.5rem;
  background: #f8f9fa;
  border-radius: 8px;
}

.contact-item i {
  color: #3189c9;
  font-size: 1rem;
}

.contact-item span {
  color: #2c3e50;
  font-weight: 500;
}

.contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 1rem;
  background: #3189c9;
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.contact-btn:hover {
  background: #e74c3c;
  transform: translateY(-2px);
  color: white;
}

/* Services Card */
.services-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.services-list li {
  margin-bottom: 0.75rem;
}

.services-list a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #2c3e50;
  text-decoration: none;
  padding: 0.75rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  background: #f8f9fa;
}

.services-list a:hover {
  background: #3189c9;
  color: white;
  transform: translateX(5px);
}

.services-list i {
  color: #3189c9;
  font-size: 1rem;
}

.services-list a:hover i {
  color: white;
}

/* Related Projects Section */
.related-projects-section {
  padding: 80px 0;
  background: white;
}

.section-header {
  margin-bottom: 60px;
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #6c757d;
  max-width: 600px;
  margin: 0 auto;
}

.related-projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.related-project-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.related-project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.related-project-card .project-image {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.related-project-card .project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.related-project-card:hover .project-image img {
  transform: scale(1.1);
}

.related-project-card .project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(49, 137, 201, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.related-project-card:hover .project-overlay {
  opacity: 1;
}

.related-project-card .view-project-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: white;
  color: #3189c9;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.related-project-card .view-project-btn:hover {
  background: #e74c3c;
  color: white;
  transform: scale(1.1);
}

.related-project-card .project-info {
  padding: 1.5rem;
}

.related-project-card .project-info h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.related-project-card .project-info p {
  color: #6c757d;
  line-height: 1.6;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .banner-title {
    font-size: 2.5rem;
  }

  .project-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .project-meta-info {
    flex-direction: column;
    align-items: flex-start;
  }

  .project-navigation {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-link {
    width: 100%;
    justify-content: center;
  }

  .related-projects-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .floating-icon {
    display: none;
  }

  .project-sidebar {
    position: static;
    margin-top: 2rem;
  }
}

@media (max-width: 480px) {
  .banner-title {
    font-size: 2rem;
  }

  .project-title {
    font-size: 1.5rem;
  }

  .project-main-content {
    padding: 1rem;
  }

  .project-hero-image img {
    height: 250px;
  }

  .breadcrumb {
    font-size: 0.8rem;
  }
}

/* Animation Classes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fadeInUp {
  animation: fadeInUp 0.6s ease-out;
}
