/* =========================================================
   PUNTEMA — Kurumsal web sitesi stil dosyası
   Marka renkleri: teal #0C7C8C  |  turuncu #E07B18
   RTL (Arapça) uyumlu — mantıksal (logical) özellikler kullanır
   ========================================================= */

:root {
  --teal-900: #06333A;
  --teal-800: #0A5560;
  --teal-700: #0C7C8C;
  --teal-600: #0E8A9C;
  --teal-500: #17A2B4;
  --teal-50:  #EAF6F8;
  --orange:      #E07B18;
  --orange-600:  #C4650F;
  --orange-50:   #FDF1E3;

  --ink:    #14262B;
  --slate:  #4C5F65;
  --muted:  #6E7F84;
  --line:   #E4EAEC;
  --bg:     #FFFFFF;
  --bg-soft:#F4F8F9;

  --maxw: 1200px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(16,40,45,.06), 0 2px 8px rgba(16,40,45,.05);
  --shadow-md: 0 8px 24px rgba(9,50,58,.10);
  --shadow-lg: 0 20px 50px rgba(9,50,58,.16);

  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;

  --ease: cubic-bezier(.22,.61,.36,1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; overflow-x: clip; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Erişilebilir "içeriğe geç" bağlantısı — yatay taşma yaratmadan dikeyde gizlenir */
.skip-link {
  position: fixed; inset-block-start: -60px; inset-inline-start: 12px; z-index: 200;
  background: var(--teal-700); color: #fff; padding: .65rem 1.1rem; border-radius: 0 0 10px 10px;
  font-weight: 700; text-decoration: none; transition: inset-block-start .2s var(--ease);
}
.skip-link:focus { inset-block-start: 0; color: #fff; }

h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; color: var(--ink); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.75rem); }
h3 { font-size: 1.28rem; letter-spacing: -.01em; }
p  { margin: 0 0 1rem; }
a  { color: var(--teal-700); text-decoration: none; transition: color .18s var(--ease); }
a:hover { color: var(--orange-600); }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; }

/* Arabic / RTL font tuning */
html[lang="ar"] body { font-family: "Segoe UI", Tahoma, "Noto Naskh Arabic", "Geeza Pro", system-ui, sans-serif; line-height: 1.8; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(20px, 5vw, 40px); }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--soft { background: var(--bg-soft); }
.section--teal { background: linear-gradient(160deg, var(--teal-800), var(--teal-900)); color: #EAF6F8; }
.narrow { max-width: 760px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal-700); margin-bottom: .9rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--orange); border-radius: 2px; }
.section--teal .eyebrow { color: #7FD3DF; }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--slate); font-size: 1.08rem; margin-bottom: 0; }
.section--teal .section-head p { color: #BFE3E9; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font: inherit; font-weight: 700; font-size: 1rem; cursor: pointer;
  padding: .85rem 1.5rem; border-radius: 999px; border: 1.5px solid transparent;
  transition: transform .16s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease), color .2s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn--primary { background: var(--teal-700); color: #fff; box-shadow: 0 6px 16px rgba(12,124,140,.28); }
.btn--primary:hover { background: var(--teal-800); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(12,124,140,.34); }
.btn--accent { background: var(--orange); color: #fff; box-shadow: 0 6px 16px rgba(224,123,24,.30); }
.btn--accent:hover { background: var(--orange-600); color: #fff; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--teal-700); border-color: rgba(12,124,140,.35); }
.btn--ghost:hover { background: var(--teal-50); color: var(--teal-800); border-color: var(--teal-700); }
.btn--light { background: #fff; color: var(--teal-800); }
.btn--light:hover { background: #EAF6F8; color: var(--teal-900); transform: translateY(-2px); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn--outline-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn--lg { padding: 1rem 1.9rem; font-size: 1.05rem; }
.btn--block { display: flex; width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid transparent; transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(9,50,58,.08); border-bottom-color: var(--line); }
/* Buzlu-cam efekti yalnızca masaüstünde: backdrop-filter, header'ı fixed öğeler için
   "içeren blok" yaptığından mobil açılır menünün yüksekliğini bozuyordu. */
@media (min-width: 941px) {
  .site-header { background: rgba(255,255,255,.9); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); }
}
.nav { display: flex; align-items: center; gap: 1.5rem; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: .6rem; flex: none; }
.brand:hover { color: inherit; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-word { font-size: 1.5rem; font-weight: 800; letter-spacing: .02em; color: var(--teal-700); line-height: 1; }
.brand-word small { display: block; font-size: .56rem; letter-spacing: .34em; font-weight: 600; color: var(--muted); margin-top: 3px; }
.brand-logo { height: 42px; width: auto; display: block; }
.footer-brand .brand-logo { height: 48px; }
@media (max-width: 560px) { .brand-logo { height: 34px; } }

.nav-links { display: flex; align-items: center; gap: .25rem; margin-inline-start: auto; list-style: none; }
.nav-links a { color: var(--slate); font-weight: 600; font-size: .97rem; padding: .5rem .8rem; border-radius: 8px; }
.nav-links a:hover { color: var(--teal-800); background: var(--teal-50); }

.nav-actions { display: flex; align-items: center; gap: .6rem; margin-inline-start: .5rem; }

/* Language switcher */
.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: .4rem; background: transparent; border: 1.5px solid var(--line);
  color: var(--slate); font: inherit; font-weight: 700; font-size: .9rem; padding: .5rem .8rem; border-radius: 999px; cursor: pointer;
}
.lang-btn:hover { border-color: var(--teal-700); color: var(--teal-800); }
.lang-btn svg { width: 1.05em; height: 1.05em; }
.lang-menu {
  position: absolute; inset-inline-end: 0; top: calc(100% + 8px); min-width: 172px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-md);
  padding: 6px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all .18s var(--ease); z-index: 120;
}
.lang.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu a { display: flex; align-items: center; gap: .6rem; padding: .55rem .7rem; border-radius: 8px; color: var(--slate); font-weight: 600; font-size: .95rem; }
.lang-menu a:hover { background: var(--teal-50); color: var(--teal-800); }
.lang-menu a[aria-current="true"] { color: var(--teal-700); background: var(--teal-50); }
.flag-svg { width: 22px; height: 15px; border-radius: 3px; flex: none; box-shadow: 0 0 0 1px rgba(0,0,0,.10); display: block; }
.lang .flag-svg { width: 22px; height: 15px; }

/* Hamburger */
.nav-toggle { display: none; background: transparent; border: 0; padding: 8px; cursor: pointer; color: var(--ink); margin-inline-start: auto; }
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: image-set(url("../img/sewing-lines-1600.webp") 1x);
  background-size: cover; background-position: center;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, rgba(6,51,58,.94) 0%, rgba(8,66,74,.86) 42%, rgba(10,85,96,.62) 100%);
}
html[dir="rtl"] .hero::after { background: linear-gradient(255deg, rgba(6,51,58,.94) 0%, rgba(8,66,74,.86) 42%, rgba(10,85,96,.62) 100%); }
.hero-inner { padding-block: clamp(72px, 12vw, 148px); max-width: 780px; }
.hero .eyebrow { color: #86D6E1; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 1.3rem + 4vw, 4rem); margin-bottom: 1.1rem; }
.hero h1 .accent { color: #FFB661; }
.hero-lead { font-size: clamp(1.05rem, .98rem + .5vw, 1.3rem); color: #DCEEF1; max-width: 620px; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2.6rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .5rem .6rem; }
.hero-badge { display: inline-flex; align-items: center; gap: .45rem; font-size: .9rem; font-weight: 600; color: #EAF6F8; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18); padding: .4rem .8rem; border-radius: 999px; }
.hero-badge svg { width: 1.05em; height: 1.05em; color: #7FD3DF; }

/* ---------- Stats bar ---------- */
.stats { background: #fff; border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: clamp(24px, 4vw, 40px) clamp(14px,2vw,28px); text-align: center; border-inline-start: 1px solid var(--line); }
.stat:first-child { border-inline-start: 0; }
.stat-num { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 2.9rem); font-weight: 800; color: var(--teal-700); letter-spacing: -.02em; line-height: 1; }
.stat-num small { font-size: .5em; color: var(--orange); font-weight: 800; }
.stat-label { margin-top: .5rem; color: var(--slate); font-size: .95rem; font-weight: 600; }

/* ---------- Services ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
  position: relative; overflow: hidden;
}
.card::after { content: ""; position: absolute; inset-inline-start: 0; top: 0; height: 3px; width: 0; background: var(--orange); transition: width .3s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.card:hover::after { width: 100%; }
.card-icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--teal-50); color: var(--teal-700); margin-bottom: 18px; }
.card-icon svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--slate); font-size: .98rem; margin-bottom: 0; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; counter-reset: step; position: relative; }
.step { position: relative; padding: 28px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step-num { counter-increment: step; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--teal-700); color: #fff; font-weight: 800; font-size: 1.1rem; margin-bottom: 14px; }
.step-num::before { content: counter(step, decimal-leading-zero); }
html[lang="ar"] .step-num::before { content: counter(step); }
.step h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.step p { color: var(--slate); font-size: .93rem; margin-bottom: 0; }

/* ---------- Facility / gallery ---------- */
.facility { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.facility-copy ul { list-style: none; margin-top: 1.4rem; display: grid; gap: .8rem; }
.facility-copy li { display: flex; gap: .75rem; align-items: flex-start; color: var(--slate); }
.facility-copy li svg { width: 22px; height: 22px; flex: none; color: var(--teal-600); margin-top: 3px; }
.facility-copy li strong { color: var(--ink); font-weight: 700; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 1fr; gap: 14px; }
.gallery figure { margin: 0; border-radius: var(--radius-sm); overflow: hidden; position: relative; aspect-ratio: 4/3; box-shadow: var(--shadow-sm); }
.gallery figure.tall { grid-row: span 2; aspect-ratio: 4/5; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption {
  position: absolute; inset-inline: 0; bottom: 0; padding: 26px 16px 12px; font-size: .82rem; font-weight: 600; color: #fff;
  background: linear-gradient(to top, rgba(6,51,58,.82), transparent);
}

/* ---------- Sectors ---------- */
.sector-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 16px; }
.sector { display: flex; align-items: center; gap: .9rem; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); font-weight: 600; color: var(--ink); }
.sector svg { width: 26px; height: 26px; color: var(--teal-600); flex: none; }

/* ---------- Feature list (Why us) on teal ---------- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 26px 34px; }
.feature { display: flex; gap: 1rem; align-items: flex-start; }
.feature-ic { width: 48px; height: 48px; flex: none; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.10); color: #7FD3DF; border: 1px solid rgba(255,255,255,.16); }
.feature-ic svg { width: 26px; height: 26px; }
.feature h3 { color: #fff; font-size: 1.12rem; margin-bottom: .3rem; }
.feature p { color: #C2E4E9; font-size: .96rem; margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #C7E6EB; max-width: 620px; margin-inline: auto; margin-bottom: 2rem; font-size: 1.1rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px,5vw,60px); align-items: start; }
.contact-info { display: grid; gap: 14px; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; padding: 18px 20px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.contact-item svg { width: 26px; height: 26px; color: var(--teal-700); flex: none; margin-top: 2px; }
.contact-item .k { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; margin-bottom: 2px; }
.contact-item .v { font-weight: 600; color: var(--ink); }
.contact-item a.v:hover { color: var(--orange-600); }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 38px); box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .4rem; color: var(--ink); }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); padding: .8rem .95rem;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field textarea { resize: vertical; min-height: 128px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--teal-600); box-shadow: 0 0 0 3px rgba(14,138,156,.15); }
.form small { color: var(--muted); font-size: .82rem; display: block; margin-top: .8rem; }
.form-note { background: var(--orange-50); border: 1px dashed var(--orange); color: #8a4f10; font-size: .82rem; padding: .7rem .9rem; border-radius: 10px; margin-bottom: 18px; }

.contact-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.contact-cta .btn { flex: 1 1 auto; }
.contact-map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); min-height: 480px; height: 100%; }
.contact-map iframe { width: 100%; height: 100%; min-height: 480px; border: 0; display: block; }
@media (max-width: 560px) { .contact-map, .contact-map iframe { min-height: 340px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-900); color: #B9D9DE; padding-block: clamp(48px,7vw,72px) 28px; font-size: .95rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.10); }
.footer-brand .brand-word { color: #fff; }
.footer-brand p { color: #9FC6CD; margin-top: 1rem; max-width: 34ch; }
.footer-social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.footer-social a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #CFE7EB; }
.footer-social a:hover { background: var(--orange); color: #fff; }
.footer-social svg { width: 20px; height: 20px; }
.footer-col h4 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: grid; gap: .6rem; }
.footer-col a { color: #B9D9DE; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: .7rem; color: #B9D9DE; }
.footer-contact svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: #7FD3DF; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; color: #7FA8B0; font-size: .86rem; }
.footer-bottom a { color: #9FC6CD; }

/* WhatsApp float */
.wa-float {
  position: fixed; inset-block-end: 22px; inset-inline-end: 22px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37,211,102,.4); transition: transform .2s var(--ease);
}
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float svg { width: 32px; height: 32px; }

/* ---------- Reveal animation (JS varsa gizle; JS yoksa içerik her zaman görünür) ---------- */
.reveal { transition: opacity .6s var(--ease), transform .6s var(--ease); }
html.js .reveal { opacity: 0; transform: translateY(24px); }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Mobile ---------- */
@media (max-width: 940px) {
  .nav-links {
    position: fixed; inset-block: 72px 0; inset-inline-end: 0; width: min(320px, 82vw);
    flex-direction: column; align-items: stretch; gap: 4px; background: #fff; padding: 20px;
    box-shadow: var(--shadow-lg); transform: translateX(110%); transition: transform .3s var(--ease); overflow-y: auto;
  }
  html[dir="rtl"] .nav-links { transform: translateX(-110%); }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { padding: .85rem 1rem; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-toggle { display: inline-flex; order: 3; }
  .nav-actions { margin-inline-start: auto; }
  .nav-actions .btn--primary { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-inline-start: 0; }
  .facility { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 auto; }
  .gallery figure.tall { grid-row: span 1; aspect-ratio: 4/3; }
  .lang-btn .lang-name { display: none; }
}
