/* Projects Detail Page Styles */

/* Header Styles */
.projects-header {
  padding-top: 8rem;
  padding-bottom: 2rem;
  position: relative;
}

.projects-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  position: relative;
  z-index: 2;
}

.projects-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 700px;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

body.dark-mode .projects-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.bg-text {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  font-size: 10rem;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.03);
  z-index: 1;
  white-space: nowrap;
  pointer-events: none;
}

body.dark-mode .bg-text {
  color: rgba(255, 255, 255, 0.03);
}

/* Projects List Section */
.projects-list {
  padding: 2rem 0 5rem;
}

/* Project Card */
.project-card {
  background-color: var(--light-card);
  border-radius: 1rem;
  box-shadow: var(--shadow-md);
  padding: 2rem;
  margin-bottom: 3rem;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
  overflow: hidden;
}

body.dark-mode .project-card {
  background-color: var(--dark-card);
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
  border-radius: 4px 0 0 4px;
}

/* Project Header */
.project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.project-title-container {
  flex: 1;
}

.project-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.project-title a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color var(--transition-fast);
}

body.dark-mode .project-title a {
  color: var(--text-light);
}

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

.project-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: rgba(37, 99, 235, 0.1);
  color: var(--primary-color);
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 500;
}

body.dark-mode .tech-tag {
  background-color: rgba(59, 130, 246, 0.2);
}

.project-links {
  display: flex;
  gap: 1rem;
}

.project-link-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: rgba(37, 99, 235, 0.1);
  color: var(--primary-color);
  font-size: 1.25rem;
  transition: all var(--transition-fast);
}

body.dark-mode .project-link-icon {
  background-color: rgba(59, 130, 246, 0.2);
}

.project-link-icon:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

/* Project Content */
.project-content {
  padding-left: 1rem;
}

.project-details {
  list-style-type: none;
  padding-left: 1.5rem;
  margin: 0;
}

.project-details li {
  position: relative;
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.project-details li::before {
  content: '•';
  position: absolute;
  left: -1.5rem;
  color: var(--primary-color);
  font-size: 1.25rem;
}

/* More Projects CTA */
.more-projects-cta {
  padding: 5rem 0;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  color: white;
  text-align: center;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

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

.cta-content p {
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-content .submit-button {
  background-color: white;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.cta-content .submit-button:hover {
  background-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

/* Active Navigation Link */

/* Responsive Styles */
@media screen and (max-width: 991px) {
  .projects-title {
    font-size: 3rem;
  }
  
  .bg-text {
    font-size: 8rem;
  }
  
  .project-header {
    flex-direction: column;
  }
  
  .project-links {
    margin-top: 1rem;
  }
}

@media screen and (max-width: 767px) {
  .projects-title {
    font-size: 2.5rem;
  }
  
  .bg-text {
    font-size: 6rem;
  }
  
  .project-card {
    padding: 1.5rem;
  }
  
  .project-title {
    font-size: 1.5rem;
  }
  
  .cta-content h2 {
    font-size: 2rem;
  }
}

@media screen and (max-width: 479px) {
  .projects-title {
    font-size: 2rem;
  }
  
  .bg-text {
    font-size: 4rem;
  }
  
  .project-card {
    padding: 1.25rem;
  }
  
  .project-title {
    font-size: 1.25rem;
  }
  
  .tech-tag {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
  }
}

/* Animation Delays */
.animate__delay-1s {
  animation-delay: 0.2s;
}

.projects-list .project-card:nth-child(1) {
  animation-delay: 0.3s;
}

.projects-list .project-card:nth-child(2) {
  animation-delay: 0.4s;
}

.projects-list .project-card:nth-child(3) {
  animation-delay: 0.5s;
}

.projects-list .project-card:nth-child(4) {
  animation-delay: 0.6s;
}

.projects-list .project-card:nth-child(5) {
  animation-delay: 0.7s;
}

.projects-list .project-card:nth-child(6) {
  animation-delay: 0.8s;
}

/* Add these exact cursor styles from index.html */
.cursor {
  position: fixed;
  z-index: 9999;
  pointer-events: none;
  mix-blend-mode: difference;
}

.cursor-big-circle {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, border-color 0.3s;
}

.cursor-small-circle {
  position: fixed;
  width: 8px;
  height: 8px;
  background-color: var(--primary-color);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.cursor-arrow {
  position: fixed;
  width: 16px;
  height: 16px;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s;
}

/* Hide cursor on touch devices */
@media (hover: none) {
  .cursor, .cursor-big-circle, .cursor-small-circle, .cursor-arrow {
    display: none;
  }
}

/* ======================================
   NAVIGATION - CONSOLIDATED STYLES
   ====================================== */
