



.proje-detay-section {
  position: relative;
  padding: 64px 0 80px;
  overflow: hidden;
  background: var(--gradient-light-bg, linear-gradient(135deg,#f8f9fa 0%,#fff 100%));
}

.proje-detay-section::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: '';
  background:
    radial-gradient(circle at 8% 15%, rgb(99 102 241 / .04) 0%, transparent 45%),
    radial-gradient(circle at 92% 85%, rgb(139 92 246 / .03) 0%, transparent 45%);
}

.proje-detay-section .container {
  position: relative;
  z-index: 1;
}

.proje-detay-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}



.proje-detay-main {
  min-width: 0;
}


.proje-detay-img {
  width: 100%;
  margin-bottom: 28px;
  overflow: hidden;
  border: 1.5px solid var(--light-border);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgb(15 23 42 / .1);
}

.proje-detay-img img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}


.proje-detay-body {
  padding: 36px;
  background: var(--white);
  border: 1.5px solid var(--light-border);
  border-radius: 16px;
  box-shadow: 0 2px 12px rgb(15 23 42 / .05);
}

.proje-detay-body h2 {
  margin: 0 0 20px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-dark);
}

.proje-detay-content {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-body);
}

.proje-detay-content p { margin-bottom: 14px; }


.proje-share {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding-top: 24px;
  margin-top: 28px;
  border-top: 1px solid var(--light-border);
}

.proje-share-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .8px;
}

.proje-share-btn {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: opacity .2s, transform .2s;
}

.proje-share-btn:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.proje-share-btn.fb {
  color: #fff;
  background: #1877f2;
}

.proje-share-btn.tw {
  color: #fff;
  background: #1da1f2;
}

.proje-share-btn.li {
  color: #fff;
  background: #0a66c2;
}




.proje-detay-layout .blog-sidebar {
  position: sticky;
  top: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-self: start;
  padding: 0;
  margin: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}


/* stylelint-disable declaration-no-important */

:where(.proje-detay-layout .blog-sidebar) .sidebar-widget,
:where(.proje-detay-layout .blog-sidebar) .sidebar-cta-widget {
  opacity: 1 !important;
  transform: none !important;
  transition: box-shadow 0.2s ease !important;
}
/* stylelint-enable declaration-no-important */


.sidebar-widget {
  overflow: hidden;
  background: var(--white);
  border: 1.5px solid var(--light-border);
  border-radius: 14px;
  box-shadow: 0 2px 10px rgb(15 23 42 / .05);
}

.sidebar-widget-header {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 16px 20px;
  background: var(--light-bg);
  border-bottom: 1px solid var(--light-border);
}

.sidebar-widget-header-icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-size: 13px;
  color: var(--white);
  background: var(--gradient-accent);
  border-radius: 8px;
}

.sidebar-widget-title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
}

.sidebar-widget-body {
  padding: 16px 20px;
}


.sidebar-recent-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.sidebar-recent-item {
  display: flex;
  gap: 12px;
  align-items: center;
  color: inherit;
  text-decoration: none;
  transition: opacity .2s;
}

.sidebar-recent-item:hover {
  color: inherit;
  text-decoration: none;
  opacity: 0.75;
}

.sidebar-recent-thumb {
  flex-shrink: 0;
  width: 56px;
  height: 42px;
  overflow: hidden;
  background: var(--text-white);
  border-radius: 8px;
}

.sidebar-recent-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-recent-info {
  flex: 1;
  min-width: 0;
}

.sidebar-recent-title {
  display: -webkit-box;
  margin: 0 0 4px;
  overflow: hidden;
  -webkit-line-clamp: 2;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-dark);
  -webkit-box-orient: vertical;
}

.sidebar-recent-date {
  display: flex;
  gap: 4px;
  align-items: center;
  font-size: 11px;
  color: var(--text-muted);
}

.sidebar-recent-date i { color: var(--color-accent); }


.sidebar-contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.sidebar-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--text-body);
}

.sidebar-contact-icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-top: 1px;
  font-size: 12px;
  color: var(--color-accent);
  background: rgb(99 102 241 / .08);
  border-radius: 7px;
}

.sidebar-contact-item a {
  color: inherit;
  text-decoration: none;
}

.sidebar-contact-item a:hover {
  text-decoration: underline;
}


.sidebar-products-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.sidebar-product-item {
  display: flex;
  gap: 12px;
  align-items: center;
  color: inherit;
  text-decoration: none;
  transition: opacity .2s;
}

.sidebar-product-item:hover {
  color: inherit;
  text-decoration: none;
  opacity: 0.75;
}

.sidebar-product-thumb {
  flex-shrink: 0;
  width: 48px;
  height: 36px;
  overflow: hidden;
  background: var(--text-white);
  border-radius: 7px;
}

.sidebar-product-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-product-name {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-dark);
}


.sidebar-cta-widget {
  position: relative;
  padding: 26px 22px;
  overflow: hidden;
  text-align: center;
  background: var(--dark-bg);
  border-radius: 14px;
}

.sidebar-cta-widget::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: '';
  background:
    radial-gradient(circle at 30% 30%, rgb(99 102 241 / .2) 0%, transparent 60%),
    radial-gradient(circle at 70% 70%, rgb(139 92 246 / .15) 0%, transparent 60%);
}

.sidebar-cta-icon {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin: 0 auto 14px;
  font-size: 20px;
  color: var(--white);
  background: var(--gradient-accent);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgb(99 102 241 / .35);
}

.sidebar-cta-title {
  position: relative;
  z-index: 1;
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-white);
}

.sidebar-cta-text {
  position: relative;
  z-index: 1;
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
}

.sidebar-cta-btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  background: var(--gradient-accent);
  border-radius: 10px;
  box-shadow: 0 4px 14px rgb(99 102 241 / .3);
  transition: transform .25s, box-shadow .25s;
}

.sidebar-cta-btn:hover {
  color: var(--white);
  text-decoration: none;
  box-shadow: 0 8px 24px rgb(99 102 241 / .4);
  transform: translateY(-2px);
}



.diger-projeler-section {
  position: relative;
  padding: 72px 0 80px;
  overflow: hidden;
  background: var(--dark-bg);
}

.diger-projeler-section::before {
  position: absolute;
  top: -30%; left: -10%;
  width: 440px; height: 440px;
  pointer-events: none;
  content: '';
  background: radial-gradient(circle, rgb(99 102 241 / .08) 0%, transparent 70%);
  border-radius: 50%;
}

.diger-projeler-section::after {
  position: absolute; right: -8%;
  bottom: -20%;
  width: 320px; height: 320px;
  pointer-events: none;
  content: '';
  background: radial-gradient(circle, rgb(139 92 246 / .06) 0%, transparent 70%);
  border-radius: 50%;
}

.diger-projeler-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.diger-proje-card {
  display: block;
  overflow: hidden;
  text-decoration: none;
  background: rgb(30 41 59 / .5);
  border: 1.5px solid rgb(99 102 241 / .1);
  border-radius: 14px;
  backdrop-filter: blur(8px);
  transition: border-color .25s, transform .25s, box-shadow .25s;
}

:where(.diger-proje-card:hover) {
  text-decoration: none;
  border-color: rgb(99 102 241 / 0.35);
  box-shadow: 0 14px 36px rgb(99 102 241 / 0.14);
  transform: translateY(-5px);
}

.diger-proje-card img {
  display: block;
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.diger-proje-info {
  padding: 16px 18px;
}

.diger-proje-info h3 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-white);
}

.diger-proje-info p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-muted);
}



.proje-detay-img,
.proje-detay-body,
.diger-proje-card {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .5s ease, transform .5s ease;
}

.proje-detay-img.revealed,
.proje-detay-body.revealed,
.diger-proje-card.revealed {
  opacity: 1;
  transform: translateY(0);
}



@media (width <= 1100px) {
  .proje-detay-layout {
    grid-template-columns: 1fr 280px;
    gap: 32px;
  }
}

@media (width <= 992px) {
  .proje-detay-layout { grid-template-columns: 1fr; }

  .proje-detay-layout .blog-sidebar { position: static; }

  .diger-projeler-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (width <= 768px) {
  .proje-detay-section { padding: 48px 0 60px; }

  .proje-detay-body { padding: 24px; }

  .diger-projeler-section { padding: 52px 0 60px; }

  .diger-projeler-grid { grid-template-columns: 1fr; }
}

@media (width <= 480px) {
  .proje-detay-body { padding: 18px; }

  .proje-detay-body h2 { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .proje-detay-img,
  .proje-detay-body,
  .diger-proje-card {
    opacity: 1;
    transform: none;
    transition: none;
  }
}