/* Project Detail Page Styles - Matching Main Portfolio Design */

.project-detail {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.project-header {
  margin-bottom: 60px;
  border: 2px solid var(--white);
  padding: 40px;
  position: relative;
  background: var(--black);
}

.back-link {
  position: absolute;
  top: 20px;
  left: 20px;
  color: var(--white);
  text-decoration: none;
  font-weight: bold;
  padding: 12px 24px;
  transition: all 0.3s ease;
  font-family: "Special Gothic Condensed One", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 2px;
  border: 2px solid var(--white);
  background: var(--black);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.back-link::before {
  content: "←";
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.back-link:hover {
  background: var(--white);
  color: var(--black);
  transform: translateX(-5px);
}

.back-link:hover::before {
  transform: translateX(-3px);
}

.project-header h1 {
  font-size: 4rem;
  margin: 80px 0 15px 0;
  color: var(--white);
  font-family: "Special Gothic Expanded One", sans-serif;
  letter-spacing: 2px;
  text-align: center;
}

.project-subtitle {
  font-size: 1.1rem;
  color: var(--white);
  opacity: 0.7;
  margin-bottom: 25px;
  font-family: "Special Gothic Condensed One", sans-serif;
  text-align: center;
  letter-spacing: 0.5px;
}

.project-meta {
  display: flex;
  justify-content: center;
  gap: 15px;
  font-size: 0.85rem;
}

.project-meta span {
  background: transparent;
  color: var(--white);
  padding: 6px 18px;
  font-weight: bold;
  font-family: "Special Gothic Condensed One", sans-serif;
  border: 1px solid var(--white);
  letter-spacing: 1px;
}

.project-links {
  display: flex;
  gap: 15px;
  align-items: center;
}

.project-links a {
  color: var(--white);
  text-decoration: none;
  padding: 8px 16px;
  border: 1px solid var(--white);
  transition: all 0.3s ease;
  font-family: "Special Gothic Condensed One", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.project-links a:hover {
  background: var(--white);
  color: var(--black);
}

.project-status {
  color: #0bbb98;
  font-weight: bold;
  font-family: "Special Gothic Condensed One", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 1px;
  padding: 8px 16px;
  border: 1px solid #0bbb98;
  background: rgba(11, 187, 152, 0.1);
}

.project-hero {
  position: relative;
  margin-bottom: 40px;
  border: 2px solid var(--white);
  overflow: hidden;
  background: var(--black);
}

/* Carousel Styles */
.project-carousel {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.3s ease;
  height: 100%;
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 25px;
  background: linear-gradient(to top, rgba(7, 7, 7, 0.95) 0%, rgba(7, 7, 7, 0.7) 70%, transparent 100%);
  color: var(--white);
  font-family: "Special Gothic Condensed One", sans-serif;
  font-size: 1.1rem;
  letter-spacing: 1px;
  text-align: center;
}

.carousel-controls {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: all;
  cursor: pointer;
}

.carousel-indicators {
  position: absolute;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border: 2px solid var(--white);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  background: var(--white);
}

.carousel-dot:hover {
  background: var(--white);
  transform: scale(1.2);
}

.project-hero img {
  width: 100%;
  max-width: 800px;
  height: auto;
  border: 2px solid var(--white);
}

.project-content {
  display: grid;
  gap: 40px;
}

.project-section {
  background: var(--black);
  padding: 30px;
  border: 2px solid var(--white);
  margin-bottom: 20px;
}

.project-section h2 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 2rem;
  font-family: "Special Gothic Expanded One", sans-serif;
}

.project-section p {
  font-family: "Special Gothic Condensed One", sans-serif;
  line-height: 1.6;
  text-align: justify;
}

/* Highlight Box for special content */
.highlight-box {
  background: var(--black);
  border: 2px solid var(--white);
  border-left: 4px solid var(--white);
  padding: 20px;
  margin: 20px 0;
  position: relative;
}

.highlight-box p {
  margin: 0;
  font-weight: bold;
  color: var(--white);
}

.highlight-box p strong {
  color: var(--white);
}

/* Features Grid */
.features-grid, .philosophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.feature-card, .philosophy-card {
  background: var(--black);
  padding: 20px;
  border: 2px solid var(--white);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover, .philosophy-card:hover {
  transform: translateY(-5px);
  border-color: var(--white);
  opacity: 0.8;
}

.feature-card h3, .philosophy-card h3 {
  color: var(--white);
  margin-bottom: 10px;
  font-family: "Special Gothic Expanded One", sans-serif;
}

/* Specs Grid */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 20px;
}

.spec-group {
  background: var(--black);
  padding: 20px;
  border: 2px solid var(--white);
}

.spec-group h3 {
  color: var(--white);
  margin-bottom: 15px;
  font-family: "Special Gothic Expanded One", sans-serif;
}

.spec-group ul {
  list-style: none;
  padding: 0;
}

.spec-group li {
  margin-bottom: 8px;
  padding-left: 15px;
  position: relative;
  font-family: "Special Gothic Condensed One", sans-serif;
}

.spec-group li::before {
  content: "▸";
  color: var(--white);
  position: absolute;
  left: 0;
}

.spec-group strong {
  color: var(--white);
}

/* Timeline */
.timeline {
  position: relative;
  margin-top: 30px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--white);
}

.timeline-item {
  display: flex;
  margin-bottom: 30px;
  position: relative;
}

.timeline-date {
  background: var(--black);
  color: var(--white);
  padding: 8px 15px;
  font-weight: bold;
  margin-right: 20px;
  min-width: 120px;
  text-align: center;
  font-family: "Special Gothic Condensed One", sans-serif;
  border: 2px solid var(--white);
}

.timeline-content h4 {
  color: var(--white);
  margin-bottom: 10px;
  font-family: "Special Gothic Expanded One", sans-serif;
}

.timeline-content p {
  font-family: "Special Gothic Condensed One", sans-serif;
}

/* Tech Stack */
.tech-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 20px;
}

.tech-category {
  background: var(--black);
  padding: 20px;
  border: 2px solid var(--white);
}

.tech-category h3 {
  color: var(--white);
  margin-bottom: 15px;
  font-family: "Special Gothic Expanded One", sans-serif;
}

.tech-category ul {
  list-style: none;
  padding: 0;
}

.tech-category li {
  margin-bottom: 8px;
  padding: 5px 0;
  border-bottom: 1px solid var(--white);
  font-family: "Special Gothic Condensed One", sans-serif;
}

.tech-category li:last-child {
  border-bottom: none;
}

.tech-category strong {
  color: var(--white);
}

/* Roadmap */
.roadmap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.roadmap-phase {
  background: var(--black);
  padding: 20px;
  border: 2px solid var(--white);
}

.phase-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.phase-number {
  background: var(--black);
  color: var(--white);
  padding: 5px 10px;
  font-weight: bold;
  font-family: "Special Gothic Condensed One", sans-serif;
  border: 2px solid var(--white);
}

.phase-status {
  font-size: 0.9rem;
  opacity: 0.8;
  font-family: "Special Gothic Condensed One", sans-serif;
}

.roadmap-phase.completed .phase-status {
  color: #4CAF50;
}

.roadmap-phase.in-progress .phase-status {
  color: var(--white);
}

.roadmap-phase.planned .phase-status {
  color: var(--white);
}

.roadmap-phase h4 {
  color: var(--white);
  font-family: "Special Gothic Expanded One", sans-serif;
}

/* UX Features */
.ux-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.ux-item {
  background: var(--black);
  padding: 20px;
  border: 2px solid var(--white);
}

.ux-item h4 {
  color: var(--white);
  margin-bottom: 10px;
  font-family: "Special Gothic Expanded One", sans-serif;
}

/* Challenges */
.challenges-list {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}

.challenge {
  background: var(--black);
  padding: 20px;
  border: 2px solid var(--white);
  border-left: 4px solid var(--white);
}

.challenge h4 {
  color: var(--white);
  margin-bottom: 10px;
  font-family: "Special Gothic Expanded One", sans-serif;
}

.challenge strong {
  color: var(--white);
}

.challenge p {
  font-family: "Special Gothic Condensed One", sans-serif;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin-top: 30px;
}

.gallery-item {
  background: var(--black);
  border: 2px solid var(--white);
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
  aspect-ratio: 16/10;
}

.gallery-item:hover {
  border-color: var(--white);
  transform: scale(1.02);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item p {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 15px;
  margin: 0;
  font-size: 0.9rem;
  color: var(--white);
  background: linear-gradient(transparent, rgba(7, 7, 7, 0.95));
  font-family: "Special Gothic Condensed One", sans-serif;
  letter-spacing: 0.5px;
}

/* Links */
.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.link-card {
  background: var(--black);
  padding: 20px;
  border: 2px solid var(--white);
  text-decoration: none;
  color: var(--white);
  transition: all 0.3s ease;
  display: block;
}

.link-card:hover {
  transform: translateY(-5px);
  border-color: var(--white);
  opacity: 0.8;
}

.link-card h3 {
  color: var(--white);
  margin-bottom: 10px;
  font-family: "Special Gothic Expanded One", sans-serif;
}

.link-card p {
  font-family: "Special Gothic Condensed One", sans-serif;
}

/* Specializations */
.specializations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.specialization-card {
  background: var(--black);
  padding: 20px;
  border: 2px solid var(--white);
  transition: transform 0.3s ease;
}

.specialization-card:hover {
  transform: translateY(-5px);
  border-color: var(--white);
  opacity: 0.8;
}

.specialization-card h3 {
  color: var(--white);
  margin-bottom: 15px;
  font-family: "Special Gothic Expanded One", sans-serif;
}

.specialization-card ul {
  list-style: none;
  padding: 0;
}

.specialization-card li {
  margin-bottom: 8px;
  padding-left: 15px;
  position: relative;
  opacity: 0.9;
  font-family: "Special Gothic Condensed One", sans-serif;
}

.specialization-card li::before {
  content: "✓";
  color: var(--white);
  position: absolute;
  left: 0;
}

/* Process Timeline */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.process-step {
  background: var(--black);
  padding: 20px;
  border: 2px solid var(--white);
  position: relative;
  transition: transform 0.3s ease;
}

.process-step:hover {
  transform: translateY(-5px);
  border-color: var(--white);
  opacity: 0.8;
}

.step-number {
  background: var(--black);
  color: var(--white);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-bottom: 15px;
  font-family: "Special Gothic Condensed One", sans-serif;
  border: 2px solid var(--white);
}

.process-step h4 {
  color: var(--white);
  margin-bottom: 10px;
  font-family: "Special Gothic Expanded One", sans-serif;
}

.process-step p {
  font-family: "Special Gothic Condensed One", sans-serif;
}

/* Quality Grid */
.quality-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.quality-item {
  background: var(--black);
  padding: 20px;
  border: 2px solid var(--white);
  transition: transform 0.3s ease;
}

.quality-item:hover {
  transform: translateY(-5px);
  border-color: var(--white);
  opacity: 0.8;
}

.quality-item h3 {
  color: var(--white);
  margin-bottom: 10px;
  font-family: "Special Gothic Expanded One", sans-serif;
}

.quality-item p {
  font-family: "Special Gothic Condensed One", sans-serif;
}

/* Builds Showcase */
.builds-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.build-card {
  background: var(--black);
  padding: 20px;
  border: 2px solid var(--white);
  transition: transform 0.3s ease;
}

.build-card:hover {
  transform: translateY(-5px);
  border-color: var(--white);
  opacity: 0.8;
}

.build-card h4 {
  color: var(--white);
  margin-bottom: 15px;
  font-family: "Special Gothic Expanded One", sans-serif;
}

.build-specs {
  margin-bottom: 15px;
}

.build-specs p {
  margin: 5px 0;
  font-size: 0.9rem;
  font-family: "Special Gothic Condensed One", sans-serif;
}

.build-specs strong {
  color: var(--white);
}

.build-description {
  opacity: 0.9;
  font-style: italic;
  font-family: "Special Gothic Condensed One", sans-serif;
}

/* Expertise Areas */
.expertise-areas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.expertise-category {
  background: var(--black);
  padding: 20px;
  border: 2px solid var(--white);
  transition: transform 0.3s ease;
}

.expertise-category:hover {
  transform: translateY(-5px);
  border-color: var(--white);
  opacity: 0.8;
}

.expertise-category h3 {
  color: var(--white);
  margin-bottom: 15px;
  font-family: "Special Gothic Expanded One", sans-serif;
}

.expertise-category ul {
  list-style: none;
  padding: 0;
}

.expertise-category li {
  margin-bottom: 8px;
  padding-left: 15px;
  position: relative;
  opacity: 0.9;
  font-family: "Special Gothic Condensed One", sans-serif;
}

.expertise-category li::before {
  content: "•";
  color: var(--white);
  position: absolute;
  left: 0;
}

/* Benefits */
.benefits-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.benefit {
  background: var(--black);
  padding: 20px;
  border: 2px solid var(--white);
  transition: transform 0.3s ease;
}

.benefit:hover {
  transform: translateY(-5px);
  border-color: var(--white);
  opacity: 0.8;
}

.benefit h3 {
  color: var(--white);
  margin-bottom: 10px;
  font-family: "Special Gothic Expanded One", sans-serif;
}

.benefit p {
  font-family: "Special Gothic Condensed One", sans-serif;
}

/* Contact Options */
.contact-options {
  display: flex;
  gap: 20px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.cta-button {
  padding: 15px 30px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  display: inline-block;
  font-family: "Special Gothic Condensed One", sans-serif;
  border: 2px solid var(--white);
}

.cta-button.primary {
  background: var(--black);
  color: var(--white);
  border: 2px solid var(--white);
}

.cta-button.primary:hover {
  transform: translateY(-2px);
  background: var(--white);
  color: var(--black);
}

.cta-button.secondary {
  background: var(--black);
  color: var(--white);
}

.cta-button.secondary:hover {
  background: var(--white);
  color: var(--black);
  transform: translateY(-2px);
}

.service-details {
  margin-top: 30px;
  padding: 20px;
  background: var(--black);
  border: 2px solid var(--white);
}

.service-details h4 {
  color: var(--white);
  margin-bottom: 15px;
  font-family: "Special Gothic Expanded One", sans-serif;
}

.service-details ul {
  list-style: none;
  padding: 0;
}

.service-details li {
  margin-bottom: 8px;
  padding-left: 15px;
  position: relative;
  font-family: "Special Gothic Condensed One", sans-serif;
}

.service-details li::before {
  content: "✓";
  color: var(--white);
  position: absolute;
  left: 0;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .project-detail {
    padding: 10px;
  }

  .project-header {
    padding: 30px 20px;
  }

  .back-link {
    position: static;
    display: block;
    text-align: center;
    margin-bottom: 20px;
  }

  .project-header h1 {
    font-size: 2.5rem;
  }

  .project-subtitle {
    font-size: 1rem;
  }

  .project-meta {
    flex-direction: column;
    gap: 10px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .features-grid, .philosophy-grid, .specs-grid, .tech-stack, .roadmap, .ux-features, .links-grid, .specializations-grid, .process-timeline, .quality-grid, .builds-showcase, .expertise-areas, .benefits-list {
    grid-template-columns: 1fr;
  }

  .project-section {
    padding: 20px;
  }

  .contact-options {
    flex-direction: column;
  }

  .cta-button {
    text-align: center;
  }

  .timeline-item {
    flex-direction: column;
    text-align: center;
  }

  .timeline-date {
    margin-bottom: 10px;
    margin-right: 0;
  }
}

/* Feature List for dynamically rendered content */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.feature-list li {
  padding: 10px 0;
  padding-left: 25px;
  position: relative;
  font-family: "Special Gothic Condensed One", sans-serif;
  line-height: 1.6;
}

.feature-list li::before {
  content: "✓";
  color: var(--white);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Main content styling for project sections */
.project-section ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.project-section li {
  padding: 10px 0;
  padding-left: 25px;
  position: relative;
  font-family: "Special Gothic Condensed One", sans-serif;
  line-height: 1.6;
}

.project-section li::before {
  content: "•";
  color: var(--white);
  position: absolute;
  left: 0;
}

.project-logo-main {
  display: block;
  max-width: 100px;
  height: auto;
  margin: 15px auto;
}