/* ============================================================
   SUMAŞ A.Ş. Kurumsal Web Sitesi
   Sade, erişilebilir, kurumsal stil
   ============================================================ */

/* --- Tasarım değişkenleri --- */
:root {
  --navy:        #1c1c1e;   /* Koyu zemin (logo arka planı) — başlıklar & koyu bölümler */
  --navy-700:    #2c2c2f;
  --navy-50:     #fceee7;   /* Açık turuncu tonu — ikon zeminleri */
  --timber:      #e0612e;   /* Marka turuncusu (logodan) — ana aksan */
  --timber-600:  #c44e20;   /* Koyu turuncu (hover) */
  --green:       #e0612e;   /* Tema turuncu (eski yeşil aksanlar turuncuya alındı) */
  --bg:          #ffffff;
  --bg-soft:     #f6f7f9;
  --bg-softer:   #fbfcfd;
  --text:        #1f2933;
  --muted:       #5b6770;
  --border:      #e5e8ec;
  --white:       #ffffff;
  --radius:      14px;
  --radius-sm:   9px;
  --shadow-sm:   0 1px 3px rgba(15,42,67,.06), 0 1px 2px rgba(15,42,67,.04);
  --shadow:      0 8px 24px rgba(15,42,67,.08);
  --shadow-lg:   0 18px 48px rgba(15,42,67,.12);
  --maxw:        1140px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* --- Sıfırlama & temel --- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy-700); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--timber-600); }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.25; font-weight: 700; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }

/* Erişilebilirlik: klavye odak halkası */
a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--timber);
  outline-offset: 2px;
  border-radius: 4px;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color:#fff; }

/* --- Düzen yardımcıları --- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--soft { background: var(--bg-soft); }
.section__head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section__head p { color: var(--muted); font-size: 1.08rem; }
.eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: .12em;
  font-size: .8rem; font-weight: 700; color: var(--timber-600); margin-bottom: 12px;
}
.lead { font-size: 1.15rem; color: var(--muted); }

/* --- Butonlar --- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: .98rem;
  border: 1.5px solid transparent; cursor: pointer; transition: all .18s ease; white-space: nowrap;
}
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-700); color:#fff; transform: translateY(-1px); }
.btn--accent { background: var(--timber); color: #fff; }
.btn--accent:hover { background: var(--timber-600); color:#fff; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn--lg { padding: 16px 32px; font-size: 1.05rem; }

/* --- Üst bilgi / navigasyon --- */
.topbar {
  background: var(--navy); color: #cdd9e5; font-size: .85rem;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 18px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #cdd9e5; }
.topbar a:hover { color: #fff; }
.topbar__info { display: flex; gap: 20px; flex-wrap: wrap; }

.header { position: sticky; top: 0; z-index: 100; background: rgba(22,22,23,.95); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid rgba(255,255,255,.08); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo {
  width: 48px; height: 48px; border-radius: 10px; flex: none;
  object-fit: contain; display: block;
}
.brand__full { height: 50px; width: auto; display: block; }
.footer__brand .brand__full { height: 46px; }
@media (max-width: 720px) { .brand__full { height: 42px; } }
.brand__name { font-weight: 800; color: var(--navy); font-size: 1.15rem; letter-spacing: -.02em; line-height: 1.1; }
.brand__sub { display:block; font-weight: 500; color: var(--muted); font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; }

.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  display: block; padding: 10px 14px; border-radius: 8px; font-weight: 600; font-size: .96rem; color: #e6e6e8;
}
.nav__links a:hover { background: rgba(255,255,255,.1); color: #fff; }
.nav__links a.active { color: #fff; }
.nav__links a.active::after {
  content:""; display:block; height: 2px; background: var(--timber); border-radius: 2px; margin-top: 4px;
}
.nav__cta { margin-left: 8px; }

.nav__toggle { display: none; background: none; border: 1.5px solid rgba(255,255,255,.25); border-radius: 8px; width: 44px; height: 44px; cursor: pointer; }
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content:""; display:block; width: 20px; height: 2px; background: #fff; margin: 0 auto; position: relative; transition: .2s;
}
.nav__toggle span::before { position: absolute; top: -6px; }
.nav__toggle span::after { position: absolute; top: 6px; }

/* --- Hero --- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  min-height: calc(100vh - 113px); display: grid; align-items: center;
  background:
    linear-gradient(90deg, rgba(16,16,17,.95) 0%, rgba(16,16,17,.85) 38%, rgba(16,16,17,.55) 72%, rgba(16,16,17,.4) 100%),
    linear-gradient(0deg, rgba(16,16,17,.6) 0%, rgba(16,16,17,0) 45%),
    url("../img/fabrika.png") center 48% / cover no-repeat;
}
.hero .container { position: relative; z-index: 1; padding-top: 40px; padding-bottom: 40px; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; }
.hero p { color: #d3deea; font-size: 1.18rem; max-width: 540px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero__badge { display:inline-flex; gap:8px; align-items:center; background: rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.18); padding:6px 14px; border-radius:999px; font-size:.85rem; color:#e7eef5; margin-bottom: 22px; }

.hero__card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius); padding: 28px; backdrop-filter: blur(6px); }
.hero__card h3 { color: #fff; font-size: 1.05rem; margin-bottom: 18px; display:flex; align-items:center; gap:8px; }
.hero__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hero__stat .num { font-size: 1.9rem; font-weight: 800; color: #fff; line-height: 1; }
.hero__stat .lbl { font-size: .85rem; color: #b8c7d6; margin-top: 6px; }

/* --- Kartlar / grid --- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card__icon {
  width: 52px; height: 52px; border-radius: 12px; background: var(--navy-50); color: var(--timber-600);
  display: grid; place-items: center; margin-bottom: 18px;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin-bottom: 0; font-size: .98rem; }

/* Link kartı (yatırımcı köşesi) */
.linkcard {
  display: flex; flex-direction: column; gap: 12px; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); transition: all .18s ease; height: 100%;
}
.linkcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #cfd8e2; }
.linkcard__top { display:flex; align-items:center; justify-content: space-between; gap: 12px; }
.linkcard__icon { width: 46px; height: 46px; border-radius: 11px; background: var(--navy-50); color: var(--timber-600); display:grid; place-items:center; }
.linkcard__icon svg { width: 24px; height: 24px; }
.linkcard h3 { font-size: 1.12rem; margin: 0; color: var(--navy); }
.linkcard p { color: var(--muted); font-size: .94rem; margin: 0; flex: 1; }
.linkcard__go { display:inline-flex; align-items:center; gap:6px; font-weight:700; color: var(--timber-600); font-size:.92rem; }
.linkcard__go svg { width: 16px; height: 16px; }
.ext-badge { font-size:.7rem; text-transform: uppercase; letter-spacing:.08em; font-weight:700; color: var(--muted); background: var(--bg-soft); border:1px solid var(--border); padding:3px 8px; border-radius:6px; }

/* Yıllara göre rapor linkleri */
.report-links { display:flex; flex-wrap:wrap; gap:8px; margin-top:4px; }
.report-links a { display:inline-flex; align-items:center; gap:6px; background: var(--navy-50); color: var(--timber-600); border:1px solid var(--border); padding:8px 15px; border-radius:999px; font-weight:700; font-size:.92rem; }
.report-links a:hover { background: var(--timber); color:#fff; border-color: var(--timber); transform: translateY(-1px); }
.report-links a svg { width:14px; height:14px; }

/* Duyuru/evrak listesi (dikey) */
.doc-list { display:flex; flex-direction:column; gap:0; margin-top:6px; }
.doc-list a { display:flex; align-items:center; justify-content:space-between; gap:12px; color: var(--navy); font-weight:600; font-size:.9rem; line-height:1.35; padding:10px 0; border-top:1px solid var(--border); }
.doc-list a:first-child { border-top:none; }
.doc-list a:hover { color: var(--timber-600); }
.doc-list a .go { color: var(--timber-600); font-weight:700; flex:none; }

/* --- KAP vurgu bandı --- */
.kap-banner {
  background: linear-gradient(135deg, var(--navy), var(--navy-700)); color: #fff; border-radius: var(--radius);
  padding: 40px; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
}
.kap-banner h2 { color: #fff; margin-bottom: 8px; }
.kap-banner p { color: #cdd9e5; margin: 0; max-width: 560px; }

/* --- Ürün --- */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.product--rev { direction: rtl; }
.product--rev > * { direction: ltr; }
.product__media {
  border-radius: var(--radius); min-height: 320px; box-shadow: var(--shadow);
  display:grid; place-items:center; color: #fff; position: relative; overflow:hidden;
}
.product__photo { width: 100%; height: 100%; max-height: 440px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); display: block; }
.product__media.osb { background: linear-gradient(135deg, #e0612e, #b8431a); }
.product__media.pellet { background: linear-gradient(135deg, #2c2c2f, #1a1a1c); }
.product__media .pat { position:absolute; inset:0; opacity:.18; }
.product__media .label { position: relative; z-index:1; font-size: 1.4rem; font-weight: 800; letter-spacing:.04em; }
.tag-row { display:flex; gap:8px; flex-wrap:wrap; margin: 4px 0 18px; }
.tag { background: var(--navy-50); color: var(--navy); font-size:.82rem; font-weight:600; padding:5px 12px; border-radius:999px; }
.tag--green { background: var(--navy-50); color: var(--timber-600); }

.feature-list { list-style:none; padding:0; margin: 16px 0 0; }
.feature-list li { display:flex; gap:10px; align-items:flex-start; padding: 7px 0; color: var(--text); }
.feature-list svg { width: 20px; height: 20px; color: var(--green); flex:none; margin-top:3px; }

/* Tablo */
.table-wrap { overflow-x:auto; border:1px solid var(--border); border-radius: var(--radius); }
table.spec { width:100%; border-collapse: collapse; font-size: .96rem; }
table.spec th, table.spec td { padding: 14px 18px; text-align:left; border-bottom: 1px solid var(--border); }
table.spec th { background: var(--bg-soft); color: var(--navy); font-weight:700; }
table.spec tr:last-child td { border-bottom: none; }

/* --- Zaman çizelgesi --- */
.timeline { position: relative; margin: 0; padding: 0; list-style: none; }
.timeline::before { content:""; position:absolute; left: 14px; top: 6px; bottom: 6px; width: 2px; background: var(--border); }
.timeline li { position: relative; padding: 0 0 28px 48px; }
.timeline li::before {
  content:""; position:absolute; left: 7px; top: 4px; width: 16px; height:16px; border-radius:50%;
  background: var(--timber); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--border);
}
.timeline .year { font-weight: 800; color: var(--navy); display:block; }
.timeline p { color: var(--muted); margin: 4px 0 0; }

/* --- İletişim --- */
.contact-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.info-item { display:flex; gap:14px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.info-item:last-child { border-bottom: none; }
.info-item svg { width: 22px; height:22px; color: var(--timber-600); flex:none; margin-top:3px; }
.info-item .k { font-weight:700; color: var(--navy); margin-bottom: 2px; }
.info-item .v { color: var(--muted); }
.info-item a.v:hover { color: var(--timber-600); }

.form-field { margin-bottom: 18px; }
.form-field label { display:block; font-weight:600; color: var(--navy); margin-bottom: 6px; font-size:.92rem; }
.form-field input, .form-field textarea, .form-field select {
  width:100%; padding: 12px 14px; border:1.5px solid var(--border); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 1rem; color: var(--text); background: var(--bg-softer); transition: border-color .15s;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline:none; border-color: var(--navy); background:#fff; }
.form-note { font-size:.82rem; color: var(--muted); margin-top: 10px; }

.map-embed { border:0; width:100%; height: 100%; min-height: 360px; border-radius: var(--radius); }

/* --- CTA bandı --- */
.cta {
  background: linear-gradient(135deg, var(--timber), var(--timber-600)); color:#fff; text-align:center;
  border-radius: var(--radius); padding: 56px 32px;
}
.cta h2 { color:#fff; }
.cta p { color: rgba(255,255,255,.92); max-width: 560px; margin: 0 auto 26px; }

/* --- Sayfa başlığı (alt sayfalar) --- */
.page-hero { background: var(--navy); color:#fff; padding: 64px 0 56px; position: relative; overflow:hidden; }
.page-hero::after { content:""; position:absolute; inset:0; opacity:.1; background-image: repeating-linear-gradient(115deg, var(--timber) 0 2px, transparent 2px 22px); }
.page-hero .container { position: relative; z-index:1; }
.page-hero h1 { color:#fff; margin-bottom: 10px; }
.page-hero p { color:#cdd9e5; max-width: 640px; margin:0; }
.breadcrumb { font-size:.85rem; color:#9fb3c6; margin-bottom: 16px; }
.breadcrumb a { color:#cdd9e5; } .breadcrumb a:hover{ color:#fff; }

/* --- Alt bilgi --- */
.footer { background: #161617; color: #b8b8bb; padding: 60px 0 28px; font-size: .94rem; }
.footer a { color:#b8c7d6; } .footer a:hover { color:#fff; }
.footer__grid { display:grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr; gap: 36px; margin-bottom: 40px; }
.footer h4 { color:#fff; font-size: .95rem; text-transform: uppercase; letter-spacing:.08em; margin-bottom: 16px; }
.footer ul { list-style:none; padding:0; margin:0; }
.footer ul li { margin-bottom: 10px; }
.footer__brand { display:flex; align-items:center; gap:12px; margin-bottom: 16px; }
.footer__brand .brand__logo { background: rgba(255,255,255,.1); }
.footer__brand .brand__name { color:#fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; display:flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color:#7e93a6; font-size:.86rem; }
.kap-link-foot { display:inline-flex; align-items:center; gap:6px; background: rgba(255,255,255,.08); padding:6px 12px; border-radius:8px; font-weight:600; color:#fff; }

/* --- Yardımcılar --- */
.text-center { text-align:center; }
.mt-0 { margin-top:0; } .mb-0 { margin-bottom:0; }
.disclaimer { font-size:.82rem; color: var(--muted); background: var(--bg-soft); border:1px solid var(--border); border-left: 3px solid var(--timber); padding: 16px 18px; border-radius: 8px; }

/* --- Duyarlı (responsive) --- */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .product, .product--rev { grid-template-columns: 1fr; direction: ltr; gap: 28px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding: 56px 0; }
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: #1c1c1e; border-bottom: 1px solid rgba(255,255,255,.08); padding: 12px; gap: 2px;
    box-shadow: var(--shadow); display: none;
  }
  .nav__links.open { display: flex; }
  .nav__links a { padding: 12px 14px; }
  .nav__cta { margin: 8px 0 0; }
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .kap-banner { padding: 28px; }
  .topbar__info { display:none; }
  .footer__grid { grid-template-columns: 1fr; }
}

/* Hareket azaltma tercihi */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
