/* Shared styles for the özel yazılım & mobil uygulama landing pages */

/* ---------- Section rhythm: alternate white / soft-gray so each block reads
   as a distinct module instead of one long blended page ---------- */

.trust-strip,
.about,
.process-section {
  background-color: var(--bg-color-02);
}

.sector-helper,
.works {
  background-color: var(--white);
}

.sector-helper {
  padding-top: 0;
}

/* ---------- Landing-mode navbar (single CTA, no distracting links) ---------- */

.landing-nav .nav-manu-wrapper {
  display: none;
}

.landing-nav .nav-cta-block {
  margin-left: auto;
}

/* ---------- Hero -> trust strip breathing room ---------- */

.hero-cta-block {
  margin-bottom: 8px;
}

/* Keep the "50+ ... partneri" badge as a compact pill, on a single line
   instead of wrapping (it must NOT stretch to the full section width) */
.hero-social-block {
  width: fit-content;
  max-width: fit-content;
  white-space: nowrap;
}

/* ---------- Trust logo strip ---------- */

.trust-strip {
  border-bottom: 1px solid var(--stroke-color-01);
  padding: 72px 0;
}

.trust-strip-inner {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 40px;
  padding-right: 40px;
}

.trust-strip-label {
  text-align: center;
  color: var(--text-colors-04);
  margin-bottom: 28px;
}

.trust-strip-logos {
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 36px;
  display: flex;
}

.trust-strip-logos img {
  height: 32px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.55;
  transition: opacity 0.2s ease, filter 0.2s ease;
}

.trust-strip-logos img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* App-icon style variant: real app icons shown full-color as uniform
   rounded-square tiles, instead of the flat grayscale wordmark logos. */
.trust-strip-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background-color: var(--white);
  border: 1px solid var(--stroke-color-01);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.trust-strip-logos--icons .trust-strip-icon img {
  width: 70%;
  height: 70%;
  object-fit: contain;
  filter: none;
  opacity: 1;
  transition: transform 0.2s ease;
}

.trust-strip-icon:hover img {
  transform: scale(1.08);
}

/* ---------- Sector helper (tabs) ---------- */

.sector-tabs {
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  display: flex;
  margin-top: 48px;
}

.sector-tab {
  cursor: pointer;
  color: var(--text-colors-04);
  background-color: var(--white);
  border: 1px solid var(--stroke-color-01);
  border-radius: 48px;
  padding: 10px 20px;
  font-family: Manrope, sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.28px;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.sector-tab:hover {
  border-color: var(--primary-colors);
  color: var(--primary-colors);
}

.sector-tab.is-active {
  background-color: var(--button-color-02);
  border-color: var(--button-color-02);
  color: var(--white);
}

.sector-panels {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 40px;
}

.sector-panel {
  background-color: var(--bg-color-02);
  border: 1px solid var(--stroke-color-01);
  border-radius: 16px;
  padding: 40px;
  display: none;
}

.sector-panel.is-active {
  display: block;
}

.sector-panel p {
  color: var(--text-colors-04);
  margin: 0;
}

.sector-panel-links {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  display: flex;
}

.sector-panel-links a {
  color: var(--text-colors-03);
  background-color: var(--white);
  border: 1px solid var(--stroke-color-01);
  border-radius: 48px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.26px;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.sector-panel-links a:hover {
  border-color: var(--primary-colors);
  color: var(--primary-colors);
}

.sector-panel-cta {
  border-top: 1px solid var(--stroke-color-01);
  justify-content: flex-end;
  margin-top: 24px;
  padding-top: 20px;
  display: flex;
}

.sector-panel-cta a {
  color: var(--primary-colors);
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
}

.sector-panel-cta a:hover {
  text-decoration: underline;
}

/* ---------- Process timeline ---------- */

.process-timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-top: 72px;
}

.process-timeline::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--stroke-color-01);
}

.process-timeline-step {
  position: relative;
  z-index: 1;
  flex: 1;
  max-width: 320px;
  text-align: center;
  color: inherit;
  text-decoration: none;
  display: block;
  padding: 0 20px;
}

a.process-timeline-step {
  cursor: pointer;
  transition: transform 0.2s ease;
}

a.process-timeline-step:hover {
  transform: translateY(-3px);
}

a.process-timeline-step:hover h3 {
  color: var(--primary-colors);
}

a.process-timeline-step:hover .process-timeline-dot {
  background-color: var(--primary-colors);
}

.process-timeline-dot {
  color: var(--white);
  background-color: var(--button-color-02);
  border: 4px solid var(--bg-color-02);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  margin: 0 auto 16px;
  position: relative;
  transition: background-color 0.2s ease;
}

.process-timeline-pulse {
  border: 2px solid var(--primary-colors);
  border-radius: 50%;
  position: absolute;
  inset: -4px;
  animation: process-pulse 1.8s ease-out infinite;
}

@keyframes process-pulse {
  0% {
    opacity: 0.8;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.55);
  }
}

.process-timeline-step h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

.process-timeline-step p {
  color: var(--text-colors-04);
  margin: 0;
  font-size: 14px;
  line-height: 1.5em;
}

/* ---------- Guarantee / trust badges ---------- */

.guarantee-heading {
  margin-top: 88px;
}

.guarantee-note {
  color: var(--text-colors-04);
  text-align: center;
  white-space: nowrap;
  max-width: none;
  margin: 12px auto 0;
  font-size: 14px;
  line-height: 1.5em;
}

.guarantee-note strong {
  color: var(--text-colors-03);
}

.guarantee-badges {
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  display: grid;
  margin-top: 48px;
}

.guarantee-badge {
  text-align: center;
  background-color: var(--white);
  border: 1px solid var(--stroke-color-01);
  border-radius: 16px;
  padding: 24px 16px;
}

.guarantee-badge-icon {
  color: var(--primary-colors);
  margin-bottom: 12px;
  font-size: 28px;
  line-height: 1;
}

.guarantee-badge div.body-text-small {
  color: var(--text-colors-03);
  font-weight: 600;
}

/* ---------- Compact reference boxes (real project shots, no parallax) ---------- */

.reference-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  display: grid;
  margin-top: 56px;
}

.reference-card {
  background-color: var(--white);
  border: 1px solid var(--stroke-color-01);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  gap: 20px;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.reference-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.reference-card-image {
  background-color: var(--bg-color-02);
  border-radius: 12px;
  flex: 0 0 40%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.reference-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reference-card-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.reference-card-top {
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  display: flex;
  margin-bottom: 8px;
}

.reference-card-name {
  color: var(--text-colors-04);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.reference-card-rating {
  color: var(--text-colors-04);
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
}

.reference-card h3 {
  color: var(--text-colors-03);
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25em;
}

.reference-card p {
  color: var(--text-colors-04);
  flex-grow: 1;
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.5em;
}

.reference-card-tags {
  flex-wrap: wrap;
  gap: 8px;
  display: flex;
}

.reference-card-tags span {
  color: var(--text-colors-04);
  background-color: var(--bg-color-02);
  border-radius: 48px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 500;
}

@media screen and (max-width: 767px) {
  .reference-card {
    flex-direction: column;
  }

  .reference-card-image {
    flex: none;
    aspect-ratio: 16 / 9;
  }
}

/* ---------- Redesigned contact form ---------- */

/* The section sits on a soft gray page tone so the white form card actually
   reads as a distinct, elevated card instead of blending into the page. */
.contact-form-section {
  background-color: var(--bg-color-02);
}

/* This caption pill defaults to light text on a dark border (built for the
   dark FAQ section) — on this light section it was unreadable, so give it
   the light-theme treatment instead. */
.contact-form-section .caption-block-v2 {
  color: var(--text-colors-04);
  border-color: var(--stroke-color-01);
}

.contact-form-container {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 48px;
}

.contact-form-content {
  background-color: var(--white);
  border: 1px solid var(--stroke-color-01);
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 8px 40px rgba(11, 11, 11, 0.08);
}

.contact-description-block p {
  color: var(--text-colors-04);
  margin: 0 0 8px;
}

.contact-form {
  margin-top: 24px;
}

.form-fields-wrapper {
  gap: 18px;
  display: flex;
  flex-direction: column;
}

.form-fields-wrapper-inner {
  gap: 18px;
  align-items: stretch;
}

.form-field-block {
  flex: 1 1 0;
  min-width: 0;
  position: relative;
}

.form-field-label {
  color: var(--text-colors-04);
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  display: block;
}

.form-input-field {
  background-color: var(--bg-color-02) !important;
  color: var(--text-colors-03) !important;
  border: 1.5px solid rgba(11, 11, 11, 0.16) !important;
  border-radius: 12px !important;
  height: 54px !important;
  font-size: 15px !important;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input-field.textarea {
  height: 120px !important;
  padding-top: 14px !important;
}

.form-input-field::placeholder {
  color: var(--button-color) !important;
}

.form-input-field:focus {
  background-color: var(--white) !important;
  border-color: var(--primary-colors) !important;
  box-shadow: 0 0 0 3px rgba(8, 178, 254, 0.15);
  outline: none;
}

.form-submit-button {
  background-color: var(--primary-colors) !important;
  border-radius: 12px !important;
  height: 56px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.form-submit-button:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.turnstile-wrapper {
  margin-top: 4px;
}

/* The mobile-app hero heading has a manual line break after "Mobil" so it
   always reads as exactly 2 lines — the default 850px hero column is too
   narrow to fit "Uygulamanızı Geliştiriyoruz" on the second line without
   wrapping again, so widen just this heading's column. */
.hero-info-block:has(.hero-heading-2-line) {
  max-width: 1000px;
}

/* On mobile the heading breaks into 3 lines instead of 2 ("İçin" / "Mobil
   Uygulamanızı" / "Geliştiriyoruz") so it can run at a larger, more
   legible size — swap which manual <br>s are active. */
.hero-break-mobile,
.hero-break-mobile-2 {
  display: none;
}

@media screen and (max-width: 767px) {
  .hero-break-mobile,
  .hero-break-mobile-2 {
    display: inline;
  }

  .hero-break-desktop {
    display: none;
  }

  .hero-heading-2-line {
    font-size: 40px;
  }

  .trust-strip-logos--icons {
    flex-wrap: nowrap;
    gap: 8px;
  }

  .trust-strip-logos--icons .trust-strip-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }
}

/* Extra-narrow phones (e.g. iPhone SE 1st gen, 320px) need the heading a
   touch smaller still to keep the same 3-line break. */
@media screen and (max-width: 359px) {
  .hero-heading-2-line {
    font-size: 34px;
  }
}

/* ---------- Sticky mobile CTA bar ---------- */

.sticky-mobile-cta {
  display: none;
}

.about-title-block h2 {
  font-size: 62px;
  line-height: 1.2em;
}

@media screen and (max-width: 767px) {
  .about-title-block h2 {
    font-size: 28px;
  }

  .reference-card p {
    flex-grow: 0;
  }

  .hero-social-block {
    width: fit-content;
    max-width: calc(100vw - 32px);
    font-size: 12px;
    padding: 6px;
  }

  .hero-social-block .body-text-extra-small {
    font-size: 12px;
  }

  .process-timeline {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 56px;
  }

  .process-timeline::before {
    top: 0;
    bottom: 0;
    left: 20px;
    right: auto;
    width: 2px;
    height: auto;
  }

  .process-timeline-step {
    text-align: left;
    align-items: flex-start;
    gap: 20px;
    max-width: none;
    width: 100%;
    padding: 0 0 40px;
    display: flex;
  }

  .process-timeline-dot {
    flex-shrink: 0;
    margin: 0;
  }

  .guarantee-heading {
    margin-top: 56px;
  }

  .guarantee-note {
    white-space: normal;
  }

  .sector-panel {
    padding: 28px 24px;
  }

  .sticky-mobile-cta {
    z-index: 999;
    background-color: var(--white);
    border-top: 1px solid var(--stroke-color-01);
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    display: block;
    position: fixed;
    inset: auto 0 0 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  }

  .sticky-mobile-cta a {
    width: 100%;
    text-align: center;
    justify-content: center;
    display: flex;
  }

  .whatsapp-float {
    bottom: 86px !important;
  }

  .footer {
    padding-bottom: 116px !important;
  }

  .reference-grid {
    grid-template-columns: 1fr;
  }

  .guarantee-badges {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-strip {
    padding: 48px 0;
  }

  .trust-strip-logos {
    gap: 24px;
  }

  .trust-strip-logos img {
    height: 24px;
  }
}

/* ---------- "Code typing" effect for the <Özel Yazılım> / <Mobil Uygulama>
   tag inside the About heading ---------- */

/* The heading can wrap across 3 short lines once the <tag> forces its own
   line — center the paragraph column against it instead of top-aligning,
   so the two columns feel balanced rather than lopsided. */
.about-content-wrapper {
  align-items: center;
}

.code-type-heading {
  color: var(--primary-colors);
  font-family: "Courier New", monospace;
  white-space: nowrap;
}

.code-type-heading.is-typing {
  border-right: 3px solid var(--primary-colors);
  animation: code-type-blink 0.8s step-end infinite;
}

@keyframes code-type-blink {
  50% {
    border-color: transparent;
  }
}
