/* ============================================
   SANAL YOLCULUK — Project Details Pages
   ============================================ */

.pd-body {
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
}

/* Nav specific to Project Details */
.pd-nav {
  background: transparent;
  backdrop-filter: none;
  border: none;
  padding: 24px 0;
  position: absolute; /* Overlap hero */
}

.pd-nav.scrolled {
  background: rgba(12, 12, 24, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: fixed;
}

.pd-nav a {
  color: white;
}

/* Hero Section */
.pd-hero {
  position: relative;
  height: 90vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 12vh;
  overflow: hidden;
}

.pd-hero-bg {
  position: absolute;
  inset: -10%; /* For parallax */
  background-size: cover;
  background-position: center;
  z-index: 1;
  background-attachment: fixed; /* Simple built-in parallax */
}

.pd-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg-primary) 0%, rgba(12,12,24,0.3) 40%, rgba(12,12,24,0.05) 100%);
  z-index: 2;
}

.pd-hero-content {
  position: relative;
  z-index: 3;
}

.pd-category {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  color: var(--accent-secondary);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.pd-title {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 700;
  line-height: 1;
  max-width: 1000px;
  text-shadow: 0 10px 30px rgba(0,0,0,0.8);
  margin: 0;
}

.pd-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
}

.pd-scroll-indicator .hero-scroll-line {
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
}

/* Overview Section */
.pd-overview {
  padding: 100px 0;
  background: var(--bg-primary);
  position: relative;
  z-index: 5; /* Cover hero */
}

.pd-overview-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 80px;
}

.pd-section-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 30px;
  color: var(--text-primary);
}

.pd-desc {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--text-secondary);
  text-align: justify;
}

.pd-overview-meta {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 40px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}

.pd-meta-item h4 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--accent-secondary);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.pd-meta-item p {
  font-size: 1.05rem;
  color: var(--text-primary);
  font-weight: 500;
  margin: 0;
}

/* Demo Link Button */
.pd-demo-link {
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.pd-demo-btn {
  width: 100%;
  justify-content: center;
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 600;
  gap: 8px;
  background: var(--accent-gradient);
  border: none;
  border-radius: var(--radius-md);
  color: white;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pd-demo-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--glow-purple-strong);
}

.pd-demo-btn .btn-icon {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.pd-demo-btn:hover .btn-icon {
  transform: translate(3px, -3px);
}

/* Full Width Parallax Image */
.pd-parallax-img {
  width: 100%;
  height: 60vh;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

/* Features Grid */
.pd-features {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.pd-features-header {
  margin-bottom: 60px;
}

.pd-features-header .section-divider {
  margin: 20px auto 0;
}

.pd-features-header .pd-section-title {
  margin-bottom: 10px;
}

.pd-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.pd-feature-card {
  padding: 40px;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.pd-feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-primary);
}

.pd-feature-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.pd-feature-title {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.pd-feature-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  text-align: justify;
}

/* SEO Content Section in Project Detail */
.pd-seo-content {
  padding: 80px 0;
  background: var(--bg-primary);
}

.pd-seo-content .section-header {
  margin-bottom: 40px;
}

.pd-seo-content .section-header .section-divider {
  margin-bottom: 20px;
}

/* Next Project */
.pd-next {
  position: relative;
  height: 60vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-decoration: none;
}

.pd-next-bg {
  position: absolute;
  inset: -5%;
  background-size: cover;
  background-position: center;
  z-index: 1;
  transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.pd-next-overlay {
  position: absolute;
  inset: 0;
  background: rgba(12, 12, 24, 0.75);
  z-index: 2;
  transition: background 0.5s ease;
}

.pd-next-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: white;
  text-decoration: none;
  cursor: pointer;
  display: block;
  width: 100%;
}

.pd-next-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 1rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  margin-bottom: 20px;
  transition: color 0.3s ease;
}

.pd-next-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 700;
  margin-bottom: 30px;
  transition: transform 0.4s ease;
}

.pd-next-arrow {
  font-size: 2rem;
  opacity: 0.5;
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

/* Hover States */
.pd-next:hover .pd-next-bg {
  transform: scale(1.05);
}

.pd-next:hover .pd-next-overlay {
  background: rgba(12, 12, 24, 0.45); /* lighter on hover */
}

.pd-next:hover .pd-next-label {
  color: var(--accent-primary);
}

.pd-next:hover .pd-next-title {
  transform: scale(1.02);
}

.pd-next:hover .pd-next-arrow {
  opacity: 1;
  transform: translateX(10px);
  color: var(--accent-primary);
}

/* Error State */
.pd-error {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
}

.pd-error h2 {
  font-family: var(--font-heading);
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.pd-error p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

/* Hero Subtitle & Description */
.pd-hero-subtitle {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 500;
  color: var(--accent-secondary);
  margin-top: 16px;
  margin-bottom: 12px;
  max-width: 800px;
}

.pd-hero-description {
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  max-width: 700px;
  margin-top: 8px;
  text-align: justify;
}

/* Regional Focus Section */
.pd-regional {
  padding: 80px 0;
  background: var(--bg-primary);
}

.pd-regional .section-header {
  margin-bottom: 40px;
}

.pd-regional .section-header .section-divider {
  margin-bottom: 20px;
}

.pd-regional-text {
  max-width: 900px;
  margin: 0 auto;
}

.pd-regional-text p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 20px;
  text-align: justify;
}

.pd-regional-text p:last-child {
  margin-bottom: 0;
}

/* Services Section */
.pd-services {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.pd-services .section-header {
  margin-bottom: 30px;
}

.pd-services .section-header .section-divider {
  margin-bottom: 20px;
}

.pd-services-intro {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto 50px;
  text-align: justify;
}

.pd-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.pd-service-card {
  padding: 36px;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.pd-service-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-primary);
}

.pd-service-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.pd-service-title {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.pd-service-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  text-align: justify;
}

/* Use Cases Section */
.pd-usecases {
  padding: 80px 0;
  background: var(--bg-primary);
}

.pd-usecases .section-header {
  margin-bottom: 30px;
}

.pd-usecases .section-header .section-divider {
  margin-bottom: 20px;
}

.pd-usecases-intro {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: justify;
}

.pd-usecases-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.pd-usecase-item {
  padding: 20px 24px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
  transition: border-color 0.3s ease;
  text-align: justify;
}

.pd-usecase-item:hover {
  border-color: var(--accent-primary);
}

.pd-usecase-item strong {
  color: var(--text-primary);
}

/* CTA Section */
.pd-cta {
  padding: 80px 0;
  background: var(--bg-secondary);
}

.pd-cta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.pd-cta-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 36px;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: transform 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.pd-cta-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-primary);
}

.pd-cta-text {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.pd-cta-subtext {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
  text-align: justify;
}

.pd-cta-arrow {
  font-size: 1.5rem;
  color: var(--accent-primary);
  transition: transform 0.3s ease;
  margin-top: auto;
}

.pd-cta-card:hover .pd-cta-arrow {
  transform: translateX(8px);
}

/* Extra Sections */
.pd-extra {
  padding: 80px 0;
}

#pd-extra1-section {
  background: var(--bg-secondary);
}

#pd-extra2-section {
  background: var(--bg-primary);
}

.pd-extra .section-header {
  margin-bottom: 30px;
}

.pd-extra .section-header .section-divider {
  margin-bottom: 20px;
}

.pd-extra-intro {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: justify;
}

/* Responsive */
@media (max-width: 992px) {
  .pd-overview-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .pd-services-grid {
    grid-template-columns: 1fr;
  }

  .pd-cta-grid {
    grid-template-columns: 1fr;
  }

  .pd-hero {
    height: 80vh;
    min-height: 500px;
    padding-bottom: 10vh;
  }

  .pd-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
  }

  .pd-features,
  .pd-services {
    padding: 80px 0;
  }

  .pd-features-header {
    margin-bottom: 40px;
  }
}

@media (max-width: 768px) {
  .pd-hero {
    height: 70vh;
    min-height: 450px;
    padding-bottom: 8vh;
  }

  .pd-title {
    font-size: clamp(2rem, 7vw, 3rem);
  }

  .pd-hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
  }

  .pd-parallax-img {
    height: 40vh;
    min-height: 250px;
    background-attachment: scroll;
  }

  .pd-hero-bg {
    background-attachment: scroll;
  }

  .pd-overview {
    padding: 60px 0;
  }

  .pd-desc {
    font-size: 1.1rem;
  }

  .pd-features,
  .pd-services {
    padding: 60px 0;
  }

  .pd-regional,
  .pd-usecases,
  .pd-extra,
  .pd-cta,
  .pd-seo-content {
    padding: 60px 0;
  }

  .pd-features-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .pd-feature-card {
    padding: 28px;
  }

  .pd-service-card {
    padding: 28px;
  }

  .pd-section-title {
    font-size: 1.5rem;
  }

  .pd-next {
    height: 45vh;
    min-height: 300px;
  }

  .pd-scroll-indicator {
    display: none;
  }

  .seo-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .pd-hero {
    height: auto;
    min-height: 60vh;
    padding-bottom: 60px;
  }

  .pd-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .pd-overview,
  .pd-features,
  .pd-services,
  .pd-regional,
  .pd-usecases,
  .pd-extra,
  .pd-cta,
  .pd-seo-content {
    padding: 48px 0;
  }

  .pd-overview-meta {
    padding: 24px;
  }

  .pd-feature-card,
  .pd-service-card {
    padding: 24px;
  }

  .pd-cta-card {
    padding: 24px;
  }
}
