/* ETES Bilgisayar — site stilleri */
:root {
  --navy: #1B2540;
  --navy-2: #293247;
  --ink: #1F2937;
  --muted: #5B6578;
  --blue: #3391E1;
  --blue-d: #1F74C0;
  --purple: #5B3CC4;
  --magenta: #D81B60;
  --yellow: #FFB300;
  --wa: #25D366;
  --wa-d: #1DA851;
  --bg: #FFFFFF;
  --tint: #F4F6FA;
  --line: #E4E8F0;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(27, 37, 64, .08);
  --shadow-lg: 0 20px 50px rgba(27, 37, 64, .16);
  --head: 'Encode Sans Semi Condensed', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--bg); line-height: 1.65; font-size: 16px; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5.2vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; font: 600 .98rem/1 var(--body); padding: .9em 1.4em; border-radius: 999px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: transform .15s ease, background .2s ease, box-shadow .2s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn svg { flex: none; }
.btn--lg { font-size: 1.05rem; padding: 1em 1.6em; }
.btn--block { width: 100%; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-d); }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 8px 20px rgba(37, 211, 102, .3); }
.btn--wa:hover { background: var(--wa-d); }
.btn--ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.6); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255,255,255,.22); }
.btn--light { background: #fff; color: var(--navy); }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(27,37,64,.06); }
.header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo__mark { flex: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font: 800 1.75rem/1 var(--head); color: var(--navy); letter-spacing: .02em; }
.logo__sub { font: 600 .66rem/1 var(--body); color: var(--blue); letter-spacing: .34em; margin-top: 4px; }
.logo--light .logo__name { color: #fff; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { text-decoration: none; font-weight: 500; color: var(--navy-2); padding: 10px 14px; border-radius: 10px; transition: background .15s, color .15s; }
.nav a:not(.btn):hover, .nav a.is-active { color: var(--blue); background: rgba(51,145,225,.08); }
.nav__cta { margin-left: 10px; padding: .75em 1.2em; }

.burger { display: none; width: 46px; height: 46px; border: 0; background: transparent; border-radius: 12px; cursor: pointer; padding: 11px; }
.burger span { display: block; height: 2.5px; background: var(--navy); border-radius: 2px; margin: 5px 0; transition: transform .25s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(88vh, 760px); display: flex; align-items: center; color: #fff; overflow: hidden; isolation: isolate; }
.hero__bg, .hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__bg img { object-fit: cover; object-position: 70% center; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(17,24,45,.92) 0%, rgba(17,24,45,.78) 38%, rgba(17,24,45,.25) 70%, rgba(17,24,45,.1) 100%); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; z-index: 2; background: linear-gradient(90deg, var(--purple), var(--magenta), var(--yellow)); }
.hero__content { position: relative; z-index: 2; padding-top: 72px; padding-bottom: 80px; }
.hero h1 { color: #fff; max-width: 15ch; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 54ch; color: rgba(255,255,255,.88); margin-bottom: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__facts { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 12px 36px; color: rgba(255,255,255,.82); font-size: .95rem; }
.hero__facts strong { display: block; font: 800 1.5rem/1.1 var(--head); color: #fff; }

.eyebrow { display: inline-block; font: 600 .78rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; padding-left: 26px; position: relative; }
.eyebrow::before { content: ""; position: absolute; left: 0; top: 50%; width: 18px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--purple), var(--magenta), var(--yellow)); transform: translateY(-50%); }
.eyebrow--light { color: #FFD54F; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section--tint { background: var(--tint); }
.section--dark { background: radial-gradient(1200px 500px at 85% -10%, rgba(91,60,196,.35), transparent 60%), var(--navy); color: rgba(255,255,255,.85); }
.section__head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section__head p { color: var(--muted); font-size: 1.08rem; }
.section__head .eyebrow { padding-left: 0; }
.section__head .eyebrow::before { display: none; }
.section__head--light h2 { color: #fff; }
.section__head--light p { color: rgba(255,255,255,.75); }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--tint); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card__body p { color: var(--muted); font-size: .97rem; }
.ticks { list-style: none; padding: 0; margin: auto 0 0; display: grid; gap: 8px; }
.ticks li { display: flex; align-items: flex-start; gap: 10px; font-size: .93rem; font-weight: 500; color: var(--navy-2); }
.ticks svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--wa-d); }
.card--cta { background: linear-gradient(150deg, var(--navy) 0%, #2A2463 100%); border: 0; color: #fff; }
.card--cta .card__body { justify-content: center; gap: 12px; padding: 36px 28px; }
.card--cta h3 { color: #fff; font-size: 1.6rem; margin: 0; }
.card--cta p { color: rgba(255,255,255,.78); margin: 0 0 8px; }
.card__mark { display: block; margin-bottom: 4px; }

/* Products */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: border-color .2s, transform .2s; }
.product:hover { border-color: rgba(51,145,225,.5); transform: translateY(-2px); }
.product__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: #fff; margin-bottom: 16px; background: linear-gradient(135deg, var(--purple), var(--blue)); }
.product:nth-child(3n+2) .product__icon { background: linear-gradient(135deg, var(--magenta), var(--purple)); }
.product:nth-child(3n+3) .product__icon { background: linear-gradient(135deg, var(--yellow), var(--magenta)); }
.product__icon svg { width: 26px; height: 26px; }
.product h3 { font-size: 1.15rem; margin-bottom: .3em; }
.product p { color: var(--muted); margin: 0; font-size: .95rem; }

.brands { margin-top: 44px; text-align: center; }
.brands__label { display: block; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; font-weight: 600; }
.brands ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.brands li { font: 700 1rem/1 var(--head); color: var(--navy-2); background: #fff; border: 1px solid var(--line); padding: 12px 20px; border-radius: 999px; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about__media { position: relative; }
.about__media img { border-radius: 22px; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 4.2; object-fit: cover; width: 100%; }
.about__badge { position: absolute; right: -14px; bottom: 28px; background: #fff; border-radius: 18px; padding: 18px 22px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; }
.about__badge strong { font: 800 2.3rem/1 var(--head); background: linear-gradient(135deg, var(--purple), var(--magenta)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about__badge span { font-size: .85rem; line-height: 1.3; color: var(--muted); font-weight: 500; }
.about__text > p { color: var(--muted); }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.mv__item { background: var(--tint); border-radius: 14px; padding: 20px 22px; border-left: 4px solid var(--blue); }
.mv__item:nth-child(2) { border-left-color: var(--magenta); }
.mv__item h3 { font-size: 1.1rem; margin-bottom: .35em; }
.mv__item p { margin: 0; font-size: .95rem; color: var(--muted); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.contact__info { display: grid; gap: 12px; }
.cinfo { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); text-decoration: none; color: #fff; font-weight: 600; transition: background .2s; word-break: break-word; }
.cinfo:hover { background: rgba(255,255,255,.12); }
.cinfo small { display: block; font-weight: 500; font-size: .78rem; color: rgba(255,255,255,.6); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 2px; }
.cinfo__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--blue); flex: none; }
.cinfo__icon svg { width: 22px; height: 22px; color: #fff; }
.cinfo__icon--wa { background: var(--wa); }
.map { border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); aspect-ratio: 16 / 10; background: rgba(255,255,255,.04); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

.form { background: #fff; color: var(--ink); border-radius: 20px; padding: clamp(22px, 4vw, 34px); box-shadow: var(--shadow-lg); display: grid; gap: 14px; }
.form h3 { margin: 0; font-size: 1.45rem; }
.form__note { margin: -6px 0 4px; color: var(--muted); font-size: .9rem; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; color: var(--navy-2); }
.form input, .form select, .form textarea { font: 400 16px/1.4 var(--body); color: var(--ink); width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(51,145,225,.15); }
.form textarea { resize: vertical; min-height: 110px; }
.form__error { color: #C62828; font-size: .9rem; margin: 0; font-weight: 500; }

/* Footer */
.footer { background: #121A30; color: rgba(255,255,255,.65); padding: 32px 0; font-size: .92rem; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; }
.footer p { margin: 0; }
.footer a:not(.logo) { color: rgba(255,255,255,.85); text-decoration: none; }
.footer a:not(.logo):hover { color: #fff; text-decoration: underline; }

/* ---------- WhatsApp floating ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; align-items: center; gap: 10px; height: 60px; padding: 0 15px; border-radius: 999px; background: var(--wa); color: #fff; text-decoration: none; box-shadow: 0 10px 28px rgba(37,211,102,.45); font-weight: 600; transition: transform .2s, background .2s; }
.wa-float:hover { background: var(--wa-d); transform: translateY(-2px) scale(1.03); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(37,211,102,.55); animation: wa-pulse 2.4s infinite; }
.wa-float__label { padding-right: 6px; }
@keyframes wa-pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

.callbar { display: none; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services, .products { grid-template-columns: repeat(2, 1fr); }
  .nav a:not(.btn) { padding: 10px 10px; }
}

@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .burger { display: block; }
  .nav { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 16px 20px 32px; background: #fff; transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility .3s; overflow-y: auto; }
  .nav.is-open { transform: none; visibility: visible; }
  .nav a:not(.btn) { font-size: 1.15rem; padding: 16px 14px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__cta { margin: 18px 0 0; padding: 1em; font-size: 1.05rem; }
  .logo__name { font-size: 1.5rem; }
  .logo__mark { width: 38px; height: 38px; }
  .about { grid-template-columns: 1fr; }
  .about__media img { aspect-ratio: 16 / 11; }
  .about__badge { right: 14px; bottom: -22px; }
  .about__text { margin-top: 18px; }
  .contact { grid-template-columns: 1fr; }
  body.nav-open { overflow: hidden; }
}

@media (max-width: 760px) {
  body { padding-bottom: 68px; }
  .hero { min-height: auto; }
  .hero::before { background: linear-gradient(180deg, rgba(17,24,45,.55) 0%, rgba(17,24,45,.82) 55%, rgba(17,24,45,.95) 100%); }
  .hero__content { padding-top: 120px; padding-bottom: 48px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__facts { gap: 10px 24px; margin-top: 30px; }
  .hero__facts strong { font-size: 1.25rem; }
  .services, .products { grid-template-columns: 1fr; }
  .products { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product { padding: 18px; }
  .product__icon { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 12px; }
  .product h3 { font-size: 1rem; }
  .product p { font-size: .86rem; }
  .mv { grid-template-columns: 1fr; }
  .section__head { margin-bottom: 32px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }

  /* Mobilde: alt çağrı çubuğu + yüzen WhatsApp gizlenir (çubukta var) */
  .wa-float { display: none; }
  .callbar { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(27,37,64,.08); }
  .callbar a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 50px; border-radius: 12px; font-weight: 700; text-decoration: none; background: var(--navy); color: #fff; }
  .callbar .callbar__wa { background: var(--wa); }
}

@media (max-width: 380px) {
  .products { grid-template-columns: 1fr; }
  .logo__sub { letter-spacing: .26em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
