/* ═══════════════════════════════════════════
   PROJECT2 — Layihə detal bölməsi
   projectdetail2.css  (yalnız project2.html üçün)
═══════════════════════════════════════════ */

.pd2-waw {
  background: #edf0f5;
  padding: 52px 0;
  font-family: 'Montserrat', sans-serif;
}

.pd2-waw-inner {
  padding: 0 52px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 28px;
  align-items: stretch;
}

/* ════════════════════════════════
   SOL PANEL
════════════════════════════════ */
.pd2-waw-left {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.pd2-waw-rail {
  flex-shrink: 0;
  border-left: 2.5px solid #091929;
  padding-left: 9px;
  display: flex;
  align-items: flex-start;
}

.pd2-waw-rail-tag {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #091929;
  white-space: nowrap;
  text-transform: uppercase;
}

.pd2-waw-copy {
  flex: 1;
}

.pd2-waw-copy p {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.82;
  color: #1e3347;
  margin-bottom: 14px;
  text-align: justify;
}

.pd2-waw-copy p:last-of-type {
  margin-bottom: 32px;
}

.pd2-waw-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #091929;
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 13px 26px;
  text-decoration: none;
  transition: background 0.2s;
}

.pd2-waw-btn:hover {
  background: #122d47;
}

/* ════════════════════════════════
   SAĞ PANEL
════════════════════════════════ */
.pd2-waw-right-outer {
  display: flex;
  gap: 18px;
  align-items: stretch;
}

.pd2-waw-right-outer > .pd2-waw-rail {
  align-self: flex-start;
}

/* ════════════════════════════════
   KARUSELİ
════════════════════════════════ */
.pd2-carousel {
  flex: 1;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

.pd2-carousel-track {
  position: absolute;
  inset: 0;
  display: flex;
  transition: transform 0.6s ease;
}

.pd2-carousel-track img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pd2-car-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(9, 25, 41, 0.52);
  border: none;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 2;
}

.pd2-car-btn:hover {
  background: rgba(9, 25, 41, 0.88);
}

.pd2-car-prev { left: 12px; }
.pd2-car-next { right: 12px; }

/* ════════════════════════════════
   SOL PANEL — layihə başlığı / badge
════════════════════════════════ */
.pd2-proj-title-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 6px;
}

.pd2-proj-title-row svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.pd2-proj-title {
  font-size: 15px;
  font-weight: 700;
  color: #091929;
  line-height: 1.4;
  margin: 0;
}

.pd2-proj-tag-row {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
}

.pd2-proj-tag-text {
  font-size: 12px;
  font-weight: 700;
  color: #091929;
}

.pd2-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.pd2-badge-ongoing {
  background: #27c56e;
  color: #fff;
}

.pd2-badge-done {
  background: #091929;
  color: #fff;
}

/* ════════════════════════════════
   RESPONSIVE
════════════════════════════════ */
@media (max-width: 1024px) {
  .pd2-waw-inner {
    padding: 0 36px;
    column-gap: 36px;
  }
}

@media (max-width: 912px) {
  .pd2-waw { padding: 40px 0; }
  .pd2-waw-inner {
    grid-template-columns: 1fr;
    row-gap: 10px;
    padding: 0 28px;
  }
  .pd2-carousel { min-height: 300px; }
}

@media (max-width: 600px) {
  .pd2-waw { padding: 36px 0; }
  .pd2-waw-inner { padding: 0 20px; }
  .pd2-waw-copy p { font-size: 12.5px; }
  .pd2-carousel { min-height: 260px; }
}

@media (max-width: 430px) {
  .pd2-carousel { min-height: 220px; }
}

@media (min-width: 431px) and (max-width: 599px) {
  .pd2-waw-inner { padding: 0 24px 0 14px; }
}

@media (max-width: 430px) {
  .pd2-waw-inner { padding: 0 14px; }
}

@media (min-width: 416px) and (max-width: 430px) {
  .pd2-waw-inner { padding: 0 24px 0 14px; }
}

@media (max-width: 414px) {
  .pd2-waw-inner { padding: 0 24px 0 14px; }
}

@media (max-width: 375px) {
  .pd2-waw-inner { padding: 0 24px 0 14px; }
}
