/* KGC Denizcilik v26 — 400 bar waterjet cutting project */

.kgc-waterjet-project-card img {
  object-position: center 58% !important;
}

.kgc-waterjet-detail {
  background:
    radial-gradient(circle at 88% 16%, rgba(41, 174, 221, 0.13), transparent 30%),
    linear-gradient(135deg, #f8fcfe 0%, #e6f4fa 100%);
  color: #092e50;
  overflow: hidden;
}

.kgc-waterjet-hero {
  width: min(1330px, calc(100% - 44px));
  min-height: 410px;
  margin: 28px auto 0;
  border: 1px solid rgba(64, 183, 226, 0.28);
  border-radius: 22px;
  display: grid;
  grid-template-columns: minmax(410px, 0.86fr) minmax(0, 1.14fr);
  background: #082f4d;
  overflow: hidden;
  box-shadow: 0 22px 58px rgba(5, 34, 58, 0.16);
}

.kgc-waterjet-hero-copy {
  position: relative;
  min-height: 410px;
  padding: 34px clamp(34px, 4vw, 62px) 38px;
  display: flex;
  flex-direction: column;
  color: #fff;
  background:
    radial-gradient(circle at 0 100%, rgba(32, 170, 218, 0.18), transparent 37%),
    linear-gradient(145deg, #073653, #082c48);
}

.kgc-waterjet-back {
  width: max-content;
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid rgba(120, 213, 244, 0.35);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: border-color 220ms ease, background 220ms ease, transform 220ms ease;
}

.kgc-waterjet-back svg {
  width: 17px;
  height: 17px;
}

.kgc-waterjet-back:hover {
  border-color: rgba(120, 213, 244, 0.72);
  background: rgba(70, 186, 226, 0.1);
  transform: translateX(-2px);
}

.kgc-waterjet-hero-identity {
  margin: auto 0;
}

.kgc-waterjet-hero-identity .eyebrow,
.kgc-waterjet-overview .eyebrow,
.kgc-waterjet-media .eyebrow {
  margin: 0 0 12px;
  color: #4cc6ef;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.kgc-waterjet-hero h1 {
  max-width: 520px;
  margin: 0;
  color: #fff;
  font-size: clamp(40px, 4.3vw, 63px);
  font-weight: 760;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.kgc-waterjet-hero-identity > p:not(.eyebrow) {
  margin: 15px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  font-weight: 560;
}

.kgc-waterjet-tags {
  margin-top: 23px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.kgc-waterjet-tags span {
  padding: 7px 11px;
  border: 1px solid rgba(98, 204, 240, 0.28);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(58, 170, 211, 0.08);
  font-size: 10px;
  font-weight: 750;
}

.kgc-waterjet-hero-media {
  position: relative;
  min-height: 410px;
  background: #c7b184;
  overflow: hidden;
}

.kgc-waterjet-hero-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 47, 77, 0.18), transparent 32%);
  content: "";
  pointer-events: none;
}

.kgc-waterjet-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 410px;
  object-fit: cover;
  object-position: center;
}

.kgc-waterjet-overview {
  padding: clamp(72px, 7vw, 108px) 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  align-items: center;
  gap: clamp(52px, 7vw, 104px);
}

.kgc-waterjet-overview-copy h2 {
  max-width: 710px;
  margin: 0;
  color: #092e50;
  font-size: clamp(38px, 4.5vw, 62px);
  font-weight: 550;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.kgc-waterjet-overview-copy > p:not(.eyebrow) {
  max-width: 720px;
  margin: 25px 0 0;
  color: rgba(9, 46, 80, 0.67);
  font-size: 17px;
  line-height: 1.75;
}

.kgc-waterjet-gallery-jump {
  width: max-content;
  min-height: 50px;
  margin-top: 29px;
  padding: 0 17px 0 20px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: #fff;
  background: linear-gradient(135deg, #087fae, #19acd9);
  box-shadow: 0 13px 28px rgba(10, 133, 180, 0.23);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.kgc-waterjet-gallery-jump span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.14);
  font-size: 17px;
}

.kgc-waterjet-gallery-jump:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(10, 133, 180, 0.3);
}

.kgc-waterjet-scope {
  border-top: 3px solid #16a5d4;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 48px rgba(5, 37, 63, 0.1);
}

.kgc-waterjet-scope > div {
  min-height: 90px;
  padding: 20px 26px;
  border-bottom: 1px solid rgba(9, 46, 80, 0.12);
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: center;
  gap: 16px;
}

.kgc-waterjet-scope > div:last-child {
  border-bottom: 0;
}

.kgc-waterjet-scope span {
  width: 10px;
  height: 10px;
  border: 2px solid #13a0d3;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(19, 160, 211, 0.1);
}

.kgc-waterjet-scope strong {
  color: #092e50;
  font-size: 16px;
  font-weight: 720;
}

.kgc-waterjet-media {
  scroll-margin-top: 100px;
  padding: clamp(74px, 7vw, 108px) 0 clamp(84px, 8vw, 122px);
  color: #fff;
  background:
    radial-gradient(circle at 12% 10%, rgba(39, 175, 222, 0.18), transparent 29%),
    #051f35;
}

.kgc-waterjet-media-heading {
  margin-bottom: 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.65fr);
  align-items: end;
  gap: 54px;
}

.kgc-waterjet-media-heading h2 {
  max-width: 720px;
  margin: 0;
  color: #fff;
  font-size: clamp(36px, 4.2vw, 56px);
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.kgc-waterjet-media-heading > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 15px;
  line-height: 1.7;
}

.kgc-waterjet-photo-grid {
  display: grid;
  grid-template-columns: minmax(310px, 0.78fr) minmax(0, 1.22fr);
  gap: 18px;
}

.kgc-waterjet-photo {
  position: relative;
  width: 100%;
  height: 430px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  color: #fff;
  background: #082b45;
  cursor: zoom-in;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.kgc-waterjet-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms ease;
}

.kgc-waterjet-photo-vertical img {
  object-position: center 65%;
}

.kgc-waterjet-photo-wide img {
  object-position: center;
}

.kgc-waterjet-photo:hover img {
  transform: scale(1.035);
}

.kgc-waterjet-photo-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(2, 17, 29, 0.88));
}

.kgc-waterjet-photo > strong {
  position: absolute;
  right: 68px;
  bottom: 24px;
  left: 25px;
  z-index: 2;
  color: #fff;
  font-size: 18px;
  font-weight: 720;
  line-height: 1.3;
  text-align: left;
}

.kgc-waterjet-expand {
  position: absolute;
  right: 21px;
  bottom: 20px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(3, 27, 44, 0.48);
}

.kgc-waterjet-expand svg {
  width: 17px;
  height: 17px;
}

.kgc-waterjet-video-showcase {
  margin-top: 22px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  display: grid;
  grid-template-columns: minmax(280px, 390px) minmax(0, 1fr);
  background: rgba(8, 47, 77, 0.75);
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.2);
}

.kgc-waterjet-video-frame {
  display: grid;
  place-items: center;
  background: #020b12;
}

.kgc-waterjet-video-frame video {
  width: min(100%, 390px);
  max-height: 660px;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #020b12;
}

.kgc-waterjet-video-copy {
  padding: clamp(34px, 6vw, 78px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.kgc-waterjet-video-copy > span {
  color: #4cc6ef;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.kgc-waterjet-video-copy h3 {
  max-width: 610px;
  margin: 13px 0 0;
  color: #fff;
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1.03;
}

.kgc-waterjet-video-copy p {
  max-width: 650px;
  margin: 21px 0 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 16px;
  line-height: 1.7;
}

.kgc-waterjet-video-copy ul {
  margin: 27px 0 0;
  display: grid;
  gap: 12px;
}

.kgc-waterjet-video-copy li {
  position: relative;
  padding-left: 22px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  font-weight: 650;
}

.kgc-waterjet-video-copy li::before {
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #38bce9;
  box-shadow: 0 0 0 5px rgba(56, 188, 233, 0.1);
  content: "";
}

.kgc-waterjet-lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  padding: 68px 34px 54px;
  display: grid;
  place-items: center;
  background: rgba(1, 10, 17, 0.95);
  backdrop-filter: blur(8px);
  cursor: zoom-out;
}

.kgc-waterjet-lightbox img {
  max-width: min(1200px, 94vw);
  max-height: 80vh;
  border-radius: 8px;
  object-fit: contain;
  box-shadow: 0 28px 88px rgba(0, 0, 0, 0.5);
  cursor: default;
}

.kgc-waterjet-lightbox p {
  position: absolute;
  right: 30px;
  bottom: 20px;
  left: 30px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.kgc-waterjet-lightbox-close {
  position: absolute;
  top: 20px;
  right: 22px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

@media (max-width: 980px) {
  .kgc-waterjet-hero {
    grid-template-columns: 1fr;
  }

  .kgc-waterjet-hero-copy {
    min-height: 390px;
  }

  .kgc-waterjet-hero-media,
  .kgc-waterjet-hero-media img {
    min-height: 330px;
  }

  .kgc-waterjet-overview {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .kgc-waterjet-media-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .kgc-waterjet-photo-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .kgc-waterjet-hero {
    width: calc(100% - 24px);
    margin-top: 14px;
    border-radius: 16px;
  }

  .kgc-waterjet-hero-copy {
    min-height: 420px;
    padding: 26px 24px 32px;
  }

  .kgc-waterjet-hero h1 {
    font-size: clamp(39px, 12vw, 51px);
  }

  .kgc-waterjet-hero-identity > p:not(.eyebrow) {
    font-size: 16px;
  }

  .kgc-waterjet-hero-media,
  .kgc-waterjet-hero-media img {
    min-height: 245px;
  }

  .kgc-waterjet-overview {
    padding: 70px 0 76px;
  }

  .kgc-waterjet-overview-copy h2 {
    font-size: 39px;
  }

  .kgc-waterjet-overview-copy > p:not(.eyebrow) {
    font-size: 16px;
  }

  .kgc-waterjet-gallery-jump {
    width: 100%;
    justify-content: space-between;
  }

  .kgc-waterjet-media {
    padding: 72px 0 84px;
  }

  .kgc-waterjet-photo-grid {
    grid-template-columns: 1fr;
  }

  .kgc-waterjet-photo {
    height: 400px;
  }

  .kgc-waterjet-photo-wide {
    height: 290px;
  }

  .kgc-waterjet-video-showcase {
    grid-template-columns: 1fr;
  }

  .kgc-waterjet-video-frame video {
    width: min(100%, 430px);
    max-height: none;
  }

  .kgc-waterjet-video-copy {
    padding: 35px 25px 42px;
  }

  .kgc-waterjet-video-copy h3 {
    font-size: 35px;
  }

  .kgc-waterjet-lightbox {
    padding: 64px 16px 50px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kgc-waterjet-back,
  .kgc-waterjet-gallery-jump,
  .kgc-waterjet-photo img {
    transition: none !important;
  }
}
