/* ===========================================================
   Kale Pres — Kale Musluk Sanayi ve Ticaret A.S.
   Site stylesheet
   =========================================================== */

:root{
  --navy: #393185;
  --navy-dark: #201c4d;
  --navy-mid: #2c2768;
  --white: #ffffff;
  --off-white: #f5f6f9;
  --gray-bg: #eef0f4;
  --gray-line: #dde0e8;
  --gray-text: #5c6070;
  --steel: #8a93a3;
  --accent: #e07b1f;
  --accent-dark: #c2650f;
  --radius: 6px;
  --shadow: 0 10px 30px rgba(32,28,77,0.12);
  --maxw: 1180px;
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  color:#26283a;
  background:var(--white);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{
  font-family:'Barlow Condensed','Inter',sans-serif;
  font-weight:700;
  letter-spacing:.3px;
  color:var(--navy-dark);
  margin:0 0 .5em;
  line-height:1.15;
}
h1{ font-size: clamp(2.2rem, 4.5vw, 3.4rem); text-transform:uppercase; }
h2{ font-size: clamp(1.7rem, 3vw, 2.3rem); text-transform:uppercase; }
h3{ font-size:1.25rem; }
p{ margin:0 0 1em; color:var(--gray-text); }
a{ color:var(--navy); text-decoration:none; }
img{ max-width:100%; display:block; }
ul{ margin:0; padding:0; }
.container{ max-width:var(--maxw); margin:0 auto; padding:0 24px; }
section{ padding:72px 0; }
.section-alt{ background:var(--off-white); }
.section-dark{ background:var(--navy-dark); color:#c9cbe0; }
.section-dark h2, .section-dark h3{ color:var(--white); }
.section-dark p{ color:#b7b9d2; }

.eyebrow{
  display:inline-block;
  font-size:.75rem;
  font-weight:700;
  letter-spacing:2px;
  text-transform:uppercase;
  color:var(--accent);
  margin-bottom:10px;
}
.section-head{ max-width:720px; margin-bottom:40px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }

/* Buttons */
.btn{
  display:inline-block;
  padding:14px 30px;
  border-radius:var(--radius);
  font-weight:700;
  font-size:.9rem;
  letter-spacing:.5px;
  text-transform:uppercase;
  text-decoration:none;
  transition:all .2s ease;
  border:2px solid transparent;
  cursor:pointer;
}
.btn-primary{ background:var(--accent); color:var(--white); }
.btn-primary:hover{ background:var(--accent-dark); }
.btn-outline{ background:transparent; border-color:var(--white); color:var(--white); }
.btn-outline:hover{ background:var(--white); color:var(--navy-dark); }
.btn-outline-navy{ background:transparent; border-color:var(--navy); color:var(--navy); }
.btn-outline-navy:hover{ background:var(--navy); color:var(--white); }
.btn .play-ico{
  display:inline-block; width:0; height:0;
  border-top:6px solid transparent; border-bottom:6px solid transparent;
  border-left:9px solid currentColor;
  margin-right:9px; vertical-align:middle;
}

/* ===== Header ===== */
.site-header{
  position:sticky; top:0; z-index:100;
  border-bottom:1px solid var(--gray-line);
}
.site-header::before{
  content:'';
  position:absolute; inset:0;
  background:rgba(255,255,255,.97);
  backdrop-filter:blur(6px);
  z-index:-1;
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 0;
}
.logo-link{ display:flex; align-items:center; gap:10px; }
.logo-link img{ height:84px; width:auto; }
.nav-wrap{ display:flex; align-items:center; gap:20px; }
.lang-switch{
  display:flex; align-items:center; gap:8px;
  font-size:.78rem; font-weight:700; letter-spacing:.5px;
}
.lang-switch a{ color:var(--steel); text-transform:uppercase; transition:color .15s; }
.lang-switch a:hover{ color:var(--navy); }
.lang-switch a.lang-active{ color:var(--navy); pointer-events:none; }
.lang-switch .lang-sep{ color:var(--gray-line); }
.main-nav ul{ display:flex; gap:6px; list-style:none; align-items:center; }
.main-nav a{
  display:block;
  padding:10px 16px;
  font-size:.88rem;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.5px;
  color:var(--navy-dark);
  border-radius:var(--radius);
  transition:background .15s;
}
.main-nav a:hover, .main-nav a.active{ background:var(--gray-bg); color:var(--accent-dark); }
.nav-toggle{
  display:none;
  background:none; border:none; cursor:pointer;
  width:40px; height:40px; position:relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content:''; position:absolute; left:8px; right:8px; height:2px; background:var(--navy-dark);
}
.nav-toggle span{ top:19px; }
.nav-toggle span::before{ top:-8px; }
.nav-toggle span::after{ top:8px; }

/* ===== Hero ===== */
.hero{
  position:relative;
  min-height:78vh;
  display:flex;
  align-items:center;
  color:var(--white);
  background-size:cover;
  background-position:center;
  overflow:hidden;
}
.hero::before{
  content:'';
  position:absolute; inset:0;
  background:linear-gradient(115deg, rgba(24,21,64,.94) 0%, rgba(24,21,64,.78) 42%, rgba(24,21,64,.35) 78%);
}
.hero .container{ position:relative; z-index:2; }
.hero-tag{
  display:inline-block;
  font-size:1.05rem; font-weight:700; letter-spacing:2px; text-transform:uppercase;
  color:var(--accent); margin-bottom:18px;
}
.hero h1{ color:var(--white); max-width:820px; }
.hero p.lead{ font-size:1.15rem; max-width:560px; color:#dfe0f0; margin-bottom:28px; }
.hero-actions{ display:flex; gap:14px; flex-wrap:wrap; }
.page-hero{ min-height:42vh; }
.page-hero h1{ margin-bottom:10px; }
.breadcrumb{ font-size:.85rem; color:#c7c9e2; }
.breadcrumb a{ color:#c7c9e2; }
.breadcrumb a:hover{ color:var(--white); }

/* ===== Stats strip ===== */
.stats-strip{
  background:var(--navy);
  color:var(--white);
}
.stats-grid{
  display:grid; grid-template-columns:repeat(4,1fr); gap:24px;
  padding:36px 0;
}
.stat{ text-align:center; }
.stat b{
  display:block; font-family:'Barlow Condensed',sans-serif;
  font-size:2.6rem; font-weight:700; color:var(--white); line-height:1;
  margin-bottom:6px;
}
.stat span{ display:block; font-size:.82rem; color:#c3c5e2; text-transform:uppercase; letter-spacing:.5px; }

/* ===== Cards / grids ===== */
.grid{ display:grid; gap:28px; }
.grid-2{ grid-template-columns:repeat(2,1fr); }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-4{ grid-template-columns:repeat(4,1fr); }
.grid-6{ grid-template-columns:repeat(6,1fr); }

.card{
  background:var(--white);
  border:1px solid var(--gray-line);
  border-radius:var(--radius);
  padding:28px;
  transition:box-shadow .2s, transform .2s;
}
.card:hover{ box-shadow:var(--shadow); transform:translateY(-3px); }
.card .num{
  font-family:'Barlow Condensed',sans-serif; font-weight:700; font-size:2rem;
  color:var(--accent); margin-bottom:8px;
}
.card-thumb{ border-radius:4px; overflow:hidden; margin-top:14px; aspect-ratio:4/3; }
.card-thumb img{ width:100%; height:100%; object-fit:cover; }

.material-card{
  background:var(--white); border:1px solid var(--gray-line); border-top:4px solid var(--accent);
  border-radius:var(--radius); padding:26px;
}
.material-card h3{ margin-bottom:14px; font-size:1.1rem; text-transform:uppercase; }
.alloy-list{ list-style:none; margin:0; padding:0; }
.alloy-list li{ padding:8px 0; border-bottom:1px solid var(--gray-line); font-size:.9rem; color:var(--gray-text); }
.alloy-list li:last-child{ border-bottom:none; }

.contact-card{ text-align:center; }
.contact-card p{ margin-bottom:0; }
.contact-card p a{ font-weight:600; }
.circle-ico{
  width:58px; height:58px; border-radius:50%;
  background:var(--accent); color:var(--white);
  display:flex; align-items:center; justify-content:center;
  font-weight:700; font-family:'Barlow Condensed',sans-serif; font-size:1.5rem;
  margin:0 auto 18px;
}

.sector-card{
  position:relative; border-radius:var(--radius); overflow:hidden;
  min-height:160px; display:flex; align-items:flex-end;
  background:var(--navy-dark); color:var(--white);
}
.sector-card .tag{
  padding:16px; font-weight:700; text-transform:uppercase; font-size:.95rem; letter-spacing:.5px;
  background:linear-gradient(180deg, transparent, rgba(20,17,50,.85));
  width:100%;
}

.feature-row{ display:flex; gap:18px; align-items:flex-start; margin-bottom:26px; }
.feature-row .ico{
  flex:0 0 auto; width:46px; height:46px; border-radius:50%;
  background:var(--accent); color:var(--white);
  display:flex; align-items:center; justify-content:center; font-weight:700; font-family:'Barlow Condensed',sans-serif; font-size:1.2rem;
}
.feature-row h3{ margin-bottom:4px; font-size:1.1rem; }
.feature-row p{ margin:0; }

.img-frame{ border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); }
.img-frame img{ width:100%; height:100%; object-fit:cover; }

.split{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; }

.policy-block{
  border-left:4px solid var(--accent);
  padding:6px 0 6px 22px;
  margin-bottom:30px;
  scroll-margin-top:100px;
}
.policy-block h3{ margin-bottom:8px; text-transform:uppercase; font-size:1.1rem; color:var(--navy); }
.policy-block p:last-child{ margin-bottom:0; }

.policy-nav{
  display:flex; flex-wrap:wrap; gap:10px;
  margin-bottom:44px;
}
.policy-nav a{
  padding:9px 18px;
  border-radius:999px;
  border:1px solid var(--gray-line);
  background:var(--off-white);
  font-size:.82rem; font-weight:600;
  color:var(--navy-dark);
  transition:background .15s, color .15s, border-color .15s;
}
.policy-nav a:hover{ background:var(--navy); border-color:var(--navy); color:var(--white); }

.milestone{ border-left:3px solid var(--accent); padding:2px 0 2px 16px; }
.milestone .year{
  display:block; font-family:'Barlow Condensed',sans-serif; font-weight:700;
  font-size:1.6rem; color:var(--navy); line-height:1; margin-bottom:6px;
}
.milestone p{ margin:0; font-size:.92rem; }

.gallery-thumb{ border-radius:var(--radius); overflow:hidden; aspect-ratio:1/1; }
.gallery-thumb img{ width:100%; height:100%; object-fit:cover; transition:transform .3s; }
.gallery-thumb:hover img{ transform:scale(1.06); }

.cert-box{
  display:flex; gap:28px; align-items:flex-start;
  background:var(--white); border:1px solid var(--gray-line); border-radius:var(--radius);
  padding:24px; box-shadow:var(--shadow);
}
.cert-box p{ margin-bottom:14px; }
.cert-thumb{ flex:0 0 auto; display:block; }
.cert-thumb img{
  width:150px; height:auto; border-radius:4px; border:1px solid var(--gray-line);
  transition:transform .2s;
}
.cert-thumb:hover img{ transform:scale(1.03); }
.cert-box table.spec td{ padding:8px 10px; font-size:.9rem; }
.cert-box table.spec td:first-child{ color:var(--steel); font-weight:600; }

table.spec{ width:100%; border-collapse:collapse; }
table.spec th, table.spec td{ text-align:left; padding:14px 16px; border-bottom:1px solid var(--gray-line); }
table.spec th{ text-transform:uppercase; font-size:.78rem; letter-spacing:.5px; color:var(--steel); }

/* ===== CTA banner ===== */
.cta-banner{
  background:linear-gradient(120deg, var(--navy-dark), var(--navy));
  color:var(--white); text-align:center;
}
.cta-banner h2{ color:var(--white); }
.cta-banner p{ color:#c7c9e2; max-width:600px; margin:0 auto 26px; }

/* ===== Footer ===== */
.site-footer{ background:var(--navy-dark); color:#b7b9d2; padding-top:56px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:36px; padding-bottom:40px; }
.footer-grid h3{ color:var(--white); font-size:.95rem; text-transform:uppercase; letter-spacing:.5px; margin-bottom:16px; }
.footer-grid img.footer-logo{ height:42px; width:auto; margin-bottom:14px; filter:brightness(0) invert(1); }
.footer-grid ul{ list-style:none; }
.footer-grid ul li{ margin-bottom:10px; }
.footer-grid a{ color:#b7b9d2; }
.footer-grid a:hover{ color:var(--white); }
.footer-legal-links a{ color:#b7b9d2; }
.footer-legal-links a:hover{ color:var(--white); }
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.1);
  padding:20px 0; font-size:.82rem;
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px;
}

/* ===== Responsive ===== */
@media (max-width: 980px){
  .grid-4{ grid-template-columns:repeat(2,1fr); }
  .grid-3{ grid-template-columns:repeat(2,1fr); }
  .grid-6{ grid-template-columns:repeat(3,1fr); }
  .split{ grid-template-columns:1fr; gap:32px; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .stats-grid{ grid-template-columns:repeat(2,1fr); }
  .logo-link img{ height:68px; }
}
@media (max-width: 760px){
  .main-nav{
    position:fixed; top:80px; left:0; right:0; bottom:0;
    background:var(--white);
    transform:translateX(100%);
    transition:transform .25s ease;
    padding:20px; overflow-y:auto;
    z-index:150;
    box-shadow:0 12px 24px rgba(32,28,77,0.15);
  }
  .main-nav.open{ transform:translateX(0); }
  .main-nav ul{ flex-direction:column; align-items:stretch; }
  .main-nav a{ padding:16px; font-size:1rem; border-bottom:1px solid var(--gray-line); }
  .nav-toggle{ display:block; }
  .grid-2, .grid-3, .grid-4{ grid-template-columns:1fr; }
  .grid-6{ grid-template-columns:repeat(2,1fr); }
  .stats-grid{ grid-template-columns:1fr 1fr; }
  section{ padding:52px 0; }
  .footer-grid{ grid-template-columns:1fr; }
  .cert-box{ flex-direction:column; text-align:center; }
  .logo-link img{ height:54px; }
}

/* Cookie consent banner */
.cookie-banner{
  position:fixed; left:0; right:0; bottom:0; z-index:600;
  background:var(--navy-dark); color:#dfe0f0;
  padding:18px 24px; box-shadow:0 -6px 24px rgba(0,0,0,.2);
}
.cookie-banner-inner{
  max-width:var(--maxw); margin:0 auto;
  display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap;
}
.cookie-banner p{ margin:0; font-size:.92rem; max-width:720px; color:#dfe0f0; }
.cookie-banner a{ color:var(--white); text-decoration:underline; }
.cookie-actions{ display:flex; gap:10px; flex-shrink:0; flex-wrap:wrap; }
.cookie-actions .btn{ padding:10px 20px; font-size:.9rem; }

/* Map consent placeholder */
.map-consent-placeholder{
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:14px;
  min-height:420px; background:var(--off-white); border-radius:var(--radius);
  padding:24px; text-align:center;
}
.map-consent-placeholder p{ max-width:480px; color:var(--navy-dark); }
.map-embed iframe{ width:100%; height:420px; border:0; display:block; border-radius:var(--radius); }

@media (max-width:760px){
  .cookie-banner-inner{ flex-direction:column; align-items:flex-start; }
  .cookie-actions{ width:100%; }
  .cookie-actions .btn{ flex:1; text-align:center; }
}
