/* NEWFORM DENT — tema stilleri
 * Renk, tipografi ve boşluk sistemi React projesindeki --newform-* değişkenleriyle birebirdir.
 */

:root {
  --newform-navy: #0b1830;
  --newform-navy-dark: #102749;
  --newform-orange: #f26a21;
  --newform-white: #ffffff;
  --newform-surface: #f5f7fa;
  --newform-text: #0b1830;
  --newform-muted: #64748b;
  --newform-hairline: #e7ecf2;
  --newform-radius: 0.75rem;
  --newform-container: 80rem;
  --newform-shadow-card: 0 10px 30px -18px rgba(11, 24, 48, 0.35);
  --newform-shadow-elevated: 0 24px 60px -30px rgba(11, 24, 48, 0.45);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--newform-white);
  color: var(--newform-text);
  font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2 {
  letter-spacing: -0.02em;
}

h3,
h4 {
  letter-spacing: -0.01em;
}

h1,
h2,
h3,
h4 {
  line-height: 1.2;
  margin: 0 0 0.6em;
  font-weight: 800;
}

p {
  margin: 0 0 1em;
}

.nf-container {
  width: 100%;
  max-width: var(--newform-container);
  margin: 0 auto;
  padding-inline: 1.25rem;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.nf-skip-link:focus {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 9999;
  background: #fff;
  padding: 10px 16px;
  border-radius: 8px;
}

/* ---------- Butonlar ---------- */
.nf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--newform-radius);
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nf-btn:hover {
  transform: translateY(-1px);
}

.nf-btn--primary {
  background: var(--newform-orange);
  color: #fff;
}

.nf-btn--primary:hover {
  background: #d95a16;
}

.nf-btn--navy {
  background: var(--newform-navy);
  color: #fff;
}

.nf-btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.nf-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.nf-btn--outline {
  background: transparent;
  color: var(--newform-navy);
  border-color: var(--newform-hairline);
}

/* ---------- Üst iletişim bandı ---------- */
.nf-topbar {
  display: none;
  background: var(--newform-surface);
  border-bottom: 1px solid var(--newform-hairline);
  color: var(--newform-navy);
  font-size: 0.78rem;
}

.nf-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 40px;
}

.nf-topbar__right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nf-topbar__link,
.nf-topbar__social {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  line-height: 1;
}

.nf-topbar__link--address {
  min-width: 0;
}

.nf-topbar__link--address span {
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 42rem;
}

.nf-topbar__icon {
  width: 0.72rem;
  height: 0.72rem;
  flex-shrink: 0;
  color: var(--newform-orange);
  stroke: var(--newform-orange);
  vertical-align: middle;
}

.nf-topbar a:hover .nf-topbar__icon,
.nf-topbar__social:hover .nf-topbar__icon {
  color: var(--newform-orange);
  stroke: var(--newform-orange);
}

.nf-topbar__socials {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.nf-topbar a:hover {
  color: var(--newform-orange);
}

@media (min-width: 1024px) {
  .nf-topbar {
    display: block;
  }
}

/* ---------- Header ---------- */
.nf-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--newform-hairline);
}

.nf-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 78px;
}

.nf-logo img {
  width: 175px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  background: transparent;
  display: block;
}

@media (min-width: 1024px) {
  .nf-logo img {
    width: 182px;
  }
}

@media (max-width: 1023px) {
  .nf-logo img {
    width: 145px;
  }
}

.nf-nav {
  display: none;
}

@media (min-width: 1024px) {
  .nf-nav {
    display: block;
  }
}

.nf-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin: 0;
  padding: 0;
}

.nf-nav li {
  position: relative;
}

.nf-nav a {
  display: inline-block;
  padding: 0.5rem 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--newform-navy);
}

.nf-nav a:hover,
.nf-nav .current-menu-item > a {
  color: var(--newform-orange);
}

.nf-nav .sub-menu {
  position: absolute;
  left: 0;
  top: 100%;
  display: none;
  min-width: 250px;
  flex-direction: column;
  gap: 0;
  background: #fff;
  border: 1px solid var(--newform-hairline);
  border-radius: var(--newform-radius);
  box-shadow: var(--newform-shadow-card);
  padding: 0.5rem;
}

.nf-nav li:hover > .sub-menu,
.nf-nav li:focus-within > .sub-menu {
  display: flex;
}

.nf-nav .sub-menu a {
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  width: 100%;
}

.nf-nav .sub-menu a:hover {
  background: var(--newform-surface);
}

.nf-header__cta {
  display: none;
}

@media (min-width: 1024px) {
  .nf-header__cta {
    display: inline-flex;
  }
}

.nf-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--newform-hairline);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .nf-burger {
    display: none;
  }
}

.nf-mobile-menu {
  display: none;
  border-top: 1px solid var(--newform-hairline);
  background: #fff;
  padding-bottom: 1rem;
}

.nf-mobile-menu.is-open {
  display: block;
}

.nf-mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
}

.nf-mobile-menu .sub-menu {
  padding-left: 1rem;
}

.nf-mobile-menu a {
  display: block;
  padding: 0.7rem 0;
  font-weight: 600;
  border-bottom: 1px solid var(--newform-hairline);
}

/* ---------- Bölüm iskeleti ---------- */
.nf-section {
  padding: 4.5rem 0;
}

.nf-section--surface {
  background: var(--newform-surface);
}

.nf-section--navy {
  background: var(--newform-navy);
  color: #fff;
}

.nf-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--newform-orange);
  margin-bottom: 0.75rem;
}

.nf-section__head {
  max-width: 46rem;
  margin-bottom: 2.5rem;
}

.nf-section__title {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
}

.nf-muted {
  color: var(--newform-muted);
}

.nf-section--navy .nf-muted {
  color: rgba(255, 255, 255, 0.75);
}

/* ---------- Hero slider ---------- */
.nf-hero {
  position: relative;
  overflow: hidden;
  background: var(--newform-navy);
}

.nf-hero__slide {
  position: relative;
  display: none;
  min-height: 560px;
}

.nf-hero__slide.is-active {
  display: block;
}

.nf-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nf-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 24, 48, 0.94) 0%, rgba(11, 24, 48, 0.7) 55%, rgba(16, 39, 73, 0.4) 100%);
}

.nf-hero__content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 38rem;
  padding: 5rem 0;
}

.nf-hero__title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin-bottom: 1rem;
}

.nf-hero__title span {
  display: block;
}

.nf-hero__text {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.nf-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.nf-hero__dots {
  position: absolute;
  z-index: 3;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}

.nf-hero__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  padding: 0;
}

.nf-hero__dot.is-active {
  width: 28px;
  background: var(--newform-orange);
}

@media (max-width: 767px) {
  .nf-hero__slide {
    min-height: 460px;
  }
}

/* ---------- Sayfa bannerı ---------- */
.nf-page-banner {
  position: relative;
  background: var(--newform-navy);
  color: #fff;
  overflow: hidden;
}

.nf-page-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.nf-page-banner__inner {
  position: relative;
  z-index: 2;
  padding: 4rem 0;
}

.nf-breadcrumb {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- Izgaralar / kartlar ---------- */
.nf-grid {
  display: grid;
  gap: 1.5rem;
}

.nf-grid--2 {
  grid-template-columns: 1fr;
}

.nf-grid--3 {
  grid-template-columns: 1fr;
}

.nf-grid--4 {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .nf-grid--3,
  .nf-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .nf-grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .nf-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .nf-grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.nf-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--newform-hairline);
  border-radius: var(--newform-radius);
  overflow: hidden;
  box-shadow: var(--newform-shadow-card);
}

.nf-card__media {
  aspect-ratio: 4 / 3;
  background: var(--newform-surface);
}

.nf-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nf-card__body {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.nf-card__no {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--newform-orange);
}

.nf-card__title {
  font-size: 1.1rem;
  margin: 0;
}

.nf-card__text {
  color: var(--newform-muted);
  font-size: 0.95rem;
  margin: 0;
}

/* ---------- Trust strip ---------- */
.nf-trust {
  border-bottom: 1px solid var(--newform-hairline);
  background: var(--newform-surface);
  padding: 1.75rem 0;
}

.nf-trust__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-weight: 700;
  font-size: 0.9rem;
}

@media (min-width: 1024px) {
  .nf-trust__list {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- Medya + metin ---------- */
.nf-split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .nf-split {
    grid-template-columns: repeat(2, 1fr);
  }
}

.nf-split__media img {
  width: 100%;
  border-radius: var(--newform-radius);
  box-shadow: var(--newform-shadow-elevated);
}

.nf-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.nf-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
  color: var(--newform-muted);
}

.nf-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--newform-orange);
}

/* ---------- Video ---------- */
.nf-video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--newform-radius);
  overflow: hidden;
  background: #000;
  box-shadow: var(--newform-shadow-elevated);
}

.nf-video iframe,
.nf-video video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ---------- Sertifikalar ---------- */
.nf-cert {
  border: 1px solid var(--newform-hairline);
  border-radius: var(--newform-radius);
  background: #fff;
  padding: 0.75rem;
  cursor: zoom-in;
}

.nf-modal[hidden] {
  display: none;
}

.nf-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(11, 24, 48, 0.8);
}

.nf-modal__box {
  background: #fff;
  border-radius: var(--newform-radius);
  padding: 1rem;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow: auto;
}

.nf-modal__close {
  float: right;
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

/* ---------- SSS ---------- */
.nf-faq details {
  border: 1px solid var(--newform-hairline);
  border-radius: var(--newform-radius);
  background: #fff;
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
}

.nf-faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.nf-faq summary::-webkit-details-marker {
  display: none;
}

.nf-faq p {
  color: var(--newform-muted);
  margin: 0.75rem 0 0;
}

/* ---------- İletişim ---------- */
.nf-contact-grid {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .nf-contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.nf-form {
  display: grid;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--newform-hairline);
  border-radius: var(--newform-radius);
  padding: 1.75rem;
  box-shadow: var(--newform-shadow-card);
}

.nf-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.nf-field input,
.nf-field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--newform-hairline);
  border-radius: 10px;
  font: inherit;
  background: #fff;
  color: inherit;
}

.nf-field textarea {
  min-height: 140px;
  resize: vertical;
}

.nf-consent {
  display: flex;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--newform-muted);
}

.nf-notice {
  border-radius: 10px;
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
}

.nf-notice--ok {
  background: #ecfdf5;
  color: #065f46;
}

.nf-notice--error {
  background: #fef2f2;
  color: #991b1b;
}

/* ---------- CTA ---------- */
.nf-cta {
  background: var(--newform-navy);
  color: #fff;
  border-radius: var(--newform-radius);
  padding: 3rem 2rem;
  text-align: center;
}

/* ---------- Footer ---------- */
.nf-footer {
  background: var(--newform-navy);
  color: rgba(255, 255, 255, 0.78);
  padding-top: 3.5rem;
}

.nf-footer__grid {
  display: grid;
  gap: 2.25rem;
  padding-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .nf-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .nf-footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  }
}

.nf-footer__logo img {
  width: 190px;
  height: auto;
  object-fit: contain;
  margin-bottom: 1.1rem;
}

.nf-footer h3 {
  color: #fff;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nf-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nf-footer li {
  margin-bottom: 0.55rem;
  line-height: 1.7;
}

.nf-footer a:hover {
  color: var(--newform-orange);
}

.nf-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.25rem 0;
  font-size: 0.82rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}

/* ---------- Elementor uyumu ---------- */
.nf-entry-content > .elementor {
  margin-inline: calc(50% - 50vw);
  max-width: 100vw;
}

.page-template-template-full-width .nf-entry-content {
  max-width: none;
  padding: 0;
}


/* Süreç kartı — ilk kart (dijital tarama) görselinde yazı kesilmesin. */
.nf-card--contain .nf-card__media {
  background: #fff;
}

.nf-card--contain .nf-card__media img {
  object-fit: contain;
  padding: 0.4rem;
}

/* Hero slider okları */
.nf-hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(11, 24, 48, 0.45);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nf-hero__arrow:hover {
  background: var(--newform-orange);
  border-color: var(--newform-orange);
}

.nf-hero__arrow--prev { left: 14px; }
.nf-hero__arrow--next { right: 14px; }

@media (max-width: 767px) {
  .nf-hero__arrow { width: 38px; height: 38px; }
}

/* PDF sertifika kartı */
.nf-cert--pdf {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.1rem;
  background: #fff;
  border: 1px solid var(--newform-hairline);
  border-radius: var(--newform-radius);
  text-align: left;
}

.nf-cert__icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(242, 106, 33, 0.12);
  color: var(--newform-orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.75rem;
}

/* ---------- Trust strip ikonları ---------- */
.nf-trust__list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nf-trust__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(242, 106, 33, 0.12);
  color: var(--newform-accent, #f26a21);
}

/* ---------- Header navigasyon sadeleştirme (v1: header polish) ---------- */
.nf-header__inner {
  gap: 1rem;
  flex-wrap: nowrap;
}

.nf-nav ul {
  flex-wrap: nowrap;
  gap: 1.15rem;
}

.nf-nav a {
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.nf-nav .sub-menu {
  gap: 0;
}

.nf-nav .sub-menu a {
  white-space: nowrap;
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .nf-nav ul {
    gap: 0.85rem;
  }

  .nf-nav a {
    font-size: 0.86rem;
  }
}

/* Navigasyon sığmadığında sıkıştırmak yerine hamburger menüye geç. */
@media (max-width: 1119px) {
  .nf-nav,
  .nf-header__cta {
    display: none;
  }

  .nf-burger {
    display: inline-flex;
  }
}

/* ---------- İkon bandı hizası ---------- */
.nf-trust__list li {
  align-items: center;
  gap: 9px;
  line-height: 1.3;
}

.nf-trust__icon {
  color: var(--newform-orange, #f26a21);
}

.nf-trust__icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

/* ---------- Başlık okunaklılığı ---------- */
.nf-hero__title,
.nf-section__title,
.nf-page-banner__title {
  letter-spacing: 0.005em;
  word-spacing: 0.04em;
  line-height: 1.18;
}

/* Kurumsal üst iletişim bandı ve iletişim kartları: yalnızca yerel rötuşlar. */
.nf-topbar__right,
.nf-topbar__right .nf-topbar__link {
  white-space: nowrap;
}

.nf-contact-grid .nf-card__body > .nf-trust__icon {
  margin-bottom: 0.75rem;
}

.nf-nav > ul > .menu-item-has-children > a::after {
  content: "⌄";
  margin-left: 0.35rem;
  color: var(--newform-orange);
}

/* ---------- Fluent Forms: yalnızca NEWFORM form alanında marka görünümü ---------- */
.nf-fluent-form {
  padding: 1.75rem;
  border: 1px solid var(--newform-hairline);
  border-radius: var(--newform-radius);
  background: var(--newform-surface);
}

.nf-fluent-form .ff-el-input--label label {
  color: var(--newform-navy);
  font-weight: 650;
}

.nf-fluent-form .ff-el-form-control {
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--newform-hairline);
  border-radius: 0.65rem;
  background: var(--newform-white);
  color: var(--newform-text);
}

.nf-fluent-form .ff-el-form-control:focus {
  border-color: var(--newform-orange);
  box-shadow: 0 0 0 3px rgba(242, 106, 33, 0.12);
}

.nf-fluent-form .ff-btn-submit {
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  border: 0;
  border-radius: 0.65rem;
  background: var(--newform-orange);
  color: var(--newform-white);
  font-weight: 700;
}

/* ---------- WPML ve SEO: yalnızca yönetimden açıldığında görünür ---------- */
.nf-language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
}

.nf-language-switcher a[aria-current="true"] {
  color: var(--newform-orange);
}

.nf-page-banner__breadcrumbs {
  margin-bottom: 0.85rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
}

.nf-page-banner__breadcrumbs p {
  margin: 0;
}
