/* Avar Elektronik Anahtar — marasanahtarci.com */
:root {
  --navy: #0b1f33;
  --navy-2: #12304d;
  --blue: #0a8fd4;
  --blue-d: #005a94;
  --green: #76bb00;
  --ink: #16202b;
  --muted: #5b6875;
  --line: #e3e8ee;
  --soft: #f4f7fa;
  --white: #ffffff;
  --r: 14px;
  --max: 1160px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }

/* header */
.top {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 88px; gap: 20px; }
.brand img { height: 62px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; font-size: 15px; font-weight: 500; }
.nav a { color: var(--muted); transition: color .2s; }
.nav a:hover, .nav a.on { color: var(--ink); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 24px; border-radius: 999px;
  font-weight: 600; font-size: 15px; letter-spacing: .01em;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 8px 22px rgba(10,143,212,.28); }
.btn-blue:hover { background: #0680c0; transform: translateY(-1px); }
.btn-ghost { border: 1px solid rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-line { border: 1px solid var(--line); color: var(--ink); background: #fff; }
.btn-line:hover { border-color: #c9d2dc; }
.nav .btn { height: 42px; padding: 0 18px; color: #fff; }
.nav .btn:hover { color: #fff; }

/* hero */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(10,143,212,.28), transparent 60%),
    radial-gradient(600px 400px at 10% 110%, rgba(118,187,0,.10), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
}
.hero .wrap { position: relative; padding: 110px 0 120px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #9fc7e3;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--green); border-radius: 2px; }
.hero h1 {
  margin: 22px 0 22px;
  font-size: clamp(38px, 5.4vw, 64px); line-height: 1.06; letter-spacing: -.025em; font-weight: 700;
}
.hero h1 em { font-style: normal; color: #7cc8f0; }
.hero p.lead { font-size: 18px; color: #c4d3e0; max-width: 540px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-card {
  justify-self: end; width: 100%; max-width: 380px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px; padding: 34px 32px;
  backdrop-filter: blur(6px);
}
.hero-card .year { font-size: 84px; font-weight: 700; line-height: 1; letter-spacing: -.04em; }
.hero-card .year small { display: block; font-size: 14px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #9fc7e3; margin-bottom: 10px; }
.hero-card hr { border: 0; height: 1px; background: rgba(255,255,255,.14); margin: 26px 0; }
.hero-card ul { list-style: none; display: grid; gap: 14px; font-size: 15px; color: #d6e2ec; }
.hero-card li { display: flex; gap: 12px; align-items: flex-start; }
.hero-card li::before { content: ""; flex: none; margin-top: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.keyline { position: absolute; right: -60px; bottom: -40px; width: 560px; opacity: .05; pointer-events: none; }

/* sections */
section { padding: 100px 0; }
.head { max-width: 640px; margin-bottom: 52px; }
.head .eyebrow { color: var(--blue-d); }
.head h2 { margin-top: 14px; font-size: clamp(30px, 3.6vw, 42px); line-height: 1.12; letter-spacing: -.02em; font-weight: 700; }
.head p { margin-top: 16px; color: var(--muted); font-size: 17px; }

.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc {
  padding: 32px 30px 30px; border: 1px solid var(--line); border-radius: var(--r); background: #fff;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.svc:hover { border-color: #cfdbe6; box-shadow: 0 18px 40px rgba(11,31,51,.07); transform: translateY(-2px); }
.svc .ic {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(150deg, #e8f5fc, #d9eef9); color: var(--blue-d); margin-bottom: 22px;
}
.svc .ic svg { width: 26px; height: 26px; }
.svc h3 { font-size: 19px; letter-spacing: -.01em; margin-bottom: 8px; }
.svc p { color: var(--muted); font-size: 15px; }

.about { background: var(--soft); }
.about .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about .head { margin-bottom: 0; }
.about .body p { color: var(--muted); font-size: 17px; }
.about .body p + p { margin-top: 16px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px 20px; }
.stat b { display: block; font-size: 30px; letter-spacing: -.02em; color: var(--navy); }
.stat span { font-size: 13px; color: var(--muted); }

.band {
  background: linear-gradient(120deg, var(--blue-d), var(--blue));
  color: #fff; border-radius: 22px; padding: 54px 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.band h2 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -.02em; line-height: 1.15; }
.band p { color: #d7ecf8; margin-top: 8px; }
.band .btn-white { background: #fff; color: var(--blue-d); }
.band .btn-white:hover { transform: translateY(-1px); }
.band .phone { font-size: 18px; }

/* contact page */
.page-head { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #fff; padding: 84px 0 76px; }
.page-head h1 { font-size: clamp(34px, 4.6vw, 52px); letter-spacing: -.025em; line-height: 1.08; margin-top: 16px; }
.page-head p { color: #c4d3e0; margin-top: 14px; font-size: 18px; max-width: 560px; }
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: stretch; }
.cards { display: grid; gap: 16px; align-content: start; }
.card { display: flex; gap: 18px; padding: 26px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; transition: border-color .2s, box-shadow .2s; }
a.card:hover { border-color: #cfdbe6; box-shadow: 0 14px 32px rgba(11,31,51,.06); }
.card .ic { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: #e8f5fc; color: var(--blue-d); }
.card .ic svg { width: 22px; height: 22px; }
.card small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.card b { display: block; font-size: 20px; letter-spacing: -.01em; margin-top: 4px; }
.card span { display: block; color: var(--muted); font-size: 15px; margin-top: 2px; }
.map { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); min-height: 440px; background: var(--soft); }
.map iframe { width: 100%; height: 100%; min-height: 520px; border: 0; display: block; }

/* footer */
footer { background: var(--navy); color: #9fb2c4; padding: 64px 0 36px; font-size: 15px; }
footer .grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
footer .name { color: #fff; font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
footer h4 { color: #fff; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
footer a:hover { color: #fff; }
footer .fine { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }


.reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; padding: 72px 0 80px; gap: 40px; }
  .hero-card { justify-self: start; max-width: none; }
  .services { grid-template-columns: 1fr 1fr; }
  .about .wrap { grid-template-columns: 1fr; gap: 36px; }
  .contact { grid-template-columns: 1fr; }
  footer .grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .top .wrap { height: 70px; }
  .brand img { height: 46px; }
  section { padding: 72px 0; }
  .services { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
  .stat { padding: 16px 12px; }
  .stat b { font-size: 24px; }
  .band { padding: 36px 26px; }
  footer .grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* menu button + drawer */
.menu-btn {
  position: relative; width: 30px; height: 22px; background: none; border: 0; cursor: pointer; padding: 0; z-index: 60;
}
.menu-btn span {
  position: absolute; left: 0; width: 100%; height: 1.5px; background: var(--ink); border-radius: 1px;
  transition: transform .45s cubic-bezier(.6,0,.2,1), opacity .3s ease, top .45s cubic-bezier(.6,0,.2,1), background .45s ease;
}
.menu-btn span:nth-child(1) { top: 2px; }
.menu-btn span:nth-child(2) { top: 10px; }
.menu-btn span:nth-child(3) { top: 18px; }
.open .menu-btn span { background: #fff; }
.open .menu-btn span:nth-child(1) { top: 10px; transform: rotate(45deg); }
.open .menu-btn span:nth-child(2) { opacity: 0; }
.open .menu-btn span:nth-child(3) { top: 10px; transform: rotate(-45deg); }
.scrim { position: fixed; inset: 0; background: rgba(6,16,27,.35); opacity: 0; pointer-events: none; transition: opacity .5s ease; z-index: 40; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(360px, 84vw); z-index: 50;
  background: var(--navy); color: #fff;
  transform: translateX(100%); transition: transform .6s cubic-bezier(.6,0,.2,1);
  display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: 0 48px;
}
.drawer a {
  font-size: 28px; font-weight: 300; letter-spacing: -.01em; color: #e8eef4;
  opacity: 0; transform: translateX(16px); transition: opacity .6s ease, transform .6s ease, color .3s;
}
.drawer a:hover, .drawer a.on { color: #7cc8f0; }
.drawer a:nth-child(2) { transition-delay: .05s; } .drawer a:nth-child(3) { transition-delay: .1s; } .drawer a:nth-child(4) { transition-delay: .15s; }
.drawer .fine { position: absolute; left: 48px; bottom: 34px; font-size: 13px; color: #7f93a6; line-height: 1.7; }
.open .scrim { opacity: 1; pointer-events: auto; }
.open .drawer { transform: none; }
.open .drawer a { opacity: 1; transform: none; }
.open { overflow: hidden; }
.top { z-index: 60; }
.open .top { background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.open .top .brand { opacity: 0; }
.brand { transition: opacity .4s ease; }

/* minimal home */
.hero-min { padding: 0; min-height: 72vh; min-height: 72svh; display: flex; align-items: center; }
.hero-min .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; padding: 70px 0; }
.hero-key { width: 100%; max-width: 680px; height: auto; justify-self: center; animation: keyfloat 7s ease-in-out infinite; }
@keyframes keyfloat { 0%,100% { transform: translateY(-6px) rotate(-1deg); } 50% { transform: translateY(8px) rotate(1.5deg); } }
@media (prefers-reduced-motion: reduce) { .hero-key { animation: none; } }
.hero-min h1 { max-width: 820px; margin-bottom: 0; }
.hero-min .stats { grid-template-columns: repeat(2, 200px); gap: 16px; margin-top: 56px; }
.hero-min .stat { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero-min .stat b { color: #fff; font-size: 34px; }
.hero-min .stat span { color: #9fc7e3; }
@media (max-width: 640px) {
  .hero-min { min-height: 62svh; }
  .hero-min .wrap { grid-template-columns: 1fr; gap: 10px; padding: 56px 0 40px; }
  .hero-key { max-width: 100%; }
  .hero-min .stats { grid-template-columns: 1fr 1fr; margin-top: 40px; }
}
