/* Metrolojistik Kalibrasyon Lab - Kurumsal AÇIK (Light) Tema
   assets/site.css (FULL)
*/

:root{
  /* Light palette */
  --bg: #ffffff;
  --bg2:#f7f9fc;
  --surface:#ffffff;
  --card:#ffffff;

  --text:#0f172a;      /* slate-900 */
  --muted:#475569;     /* slate-600 */
  --line: rgba(15, 23, 42, .12);

  --brand:#2563eb;     /* blue-600 */
  --brand2:#38bdf8;    /* sky-400 */
  --accent:#f59e0b;
  --danger:#ef4444;

  --shadow: 0 18px 45px rgba(2, 8, 23, .10);
  --shadow2: 0 14px 26px rgba(2, 8, 23, .10);

  --radius: 16px;
  --radius2: 22px;

  --container: 1180px;

  --h1: clamp(34px, 4vw, 52px);
  --h2: clamp(22px, 2.2vw, 32px);
  --h3: 18px;
  --p: 16px;
  --small: 13px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", "Apple Color Emoji","Segoe UI Emoji";
  background:
    radial-gradient(1100px 650px at 10% -10%, rgba(56,189,248,.18), transparent 55%),
    radial-gradient(950px 650px at 110% 10%, rgba(37,99,235,.14), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  color:var(--text);
  line-height:1.55;
}

a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
button, input, select, textarea{ font:inherit; }
::selection{ background: rgba(37,99,235,.18); }

/* Container */
.container{
  width: min(var(--container), calc(100% - 36px));
  margin:0 auto;
}

/* Top bar */
.topbar{
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(10px);
}
.topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 0;
  font-size: var(--small);
  color: var(--muted);
}
.topbar-left{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  align-items:center;
}
.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border:1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.9);
}
.pill b{ color: var(--text); font-weight:800; }

/* Header */
.header{
  position: sticky;
  top:0;
  z-index:1000;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(14px);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:14px 0;
}

/* Brand */
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width: 320px;
}
.brand-title{
  display:flex;
  flex-direction:column;
  line-height:1.12;
}
.brand-title .name{
  font-size: 20px;        /* önce ~16px idi → %80+ */
  font-weight: 950;
  letter-spacing: .2px;
  line-height: 1.1;
}

.brand-title .tag{
  font-size: 8px;        /* alt satır dengeli kalsın */
  font-weight: 700;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:11px 14px;
  border-radius: 14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.95);
  color: var(--text);
  font-weight:900;
  font-size:14px;
  cursor:pointer;
  transition:.18s ease;
  white-space:nowrap;
}
.btn:hover{
  transform: translateY(-1px);
  border-color: rgba(37,99,235,.28);
  background: rgba(37,99,235,.06);
}
.btn-primary{
  border-color: rgba(37,99,235,.28);
  background: rgba(37,99,235,.10);
  color:#0b3aa6;
}
.btn-primary:hover{
  border-color: rgba(37,99,235,.42);
  background: rgba(37,99,235,.14);
}
.btn-solid{
  border-color: transparent;
  background: linear-gradient(135deg, rgba(37,99,235,.98), rgba(56,189,248,.92));
  color:#ffffff;
}
.btn-solid:hover{
  filter: brightness(1.03);
}

/* Mobile nav toggle */
.nav-toggle{
  display:none;
  width:44px;
  height:44px;
  border-radius: 14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.95);
  color: var(--text);
}
.nav-toggle:active{ transform: translateY(1px); }

/* NAV (PRO) */
.nav{
  display:flex;
  align-items:center;
}
.nav > ul{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  align-items:center;
  gap:2px;
}
.nav a{
  position:relative;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border-radius: 12px;
  color: var(--text);
  font-weight:900;
  font-size: 14px;
  border:1px solid transparent;
  transition: .18s ease;
}
.nav a:hover{
  border-color: rgba(37,99,235,.20);
  background: rgba(37,99,235,.06);
}
.nav .active{
  background: rgba(37,99,235,.08);
  border-color: rgba(37,99,235,.22);
  color: #0b3aa6;
}
.nav .active::after{
  content:"";
  position:absolute;
  left:12px; right:12px;
  bottom:6px;
  height:2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(37,99,235,.95), rgba(56,189,248,.90));
}

/* Dropdown */
.menu-item{ position:relative; }

.dropdown{
  position:absolute;
  top: calc(100% + 10px);
  left:0;
  min-width: 260px;
  background: rgba(255,255,255,.98);
  border:1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow2);
  padding:10px;
  opacity:0;
  visibility:hidden;
  transform: translateY(8px);
  transition: .18s ease;
}
.dropdown::before{
  content:"";
  position:absolute;
  top:-7px;
  left:22px;
  width:14px;
  height:14px;
  background: rgba(255,255,255,.98);
  border-left:1px solid var(--line);
  border-top:1px solid var(--line);
  transform: rotate(45deg);
}
.menu-item:hover .dropdown{
  opacity:1;
  visibility:visible;
  transform: translateY(0);
}

.dropdown a{
  width:100%;
  justify-content:flex-start;
  padding:10px 12px;
  border-radius: 12px;
  font-weight:850;
  color: var(--text);
  border:1px solid transparent;
}
.dropdown a:hover{
  background: rgba(37,99,235,.06);
  border-color: rgba(37,99,235,.18);
}
.caret{
  opacity:.70;
  font-size:12px;
}

/* Responsive nav */
@media (max-width: 980px){
  .brand{ min-width: unset; }
  .nav-toggle{ display:inline-flex; align-items:center; justify-content:center; }

  .nav{
    position:fixed;
    inset: 92px 16px auto 16px;
    background: rgba(255,255,255,.98);
    border:1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow2);
    padding: 12px;
    display:none;
    max-height: calc(100vh - 120px);
    overflow:auto;
  }
  .nav.open{ display:block; }

  .nav > ul{
    flex-direction:column;
    align-items:stretch;
    gap:6px;
  }

  .menu-item:hover .dropdown{
    opacity:0; visibility:hidden; transform: translateY(8px);
  }
  .dropdown{
    position:static;
    opacity:1;
    visibility:visible;
    transform:none;
    background: rgba(37,99,235,.04);
    border-color: rgba(37,99,235,.18);
    box-shadow:none;
    margin: 6px 0 10px;
  }
  .dropdown::before{ display:none; }
}

/* Sections */
.section{ padding: 64px 0; }
.section-sm{ padding: 40px 0; }
.section-title{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin-bottom: 20px;
}
.section-title h2{
  margin:0;
  font-size: var(--h2);
  letter-spacing:-.3px;
}
.section-title p{
  margin:0;
  color: var(--muted);
  max-width: 680px;
  font-size: 14px;
}

/* Hero */
.hero{
  position:relative;
  padding: 40px 0 34px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 26px;
  align-items:stretch;
}
.hero-card{
  border:1px solid var(--line);
  border-radius: var(--radius2);
  background:
    radial-gradient(900px 450px at 20% 0%, rgba(56,189,248,.20), transparent 60%),
    radial-gradient(850px 500px at 110% 40%, rgba(37,99,235,.14), transparent 55%),
    rgba(255,255,255,.92);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.hero-left{
  padding: 28px 26px;
}
.hero h1{
  margin:0 0 10px;
  font-size: var(--h1);
  line-height:1.08;
  letter-spacing:-.8px;
}
.hero p{
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
  max-width: 58ch;
}
.hero-actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.hero-badges{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top: 18px;
}
.badge{
  display:inline-flex;
  gap:8px;
  align-items:center;
  padding:8px 10px;
  border-radius: 999px;
  border:1px solid rgba(37,99,235,.18);
  background: rgba(37,99,235,.05);
  color: var(--muted);
  font-size: 13px;
}
.badge strong{ color: var(--text); }

.hero-right{
  padding: 18px;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.hero-media{
  border-radius: 18px;
  border:1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(37,99,235,.10), rgba(56,189,248,.10)),
    url("../img/hero.jpg");
  background-size: cover;
  background-position: center;
  min-height: 240px;
  position:relative;
  overflow:hidden;
}
.hero-media::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.85));
  mix-blend-mode: screen;
  pointer-events:none;
}

.hero-kpis{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.kpi{
  border:1px solid var(--line);
  background: rgba(255,255,255,.95);
  border-radius: 16px;
  padding: 12px;
}
.kpi .num{
  font-size: 22px;
  font-weight: 950;
  letter-spacing:-.3px;
  color:#0b3aa6;
}
.kpi .lbl{
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

@media (max-width: 980px){
  .hero-grid{ grid-template-columns:1fr; }
}

/* Grids / Cards */
.grid{ display:grid; gap: 14px; }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-4{ grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px){
  .grid-3, .grid-4{ grid-template-columns:1fr; }
}

.card{
  border:1px solid var(--line);
  background: rgba(255,255,255,.95);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 10px 24px rgba(2, 8, 23, .08);
}
.card h3{
  margin: 0 0 6px;
  font-size: 16px;
  letter-spacing:-.2px;
}
.card p{
  margin:0;
  color: var(--muted);
  font-size: 14px;
}
.card .meta{
  margin-top: 12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  color: var(--muted);
  font-size: 13px;
}

.icon{
  width: 40px; height: 40px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  background: rgba(37,99,235,.10);
  border: 1px solid rgba(37,99,235,.18);
  margin-bottom: 10px;
}
.icon span{ font-size:18px; }

/* Ribbon */
.ribbon{
  border:1px solid var(--line);
  background: rgba(255,255,255,.95);
  border-radius: var(--radius2);
  padding: 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  box-shadow: 0 10px 24px rgba(2, 8, 23, .06);
}
.ribbon h3{
  margin:0 0 6px;
  font-size: 18px;
}
.ribbon p{
  margin:0;
  color: var(--muted);
  font-size: 14px;
}
@media (max-width: 980px){
  .ribbon{ flex-direction:column; align-items:stretch; }
}

/* Steps */
.steps{
  display:grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
.step{
  border:1px solid var(--line);
  background: rgba(255,255,255,.95);
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 10px 20px rgba(2, 8, 23, .06);
}
.step .top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.step .n{
  width: 30px; height: 30px;
  border-radius: 12px;
  display:grid;
  place-items:center;
  font-weight:950;
  color:#ffffff;
  background: linear-gradient(135deg, rgba(37,99,235,.98), rgba(56,189,248,.92));
}
.step h4{
  margin: 10px 0 6px;
  font-size: 14px;
}
.step p{
  margin:0;
  font-size: 12px;
  color: var(--muted);
}
@media (max-width: 980px){
  .steps{ grid-template-columns: 1fr; }
}

/* Footer */
.footer{
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.92);
  padding: 34px 0 18px;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 18px;
}
.footer h4{
  margin:0 0 10px;
  font-size: 14px;
  letter-spacing:.2px;
}
.footer p, .footer a{
  color: var(--muted);
  font-size: 13px;
}
.footer a:hover{ color: #0b3aa6; }
.footer ul{ list-style:none; padding:0; margin:0; display:grid; gap:8px; }
.footer-bottom{
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  color: var(--muted);
  font-size: 12px;
}
@media (max-width: 980px){
  .footer-grid{ grid-template-columns:1fr; }
  .footer-bottom{ flex-direction:column; align-items:flex-start; }
}

/* Utility */
.muted{ color: var(--muted); }
.hr{
  border:none;
  border-top:1px solid var(--line);
  margin: 18px 0;
}
.link{
  color: #0b3aa6;
  font-weight:900;
}
.link:hover{ text-decoration: underline; }

/* Simple animation */
@media (prefers-reduced-motion: no-preference){
  .card, .hero-card, .ribbon, .step{
    transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
  }
  .card:hover, .step:hover{
    transform: translateY(-2px);
    border-color: rgba(37,99,235,.26);
    background: rgba(37,99,235,.03);
    box-shadow: 0 16px 34px rgba(2, 8, 23, .10);
  }
}
