:root {
  --ink: #16201a;
  --muted: #66736b;
  --line: #e6dede;
  --surface: #ffffff;
  --soft: #f7f4f4;
  --green: #ed2a32;
  --green-dark: #b51e24;
  --gold: #d6a72f;
  --clay: #b45f3b;
  --shadow: 0 22px 70px rgba(26, 6, 8, .12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  background: var(--surface);
  line-height: 1.6;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 5vw, 64px);
  background: rgba(255, 255, 255, .88);
  border-bottom: 1px solid rgba(223, 230, 223, .7);
  backdrop-filter: blur(16px);
}

.site-header.scrolled {
  box-shadow: 0 10px 30px rgba(26, 6, 8, .08);
}

.brand img {
  width: 142px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 6px;
  color: #2e1214;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a:hover {
  background: var(--soft);
  color: var(--green-dark);
}

/* Dil seçici — her zaman TR | EN | عر sırasında (LTR sabit) */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  direction: ltr;
  margin-inline-start: 12px;
  padding-inline-start: 12px;
  border-inline-start: 1px solid var(--line);
}

.lang-btn {
  min-height: 30px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  letter-spacing: .04em;
  transition: all .15s;
}

.lang-btn.active,
.lang-btn:hover {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

/* ── RTL desteği ────────────────────────────────────────── */
html[dir="rtl"] body {
  font-family: 'Noto Sans Arabic', 'Inter', Arial, sans-serif;
}

html[dir="rtl"] .site-header {
  flex-direction: row-reverse;
}

html[dir="rtl"] .site-nav {
  flex-direction: row-reverse;
}

html[dir="rtl"] .hero-media {
  background:
    linear-gradient(270deg, rgba(26, 6, 8, .88), rgba(26, 6, 8, .55) 46%, rgba(26, 6, 8, .18)),
    url("./images/slider/hero.jpg") center / cover no-repeat;
}

html[dir="rtl"] .intro-grid {
  direction: rtl;
}

html[dir="rtl"] .intro-feature {
  padding-left: 0;
  padding-right: 18px;
  border-left: none;
  border-right: 3px solid var(--green);
}

html[dir="rtl"] .contact-detail-item {
  text-align: right;
}

html[dir="rtl"] .contact-form input,
html[dir="rtl"] .contact-form textarea {
  text-align: right;
}

html[dir="rtl"] .subfilter,
html[dir="rtl"] .filter {
  font-family: 'Noto Sans Arabic', 'Inter', Arial, sans-serif;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  padding: 128px clamp(18px, 5vw, 64px) 42px;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(26, 6, 8, .88), rgba(26, 6, 8, .55) 46%, rgba(26, 6, 8, .18)),
    url("./images/slider/hero.jpg") center / cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 790px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(42px, 7vw, 84px);
  line-height: .98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 660px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, .88);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 6px;
  font-weight: 800;
}

.button.primary {
  color: #1a0608;
  background: var(--gold);
}

.button.secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .42);
}


.section {
  padding: 88px clamp(18px, 5vw, 64px);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 38px;
}

.section-heading.compact {
  margin-bottom: 24px;
}

.section-heading h2,
.quality h2,
.contact h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  font-size: 17px;
}

.intro {
  background: #fff;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
}

.intro-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px clamp(18px, 5vw, 64px);
}

.intro-content h2 {
  margin: 8px 0 20px;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.1;
  letter-spacing: 0;
}

.intro-lead {
  color: var(--muted);
  font-size: 17px;
  margin: 0 0 36px;
  max-width: 500px;
  line-height: 1.65;
}

.intro-features {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.intro-feature {
  padding-left: 18px;
  border-left: 3px solid var(--green);
}

.intro-feature strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 4px;
}

.intro-feature p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.intro-photo {
  padding: 80px clamp(18px, 5vw, 64px) 80px 0;
}

.intro-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
  display: block;
}

.solutions {
  background: #f7f5ef;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.solution {
  min-height: 210px;
  padding: 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid #e6dfcf;
}

.solution h3 {
  margin: 0 0 12px;
  font-size: 22px;
}

.solution p {
  margin: 0;
  color: var(--muted);
}

.categories {
  height: 14px;
  background: var(--green);
}

.products {
  background: #fff;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.filter {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

.filter.active,
.filter:hover {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

/* Alt kategori filtreleri */
.subfilters {
  margin-top: -16px;
  margin-bottom: 24px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--soft);
  border: 1px solid var(--line);
}

.subfilters [data-subgroup] {
  display: none;
}

.subfilters [data-subgroup]:not([hidden]) {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.subfilter {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all .15s;
}

.subfilter.active,
.subfilter:hover {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.product-card {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  min-height: 186px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 36px rgba(26, 6, 8, .06);
}

.product-card[hidden] {
  display: none;
}

.product-card img,
.product-card .no-img {
  width: 110px;
  height: 150px;
  border-radius: 6px;
  flex-shrink: 0;
}

.product-card img {
  padding: 8px;
  object-fit: contain;
  background: var(--soft);
}

.product-card .no-img {
  background: var(--soft);
}

.product-card span {
  color: var(--clay);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.product-card h3 {
  margin: 5px 0 8px;
  font-size: 17px;
  line-height: 1.3;
}

.product-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.quality {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  gap: 46px;
  background: #1a0608;
  color: #fff;
}

.quality-content p:not(.eyebrow) {
  color: rgba(255, 255, 255, .75);
  font-size: 17px;
}

.process {
  display: grid;
  gap: 12px;
}

.process div {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .06);
}

.process span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #150407;
  background: var(--gold);
  font-weight: 900;
}

.process p {
  margin: 0;
  color: rgba(255, 255, 255, .84);
  font-weight: 700;
}

.contact {
  background: var(--soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

/* İletişim bilgi kartları */
.contact-details {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.contact-detail-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 18px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 2px 8px rgba(22,32,26,.04);
  color: var(--ink);
}

.contact-detail-item strong {
  font-size: 15px;
  font-weight: 800;
  color: var(--green-dark);
}

.contact-detail-item span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* Sosyal medya */
.contact-social {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
}

.contact-social a {
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
  background: #fff;
  color: var(--green-dark);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.contact-social a:hover {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

/* İletişim formu */
.contact-form {
  display: grid;
  gap: 12px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  outline: none;
  transition: border-color .15s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--green);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  padding: 14px 28px;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: background .15s;
}

.contact-form button:hover {
  background: var(--green-dark);
}

/* Harita */
.contact-right {
  position: sticky;
  top: 96px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px clamp(18px, 5vw, 64px);
  color: rgba(255, 255, 255, .6);
  background: #120406;
}

.site-footer p {
  margin: 0;
  font-size: 13px;
}

@media (max-width: 1080px) {
  .solution-grid,
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro-grid,
  .quality,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .intro-photo {
    padding: 32px clamp(18px, 5vw, 64px) 48px clamp(18px, 5vw, 64px) !important;
  }

  .intro-photo img {
    height: 280px;
    width: 100%;
  }

  .contact-right {
    position: static;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 72px;
  }

  .site-header {
    min-height: 68px;
    padding: 12px 18px;
  }

  .brand img {
    width: 118px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    padding: 10px 18px 18px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 34px rgba(26, 6, 8, .12);
  }

  .site-nav.open {
    display: grid;
  }

  .site-nav a {
    padding: 12px 0;
  }

  .hero {
    min-height: auto;
    padding-top: 112px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .hero-panel,
  .category-strip,
  .solution-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding-top: 62px;
    padding-bottom: 62px;
  }

  .product-card {
    grid-template-columns: 82px 1fr;
  }

  .product-card img {
    width: 82px;
    height: 118px;
  }

  .site-footer {
    display: grid;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-social {
    flex-wrap: wrap;
  }
}
