html {
  font-size: 14px;
  position: relative;
  min-height: 100%;
  scroll-behavior: smooth;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body.ng-body {
  margin: 0;
  background: #f6f7fb;
  color: #1f2933;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.ng-header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  animation: ngHeaderShine 0.8s ease forwards;
}

.navbar-brand {
  letter-spacing: 0.04em;
}

.nav-link {
  font-weight: 500;
  color: #4b5563 !important;
  transition: color 0.2s ease, transform 0.15s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #1e88e5 !important;
  transform: translateY(-1px);
}

.ng-main-wrapper {
  min-height: calc(100vh - 140px);
}

/* Admin panel */
.ng-admin-body {
  background:
    radial-gradient(circle at top right, rgba(30, 136, 229, 0.12), transparent 32rem),
    #eef3f9;
}

.ng-admin-shell {
  display: flex;
  min-height: 100vh;
}

.ng-admin-sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  width: 270px;
  min-height: 100vh;
  padding: 1.25rem;
  background: linear-gradient(180deg, #0f172a 0%, #172554 100%);
  color: #ffffff;
  box-shadow: 18px 0 45px rgba(15, 23, 42, 0.14);
  z-index: 10;
}

.ng-admin-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
  padding: 0.8rem;
  color: #ffffff;
  text-decoration: none;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.08);
}

.ng-admin-brand:hover {
  color: #ffffff;
}

.ng-admin-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.7rem;
  height: 2.7rem;
  color: #0f172a;
  background: #ffffff;
  border-radius: 0.85rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.ng-admin-brand strong,
.ng-admin-brand small {
  display: block;
}

.ng-admin-brand strong {
  font-size: 1rem;
  line-height: 1.2;
}

.ng-admin-brand small {
  margin-top: 0.15rem;
  color: #bfdbfe;
  font-size: 0.78rem;
}

.ng-admin-nav {
  display: grid;
  gap: 0.35rem;
}

.ng-admin-nav-link,
.ng-admin-logout-button {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 2.8rem;
  padding: 0.75rem 0.85rem;
  color: #dbeafe;
  background: transparent;
  border: 0;
  border-radius: 0.9rem;
  font: inherit;
  font-weight: 650;
  line-height: 1.25;
  text-align: left;
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.ng-admin-nav-link:hover,
.ng-admin-logout-button:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(3px);
}

.ng-admin-logout {
  margin: auto 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.ng-admin-logout-button {
  color: #fecaca;
}

.ng-admin-main {
  flex: 1;
  min-width: 0;
  padding: clamp(1rem, 3vw, 2rem);
}

.ng-admin-content {
  max-width: 1180px;
  margin: 0 auto;
}

.ng-admin-content > h1,
.ng-admin-content > .h4,
.ng-admin-content > .d-flex:first-child {
  margin-bottom: 1.25rem !important;
}

.ng-admin-content h1,
.ng-admin-content .h4 {
  color: #0f172a;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.ng-admin-content > .d-flex:first-child {
  align-items: center;
  padding: 1rem 1.15rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 1.15rem;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.ng-admin-content > .row,
.ng-admin-content > form,
.ng-admin-content > .table-responsive,
.ng-admin-content > .border,
.ng-admin-content > .ng-card,
.ng-admin-content > .alert + form {
  margin-bottom: 1.25rem;
}

.ng-admin-content > form,
.ng-admin-content .table,
.ng-admin-content > .border,
.ng-admin-content > .row > [class*="col-"] > .border,
.ng-admin-content > .ng-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08) !important;
  border-radius: 1.1rem !important;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
}

.ng-admin-content > form {
  padding: 1.25rem;
}

.ng-admin-content .table {
  overflow: hidden;
  margin-bottom: 0;
}

.ng-admin-content .table thead th {
  color: #64748b;
  background: #f8fafc;
  border-bottom-color: rgba(15, 23, 42, 0.08);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ng-admin-content .table tbody td {
  vertical-align: middle;
  border-color: rgba(15, 23, 42, 0.06);
}

.ng-admin-content .table-striped > tbody > tr:nth-of-type(odd) > * {
  --bs-table-accent-bg: rgba(30, 136, 229, 0.025);
}

.ng-admin-content .table tbody tr {
  transition: background-color 0.16s ease;
}

.ng-admin-content .table tbody tr:hover {
  background: rgba(30, 136, 229, 0.045);
}

.ng-admin-content .form-label {
  color: #334155;
  font-weight: 700;
}

.ng-admin-content .form-control,
.ng-admin-content .form-select {
  border-color: rgba(100, 116, 139, 0.28);
  border-radius: 0.8rem;
}

.ng-admin-content .btn {
  border-radius: 0.8rem;
  font-weight: 650;
}

.ng-admin-content .alert {
  border: 0;
  border-radius: 1rem;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
}

@media (max-width: 991.98px) {
  .ng-admin-shell {
    flex-direction: column;
  }

  .ng-admin-sidebar {
    position: relative;
    width: 100%;
    min-height: auto;
    border-radius: 0 0 1.25rem 1.25rem;
  }

  .ng-admin-nav {
    grid-template-columns: 1fr;
  }

  .ng-admin-logout {
    margin-top: 0.75rem;
  }
}

/* Üst banner - tam genişlik 300px */
.ng-top-banner {
  width: 100%;
  height: 300px;
  overflow: hidden;
  background: #e5e7eb;
}

.ng-top-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ng-top-banner .carousel,
.ng-top-banner .carousel-inner,
.ng-top-banner .carousel-item {
  height: 300px;
}

.ng-top-banner .carousel-control-prev,
.ng-top-banner .carousel-control-next {
  opacity: 0.5;
}

.ng-top-banner .carousel-control-prev:hover,
.ng-top-banner .carousel-control-next:hover {
  opacity: 1;
}

/* Hero sağ fotoğraflar */
.ng-hero-photos {
  display: flex;
  flex-wrap: wrap;
}

.ng-hero-photo {
  border-radius: 0.75rem;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ng-hero-photo:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.ng-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ng-footer {
  background: #ffffff;
}

.ng-hero {
  background: linear-gradient(135deg, #f9fafb 0%, #eef3fb 50%, #f9fafb 100%);
  border-radius: 1.25rem;
  padding: 3rem 2.5rem;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
  position: relative;
  overflow: hidden;
}

.ng-hero::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at top left, rgba(30, 136, 229, 0.18), transparent 55%);
  opacity: 0.8;
}

.ng-hero-content {
  position: relative;
  z-index: 1;
}

.ng-hero-title {
  font-size: 2.35rem;
  font-weight: 700;
  color: #111827;
}

.ng-hero-subtitle {
  font-size: 1.05rem;
  color: #4b5563;
}

.ng-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(30, 136, 229, 0.06);
  color: #1e88e5;
  font-size: 0.8rem;
  font-weight: 600;
}

.ng-stat-card,
.ng-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.ng-card:hover,
.ng-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.12);
}

.ng-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.ng-badge-completed {
  background-color: #e1f5e6;
  color: #1b5e20;
}

.ng-badge-inprogress {
  background-color: #fff4e5;
  color: #ef6c00;
}

.ng-logo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.ng-logo-item {
  min-width: 0;
  min-height: 5.25rem;
  background: #ffffff;
  border-radius: 0.9rem;
  padding: 0.75rem 1rem;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ng-logo-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 26px rgba(15, 23, 42, 0.09);
}

.ng-logo-item img {
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: 2.5rem;
  object-fit: contain;
}

@media (min-width: 768px) {
  .ng-logo-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
  }
}

.ng-section-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #111827;
}

.ng-section-subtitle {
  font-size: 0.95rem;
  color: #6b7280;
}

.ng-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #1f2933;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease, transform 0.15s ease;
}

.ng-contact-link:hover {
  color: #1e88e5;
  transform: translateY(-1px);
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.22rem #1e88e5;
  border-color: #1e88e5;
}

/* Anasayfa bölümleri */
.ng-home-section {
  padding: 2rem 0;
  border-radius: 1.25rem;
  transition: background-color 0.3s ease;
}

.ng-section-completed {
  background: linear-gradient(180deg, rgba(225, 245, 230, 0.5) 0%, rgba(255,255,255,0.9) 100%);
  padding: 2.5rem 1.5rem;
}

.ng-section-inprogress {
  background: linear-gradient(180deg, rgba(255, 244, 229, 0.5) 0%, rgba(255,255,255,0.9) 100%);
  padding: 2.5rem 1.5rem;
}

.ng-section-references {
  background: #ffffff;
  padding: 2.5rem 1.5rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  border-radius: 1.25rem;
}

.ng-section-contact {
  background: linear-gradient(135deg, #f9fafb 0%, #eef3fb 100%);
  padding: 2.5rem 1.5rem;
  border-radius: 1.25rem;
}

.ng-section-header {
  margin-bottom: 1.75rem;
}

.ng-section-header .ng-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.35rem;
}

.ng-section-header .ng-section-subtitle {
  font-size: 1rem;
  color: #6b7280;
  margin-bottom: 0.75rem;
}

/* Hakkımızda */
.ng-about-page {
  display: grid;
  gap: 1.5rem;
}

.ng-about-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 1.5rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  color: #ffffff;
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.22), transparent 28%),
    linear-gradient(135deg, #0f172a 0%, #1565c0 55%, #1e88e5 100%);
  border-radius: 1.5rem;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}

.ng-about-hero::after {
  content: "";
  position: absolute;
  right: -4rem;
  bottom: -5rem;
  width: 14rem;
  height: 14rem;
  border: 1.5rem solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.ng-about-kicker,
.ng-about-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ng-about-kicker {
  margin-bottom: 1rem;
  color: #dbeafe;
  background: rgba(255, 255, 255, 0.14);
}

.ng-about-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 850;
  line-height: 1.03;
}

.ng-about-hero p {
  max-width: 640px;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  line-height: 1.65;
}

.ng-about-hero-card {
  position: relative;
  z-index: 1;
  align-self: end;
  padding: 1.1rem;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1.15rem;
  backdrop-filter: blur(10px);
}

.ng-about-hero-card span {
  display: block;
  margin-bottom: 0.25rem;
  color: #bfdbfe;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ng-about-hero-card strong {
  display: block;
  color: #ffffff;
  font-size: 1.1rem;
  line-height: 1.35;
}

.ng-about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.ng-about-card,
.ng-about-values {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 1.35rem;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.07);
}

.ng-about-card {
  position: relative;
  overflow: hidden;
  padding: 1.35rem;
}

.ng-about-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 0.35rem;
  background: linear-gradient(90deg, #1e88e5, #60a5fa);
}

.ng-about-card-accent::before {
  background: linear-gradient(90deg, #16a34a, #86efac);
}

.ng-about-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  color: #1e88e5;
  background: rgba(30, 136, 229, 0.1);
  border-radius: 1rem;
  font-size: 1.35rem;
}

.ng-about-card-accent .ng-about-icon {
  color: #16a34a;
  background: rgba(22, 163, 74, 0.1);
}

.ng-about-label {
  color: #1e88e5;
  background: rgba(30, 136, 229, 0.09);
}

.ng-about-card h2,
.ng-about-values h2 {
  margin: 0.75rem 0;
  color: #0f172a;
  font-size: 1.35rem;
  font-weight: 800;
}

.ng-about-card p {
  margin: 0;
  color: #475569;
  line-height: 1.7;
}

.ng-about-values {
  display: grid;
  gap: 1rem;
  padding: 1.35rem;
}

.ng-about-values-head h2 {
  margin-bottom: 0;
}

.ng-about-values-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}

.ng-about-value-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
  color: #1f2933;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.05);
  border-radius: 0.95rem;
  font-weight: 650;
}

.ng-about-value-item i {
  color: #16a34a;
  font-size: 1.2rem;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .ng-about-hero {
    grid-template-columns: minmax(0, 1fr) 15rem;
    align-items: end;
  }

  .ng-about-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ng-about-values {
    grid-template-columns: 0.7fr 1.3fr;
    align-items: start;
    padding: 1.5rem;
  }

  .ng-about-values-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.ng-section-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #1e88e5;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
}

.ng-section-link:hover {
  color: #1565c0;
  gap: 0.5rem;
}

/* Projeler tam genişlik satırı */
.ng-projects-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  width: 100%;
}

@media (min-width: 992px) {
  .ng-projects-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ng-project-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 1rem;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ng-project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.14);
}

.ng-project-card-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.ng-project-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.ng-project-card:hover .ng-project-card-image img {
  transform: scale(1.05);
}

.ng-project-card-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #9ca3af;
}

.ng-project-badge {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.ng-project-card-body {
  padding: 1.25rem;
}

.ng-project-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #111827;
  margin: 0;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.ng-project-card:hover .ng-project-title {
  color: #1e88e5;
}

.ng-project-card-excerpt {
  font-size: 0.85rem;
  color: #6b7280;
  margin: 0.5rem 0 0;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}

.ng-projects-list-page {
  max-width: 1140px;
  margin: 0 auto;
}

.ng-projects-list-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .ng-projects-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .ng-projects-list-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.ng-projects-list-card {
  height: 100%;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.ng-projects-list-card .ng-project-card-image {
  aspect-ratio: 16 / 9;
  background: #eef2f7;
}

.ng-projects-list-card .ng-project-badge {
  top: 0.75rem;
  bottom: auto;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.16);
}

/* Proje detay */
.ng-project-detail {
  max-width: 920px;
  margin: 0 auto;
}

.ng-project-breadcrumb .breadcrumb {
  padding: 0.5rem 0.85rem;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem;
}

.ng-project-breadcrumb .breadcrumb-item a {
  color: #1e88e5;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s ease;
}

.ng-project-breadcrumb .breadcrumb-item a:hover {
  color: #1565c0;
}

.ng-project-breadcrumb .breadcrumb-item.active {
  color: #6b7280;
  font-weight: 500;
}

.ng-project-breadcrumb-title {
  max-width: min(100%, 32ch);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ng-project-breadcrumb-badge.ng-badge {
  flex-shrink: 0;
  padding: 0.22rem 0.55rem;
  font-size: 0.7rem;
}

.ng-project-detail-header {
  display: block;
}

.ng-project-detail-title {
  font-size: clamp(1.65rem, 4.2vw, 2.15rem);
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0;
}

.ng-project-detail-badge.ng-badge {
  padding: 0.4rem 0.9rem;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.ng-project-detail-lead {
  font-size: 1.08rem;
  color: #475569;
  line-height: 1.65;
  padding: 1rem 1.15rem;
  border-left: 4px solid rgba(30, 136, 229, 0.45);
  background: linear-gradient(90deg, rgba(30, 136, 229, 0.06) 0%, transparent 100%);
  border-radius: 0 0.75rem 0.75rem 0;
}

.ng-project-gallery-wrap {
  position: relative;
}

/* 500×500 (max) sabit kare: yükseklik genişlikten hesaplanır; görsellere bağlı kayma yok */
.ng-project-gallery-frame {
  box-sizing: border-box;
  width: min(500px, 100%);
  max-width: 500px;
  aspect-ratio: 1 / 1;
  height: auto;
  flex: 0 0 auto;
  margin-left: auto;
  margin-right: auto;
  padding: 0.6rem;
  border: 1px solid rgba(100, 116, 139, 0.45);
  border-radius: 0.7rem;
  background: linear-gradient(165deg, #ffffff 0%, #f1f5f9 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 6px 24px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
  /* contain: layout — alt öğe transform/animasyonu kesebilir; carousel slayt için kullanılmaz */
}

.ng-project-gallery-frame .ng-project-carousel {
  position: relative;
  flex: 1 1 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 0.5rem;
  overflow: hidden;
  background: #0f172a;
  box-shadow: none;
}

.ng-project-gallery-frame .ng-project-carousel .carousel-inner {
  flex: 1 1 0;
  min-height: 0;
  height: 100%;
  width: 100%;
  border-radius: 0.45rem;
  overflow: hidden;
  background: #0f172a;
}

/* display:flex burada yok: Bootstrap sürüklenebilir slayt için .carousel-item'da display:none/block kullanır */
.ng-project-gallery-frame .ng-project-carousel .carousel-item {
  position: relative;
  min-height: 0;
  min-width: 0;
  height: 100%;
}

/* Önizleme: sabit hücre; uzun/ince görsel oranlı sığar (kenarlarda bant) */
.ng-project-gallery-frame .ng-project-carousel-img-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 0;
  min-width: 0;
  background: #0f172a;
  border-radius: 0.3rem;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.ng-project-gallery-frame .ng-project-carousel-img-wrap:hover {
  box-shadow: inset 0 0 0 2px rgba(30, 136, 229, 0.35);
}

.ng-project-gallery-frame .ng-project-carousel-img-wrap img.ng-project-carousel-thumb {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  cursor: zoom-in;
  transition: filter 0.2s ease;
}

.ng-project-gallery-frame .ng-project-carousel-img-wrap:hover img.ng-project-carousel-thumb {
  filter: brightness(1.06);
}

/* Lightbox: backdrop yerine modal kökünde karartma (backdrop katmanı stacking nedeniyle tıklamayı yutabiliyordu) */
.ng-project-lightbox-modal.show {
  background-color: rgba(0, 0, 0, 0.5);
}

/* Lightbox: kapatma Bootstrap modal-header + btn-close (görsel üstüne binmez) */
.ng-project-lightbox-modal .modal-content {
  min-height: 0;
}

.ng-project-lightbox-header {
  pointer-events: auto;
  z-index: 2;
  background: transparent;
  border-radius: 0.45rem 0.45rem 0 0;
}

.ng-project-lightbox-modal .modal-header .btn-close {
  opacity: 1;
  padding: 0.65rem;
}

.ng-project-lightbox-body {
  min-height: 0;
}

.ng-project-lightbox-img {
  position: relative;
  max-width: 100%;
  max-height: calc(88vh - 4rem);
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  cursor: default;
}

.ng-project-carousel-indicators {
  margin: 0;
  bottom: 0.65rem;
  gap: 0.35rem;
  padding: 0.3rem 0.65rem;
  background: rgba(15, 23, 42, 0.38);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 999px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  width: auto;
  max-width: calc(100% - 3rem);
  flex-wrap: wrap;
  justify-content: center;
  z-index: 3;
}

.ng-project-carousel-indicators [data-bs-target] {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: none;
  margin: 0;
  background: rgba(255, 255, 255, 0.45);
  opacity: 1;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
}

.ng-project-carousel-indicators [data-bs-target].active {
  background: #fff;
  transform: scale(1.3);
  box-shadow: 0 0 0 2px rgba(30, 136, 229, 0.75);
}

.ng-project-gallery-frame .ng-project-carousel-control {
  width: 2.25rem;
  height: 2.25rem;
  top: 50%;
  transform: translateY(-50%);
  bottom: auto;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.45);
  opacity: 1;
  z-index: 5;
  transition: background 0.2s ease, transform 0.2s ease;
}

.ng-project-gallery-frame .ng-project-carousel-control:hover {
  background: rgba(30, 136, 229, 0.9);
}

.ng-project-gallery-frame .ng-project-carousel-control .carousel-control-prev-icon,
.ng-project-gallery-frame .ng-project-carousel-control .carousel-control-next-icon {
  width: 1.05rem;
  height: 1.05rem;
}

.ng-project-gallery-frame .ng-project-carousel .carousel-control-prev {
  left: 0.45rem;
}

.ng-project-gallery-frame .ng-project-carousel .carousel-control-next {
  right: 0.45rem;
}

@media (max-width: 575.98px) {
  .ng-project-gallery-frame .ng-project-carousel-control {
    width: 2rem;
    height: 2rem;
  }

  .ng-project-gallery-frame .ng-project-carousel .carousel-control-prev {
    left: 0.35rem;
  }

  .ng-project-gallery-frame .ng-project-carousel .carousel-control-next {
    right: 0.35rem;
  }
}

.ng-project-detail-body {
  padding: 1.75rem 1.5rem 1.5rem;
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.ng-project-long-text {
  white-space: pre-wrap;
  word-wrap: break-word;
  color: #334155;
  line-height: 1.8;
  font-size: 1.02rem;
}

.ng-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1rem;
  font-size: 1.1rem;
}

.ng-empty-state i {
  font-size: 2.5rem;
  display: block;
}

/* İletişim: öne çıkan panel ve gruplanmış iletişim seçenekleri */
.ng-contact-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  padding: 1rem;
  background:
    radial-gradient(circle at top left, rgba(30, 136, 229, 0.14), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(241, 247, 255, 0.92));
  border: 1px solid rgba(30, 136, 229, 0.1);
  border-radius: 1.35rem;
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.08);
}

.ng-contact-intro {
  padding: 1.25rem;
}

.ng-contact-kicker {
  display: inline-flex;
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.7rem;
  color: #1565c0;
  background: rgba(30, 136, 229, 0.1);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.ng-contact-intro h3 {
  margin: 0 0 0.65rem;
  color: #0f172a;
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.15;
}

.ng-contact-intro p {
  margin: 0 0 1.25rem;
  color: #64748b;
  line-height: 1.6;
}

.ng-contact-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.8rem 1rem;
  color: #ffffff;
  background: linear-gradient(135deg, #1e88e5, #1565c0);
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(30, 136, 229, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ng-contact-primary:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(30, 136, 229, 0.34);
}

.ng-contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

.ng-contact-card {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  align-items: start;
  column-gap: 0.95rem;
  min-height: 6.5rem;
  padding: 1.05rem;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 1.1rem;
  text-decoration: none;
  color: #1f2933;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
}

.ng-contact-card:hover {
  transform: translateY(-3px);
  background: #ffffff;
  border-color: rgba(30, 136, 229, 0.2);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.1);
}

.ng-contact-card i {
  grid-row: 1 / span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: rgba(30, 136, 229, 0.1);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.ng-contact-card i.bi-telephone-fill,
.ng-contact-card i.bi-envelope-fill,
.ng-contact-card i.bi-geo-alt-fill {
  color: #1e88e5;
}

.ng-contact-card i.bi-whatsapp {
  color: #25d366;
  background: rgba(37, 211, 102, 0.12);
}

.ng-contact-card i.bi-instagram {
  color: #E4405F;
  background: rgba(228, 64, 95, 0.12);
}

.ng-contact-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1;
}

.ng-contact-value {
  margin-top: 0.35rem;
  font-size: 0.94rem;
  font-weight: 700;
  color: #111827;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  word-break: break-word;
  line-height: 1.25;
}

.ng-contact-values {
  display: grid;
  gap: 0.28rem;
  margin-top: 0.35rem;
}

.ng-contact-values a {
  color: #111827;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}

.ng-contact-values a:hover,
.ng-contact-card:hover .ng-contact-value {
  color: #1e88e5;
}

@media (min-width: 768px) {
  .ng-contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .ng-contact-panel {
    grid-template-columns: minmax(260px, 0.72fr) 1.8fr;
    align-items: stretch;
    padding: 1.25rem;
  }

  .ng-contact-intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.5rem;
  }

  .ng-contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ng-contact-card-wide {
    grid-column: 1 / -1;
  }
}

.ng-logo-item-name {
  font-size: 0.8rem;
  color: #6b7280;
  text-align: center;
}

.btn-ng {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-ng:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(30, 136, 229, 0.3);
}

/* —— Sayfa girişi ve bölüm animasyonları —— */
@keyframes ngFadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ngFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes ngHeaderShine {
  from {
    box-shadow: 0 1px 0 rgba(30, 136, 229, 0);
  }
  to {
    box-shadow: 0 1px 0 rgba(30, 136, 229, 0.12);
  }
}

.ng-main-content {
  animation: ngFadeIn 0.5s ease-out both;
}

.ng-hero {
  animation: ngFadeUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.ng-home-section.ng-section-completed {
  animation: ngFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.06s;
}

.ng-home-section.ng-section-inprogress {
  animation: ngFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.12s;
}

.ng-home-section.ng-section-references {
  animation: ngFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.18s;
}

.ng-home-section.ng-section-contact {
  animation: ngFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.24s;
}

.ng-projects-row .ng-project-card {
  animation: ngFadeUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.ng-projects-row .ng-project-card:nth-child(1) {
  animation-delay: 0.04s;
}
.ng-projects-row .ng-project-card:nth-child(2) {
  animation-delay: 0.1s;
}
.ng-projects-row .ng-project-card:nth-child(3) {
  animation-delay: 0.16s;
}

.ng-logo-grid .ng-logo-item {
  animation: ngFadeUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.ng-logo-grid .ng-logo-item:nth-child(1) {
  animation-delay: 0.02s;
}
.ng-logo-grid .ng-logo-item:nth-child(2) {
  animation-delay: 0.06s;
}
.ng-logo-grid .ng-logo-item:nth-child(3) {
  animation-delay: 0.1s;
}
.ng-logo-grid .ng-logo-item:nth-child(4) {
  animation-delay: 0.14s;
}
.ng-logo-grid .ng-logo-item:nth-child(5) {
  animation-delay: 0.18s;
}
.ng-logo-grid .ng-logo-item:nth-child(6) {
  animation-delay: 0.22s;
}

.ng-animate-in {
  animation: ngFadeUp 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.ng-projects-list-grid > article {
  animation: ngFadeUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.ng-projects-list-grid > article:nth-child(1) {
  animation-delay: 0.03s;
}
.ng-projects-list-grid > article:nth-child(2) {
  animation-delay: 0.08s;
}
.ng-projects-list-grid > article:nth-child(3) {
  animation-delay: 0.13s;
}

.ng-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: #1e88e5;
  text-decoration: none;
  transition: color 0.2s ease, gap 0.2s ease, transform 0.2s ease;
}

.ng-back-link:hover {
  color: #1565c0;
  gap: 0.55rem;
}

.ng-top-banner {
  animation: ngFadeIn 0.9s ease both;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .ng-header,
  .ng-main-content,
  .ng-hero,
  .ng-home-section,
  .ng-projects-row .ng-project-card,
  .ng-logo-grid .ng-logo-item,
  .ng-animate-in,
  .ng-projects-list-grid > article,
  .ng-top-banner {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .ng-project-gallery-frame .ng-project-carousel-img-wrap:hover {
    transform: none;
  }
}