/* ==========================================================================
   Solida Tekstil — Ortak stiller (tüm sayfalarda kullanılır)
   Header, footer, butonlar, bölüm başlıkları, SDG ızgarası
   ========================================================================== */

/* ---------- Fontlar ---------- */
@font-face { font-family: "Satoshi"; src: url("../fonts/Satoshi-Light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonts/Satoshi-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonts/Satoshi-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonts/Satoshi-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonts/Satoshi-Black.woff2") format("woff2"); font-weight: 900; font-display: swap; }

/* Plus Jakarta Sans (değişken font, 200–800) */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/PlusJakartaSans-latin-ext.woff2") format("woff2");
  font-weight: 200 800; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/PlusJakartaSans-latin.woff2") format("woff2");
  font-weight: 200 800; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Renkler & ölçüler (Figma'dan) ---------- */
:root {
  --navy: #18283a;          /* footer, başlıklar, kart 1 */
  --navy-btn: #1a2634;      /* butonlar */
  --navy-text: #192432;     /* menü yazısı */
  --navy-dark: #303941;     /* kart 3 */
  --beige: #b1a496;         /* küçük etiketler, ikonlar */
  --beige-dark: #988a7b;    /* kart 2 */
  --beige-lang: #8f8274;    /* aktif dil */
  --taupe: #978d84;         /* sosyal ikon zemini */
  --cream: #f8f4f0;         /* açık bölüm zemini */
  --gray-text: #6b6e71;     /* paragraf */
  --border-light: #f2f2f2;
  --white: #ffffff;

  --font-main: "Satoshi", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-alt: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1320px;
  --gutter: 24px;
  --header-h: 100px;
}

/* ---------- Temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
/* Hiçbir öğe sayfayı yana taşıramasın (mobilde sayfa yakınlaşmış açılmasın) */
html, body { overflow-x: clip; max-width: 100%; }
body {
  margin: 0;
  font-family: var(--font-main);
  font-size: 16px;
  line-height: normal;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, h4, ul { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

.container {
  width: min(var(--container), 100% - 2 * var(--gutter));
  margin-inline: auto;
}
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  height: 50px; padding: 10px 24px;
  border-radius: 1000px;
  background: var(--navy-btn); color: var(--white);
  font-size: 16px; letter-spacing: 0.32px; white-space: nowrap;
  transition: background-color .25s ease, transform .25s ease;
}
.btn:hover { background: #2b3a4d; }
.btn img { transition: transform .25s ease; }
.btn:hover img { transform: translateX(3px); }
.btn--alt { font-family: var(--font-alt); }

/* ---------- Bölüm başlığı (etiket + çizgi + başlık + metin) ---------- */
.section-head { display: flex; flex-direction: column; gap: 12px; }
.section-head--center { align-items: center; text-align: center; }
.section-head__label { font-weight: 500; font-size: 16px; color: var(--beige); text-transform: uppercase; }
.section-head__line { width: 66px; height: 1px; background: var(--beige); }
.section-head__body { display: flex; flex-direction: column; gap: 16px; width: 100%; }
.section-head__title { font-size: 40px; font-weight: 500; line-height: normal; color: var(--navy); }
.section-head__title strong { font-weight: 900; }
.section-head__text { font-size: 16px; color: var(--gray-text); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: var(--white);
}
.site-header__inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.logo { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.logo__words { display: flex; flex-direction: column; gap: 8px; width: 121px; }
.logo__name { margin: -0.63px 0 -0.63px -0.64px; }
.logo__sub { display: flex; align-items: center; gap: 5px; }

.site-header__right { display: flex; align-items: center; gap: 36px; }
/* Masaüstü: menü başlıkları logo ile dil seçici (TR) arasındaki boşlukta tam ortalı */
@media (min-width: 1201px) {
  .site-header__inner { gap: 0; }
  .site-header__right { flex: 1; min-width: 0; }
  /* Soldaki boşluk, menü ile TR arasındaki boşluğa eşitlenir -> tam orta */
  .main-nav { flex: 1; display: flex; justify-content: center; padding-left: 36px; }
}
@media (min-width: 1201px) and (max-width: 1380px) { .main-nav { padding-left: 16px; } }

.main-nav__list { display: flex; align-items: center; gap: 28px; }
.main-nav__link {
  font-family: var(--font-alt); font-weight: 500; font-size: 16px;
  color: var(--navy-text); white-space: nowrap;
  transition: color .2s ease;
}
.main-nav__link:hover { color: var(--beige); }
.main-nav__link.is-active { font-weight: 700; color: var(--beige); }

/* Açılır menü (Kurumsal + dil seçici) */
.dropdown { position: relative; }
.dropdown__toggle { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.dropdown__chevron { transition: transform .2s ease; }
.dropdown.is-open .dropdown__chevron { transform: rotate(180deg); }
.dropdown__menu {
  position: absolute; top: calc(100% + 16px); left: -16px; z-index: 60; min-width: 190px;
  padding: 8px; border-radius: 12px; background: var(--white);
  box-shadow: 0 16px 40px rgba(24, 40, 58, .14);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.dropdown__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; } /* hover boşluğu */
.dropdown.is-open .dropdown__menu { opacity: 1; visibility: visible; transform: none; }
.dropdown__link {
  display: block; padding: 10px 14px; border-radius: 8px;
  font-family: var(--font-alt); font-weight: 500; font-size: 15px; color: var(--navy-text); white-space: nowrap;
  transition: background-color .2s ease, color .2s ease;
}
.dropdown__link:hover { background: var(--cream); color: var(--beige-dark); }
.dropdown__link.is-active { color: var(--beige); font-weight: 700; }
@media (hover: hover) and (min-width: 1201px) {
  .dropdown:hover .dropdown__menu { opacity: 1; visibility: visible; transform: none; }
  .dropdown:hover .dropdown__chevron { transform: rotate(180deg); }
}

.lang__toggle { font-family: var(--font-alt); font-size: 16px; font-weight: 700; letter-spacing: 0.32px; color: var(--beige-lang); padding: 6px 0; }
.lang__menu { left: auto; right: -12px; min-width: 76px; }

.social { display: flex; align-items: center; }
.social--header { gap: 13.333px; }
.social__item {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--taupe);
  transition: background-color .2s ease;
}
.social__item:hover { background: var(--navy); }

.nav-toggle { display: none; width: 44px; height: 44px; position: relative; }
.nav-toggle span {
  position: absolute; left: 10px; right: 10px; height: 2px; border-radius: 2px;
  background: var(--navy-text); transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Sayfa içi hero (iç sayfalar) ---------- */
.page-hero { position: relative; height: 500px; color: var(--white); overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .6); }
.page-hero--no-overlay::after { display: none; } /* görsel hazır karartılmış geldiğinde */

/* ---------- SDG (Sürdürülebilir Kalkınma Amaçları) ızgarası ---------- */
.sdg-grid { display: grid; grid-template-columns: repeat(9, 1fr); gap: 24px 12px; width: 100%; }
.sdg-grid img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.sdg-grid img.sdg-grid__logo { object-fit: contain; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--white); padding: 80px 0; }
.site-footer__inner { width: min(1280px, 100% - 2 * var(--gutter)); margin-inline: auto; display: flex; flex-direction: column; gap: 40px; }
.site-footer__top { display: flex; align-items: flex-start; gap: 117px; padding-bottom: 40px; }
.site-footer__brand { width: 429px; flex-shrink: 0; display: flex; flex-direction: column; gap: 30px; }

.footer-logo { position: relative; width: 148px; height: 134.3px; }
.footer-logo__mark { position: absolute; left: 44.1px; top: 0; }
.footer-logo__name { position: absolute; left: -0.78px; top: 87.83px; }
.footer-logo__sub { position: absolute; left: 0.65px; top: 125.99px; }

.site-footer__about { font-weight: 300; font-size: 16px; }
.social--footer { gap: 12px; padding-block: 8.36px; }
.social--footer .social__item { width: 34px; height: 34px; background: var(--white); }
.social--footer .social__item:hover { background: var(--beige); }

.site-footer__cols { flex: 1; min-width: 0; display: flex; gap: 62px; }
.site-footer__col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.site-footer__title { font-weight: 700; font-size: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; font-size: 16px; }
.footer-links a:hover { color: var(--beige); }

.contact-list { display: flex; flex-direction: column; gap: 8px; }
.contact-list li { display: flex; align-items: center; gap: 8px; font-size: 16px; line-height: 20px; }
.contact-list li:last-child { line-height: 24px; }
.contact-list a:hover { color: var(--beige); }
.contact-list__email { font-family: var(--font-alt); }
.contact-list__icon {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  background: var(--white); display: flex; align-items: center; justify-content: center;
}

.site-footer__line { height: 0; border-top: 1px solid rgba(255, 255, 255, .35); }
.site-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 15px; line-height: 20px; }
.site-footer__bottom a:hover { color: var(--beige); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1380px) {
  .main-nav__list { gap: 14px; }
  .site-header__right { gap: 16px; }
  .main-nav__link { font-size: 15px; }
}

@media (max-width: 1200px) {
  :root { --header-h: 80px; }
  .nav-toggle { display: block; }
  .site-header__right { gap: 16px; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: var(--white);
    border-top: 1px solid var(--border-light);
    box-shadow: 0 20px 30px rgba(24, 40, 58, .08);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  .main-nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 16px; }
  .main-nav__link { display: block; padding: 14px 0; border-bottom: 1px solid var(--border-light); }
  /* Mobil menüde "Kurumsal" alt menüsü akordeon gibi açılır */
  .main-nav .dropdown__toggle { display: flex; width: 100%; justify-content: space-between; text-align: left; }
  .main-nav .dropdown__menu {
    position: static; display: none; min-width: 0; padding: 0 0 0 16px; border-radius: 0;
    box-shadow: none; opacity: 1; visibility: visible; transform: none;
  }
  .main-nav .dropdown__menu::before { display: none; }
  .main-nav .dropdown.is-open .dropdown__menu { display: block; }
  .main-nav .dropdown__link { padding: 14px 0; border-radius: 0; border-bottom: 1px solid var(--border-light); background: none; }

  .site-footer__top { gap: 60px; }
  .site-footer__brand { width: 360px; }
}

@media (max-width: 992px) {
  .section-head__title { font-size: 34px; }
  .sdg-grid { grid-template-columns: repeat(6, 1fr); gap: 12px; }

  .site-footer__top { flex-direction: column; gap: 48px; padding-bottom: 0; }
  .site-footer__brand { width: 100%; max-width: 480px; }
  .site-footer__cols { width: 100%; }
}

@media (max-width: 768px) {
  :root { --gutter: 16px; }
  .social--header { display: none; }
  .section-head__title { font-size: 28px; }
  .page-hero { height: 360px; }
  .sdg-grid { grid-template-columns: repeat(3, 1fr); }

  .site-footer { padding: 56px 0; }
  .site-footer__cols { flex-direction: column; gap: 40px; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* Yardımcılar */
.section-head__label--plain { text-transform: none; }
address { font-style: normal; }
@media (max-width: 992px) { .br-desktop { display: none; } }

/* ==========================================================================
   İç sayfalar: hero içeriği + breadcrumb
   ========================================================================== */
.page-hero__content { position: relative; z-index: 1; padding-top: 190px; }
.page-hero__content > .container { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 1400px) { .page-hero__content > .container { transform: translateX(-6px); } } /* Figma: x=54 */
.page-hero__title { font-size: 60px; font-weight: 400; line-height: normal; }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 0; margin: 0; list-style: none; font-size: 17px; }
.breadcrumb li { display: flex; align-items: center; gap: 8px; }
.breadcrumb a:hover { color: var(--beige); }

@media (max-width: 768px) {
  .page-hero__content { padding-top: 130px; }
  .page-hero__title { font-size: 40px; }
  .breadcrumb ol { font-size: 16px; }
}
.section-head__title b { font-weight: 700; } /* Figma'da bazı başlıklar Black değil Bold */

/* ==========================================================================
   Rakamlar bandı (anasayfa + hakkımızda)
   ========================================================================== */
.stats { background: var(--cream); padding: 65px 0 60px; }
.stats__inner { display: flex; flex-direction: column; gap: 40px; }
.stats__row { display: flex; align-items: center; gap: 40px; }
.stat { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.stat__icon { height: 40px; width: auto; }
.stat__value { font-family: var(--font-alt); font-weight: 800; font-size: 40px; color: var(--navy); }
.stat__label { font-family: var(--font-alt); font-size: 16px; color: var(--gray-text); }
.stats__divider { width: 1px; height: 37px; background: var(--navy); flex-shrink: 0; }

@media (max-width: 992px) {
  .stats__row { flex-wrap: wrap; row-gap: 40px; }
  .stat { flex: 0 0 calc(50% - 20px); }
  .stats__divider { display: none; }
}
@media (max-width: 768px) { .stat__value { font-size: 32px; } }

/* ---------- Slider noktaları (ortak) ---------- */
.slider-dots { display: flex; align-items: center; gap: 13px; }
.slider-dots button {
  width: 30px; height: 4px; border-radius: 4px;
  background: var(--white); opacity: .5;
  transition: opacity .25s ease;
}
.slider-dots button.is-active,
.slider-dots button:hover { opacity: 1; }

/* ==========================================================================
   Formlar (iletişim + kariyer)
   ========================================================================== */
.form__field { display: flex; flex-direction: column; gap: 8px; }
.form__label { font-weight: 500; font-size: 15px; color: var(--navy); }
.form__label span { color: var(--beige-dark); }

.form__input {
  width: 100%; height: 56px; padding: 0 20px;
  border: 1px solid #f2f2f2; border-radius: 16px; background: var(--white);
  font: inherit; font-size: 16px; color: var(--navy);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form__input::placeholder { color: #9a9ca0; }
.form__input:focus { outline: none; border-color: var(--beige); box-shadow: 0 0 0 3px rgba(177, 164, 150, .2); }
.was-validated .form__input:invalid { border-color: #d0574a; }
textarea.form__input { height: 160px; padding: 16px 20px; border-radius: 24px; resize: vertical; }
select.form__input {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 48px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8' fill='none'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%2318283A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 20px center;
}
select.form__input:invalid { color: #9a9ca0; }

.form__consent { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--gray-text); cursor: pointer; }
.form__consent input { width: 20px; height: 20px; accent-color: var(--navy-btn); flex-shrink: 0; cursor: pointer; }
.form__consent a { color: var(--navy); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.was-validated .form__consent input:invalid + span { color: #d0574a; }

.btn--submit { min-width: 160px; } /* renk ve hover .btn ile aynı ("Ürünleri Keşfet" gibi) */

/* Dosya yükleme alanı (CV) */
.form__file {
  position: relative; display: flex; align-items: center; gap: 12px;
  height: 56px; padding: 0 8px 0 20px;
  border: 1px solid #f2f2f2; border-radius: 16px; background: var(--white); cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form__file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.form__file:focus-within { border-color: var(--beige); box-shadow: 0 0 0 3px rgba(177, 164, 150, .2); }
.form__file-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #9a9ca0; font-size: 16px; }
.form__file.has-file .form__file-name { color: var(--navy); }
.form__file-btn { flex-shrink: 0; padding: 10px 18px; border-radius: 12px; background: var(--cream); color: var(--navy); font-size: 14px; font-weight: 500; }
.was-validated .form__file:has(input:invalid) { border-color: #d0574a; }
.form__hint { font-size: 13px; color: var(--gray-text); }

/* İç sayfa başlığı uzun olduğunda daha küçük (Kurumsal) */
.page-hero--compact .page-hero__title { font-size: 48px; }
@media (max-width: 768px) { .page-hero--compact .page-hero__title { font-size: 32px; } }

/* Mobil: footer logosu daha küçük */
@media (max-width: 768px) { .footer-logo { zoom: .72; } }

/* Çok dar telefonlarda header'ın sığması için logo küçülür */
@media (max-width: 400px) {
  .logo { zoom: .8; }
  .site-header__right { gap: 10px; }
}

/* ---------- Sekmeler (İletişim, Tesislerimiz) ---------- */
.tabs { display: grid; grid-template-columns: repeat(2, 1fr); background: var(--cream); border-radius: 1000px; padding: 6px; }
.tabs__btn {
  height: 52px; border-radius: 1000px;
  font-size: 18px; font-weight: 500; color: var(--navy);
  transition: background-color .25s ease, color .25s ease;
}
.tabs__btn:hover { color: var(--beige-dark); }
.tabs__btn[aria-selected="true"] { background: var(--navy); color: var(--white); }
@media (max-width: 768px) { .tabs__btn { height: 46px; font-size: 16px; } }

/* ---------- Kaydırmalı görsel galerisi (Hakkımızda, Tesislerimiz) ---------- */
.carousel__viewport { overflow: hidden; width: 100%; }
.carousel__track { display: flex; gap: 16px; transition: transform .6s ease; }
.carousel__slide { flex: 0 0 calc((100% - 2 * 16px) / 3); aspect-ratio: 3 / 2; border-radius: 12px; overflow: hidden; }
.carousel__slide img { width: 100%; height: 100%; object-fit: cover; }
.slider-dots--dark button { background: var(--navy); opacity: .2; }
.slider-dots--dark button.is-active,
.slider-dots--dark button:hover { opacity: 1; }
.carousel__viewport { touch-action: pan-y; cursor: grab; }
.carousel__slide img { pointer-events: none; user-select: none; }
@media (max-width: 992px) { .carousel__slide { flex-basis: calc((100% - 16px) / 2); } }
@media (max-width: 768px) { .carousel__slide { flex-basis: 100%; } }

/* ---------- Ürün kartları (Ürün Grupları, Ürün Detay > Benzer Ürünler) ---------- */
.product-grid { width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 25px; }
.product-card { display: flex; flex-direction: column; gap: 16px; }
.product-card[hidden] { display: none; }
.product-card__media { height: 320px; border-radius: 12px; overflow: hidden; background: #f3f3f3; }
.product-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: 50% var(--pos-y, 0%);   /* Figma'daki kırpma konumu */
  transition: transform .6s ease;
}
.product-card:hover .product-card__media img { transform: scale(1.04); }
.product-card__name { font-weight: 500; font-size: 18px; color: var(--navy); }
@media (max-width: 1200px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 992px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .product-card__media { height: auto; aspect-ratio: 311.25 / 320; }
}
@media (max-width: 768px) { .product-card__name { font-size: 16px; } }
