/*
Theme Name: Sanka Yazılım Tek Sayfa
Theme URI: https://sankayazilim.com/
Author: Sanka Yazılım
Description: Sanka Yazılım kurumsal karşılama ve GüvenPANEL ürün tanıtım teması.
Version: 1.2.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: sanka-yazilim
*/

:root {
  --sy-ink: #0b1830;
  --sy-copy: #52627a;
  --sy-blue: #1769e0;
  --sy-blue-dark: #0f52b8;
  --sy-green: #18ae62;
  --sy-line: #dce6f2;
  --sy-soft: #f4f8fd;
  --sy-white: #fff;
  --sy-shadow: 0 24px 70px rgba(26, 68, 124, .12);
  --sy-radius: 20px;
  --sy-container: 1180px;
  --sy-logo-width: 220px;
  --sy-hero-padding: 100px;
  --sy-product-bg: #091a35;
  --sy-contact-start: #1f7cf2;
  --sy-contact-end: #0e52b8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--sy-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.sy-container { width: min(var(--sy-container), calc(100% - 40px)); margin-inline: auto; }
.sy-kicker { margin: 0 0 16px; color: var(--sy-blue); font-size: 13px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.sy-section-title { margin: 0; max-width: 760px; font-size: clamp(36px, 5vw, 64px); line-height: 1.02; letter-spacing: -.055em; }
.sy-lead { margin: 22px 0 0; max-width: 720px; color: var(--sy-copy); font-size: clamp(17px, 2vw, 20px); line-height: 1.75; }
.sy-btn { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 9px; padding: 0 22px; border: 1px solid transparent; border-radius: min(var(--sy-radius), 18px); font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.sy-btn:hover { transform: translateY(-2px); }
.sy-btn-primary { background: linear-gradient(135deg, #2681ff, var(--sy-blue)); color: #fff; box-shadow: 0 14px 30px rgba(23,105,224,.25); }
.sy-btn-primary:hover { box-shadow: 0 18px 36px rgba(23,105,224,.32); }
.sy-btn-ghost { border-color: #cbd9ea; background: rgba(255,255,255,.75); color: #17375f; }

.sy-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(210,224,240,.8); background: rgba(255,255,255,.88); backdrop-filter: blur(18px); }
.admin-bar .sy-header { top: 32px; }
.sy-nav { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.sy-brand { display: inline-flex; align-items: center; gap: 12px; font-size: 21px; font-weight: 900; letter-spacing: -.035em; }
.sy-brand .custom-logo { display: block; width: auto; max-width: var(--sy-logo-width); max-height: 58px; }
.sy-mark { position: relative; width: 38px; height: 38px; flex: 0 0 38px; border-radius: 13px; background: linear-gradient(145deg, #2681ff, #1056bd); box-shadow: 0 10px 22px rgba(23,105,224,.25); transform: rotate(-7deg); }
.sy-mark::before { content: "S"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 20px; font-weight: 900; transform: rotate(7deg); }
.sy-brand-name span { color: var(--sy-blue); }
.sy-menu { display: flex; align-items: center; gap: 30px; color: #43546d; font-weight: 750; }
.sy-menu a:hover { color: var(--sy-blue); }
.sy-menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--sy-line); border-radius: 12px; background: #fff; color: var(--sy-ink); font-size: 22px; }

.sy-hero { position: relative; overflow: hidden; padding: var(--sy-hero-padding) 0 88px; background: radial-gradient(circle at 82% 20%, rgba(57,139,255,.17), transparent 30%), radial-gradient(circle at 12% 78%, rgba(36,205,137,.12), transparent 25%), linear-gradient(145deg,#fbfdff,var(--sy-soft)); }
.sy-hero::after { content: ""; position: absolute; right: -170px; top: 70px; width: 540px; height: 540px; border: 1px solid rgba(28,112,224,.12); border-radius: 50%; box-shadow: 0 0 0 80px rgba(28,112,224,.025), 0 0 0 160px rgba(28,112,224,.02); }
.sy-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 70px; }
.sy-hero-grid.sy-single-column { grid-template-columns: 1fr; max-width: 880px; margin-inline: auto; text-align: center; }
.sy-hero-grid.sy-single-column .sy-lead { margin-inline: auto; }
.sy-hero-grid.sy-single-column .sy-actions, .sy-hero-grid.sy-single-column .sy-note { justify-content: center; }
.sy-badge { display: inline-flex; align-items: center; gap: 10px; padding: 9px 13px; border: 1px solid #cfe2fb; border-radius: 999px; background: rgba(255,255,255,.78); color: #155ebc; font-size: 13px; font-weight: 850; letter-spacing: .05em; }
.sy-badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--sy-green); box-shadow: 0 0 0 5px rgba(24,174,98,.12); }
.sy-hero h1 { margin: 23px 0 0; max-width: 800px; font-size: clamp(50px, 7.1vw, 88px); line-height: .97; letter-spacing: -.07em; }
.sy-gradient { color: var(--sy-blue); }
.sy-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.sy-note { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 30px; color: #64758d; font-size: 14px; }
.sy-note span::before { content: "✓"; margin-right: 7px; color: var(--sy-green); font-weight: 900; }

.sy-product-window { position: relative; border: 1px solid rgba(204,220,239,.9); border-radius: 28px; background: rgba(255,255,255,.78); padding: 18px; box-shadow: var(--sy-shadow); backdrop-filter: blur(18px); }
.sy-window-bar { display: flex; gap: 7px; padding: 2px 2px 16px; }
.sy-window-bar i { width: 9px; height: 9px; border-radius: 50%; background: #c6d4e6; }
.sy-window-bar i:first-child { background: #29c984; }
.sy-dashboard { overflow: hidden; min-height: 410px; border-radius: 20px; color: #fff; background: linear-gradient(145deg,#07152e,#0b2a59); padding: 30px; }
.sy-dashboard-image { display: grid; place-items: center; padding: 0; background: #07152e; }
.sy-hero-custom-visual { display: block; width: 100%; height: 100%; min-height: 410px; object-fit: cover; }
.sy-dashboard-top { display: flex; align-items: center; justify-content: space-between; color: #8db9f4; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.sy-gp { font-size: 21px; font-weight: 900; letter-spacing: -.03em; color: #fff; }
.sy-gp span { color: #55a5ff; }
.sy-dashboard h2 { margin: 44px 0 8px; max-width: 370px; font-size: 34px; line-height: 1.08; letter-spacing: -.045em; }
.sy-dashboard p { margin: 0; color: #9eb5d5; line-height: 1.6; }
.sy-mini-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; margin-top: 34px; }
.sy-mini-card { padding: 17px; border: 1px solid rgba(139,185,246,.16); border-radius: 15px; background: rgba(255,255,255,.055); }
.sy-mini-card b { display: block; margin-bottom: 5px; color: #fff; }
.sy-mini-card span { color: #85a8d5; font-size: 13px; }
.sy-orbit { position: absolute; right: -24px; bottom: -28px; width: 100px; height: 100px; border-radius: 28px; background: linear-gradient(145deg,#25cf87,#15995e); box-shadow: 0 20px 40px rgba(21,153,94,.28); display: grid; place-items: center; color:#fff; font-size:40px; font-weight:900; transform: rotate(8deg); }
.sy-orbit-has-image { overflow: hidden; padding: 15px; background: rgba(255,255,255,.96); }
.sy-orbit-image { display: block; width: 100%; height: 100%; object-fit: contain; }

.sy-about { padding: 105px 0; }
.sy-about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: start; }
.sy-values { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; align-items: stretch; }
.sy-value { height: 100%; padding: 25px; border: 1px solid var(--sy-line); border-radius: 20px; background: #fff; }
.sy-value i { display: grid; width: 45px; height: 45px; place-items: center; border-radius: 13px; background: #e9f2ff; color: var(--sy-blue); font-style: normal; font-weight: 900; }
.sy-value h3 { margin: 19px 0 9px; font-size: 20px; letter-spacing: -.03em; }
.sy-value p { margin: 0; color: var(--sy-copy); line-height: 1.65; }

.sy-product { padding: 100px 0; background: var(--sy-product-bg); color: #fff; }
.sy-product .sy-kicker { color: #5ab1ff; }
.sy-product .sy-section-title { max-width: 900px; }
.sy-product .sy-lead { color: #aabbd3; }
.sy-feature-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-top: 52px; }
.sy-feature { min-height: 210px; padding: 26px; border: 1px solid rgba(151,187,233,.15); border-radius: 20px; background: rgba(255,255,255,.045); }
.sy-feature strong { display: block; margin: 22px 0 10px; font-size: 18px; }
.sy-feature p { margin: 0; color: #9fb1cb; line-height: 1.6; }
.sy-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: rgba(50,137,255,.13); color: #63aaff; font-weight: 900; }
.sy-icon-has-image { overflow: hidden; padding: 7px; background: rgba(255,255,255,.1); }
.sy-feature-icon-image { display: block; width: 100%; height: 100%; object-fit: contain; }
.sy-product-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.sy-product .sy-btn-ghost { border-color: rgba(174,203,241,.3); background: rgba(255,255,255,.06); color: #fff; }

.sy-process { padding: 105px 0; }
.sy-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 50px; }
.sy-step { padding: 30px; border: 1px solid var(--sy-line); border-radius: 22px; background: linear-gradient(155deg,#fff,#f6faff); }
.sy-step span { color: var(--sy-blue); font-size: 13px; font-weight: 900; letter-spacing: .12em; }
.sy-step h3 { margin: 22px 0 12px; font-size: 24px; letter-spacing: -.04em; }
.sy-step p { margin: 0; color: var(--sy-copy); line-height: 1.7; }

.sy-contact { padding: 30px 0 100px; }
.sy-contact-box { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding: 58px; border-radius: calc(var(--sy-radius) + 10px); background: linear-gradient(135deg,var(--sy-contact-start),var(--sy-contact-end)); color: #fff; box-shadow: 0 28px 70px rgba(16,82,184,.24); }
.sy-contact-box::after { content:""; position:absolute; width:280px; height:280px; right:-90px; top:-110px; border:60px solid rgba(255,255,255,.07); border-radius:50%; }
.sy-contact h2 { position:relative; z-index:1; margin:0; font-size:clamp(36px,5vw,58px); line-height:1.02; letter-spacing:-.055em; }
.sy-contact p { position:relative; z-index:1; margin:18px 0 0; color:#d9eaff; font-size:18px; line-height:1.65; }
.sy-contact-links { position:relative; z-index:1; display:grid; gap:10px; }
.sy-contact-link { display:flex; align-items:center; justify-content:space-between; padding:17px 19px; border:1px solid rgba(255,255,255,.25); border-radius:14px; background:rgba(255,255,255,.11); font-weight:800; }
.sy-contact-link:hover { background:rgba(255,255,255,.17); }

.sy-footer { padding: 31px 0; border-top: 1px solid var(--sy-line); color: #718198; font-size: 14px; }
.sy-footer-row { display:flex; align-items:center; justify-content:space-between; gap:20px; }
.sy-footer b { color:var(--sy-ink); }

@media (max-width: 920px) {
  .sy-hero-grid, .sy-about-grid, .sy-contact-box { grid-template-columns: 1fr; }
  .sy-hero { padding-top: 75px; }
  .sy-product-window { max-width: 620px; }
  .sy-feature-grid { grid-template-columns: repeat(2,1fr); }
  .sy-steps { grid-template-columns: 1fr; }
  .sy-menu-toggle { display: grid; place-items: center; }
  .sy-menu { position:absolute; left:20px; right:20px; top:72px; display:none; padding:18px; border:1px solid var(--sy-line); border-radius:16px; background:#fff; box-shadow:var(--sy-shadow); }
  .sy-menu.is-open { display:grid; gap:16px; }
}

@media (max-width: 600px) {
  .admin-bar .sy-header { top: 46px; }
  .sy-container { width:min(100% - 28px,1180px); }
  .sy-nav { min-height:70px; }
  .sy-brand { font-size:19px; }
  .sy-hero { padding:62px 0 64px; }
  .sy-hero-grid { gap:48px; }
  .sy-hero h1 { font-size:clamp(46px,15vw,65px); }
  .sy-actions .sy-btn, .sy-product-actions .sy-btn { width:100%; }
  .sy-dashboard { min-height:380px; padding:22px; }
  .sy-dashboard h2 { font-size:30px; }
  .sy-mini-grid, .sy-values, .sy-feature-grid { grid-template-columns:1fr; }
  .sy-about, .sy-product, .sy-process { padding:76px 0; }
  .sy-contact-box { padding:35px 25px; }
  .sy-footer-row { align-items:flex-start; flex-direction:column; }
}

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