/* ═══════════════════════════════════════════
   PROJECT1 — Layihə detal bölməsi
   projectdetail1.css  (yalnız project1.html üçün)
═══════════════════════════════════════════ */

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

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

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

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

.pd1-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;
}

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

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

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

.pd1-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;
}

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

/* ════════════════════════════════
   SAĞ PANEL — şəkil
════════════════════════════════ */
.pd1-waw-right-outer {
  display: flex;
  gap: 18px;
  align-items: stretch;
}

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

.pd1-waw-card {
  background: #fff;
  border-radius: 10px;
  padding: 22px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pd1-waw-card-hd {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pd1-waw-ic {
  width: 38px;
  height: 38px;
  object-fit: contain;
  flex-shrink: 0;
}

.pd1-waw-card h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #091929;
}

.pd1-waw-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pd1-waw-card li {
  font-size: 11.5px;
  font-weight: 400;
  line-height: 1.55;
  color: #3d5c77;
  padding-left: 14px;
  position: relative;
}

.pd1-waw-card li::before {
  content: '•';
  position: absolute;
  left: 1px;
  top: 0;
  color: #091929;
  line-height: 1.55;
}

/* ════════════════════════════════
   SAĞ PANEL — qalereya şəkli
════════════════════════════════ */
.pd1-gallery-img {
  flex: 1;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

.pd1-gallery-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

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

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

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

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

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

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

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

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

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

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

@media (max-width: 430px) {
  .pd1-gallery-img { min-height: 220px; }
}

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

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

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

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

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