/* ION Mekatronik • Hat Sonu / Premium */
:root{--bg:#0a1218;--deep:#081015;--panel:#101b24;--panel-2:#121f28;--line:#26343c;--text:#f1f5f5;--muted:#a4b5bc;--accent:#37c8d4;--width:1240px;--header:86px}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:var(--header)}
body{margin:0;background:var(--bg);color:var(--text);font:400 16px/1.6 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;-webkit-font-smoothing:antialiased}
::selection{background:var(--accent);color:#06131a}
a{color:inherit;text-decoration:none}
button{font:inherit}
a:focus-visible,button:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
.container{width:min(var(--width),calc(100% - 72px));margin-inline:auto}
img,svg,video{max-width:100%}
.skip-link{position:absolute;top:-100px;left:18px;z-index:999;padding:10px;background:#fff;color:#000}
.skip-link:focus{top:12px}
#anasayfa,#sistemler,#projeler,#hakkimizda,#iletisim{scroll-margin-top:var(--header)}
.site-header{height:var(--header);position:fixed;inset:0 0 auto;z-index:100;background:rgba(7,15,21,.98);border-bottom:1px solid #263039;box-shadow:0 4px 20px rgba(0,0,0,.15)}
.header-inner{max-width:1510px;height:100%;margin-inline:auto;padding-inline:40px;display:flex;align-items:center;justify-content:space-between;gap:26px}
.brand{display:flex;align-items:center;flex-shrink:0;align-self:stretch}
.brand img{height:70px;width:auto;display:block;object-fit:contain}
.main-nav{display:flex;align-items:center;gap:33px;margin-left:auto}
.main-nav a{font-size:13px;font-weight:500;white-space:nowrap;color:#d4dfe2;letter-spacing:.015em;transition:color .15s}
.main-nav a:hover,.main-nav a:focus-visible{color:var(--accent)}
.header-actions{display:flex;align-items:center;gap:9px;padding-left:22px;border-left:1px solid #314049}
.social-icon,.footer-social a{width:37px;height:37px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #31414a;border-radius:8px;color:#e5edef;transition:color .2s,border-color .2s,background .2s}
.social-icon:hover,.footer-social a:hover{color:var(--accent);border-color:var(--accent);background:rgba(55,200,212,.08)}
.social-icon svg,.footer-social svg{width:19px;height:19px;display:block}
.menu-button{display:none;border:0;background:transparent;cursor:pointer;width:36px;height:38px;padding:8px;color:#fff;flex-direction:column;justify-content:space-around}
.menu-button span{width:20px;height:1.5px;background:currentColor;display:block}
main{padding-top:var(--header)}
.hero{padding-top:61px;background:var(--deep)}
.hero-head{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(270px,.6fr);align-items:end;gap:38px;padding-bottom:43px}
.section-kicker{display:flex;align-items:center;gap:13px;color:var(--accent);text-transform:uppercase;font-weight:700;letter-spacing:.17em;font-size:11px}
.kicker-line{width:32px;height:1px;background:var(--accent);display:inline-block;flex-shrink:0}
h1,h2,h3,p{margin:0}
h1,h2,h3{font-weight:600;letter-spacing:-.04em}
.hero h1{font-size:clamp(38px,4.7vw,68px);line-height:1.08;margin-top:20px;max-width:810px}
.hero h1 em{font-style:normal;color:var(--accent)}
.hero-side{align-self:end;padding:0 0 5px;max-width:360px}
.hero-side p{color:#b3c1c5;font-size:15px;line-height:1.75}
.quiet-link{display:inline-block;border-bottom:1px solid var(--accent);color:var(--text);font-size:13px;font-weight:600;margin-top:20px;padding-bottom:6px;transition:color .2s}
.quiet-link:hover{color:var(--accent)}
.hero-video-shell{width:100%;max-width:1700px;margin:auto;position:relative;background:#dee2e3;overflow:hidden;border-top:1px solid #27383e;border-bottom:1px solid #26343b}
.hero-video{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;background:#dfe2e4}
.video-bar{position:absolute;inset:auto 0 0;display:flex;align-items:center;justify-content:space-between;padding:17px 33px 16px;background:linear-gradient(0deg,rgba(8,16,21,.84),rgba(8,16,21,.1));color:#f2f7f8}
.video-caption{display:flex;align-items:center;gap:10px;letter-spacing:.15em;font-size:11px;font-weight:700}
.video-dot{background:var(--accent);width:7px;height:7px;border-radius:50%}
.video-toggle{display:flex;align-items:center;gap:9px;cursor:pointer;border:1px solid rgba(255,255,255,.34);color:#fff;background:rgba(8,16,21,.5);border-radius:5px;padding:7px 11px;font-size:11px;letter-spacing:.03em}
.video-toggle:hover{border-color:var(--accent)}
.toggle-icon{font-size:13px;font-family:Arial,sans-serif}
.section-pad{padding-top:96px;padding-bottom:102px}
.introduction{background:#0d1921;border-bottom:1px solid var(--line)}
.intro-grid{display:grid;grid-template-columns:1fr 1fr;gap:8vw;align-items:start}
.section-heading h2{font-size:clamp(31px,3.65vw,51px);line-height:1.16;margin-top:23px}
.intro-text{padding-top:30px}
.intro-text p{font-size:clamp(18px,1.55vw,23px);line-height:1.66;letter-spacing:-.02em;color:#d5e0e3}
.systems{background:#0a1218}
.section-top{display:flex;align-items:end;justify-content:space-between;gap:40px;margin-bottom:40px}
.section-top h2{font-size:clamp(32px,3.9vw,52px);line-height:1.12;margin-top:15px}
.section-top>p{color:var(--muted);font-size:14px;line-height:1.8;max-width:335px;margin-bottom:7px}
.systems-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid #34424b;border-bottom:1px solid #34424b}
.system-item{padding:27px 24px 34px;border-right:1px solid var(--line);min-height:246px}
.system-item:first-child{padding-left:0}
.system-item:last-child{border-right:0;padding-right:0}
.item-count{font-size:11px;letter-spacing:.14em;color:var(--accent);font-weight:700}
.system-item h3{font-size:20px;line-height:1.25;letter-spacing:-.025em;margin-top:27px;margin-bottom:13px}
.system-item p{font-size:13px;line-height:1.8;color:#9fb0b7}
.projects{background:var(--panel);border-block:1px solid var(--line)}
.project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:46px 24px}
.project-item{min-width:0}
.project-item video{display:block;width:100%;aspect-ratio:16/9;background:#040a0f;object-fit:contain;border:1px solid #33434d;border-radius:5px}
.project-info{padding:16px 0 0}
.project-info h3{font-size:19px;letter-spacing:-.02em;margin-bottom:5px}
.project-info p{font-size:14px;color:var(--muted);line-height:1.7}
.projects-empty{border-top:1px solid #34434b;border-bottom:1px solid #34434b;padding:40px 0;display:flex;align-items:center;gap:14px}
.projects-empty p{font-size:15px;color:#adbac0}
.empty-indicator{width:9px;height:9px;border:1px solid var(--accent);border-radius:50%}
.contact{background:#0b141c}
.contact-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:10vw}
.contact h2{font-size:clamp(31px,3.6vw,48px);margin-top:20px;line-height:1.1}
.contact .contact-grid>div:first-child>p{margin-top:15px;color:var(--muted);font-size:14px}
.contact-details{border-top:1px solid #31424b}
.contact-line{display:grid;grid-template-columns:118px 1fr;gap:16px;padding:20px 0;border-bottom:1px solid #31424b;align-items:start}
.contact-line>span{font-size:12px;color:#82969f;padding-top:2px}
.contact-line>a,.contact-line p{font-size:15px;line-height:1.6;color:#e8eff1;overflow-wrap:anywhere}
.contact-line a:hover{color:var(--accent)}
.site-footer{background:#080f15;border-top:1px solid #263640}
.footer-inner{min-height:137px;display:flex;align-items:center;justify-content:space-between;gap:28px}
.footer-brand img{width:auto;height:65px;display:block}
.footer-inner>p{font-size:12px;color:#8899a2}
.footer-social{display:flex;gap:10px}
.whatsapp-float{position:fixed;bottom:25px;right:24px;z-index:95;width:60px;height:60px;border-radius:50%;background:#25d366;color:#fff;display:grid;place-items:center;border:3px solid #f2fff4;box-shadow:0 6px 21px rgba(0,0,0,.36);transition:transform .2s ease}
.whatsapp-float svg{width:36px;height:36px;display:block}
.whatsapp-float:hover{transform:translateY(-2px)}
@media (max-width:980px){
:root{--header:77px}
.header-inner{padding-inline:27px}
.brand img{height:60px}
.main-nav{gap:18px}
.main-nav a{font-size:12px}
.hero{padding-top:46px}
.hero-head{grid-template-columns:1fr 280px}
.hero h1{font-size:clamp(35px,5vw,54px)}
.section-pad{padding-block:75px}
.systems-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.system-item{padding:25px 25px 28px;min-height:210px}
.system-item:first-child{padding-left:25px}
.system-item:nth-child(even){border-right:0}
.system-item:nth-child(-n+2){border-bottom:1px solid var(--line)}
.system-item:last-child{padding-right:25px}
}
@media (max-width:750px){
:root{--header:74px}
.container{width:calc(100% - 38px)}
.header-inner{padding-inline:18px;gap:10px}
.brand img{height:58px}
.header-actions{margin-left:auto;gap:6px;padding-left:13px}
.social-icon{width:34px;height:34px}
.social-icon svg{width:18px;height:18px}
.menu-button{display:flex}
.main-nav{position:absolute;top:var(--header);left:0;right:0;display:none;flex-direction:column;align-items:stretch;gap:0;background:#09131a;border-bottom:1px solid #32434b;padding:8px 22px 20px;margin:0;box-shadow:0 14px 20px rgba(0,0,0,.28)}
.site-header.nav-open .main-nav{display:flex}
.main-nav a{font-size:15px;padding:12px 0;border-bottom:1px solid #20313b}
.hero{padding-top:43px}
.hero-head{grid-template-columns:1fr;gap:17px;padding-bottom:30px}
.hero h1{font-size:clamp(34px,7.2vw,48px)}
.hero-side{max-width:100%;padding:0}
.hero-side p{font-size:14px;max-width:440px}
.quiet-link{margin-top:12px}
.video-bar{padding:10px 13px}
.video-caption{font-size:9px;letter-spacing:.08em}
.video-toggle{padding:5px 8px;font-size:10px}
.section-pad{padding-block:60px}
.intro-grid,.contact-grid{grid-template-columns:1fr;gap:25px}
.intro-text{padding:0}
.intro-text p{font-size:18px}
.section-heading h2{font-size:34px}
.section-top{display:block;margin-bottom:28px}
.section-top>p{margin-top:12px;max-width:100%}
.project-grid{grid-template-columns:1fr;gap:33px}
.contact-line{grid-template-columns:94px 1fr}
.footer-inner{min-height:140px;flex-wrap:wrap;padding-block:20px}
.footer-brand img{height:56px}
.footer-inner>p{order:3;width:100%}
.whatsapp-float{right:16px;bottom:17px;width:55px;height:55px}
.whatsapp-float svg{width:33px;height:33px}
}
@media (max-width:480px){
.hero h1{font-size:36px}
.hero-video-shell{border-inline:0}
.systems-grid{grid-template-columns:1fr}
.system-item,.system-item:first-child,.system-item:last-child{border-right:0;border-bottom:1px solid var(--line);min-height:auto;padding:23px 0}
.system-item h3{margin-top:12px;margin-bottom:8px}
.system-item:last-child{border-bottom:0}
.video-caption{font-size:8px}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition-duration:0.01ms!important}}

/* Bilingual refinement • Full video within viewport, no crop and no re-encoding */
:root{--header:84px}
body{background:#09131a}
.header-actions{gap:12px}
.language-switch{display:flex;align-items:center;gap:8px;margin-right:9px;white-space:nowrap}
.language-switch a{font-size:12px;font-weight:650;letter-spacing:.04em;color:#8599a2;padding:7px 2px;transition:color .2s}
.language-switch a:hover,.language-switch a[aria-current="page"]{color:#f0f7f8}
.language-switch a[aria-current="page"]{border-bottom:2px solid var(--accent)}
.language-switch span{height:13px;width:1px;background:#3c5058}
.hero{padding-top:39px}
.hero-head{padding-bottom:30px}
.hero h1{font-size:clamp(39px,4.4vw,61px);line-height:1.1;margin-top:15px}
.hero-side p{font-size:14px;line-height:1.65}
.hero-video-shell{max-width:none;width:100%;background:#071016;border-color:#1b2c34;display:flex;align-items:center;justify-content:center;min-height:0}
.hero-video{width:auto;height:min(68dvh,700px);max-width:100%;aspect-ratio:16/9;object-fit:contain;background:#071016}
.video-controls{position:absolute;right:28px;bottom:18px;display:flex;gap:8px;z-index:2}
.video-toggle{padding:9px 12px;line-height:1;border-radius:7px;font-size:12px;background:rgba(7,17,23,.80);border-color:rgba(255,255,255,.26)}
.video-fullscreen svg{display:block}
.introduction{background:#0c171f}
.intro-text p+p{margin-top:20px}
.section-pad{padding-top:76px;padding-bottom:80px}
.system-item{min-height:218px}
.site-footer{background:#071016;border-top:1px solid #2e3a41;scroll-margin-top:var(--header)}
.footer-contact{display:grid;grid-template-columns:.34fr 1fr;gap:6vw;align-items:start;padding-top:45px;padding-bottom:42px}
.footer-heading{padding-top:17px}
.footer-contact-details{display:grid;grid-template-columns:1.05fr 1fr 1.6fr;gap:25px}
.footer-contact-item{padding-top:10px;border-top:1px solid #30414b;min-width:0}
.footer-contact-item span{display:block;color:#81969f;font-size:12px;margin-bottom:8px}
.footer-contact-item a,.footer-contact-item p{color:#e7eff2;font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.footer-contact-item a:hover{color:var(--accent)}
.footer-bottom{padding-top:21px;padding-bottom:30px;border-top:1px solid #22313a;display:flex;align-items:center;justify-content:space-between;gap:25px}
.footer-bottom p{font-size:12px;color:#8e9fa7}
.whatsapp-float{background:#25d366;color:#fff}
@media(max-width:1100px){
.footer-contact{grid-template-columns:1fr;gap:16px}
.footer-contact-details{grid-template-columns:1fr 1fr 1.5fr}
.hero-video{height:min(65dvh,640px)}
}
@media(max-width:840px){
.header-actions{gap:6px;padding-left:12px}
.language-switch{margin-right:3px;gap:6px}
.main-nav{gap:17px}
.hero-head{grid-template-columns:1fr;gap:13px}
.hero-side{max-width:660px}
.hero-video{width:100%;height:auto;max-height:none}
.video-controls{right:12px;bottom:12px}
.footer-contact-details{grid-template-columns:1fr 1fr;gap:21px}
}
@media(max-width:750px){
:root{--header:74px}
.header-inner{padding-inline:18px}
.header-actions{padding-left:8px}
.hero{padding-top:35px}
.hero h1{font-size:clamp(31px,7vw,46px)}
.hero-head{padding-bottom:22px}
.hero-video{width:100%;height:auto}
.video-controls{right:7px;bottom:7px}
.video-toggle{padding:7px 8px;font-size:11px}
.footer-contact{padding-block:37px 26px}
.footer-contact-details{grid-template-columns:1fr}
.footer-bottom{padding:20px 0 26px}
}
@media(max-width:480px){
.language-switch a{font-size:11px}
.social-icon{width:30px;height:30px}
.header-actions{gap:4px}
.video-fullscreen span{display:none}
.footer-bottom{align-items:flex-start;flex-direction:column;gap:16px}
}

/* V9 — Full-width video-first homepage: no headline block, no fullscreen control */
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.hero{padding:0!important;margin:0;background:#080f14}
.hero-video-shell{width:100%!important;max-width:none!important;position:relative;display:block!important;padding:0;margin:0!important;overflow:hidden;background:#111b23;border:0!important;line-height:0}
.hero-video{display:block!important;width:100%!important;max-width:none!important;height:calc(100vh - var(--header))!important;height:calc(100svh - var(--header))!important;max-height:none!important;min-height:430px!important;aspect-ratio:auto!important;object-fit:cover!important;object-position:50% 0%!important;background:#dfe2e4}
.video-controls{position:absolute;right:25px;bottom:23px;z-index:5;display:flex;opacity:.68;transition:opacity .2s}
.hero-video-shell:hover .video-controls,.hero-video-shell:focus-within .video-controls{opacity:1}
.video-controls .video-toggle{display:grid;place-items:center;width:40px;height:40px;padding:0;border:1px solid rgba(255,255,255,.55);border-radius:50%;background:rgba(7,18,24,.58);color:#fff;cursor:pointer;line-height:1}
.video-controls .toggle-icon{font-size:15px;line-height:1;display:block}
.whatsapp-float{width:62px!important;height:62px!important;border:0!important;border-radius:50%;background:#25d366!important;box-shadow:0 8px 28px rgba(0,0,0,.32);display:grid;place-items:center;color:#fff!important}
.whatsapp-float svg{width:38px!important;height:38px!important;max-width:none;display:block;fill:#fff}
.whatsapp-float:focus-visible{outline:3px solid #fff;outline-offset:3px}
@media(max-width:850px){
 .hero-video{height:52vw!important;min-height:0!important;max-height:none!important;aspect-ratio:16/9!important;object-fit:contain!important}
 .video-controls{right:12px;bottom:10px;opacity:.9}
 .video-controls .video-toggle{width:34px;height:34px}
}
@media(max-width:600px){
 .hero-video{height:56.25vw!important;min-height:0!important;aspect-ratio:16/9!important}
 .whatsapp-float{width:56px!important;height:56px!important}
 .whatsapp-float svg{width:35px!important;height:35px!important}
}
@media(prefers-reduced-motion:reduce){.video-controls{transition:none}}


/* V11: Hat animasyonunu 1920x1080 oranında, ÜST VE ALT TAM GÖRÜNÜR şekilde göster.
   Desktop: Genişlik/ekran yüksekliği arasından uygun olanını seç, KIRPMA YOK.
   16:9 videonun tamamını tek ekrana sığdırmak için geniş monitörde kısa yan boşluklar doğal olarak oluşur. */
.hero-video-shell{
  width:100%!important;
  max-width:none!important;
  height:min(calc(100svh - var(--header)), 56.25vw)!important;
  min-height:0!important;
  aspect-ratio:auto!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
  background:#e4e7e8!important;
  border:0!important;
}
.hero-video{
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  max-height:none!important;
  max-width:100%!important;
  aspect-ratio:auto!important;
  object-fit:contain!important;
  object-position:center center!important;
  background:#e4e7e8!important;
}
@media(max-width:850px){
  .hero-video-shell{height:min(calc(100svh - var(--header)), 56.25vw)!important;}
  .hero-video{width:100%!important;height:100%!important;min-height:0!important;object-fit:contain!important;}
}

/* V13: Tek gerçek video — ikinci siyah kutu, ekstra poster veya katman YOK */
.project-grid{align-items:start;gap:36px 24px}
.project-item{min-width:0}
.project-item .project-video{
  display:block; width:100%; height:auto;
  aspect-ratio:16 / 9; object-fit:contain;
  border:1px solid #35454e; border-radius:5px;
  background:#101b24;
}
.project-item.is-portrait{width:100%;max-width:430px}
.project-item.is-portrait .project-video{aspect-ratio:9 / 16; background:#101b24}
.project-info{padding-top:16px}
@media(max-width:700px){
  .project-item.is-portrait{max-width:min(100%,390px)}
  .project-item.is-portrait .project-video{max-height:72svh}
}
