:root {
  /* Logo 4 arka planı ile birebir */
  --color-navy: #22364d;
  --color-header: #22364d;
  --color-gold: #ddb16e;
  --color-gold-hover: #c9a05e;
  --color-dark: #141414;
  --color-text: #7a7a7a;
  --color-white: #ffffff;
  --container: 1140px;
  --header-h: 80px;
  --font-sans: "Times New Roman", Times, serif;
  --font-serif: "Times New Roman", Times, serif;
  --font-body: "Times New Roman", Times, serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: #1b1b1b;
  line-height: 1.6;
  background: #fff;
  overflow-x: clip;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-body);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

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

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding-top: env(safe-area-inset-top, 0);
  background: transparent;
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

/* Anasayfa hero: üst bölüm logo/header rengiyle tek parça */
.site-header:not(.is-scrolled):not(.site-header--solid) {
  background: transparent;
  box-shadow: none;
}

.site-header--solid {
  position: sticky;
  background: var(--color-header);
}

.site-header.is-scrolled {
  background: var(--color-header);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  line-height: 0;
}

.brand img {
  display: block;
  width: min(220px, 48vw);
  height: auto;
  aspect-ratio: 3 / 1;
  object-fit: contain;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  align-items: center;
}

.nav a {
  color: var(--color-white);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.nav a:hover {
  color: var(--color-gold);
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  color: #fff;
  min-height: 44px;
  min-width: 44px;
  padding: 0.5rem 0.85rem;
  border-radius: 4px;
  cursor: pointer;
  font: inherit;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 2rem) 0 8rem;
  background-color: var(--color-navy);
  background-image: image-set(
    url("../img/hero-900.webp") type("image/webp"),
    url("../img/hero-900.jpg") type("image/jpeg")
  );
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--color-white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  /* Üstte opak header rengi; altta alpha ile hero fotoğrafı görünür */
  background: linear-gradient(
    180deg,
    var(--color-header) 0%,
    var(--color-header) calc(var(--header-h) + env(safe-area-inset-top, 0px) + 2rem),
    rgba(34, 54, 77, 0.88) 26%,
    rgba(15, 35, 65, 0.72) 48%,
    rgba(15, 35, 65, 0.48) 100%
  );
}

.hero > .container {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
}

.hero-grid {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.hero-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
  opacity: 0.9;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 600;
  margin: 0 0 1.25rem;
  min-height: 1.2em;
}

.typewriter-cursor {
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.hero-points {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 1.5rem;
}

.hero-list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
  min-width: 0;
}

.hero-badge-wrap {
  position: relative;
  flex-shrink: 0;
}

.hero-shield {
  display: block;
  width: 148px;
  height: auto;
}

.hero-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.hero-list li::before {
  content: "✓";
  flex-shrink: 0;
  font-weight: 700;
  color: var(--color-gold);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 4px;
  transition: transform 0.2s, opacity 0.2s;
}

.btn-icon:hover {
  transform: translateY(-2px);
}

.btn-icon--wa {
  background: #25d366;
}

.btn-icon--phone {
  background: var(--color-gold);
  color: var(--color-navy);
}

.btn-icon svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.hero-cta-text {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  max-width: 28rem;
  margin: 0 auto 0.75rem;
  text-align: center;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
}

.hero-phone {
  font-size: clamp(2.25rem, 4.5vw, 3rem);
  font-weight: 700;
  margin: 0;
  text-align: center;
  color: var(--color-gold);
}

.hero-phone a {
  color: inherit;
}

/* Form card */
.contact-form-card {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.contact-form {
  display: grid;
  gap: 0.75rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: none;
  border-radius: 4px;
  padding: 0.85rem 1rem;
  font: inherit;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.95);
  color: #333;
}

.contact-form textarea {
  min-height: 100px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #888;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.btn-submit {
  margin-top: 0.25rem;
  border: none;
  border-radius: 999px;
  padding: 0.9rem 2rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  background: var(--color-gold);
  color: var(--color-navy);
  transition: background 0.2s;
  justify-self: start;
}

.btn-submit:hover {
  background: var(--color-gold-hover);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-message {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  min-height: 1.25em;
}

.form-message--ok {
  color: #fff;
  font-weight: 600;
}

.form-message--err {
  color: #ffb4b4;
}

/* Sections (genel) */
.section {
  padding: 4.5rem 0;
}

.section--light {
  background: #f8f8f8;
}

.section-label {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5em;
  text-transform: lowercase;
  color: var(--color-text);
  margin: 0 0 2.5rem;
}

.section-label--on-dark {
  color: #f1f1f1;
}

.section-title {
  text-align: center;
  font-family: var(--font-sans);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin: 0 0 2.5rem;
}

.section-title--hero {
  font-size: clamp(1.75rem, 4vw, 3.25rem);
  letter-spacing: 0.35em;
  color: #fff;
  margin-bottom: 0;
}

.section-title--faq {
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}

.shape-divider {
  line-height: 0;
  overflow: hidden;
}

.shape-divider svg {
  display: block;
  width: 100%;
  height: 70px;
}

.shape-divider--hero {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
}

.shape-divider--hero svg {
  height: 36px;
}

.shape-divider--wave {
  position: relative;
  z-index: 0;
  pointer-events: none;
}

/* Hizmet kartları — sadece ikonlar dalga hizasında, metin hero’ya binmesin */
.section-services {
  position: relative;
  z-index: 5;
  margin-top: -88px;
  padding-top: 3rem;
  padding-bottom: 3rem;
  background: #fff;
  overflow: visible;
}

.section-calisma {
  margin-top: 1.5rem;
}

.section-services .container {
  overflow: visible;
}

.icon-box-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.icon-box-grid--overlap {
  max-width: 1300px;
  margin-inline: auto;
}

.icon-box-grid--pull-up {
  margin-top: 0;
  position: relative;
  z-index: 10;
}

.icon-box-card {
  position: relative;
  z-index: 1;
  background: #fff;
  padding: 50px 40px 50px;
  text-align: center;
  border: 10px solid transparent;
  transition: box-shadow 0.3s, border-radius 0.3s, background 0.3s;
}

.icon-box-card:hover {
  background: #f8fbff;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.13);
  border-radius: 20px;
}

.section-services .icon-box-card {
  padding-top: 1.75rem;
}

.section-calisma__body .icon-box-card {
  padding-top: 1.75rem;
}

.icon-box-card--raised {
  margin-top: -14px;
}

.icon-box-card__icon {
  width: 149px;
  height: 149px;
  margin: -2.75rem auto 1.25rem;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 3;
}

/* İkon yarısı mavi / yarısı beyaz (eski site) */
.section-services .icon-box-card__icon,
.section-calisma__body .icon-box-card__icon {
  margin-top: -6.75rem;
}

.icon-box-card__icon i {
  font-size: 55px;
  line-height: 1;
  color: var(--color-gold);
  transition: color 0.3s;
}

.icon-box-card:hover .icon-box-card__icon i {
  color: var(--color-navy);
}

.icon-box-card h3 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 1rem;
  color: var(--color-navy);
}

.icon-box-card p {
  margin: 0;
  font-size: 18px;
  font-weight: 300;
  color: var(--color-text);
  line-height: 1.55;
}

/* Çalışma alanları */
.section-calisma__hero {
  position: relative;
  padding: 160px 0 0;
  color: #fff;
  background-color: var(--color-dark);
  background-image: image-set(
    url("../img/hero-1200.webp") type("image/webp"),
    url("../img/hero-1200.jpg") type("image/jpeg")
  );
  background-position: bottom center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}

.section-calisma__hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.64);
  pointer-events: none;
  z-index: 0;
}

.section-calisma__intro {
  position: relative;
  z-index: 2;
  max-width: 955px;
  text-align: center;
  padding-bottom: 3.5rem;
}

.section-calisma__body {
  position: relative;
  z-index: 5;
  margin-top: -88px;
  padding-top: 3rem;
  background: #fff;
  padding-bottom: 5rem;
  overflow: visible;
}

.section-calisma__body .container {
  overflow: visible;
}

.section-calisma__intro .section-label {
  margin-bottom: 2.5rem;
  letter-spacing: 0.5em;
}

/* Biz kimiz hero */
.section-about-hero {
  position: relative;
  padding: 160px 0 0;
  text-align: center;
  color: #fff;
  background-color: var(--color-dark);
  background-image: image-set(
    url("../img/hero-1200.webp") type("image/webp"),
    url("../img/hero-1200.jpg") type("image/jpeg")
  );
  background-position: bottom center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}

.section-about-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.64);
  pointer-events: none;
  z-index: 0;
}

.section-about-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 955px;
  padding-bottom: 3.5rem;
}

.section-about-hero__inner .section-label {
  margin-bottom: 2.5rem;
  letter-spacing: 0.5em;
}

.section-about-hero .shape-divider--wave {
  position: relative;
  z-index: 1;
  margin-bottom: -1px;
}

.section-about-hero__text {
  max-width: 665px;
  margin: 0 auto 2rem;
  font-size: 16px;
  font-weight: 400;
  color: #fdfdfd;
  line-height: 1.65;
}

.btn-primary {
  display: inline-block;
  background: var(--color-gold);
  color: var(--color-navy);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  line-height: 1;
  padding: 21px 33px 18px;
  border-radius: 2px;
  box-shadow: 0 12px 39px rgba(0, 0, 0, 0.16);
  transition: background 0.2s, color 0.2s;
}

.btn-primary:hover {
  background: var(--color-navy);
  color: #fff;
}

/* SSS — iki sütun ikon kutusu (accordion değil) */
.section-faq {
  padding: 70px 0 100px;
  background: #fff;
  margin-top: 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem 1rem;
  max-width: 1160px;
  margin: 0 auto;
}

.faq-item {
  display: flex;
  align-items: flex-start;
  gap: 0;
  padding: 0.5rem 0.75rem;
  border: 10px solid transparent;
  transition: box-shadow 0.3s, border-radius 0.3s, background 0.3s;
}

.faq-item:hover {
  background: #fff;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.13);
  border-radius: 20px;
}

.faq-item__icon {
  flex-shrink: 0;
  width: 149px;
  height: 149px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.faq-item:hover .faq-item__icon {
  background: #fff;
}

.faq-item__icon i {
  font-size: 55px;
  line-height: 1;
  color: var(--color-navy);
  transition: color 0.3s;
}

.faq-item:hover .faq-item__icon i {
  color: var(--color-gold);
}

.faq-item__body {
  flex: 1;
  min-width: 0;
  padding: 0.5rem 1rem 0.5rem 0;
}

.faq-item h3 {
  margin: 0 0 0.35rem;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
  color: #1b1b1b;
  line-height: 1.35;
}

.faq-item p,
.faq-item li {
  margin: 0;
  font-size: 18px;
  font-weight: 300;
  color: var(--color-text);
  line-height: 1.5;
}

.faq-item ul {
  margin: 0.45rem 0 0;
  padding-left: 1.15rem;
}

.faq-item li + li {
  margin-top: 0.35rem;
}

.faq-grid.is-collapsed .faq-item:nth-child(n + 5) {
  display: none;
}

.faq-more-wrap {
  margin-top: 1.75rem;
  text-align: center;
}

button.faq-more {
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

/* Articles grid */
.articles-more-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.articles-grid .article-card:nth-child(n + 5) {
  display: none;
}

.articles-more-toggle:checked ~ .articles-grid .article-card:nth-child(n + 5) {
  display: block;
}

.articles-more-wrap {
  display: none;
  margin-top: 1.75rem;
  text-align: center;
}

.articles-grid:has(.article-card:nth-child(5)) ~ .articles-more-wrap {
  display: block;
}

.articles-more-toggle:checked ~ .articles-grid:has(.article-card:nth-child(5)) ~ .articles-more-wrap {
  display: none;
}

label.articles-more {
  cursor: pointer;
  text-decoration: none;
}

.article-card {
  background: #fff;
  border: 1px solid #eee;
  padding: 1.5rem;
  border-radius: 4px;
  transition: box-shadow 0.2s;
}

.article-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.article-card h3 {
  font-size: 1rem;
  margin: 0 0 0.5rem;
  line-height: 1.35;
}

.article-card time {
  font-size: 0.8rem;
  color: var(--color-text);
}

.article-card p {
  font-size: 0.9rem;
  color: var(--color-text);
  margin: 0.75rem 0 0;
}

.article-card a.read-more {
  display: inline-block;
  margin-top: 0.75rem;
  font-weight: 600;
  color: var(--color-navy);
  font-size: 0.85rem;
}

.contact-nap {
  text-align: center;
  margin: 1.75rem 0 0;
  font-size: clamp(1.25rem, 2.4vw, 1.5rem);
  line-height: 1.45;
  color: #fdfdfd;
}

.contact-nap strong {
  color: var(--color-gold);
}

.contact-nap a {
  color: inherit;
  font-weight: 500;
}

.site-footer .footer-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* Offices */
.offices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.office h3 {
  text-align: center;
  font-family: var(--font-serif);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.office iframe {
  width: 100%;
  height: 280px;
  border: 0;
  border-radius: 4px;
}

/* Footer */
.site-footer {
  background: var(--color-navy);
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  padding: 2.5rem 0;
}

.site-footer p {
  margin: 0.25rem 0;
}

.site-footer .copy {
  font-size: 0.85rem;
  opacity: 0.7;
}

[id] {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

@media (min-width: 1025px) {
  .section-calisma__hero,
  .section-about-hero {
    background-attachment: fixed;
  }
}

/* Responsive */
@media (min-width: 901px) {
  .hero {
    background-image: image-set(
      url("../img/hero-1200.webp") type("image/webp"),
      url("../img/hero-1200.jpg") type("image/jpeg")
    );
  }
}

@media (max-width: 900px) {
  .hero {
    background-attachment: scroll;
  }

  .hero-grid,
  .offices {
    grid-template-columns: 1fr;
  }

  .hero-shield {
    width: 112px;
  }

  .hero {
    padding-bottom: 5rem;
  }

  .section-services {
    margin-top: -52px;
    padding-top: 2.25rem;
    padding-bottom: 2rem;
  }

  .shape-divider--hero svg {
    height: 34px;
  }

  .icon-box-card__icon {
    width: 120px;
    height: 120px;
    margin-top: -2.5rem;
  }

  .icon-box-card__icon i,
  .faq-item__icon i {
    font-size: 44px;
  }

  .section-services .icon-box-card {
    padding-top: 1.5rem;
  }

  .section-calisma__body {
    margin-top: -52px;
    padding-top: 2.25rem;
  }

  .section-calisma__body .icon-box-card {
    padding-top: 1.5rem;
  }

  .section-services .icon-box-card__icon,
  .section-calisma__body .icon-box-card__icon {
    margin-top: -4.75rem;
  }

  .icon-box-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .icon-box-card--raised {
    margin-top: 0;
  }

  .icon-box-grid--pull-up {
    margin-top: 0;
    padding-top: 0;
  }

  .section-calisma__hero,
  .section-about-hero {
    padding-top: 80px;
  }

  .icon-box-card {
    padding: 0 20px 30px;
  }

  .icon-box-card p,
  .faq-item p,
  .faq-item li {
    font-size: 16px;
  }

  .faq-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 20px 30px;
  }

  .faq-item__icon {
    width: 120px;
    height: 120px;
  }

  .faq-item__body {
    padding: 0;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--color-header);
    padding: 1rem;
  }

  .nav.is-open {
    display: flex;
  }

  .header-inner {
    position: relative;
    flex-wrap: wrap;
  }
}

@media (max-width: 560px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}
