/* ═══════════════════════════════════════════════════════════════
   Hizmetler – McKinsey TR "Our Work" Style
   ═══════════════════════════════════════════════════════════════ */

/* ── Split Hero (McKinsey TR) ── */
.ow-hero-split {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--clr-navy);
}
.ow-hero-split__visual {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 60%;
  z-index: 1;
  background-color: var(--clr-navy);
}
.ow-hero-split__canvas {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: block;
}
/* Blend the right side of the canvas into the background so text reads clearly */
.ow-hero-split::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6,16,42,0) 40%, var(--clr-navy) 70%);
  z-index: 1;
  pointer-events: none;
}
.ow-hero-split__text {
  position: relative;
  z-index: 2;
  margin-left: auto;
  text-align: right;
  padding: 8rem 5rem 8rem 0;
  max-width: 55%;
}
.ow-hero-split__title {
  font-family: var(--ff-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: #fff;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.ow-hero-split__desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  max-width: 450px;
  margin-left: auto;
}
@media (max-width: 991px) {
  .ow-hero-split {
    flex-direction: column;
    justify-content: flex-end;
    min-height: 80vh;
  }
  .ow-hero-split__visual {
    width: 100%;
    opacity: 0.6;
  }
  .ow-hero-split::after {
    background: linear-gradient(180deg, rgba(6,16,42,0) 20%, var(--clr-navy) 90%);
  }
  .ow-hero-split__text {
    max-width: 100%;
    padding: 10rem 1.5rem 4rem;
    text-align: right;
  }
}
.ow-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.ow-hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.ow-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,28,44,0.5) 0%, rgba(5,28,44,0.85) 100%);
  z-index: 1;
}
.ow-hero__content {
  position: relative; z-index: 2;
  max-width: 800px; padding: 8rem 1.5rem 5rem;
}
.ow-hero__title {
  font-family: var(--ff-heading);
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  color: #fff; font-weight: 500;
  line-height: 1.15; margin-bottom: 1.25rem;
}
.ow-hero__desc {
  font-size: 1.1rem; color: rgba(255,255,255,0.7);
  line-height: 1.7; max-width: 620px; margin: 0 auto;
}
.ow-hero__scroll {
  position: absolute; bottom: 2.5rem;
  left: 50%; transform: translateX(-50%);
  z-index: 2; color: rgba(255,255,255,0.5);
  font-size: 1.5rem;
  animation: ow-bounce 2s infinite;
}
@keyframes ow-bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ── Featured Service Cards (4-col grid) ── */
.ow-featured {
  padding: 5rem 0;
  background: #f7f8fa;
  border-bottom: 1px solid #e5e7eb;
}
.ow-featured__heading {
  font-family: var(--ff-heading);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--clr-navy); font-weight: 600;
  margin-bottom: 3rem;
}
.ow-featured__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}
.ow-fcard {
  display: block;
  flex: 1 1 300px;
  max-width: 400px;
  text-decoration: none;
  color: inherit;
  background: var(--clr-bg);
  border-radius: 4px;
  transition: transform 0.3s ease;
}
.ow-fcard:hover { transform: translateY(-4px); color: inherit; }
.ow-fcard__img {
  width: 100%; aspect-ratio: 16/10;
  object-fit: cover; margin-bottom: 1rem;
  content-visibility: auto;
  contain-intrinsic-size: auto 250px;
}
.ow-fcard__title {
  font-size: 1.05rem; font-weight: 600;
  color: var(--clr-navy);
  margin-bottom: 0.75rem; display: flex;
  justify-content: space-between; align-items: center;
  line-height: 1.4;
}
.ow-fcard__title i {
  color: var(--clr-gold); transition: transform 0.2s;
}
.ow-fcard:hover .ow-fcard__title i {
  transform: translateX(4px);
}
.ow-fcard__desc {
  font-size: 0.95rem; color: var(--clr-text);
  line-height: 1.6;
}

/* ── Premium Modal Styles ── */
.af-modal {
  border-radius: 0;
  border: none;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.af-modal__header {
  background-color: var(--clr-navy, #001636);
  color: #fff;
  border-bottom: none;
  padding: 1.5rem 2rem;
  border-radius: 0;
}
.af-modal__header .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
  opacity: 0.8;
}
.af-modal__title {
  font-family: var(--ff-heading, Georgia, serif);
  font-size: 1.5rem;
  font-weight: 400;
}
.af-modal__body {
  padding: 2.5rem 2rem;
  font-size: 1.05rem;
  color: var(--clr-text);
  line-height: 1.8;
  font-family: var(--ff-primary, 'Aptos', system-ui, sans-serif);
}
.af-service-list {
  list-style: none;
  padding-left: 0;
  margin-top: 1.5rem;
}
.af-service-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 1rem;
}
.af-service-list li::before {
  content: '•';
  color: var(--clr-gold, #c8a24d);
  font-size: 1.5rem;
  position: absolute;
  left: 0;
  top: -0.2rem;
}

/* ── Service Detail Blocks ── */
.ow-detail {
  padding: 5rem 0;
  background: var(--clr-bg);
  border-bottom: 1px solid #e5e7eb;
}
.ow-detail--alt { background: #f7f8fa; }

.ow-detail__split {
  display: flex; flex-direction: column; gap: 3rem;
}
@media (min-width: 992px) {
  .ow-detail__split { flex-direction: row; gap: 0; }
  .ow-detail__split--reverse { flex-direction: row-reverse; }
  .ow-detail__text { width: 50%; padding-right: 4rem; }
  .ow-detail__split--reverse .ow-detail__text {
    padding-right: 0; padding-left: 4rem;
  }
  .ow-detail__visual { width: 50%; }
}
.ow-detail__text {
  display: flex; flex-direction: column; justify-content: center;
}
.ow-detail__tag {
  font-size: 0.75rem; font-weight: 600;
  color: var(--clr-gold); text-transform: uppercase;
  letter-spacing: 0.08em; margin-bottom: 0.75rem;
}
.ow-detail__title {
  font-family: var(--ff-heading);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--clr-navy); font-weight: 600;
  margin-bottom: 1.25rem;
}
.ow-detail__body {
  font-size: 1.02rem; line-height: 1.85;
  color: var(--clr-text);
}
.ow-detail__body p { margin-bottom: 1rem; }
.ow-detail__visual img {
  width: 100%; height: 100%;
  object-fit: cover; aspect-ratio: 16/10;
}

/* Deliverable pills inside detail blocks */
.ow-pills {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-top: 1.5rem;
}
.ow-pill {
  font-size: 0.8rem; font-weight: 500;
  color: var(--clr-navy);
  background: rgba(200, 162, 77, 0.08);
  border: 1px solid rgba(200, 162, 77, 0.15);
  padding: 0.4rem 1rem; border-radius: 100px;
  transition: all 0.2s;
}
.ow-pill:hover {
  background: rgba(200, 162, 77, 0.15);
  border-color: rgba(200, 162, 77, 0.3);
}

/* ── Category Link Lists (3-col) ── */
.ow-categories {
  padding: 5rem 0;
  background: var(--clr-bg);
  border-bottom: 1px solid #e5e7eb;
}
.ow-cat__heading {
  font-size: 0.8rem; font-weight: 700;
  color: var(--clr-navy); text-transform: uppercase;
  letter-spacing: 0.08em; margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--clr-navy);
}
.ow-cat__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 768px) {
  .ow-cat__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
  .ow-cat__grid { grid-template-columns: repeat(3, 1fr); }
}
.ow-cat__list {
  list-style: none; padding: 0; margin: 0;
}
.ow-cat__list li {
  border-bottom: 1px solid #e5e7eb;
}
.ow-cat__list a {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 0;
  font-size: 0.95rem; font-weight: 500;
  color: #051c2c; text-decoration: none;
  transition: color 0.2s;
}
.ow-cat__list a::before {
  content: '\203A'; color: var(--clr-gold);
  font-size: 1.2rem; font-weight: 700;
  line-height: 1; flex-shrink: 0;
}
.ow-cat__list a:hover { color: var(--clr-gold); }

/* ── CTA Band ── */
.ow-cta {
  background: var(--clr-navy);
  padding: 5rem 0;
  text-align: center;
}
.ow-cta__title {
  font-family: var(--ff-heading);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: #fff; font-weight: 500;
  margin-bottom: 1rem;
}
.ow-cta__desc {
  font-size: 1.05rem; color: rgba(255,255,255,0.65);
  max-width: 550px; margin: 0 auto 2rem; line-height: 1.7;
}
.ow-cta__btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background-color: #FAF9F6 !important; color: #0d6efd !important;
  font-weight: 500; font-size: 0.95rem;
  padding: 0.85rem 2.5rem;
  border: none !important; border-radius: 4px !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  text-decoration: none;
  transition: all 0.3s ease;
}
.ow-cta__btn:hover {
  background-color: #ffffff !important;
  color: #0b5ed7 !important;
  transform: translateY(-1px);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* ── Responsive ── */
@media (max-width: 767px) {
  .ow-featured { padding: 3rem 0; }
  .ow-featured__heading { margin-bottom: 2rem; }
  .ow-featured__grid { gap: 1.25rem; }
  .ow-fcard { flex: 1 1 100%; max-width: 100%; }
  .ow-fcard__img { aspect-ratio: 16/9; }
  .af-modal__body { padding: 1.5rem 1.25rem; }
  .af-modal__header { padding: 1.25rem 1.5rem; }
  .af-modal__title { font-size: 1.2rem; }
}
@media (max-width: 575px) {
  .ow-fcard__title { font-size: 0.95rem; }
  .ow-fcard__desc { font-size: 0.88rem; }
}
@media (max-width: 480px) {
  .ow-hero__content { padding: 5rem 1rem 3rem; }
  .ow-hero__title { font-size: clamp(1.3rem, 6vw, 1.8rem); }
  .ow-hero__desc { font-size: 0.88rem; }
  .ow-featured { padding: 2rem 0; }
  .ow-detail { padding: 3rem 0; }
  .ow-detail__title { font-size: clamp(1.3rem, 5vw, 1.8rem); }
  .ow-detail__body { font-size: 0.88rem; }
  .ow-pill { font-size: 0.7rem; padding: 0.3rem 0.75rem; }
  .ow-cta { padding: 3rem 0; }
  .ow-cta__desc { font-size: 0.88rem; }
  .ow-categories { padding: 3rem 0; }
}
