/* Project Detail Page Styles */
.project-detail-hero {
  padding: 150px 0 50px;
  position: relative;
  overflow: hidden;
}

.project-hero-content {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-bottom: 30px;
}

.project-hero-text {
  flex: 1;
}

.project-category {
  display: inline-block;
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 20px;
}

.project-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.project-title span {
  color: var(--primary-color);
}

.project-subtitle {
  font-size: 1.3rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

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

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.meta-label {
  font-size: 0.9rem;
  opacity: 0.7;
  font-weight: 500;
}

.meta-value {
  font-weight: 600;
  color: var(--primary-color);
}

.project-actions {
  display: flex;
  gap: 20px;
}

.project-hero-image {
  flex: 1;
  position: relative;
}

.hero-image-container {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Image Slider Styles */
.image-slider-section {
  padding: 80px 0;
  background-color: var(--card-bg);
}

.slider-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.main-slider {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease;
}

.slide {
  min-width: 100%;
  position: relative;
}

.slide img {
  width: 100%;
  height: 500px;
  object-fit: contain;
  object-position: center;
}
.mainProject img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center;
}

.slide-placeholder {
  width: 100%;
  height: 500px;
  background: linear-gradient(135deg, var(--card-bg) 0%, rgba(179, 0, 0, 0.1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary-color);
  font-weight: 600;
}


.slider-controls {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.7);
  border: none;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.slider-controls:hover {
  background-color: var(--primary-color);
  transform: translateY(-50%) scale(1.1);
}

.prev-btn {
  left: 20px;
}

.next-btn {
  right: 20px;
}

.thumbnail-slider {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.thumbnail {
  width: 100px;
  height: 70px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.thumbnail.active {
  opacity: 1;
  border-color: var(--primary-color);
  transform: scale(1.05);
}

.thumbnail:hover {
  opacity: 1;
  transform: scale(1.05);
}

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

.thumbnail-placeholder {
  width: 100%;
  height: 100%;
  background-color: var(--card-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--primary-color);
  font-weight: 600;
}

/* Project Details Section */
.project-details-section {
  padding: 80px 0;
}

.details-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
}

/* .project-description {
  background-color: var(--card-bg);
  border-radius: 15px;
  padding: 40px;
} */

.description-header {
  margin-bottom: 30px;
}

.description-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.description-content {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 30px;
}

.project-features {
  margin-top: 30px;
}

.project-features h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--primary-color);
}

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

.features-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.features-list li:hover {
  background-color: rgba(179, 0, 0, 0.1);
  transform: translateX(5px);
}

.feature-icon {
  color: var(--primary-color);
  font-size: 1.1rem;
}

.project-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.sidebar-card {
  background-color: var(--card-bg);
  border-radius: 15px;
  padding: 30px;
}

.sidebar-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--primary-color);
}

/* Technology Stack */
.tech-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 15px;
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 15px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.tech-item:hover {
  background-color: rgba(179, 0, 0, 0.1);
  transform: translateY(-5px);
}

.tech-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  border-radius: 8px;
  font-weight: bold;
}

.tech-icon.javascript {
  color: #f7df1e;
  background-color: rgba(247, 223, 30, 0.1);
}
.tech-icon.nodejs {
  color: #339933;
  background-color: rgba(51, 153, 51, 0.1);
}
.tech-icon.react {
  color: #61dafb;
  background-color: rgba(97, 218, 251, 0.1);
}
.tech-icon.python {
  color: #3776ab;
  background-color: rgba(55, 118, 171, 0.1);
}
.tech-icon.mongodb {
  color: #47a248;
  background-color: rgba(71, 162, 72, 0.1);
}
.tech-icon.mysql {
  color: #4479a1;
  background-color: rgba(68, 121, 161, 0.1);
}
.tech-icon.html {
  color: #e34f26;
  background-color: rgba(227, 79, 38, 0.1);
}
.tech-icon.css {
  color: #1572b6;
  background-color: rgba(21, 114, 182, 0.1);
}
.tech-icon.nextjs {
  color: #000000;
  background-color: rgba(255, 255, 255, 0.1);
}
.tech-icon.typescript {
  color: #3178c6;
  background-color: rgba(49, 120, 198, 0.1);
}

.tech-name {
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
}

/* Project Info Cards */
.info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.info-label {
  font-weight: 500;
  opacity: 0.8;
}

.info-value {
  font-weight: 600;
  color: var(--primary-color);
}

/* Related Projects Section */
.related-projects-section {
  padding: 80px 0;
  background-color: var(--card-bg);
}

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

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.section-header h2 span {
  color: var(--primary-color);
}

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

.related-project-card {
  background-color: var(--card-bg);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.related-project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(179, 0, 0, 0.2);
  color: inherit;
}

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

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

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

.related-project-content {
  padding: 25px;
}

.related-project-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.related-project-content p {
  opacity: 0.8;
  margin-bottom: 15px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-tag {
  background-color: rgba(179, 0, 0, 0.2);
  color: var(--primary-color);
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Back Button */
.back-button {
  position: fixed;
  top: 100px;
  left: 30px;
  background-color: var(--card-bg);
  border: none;
  color: var(--text-color);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 1.2rem;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.back-button:hover {
  background-color: var(--primary-color);
  transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 992px) {
  .project-hero-content {
    flex-direction: column;
    text-align: center;
  }

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

  .details-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .tech-stack {
    grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
  }

  .back-button {
    left: 20px;
    top: 90px;
  }
}

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

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

  .project-actions {
    flex-direction: column;
  }

  .slide-placeholder,
  .slide img {
    height: 300px;
  }

  .thumbnail-slider {
    gap: 10px;
  }

  .thumbnail {
    width: 80px;
    height: 60px;
  }

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

/* Light theme adjustments */
[data-theme="light"] .slider-controls {
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--text-color);
}

[data-theme="light"] .features-list li {
  background-color: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .features-list li:hover {
  background-color: rgba(179, 0, 0, 0.1);
}

[data-theme="light"] .tech-item {
  background-color: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .tech-item:hover {
  background-color: rgba(179, 0, 0, 0.1);
}

[data-theme="light"] .info-item {
  border-bottom-color: rgba(0, 0, 0, 0.1);
}

.project-actions a{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}



.cta-section {
    /* background-color: rgba(255, 0, 0, 0.1);
     */
    padding: 80px 0;
    text-align: center;
}

.cta-content{
        background-color: var(--card-bg);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    /* margin: 80px 0; */
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}





