/* Aytech Makina - Ortak CSS
   Header, footer, genel gövde, temel grid, buton ve ortak responsive yapılar.
   Ana sayfa özel blokları ana-sayfa.css dosyasına taşınmıştır.
*/

:root{
  --dark:#050b14;
  --dark2:#07111e;
  --panel:#0d1725;
  --red:#e31b23;
  --red2:#b81218;
  --text:#111827;
  --muted:#667085;
  --line:#e6ebf2;
  --soft:#f7f9fc;
  --white:#fff;
  --shadow:0 18px 50px rgba(15,23,42,.09);
  --font:Inter,Arial,sans-serif;
}

*{box-sizing:border-box}

html{scroll-behavior:smooth}

body.public-body{
  margin:0;
  background:#fff;
  color:var(--text);
  font-family:var(--font);
  line-height:1.45;
}

a{text-decoration:none;color:inherit}
img{display:block;max-width:100%}
button{font:inherit}

.site-header{
  height:78px;
  padding:0 clamp(18px,5vw,100px);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  background:rgba(3,9,18,.96);
  border-bottom:1px solid rgba(255,255,255,.08);
  color:#fff;
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter:blur(18px);
}

.site-logo{display:grid;line-height:1}
.logo-main{font-size:31px;font-weight:950;letter-spacing:-.08em;color:#fff}
.logo-main b{color:var(--red);font-weight:950}
.logo-sub{font-size:12px;font-weight:900;letter-spacing:.58em;color:#fff;margin-left:4px}

.site-nav{
  display:flex;
  align-items:center;
  gap:30px;
  font-size:14px;
  font-weight:800;
}

.site-nav a{
  position:relative;
  color:#fff;
  opacity:.94;
}

.site-nav a:hover{opacity:1}

.site-nav a.is-active::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-22px;
  height:2px;
  background:var(--red);
}

.header-actions{
  display:flex;
  align-items:center;
  gap:14px;
}

.language-select{position:relative}

.language-select button{
  min-width:70px;
  height:44px;
  padding:0 15px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:999px;
  background:rgba(255,255,255,.03);
  color:#fff;
  font-weight:900;
  cursor:pointer;
}

.language-menu{
  display:none;
  position:absolute;
  right:0;
  top:52px;
  width:210px;
  padding:8px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:14px;
  background:#0b1220;
  box-shadow:0 20px 50px rgba(0,0,0,.35);
}

.language-select:hover .language-menu{display:grid}

.language-menu a{
  padding:10px;
  border-radius:10px;
  color:#e5e7eb;
  font-size:13px;
}

.language-menu a:hover{background:rgba(255,255,255,.08)}

.quote-btn{
  display:inline-flex;
  align-items:center;
  gap:14px;
  height:46px;
  padding:0 24px;
  border-radius:8px;
  background:linear-gradient(135deg,var(--red),var(--red2));
  color:#fff;
  font-weight:900;
  box-shadow:0 14px 34px rgba(227,27,35,.25);
}

.nav-toggle{
  display:none;
  background:transparent;
  border:0;
  width:42px;
  height:42px;
}

.nav-toggle span{
  display:block;
  height:2px;
  background:#fff;
  margin:7px 0;
}

/* HERO */
.globe-hero{
  min-height:520px;
  display:grid;
  grid-template-columns:minmax(380px,520px) minmax(0,1fr);
  gap:34px;
  padding:38px clamp(18px,5vw,100px) 22px;
  color:#fff;
  overflow:hidden;
  position:relative;
  background:
    radial-gradient(circle at 72% 30%,rgba(37,99,235,.20),transparent 34rem),
    radial-gradient(circle at 48% 18%,rgba(227,27,35,.12),transparent 24rem),
    linear-gradient(180deg,#06101d 0%,#02060c 100%);
}

.eyebrow{
  display:block;
  margin-bottom:18px;
  color:var(--red);
  font-size:14px;
  font-weight:950;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  min-width:150px;
  height:48px;
  padding:0 24px;
  border-radius:8px;
  border:1px solid rgba(255,255,255,.22);
  color:#fff;
  font-weight:900;
}

.btn.primary{
  background:linear-gradient(135deg,var(--red),var(--red2));
  border-color:var(--red);
}

.btn.ghost{background:rgba(255,255,255,.02)}

.metric-icon{
  grid-row:1/3;
  width:44px;
  height:44px;
  border-radius:10px;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.12);
  font-size:22px;
}

/* GLOBE */
.globe-area{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:minmax(0,1fr) 320px;
  gap:22px;
  align-items:center;
}

#globalGlobe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  filter:drop-shadow(0 0 38px rgba(75,141,255,.32));
}

.pin{
  position:absolute;
  left:var(--x);
  top:var(--y);
  display:flex;
  align-items:center;
  gap:6px;
  transform:translate(-50%,-50%);
  z-index:6;
  font-size:14px;
  font-weight:950;
  color:#fff;
  text-shadow:0 2px 8px #000;
}

.pin i{
  width:14px;
  height:14px;
  border-radius:50%;
  background:var(--red);
  box-shadow:0 0 0 5px rgba(227,27,35,.22),0 0 16px rgba(227,27,35,.92);
}

.pin span{
  padding:5px 8px;
  border-radius:9px;
  background:rgba(6,12,20,.68);
  border:1px solid rgba(255,255,255,.14);
}

/* MACHINE VISUAL */
.machine-visual{
  position:relative;
  width:100%;
  height:72px;
  min-width:90px;
}

.mv-base{
  position:absolute;
  left:6%;
  right:8%;
  bottom:16px;
  height:10px;
  border-radius:20px;
  background:linear-gradient(90deg,#aeb7c3,#f8fafc,#9aa5b5);
}

.mv-belt{
  position:absolute;
  left:2%;
  right:2%;
  bottom:10px;
  height:7px;
  border-radius:20px;
  background:#6b7280;
}

.mv-tower{
  position:absolute;
  bottom:25px;
  width:10px;
  border-radius:4px 4px 0 0;
  background:linear-gradient(#f8fafc,#9aa5b5);
  box-shadow:0 0 0 1px #cbd5e1;
}

.mv-tower-1{left:18%;height:34px}
.mv-tower-2{left:30%;height:48px}
.mv-tower-3{left:44%;height:28px}
.mv-tower-4{left:58%;height:42px}
.mv-tower-5{left:72%;height:32px}
.mv-tower-6{left:84%;height:45px}
.mv-tower-7{left:8%;height:38px}

.mv-red{
  position:absolute;
  right:18%;
  bottom:31px;
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--red);
  box-shadow:0 0 12px rgba(227,27,35,.8);
}

.mv-shadow{
  position:absolute;
  left:8%;
  right:10%;
  bottom:2px;
  height:8px;
  background:rgba(15,23,42,.16);
  filter:blur(8px);
  border-radius:50%;
}

/* CONTENT */
.home-wrap{
  padding:18px clamp(18px,5vw,100px) 24px;
  background:#fff;
}

.industry-image{
  display:block;
  height:96px;
  background:#f2f4f7;
  position:relative;
}

.industry-image::before{
  content:"";
  position:absolute;
  inset:12px;
  border-radius:14px;
  background:linear-gradient(135deg,rgba(255,255,255,.6),rgba(255,255,255,.05));
}

.food .industry-image{background:linear-gradient(135deg,#f59e0b,#fde68a)}
.cosmetic .industry-image{background:linear-gradient(135deg,#22d3ee,#dffbff)}
.chemical .industry-image{background:linear-gradient(135deg,#60a5fa,#dbeafe)}
.pharma .industry-image{background:linear-gradient(135deg,#34d399,#e7fff5)}

.step-icon{
  width:38px;
  height:38px;
  border-radius:10px;
  display:grid;
  place-items:center;
  color:#475569;
  border:1px solid #d8e1ee;
  font-size:22px;
}

@media(max-width:1320px){
.site-nav{gap:18px}
}


@media(max-width:1180px){
.site-header{height:auto;min-height:72px;flex-wrap:wrap}
  .nav-toggle{display:block;margin-left:auto}
  .site-nav{display:none;width:100%;padding:10px 0 16px;flex-direction:column;align-items:flex-start}
  .site-nav.is-open{display:flex}
  .header-actions{margin-left:auto}
}


@media(max-width:560px){
  .site-header .logo-image{
    width:auto;
    height:auto;
    max-width:168px;
    max-height:60px;
    object-fit:contain;
  }
}


/* Globe live product card */
.globe-area{
  min-height:460px;
}

#globalGlobe{
  display:block;
  z-index:2;
  opacity:1;
}

.pin{
  z-index:8;
}

/* Homepage dynamic media */
.globe-hero{
  background:
    linear-gradient(180deg,rgba(6,16,29,.92),rgba(2,6,12,.98)),
    var(--hero-bg, linear-gradient(180deg,#06101d 0%,#02060c 100%));
  background-size:cover;
  background-position:center;
}

.mini-image{
  width:100%;
  height:72px;
  display:grid;
  place-items:center;
  overflow:hidden;
  border-radius:8px;
  background:linear-gradient(180deg,#fff,#f8fafc);
}

.mini-image img{
  width:100%;
  height:100%;
  object-fit:contain;
}

.industry-image.real{
  background:#f8fafc;
}

.industry-image.real::before{
  display:none;
}

.industry-image.real img{
  width:100%;
  height:100%;
  object-fit:cover;
}

/* Country flag badge layout */
.country-text > span{
  width:32px;
  height:24px;
  display:inline-grid;
  place-items:center;
  border-radius:6px;
  background:linear-gradient(135deg,#111827,#334155);
  color:#fff;
  font-size:11px;
  font-weight:950;
  letter-spacing:.04em;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.18);
}

/* Industry admin image layout */
.industry-panel{
  min-height:100%;
}

.industry-image{
  height:112px;
  display:block;
  overflow:hidden;
}

.industry-image.real{
  background:#f8fafc;
  border-bottom:1px solid #eef2f7;
}

.industry-image.real::before{
  display:none;
}

.industry-image.real img{
  width:100%;
  height:100%;
  object-fit:cover;
}

/* Header logo image layout */
.logo-image{
  display:block;
  width:auto;
  height:auto;
  max-width:168px;
  max-height:90px;
  object-fit:contain;
}

/* Final footer layout */
body .ay-final-footer{
  display:block;
  margin:0;
  padding:0;
  width:100%;
  background:
    radial-gradient(circle at 14% 0%, rgba(220,38,38,.15), transparent 32%),
    linear-gradient(135deg,#070b12 0%,#111827 52%,#05070b 100%);
  color:#dbe3ef;
  border-top:1px solid rgba(255,255,255,.08);
}

body .ay-final-footer *{
  box-sizing:border-box;
}

body .ay-final-footer-wrap{
  width:min(1280px,calc(100% - 40px));
  margin:0 auto;
  padding:44px 0 32px;
  display:grid;
  grid-template-columns:1.15fr 1.2fr .65fr 1fr .65fr 1.15fr;
  gap:24px;
  align-items:start;
}

body .ay-final-brand,
body .ay-final-cta,
body .ay-final-links,
body .ay-final-contact{
  min-width:0;
}

body .ay-final-logo{
  display:inline-flex;
  align-items:baseline;
  gap:6px;
  color:#fff;
  font-size:26px;
  font-weight:950;
  letter-spacing:-.035em;
  line-height:1;
  text-decoration:none;
}

body .ay-final-logo span{
  color:#ef4444;
}

body .ay-final-brand p{
  margin:16px 0 0;
  max-width:360px;
  color:#aab6c6;
  font-size:14px;
  line-height:1.75;
}

body .ay-final-cta{
  padding:20px;
  border-radius:22px;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.1);
  box-shadow:0 18px 55px rgba(0,0,0,.16);
}

body .ay-final-cta strong{
  display:block;
  color:#fff;
  font-size:17px;
  line-height:1.35;
  margin:0 0 9px;
}

body .ay-final-cta p{
  margin:0 0 15px;
  color:#aab6c6;
  font-size:13px;
  line-height:1.65;
}

body .ay-final-cta a{
  display:inline-flex;
  align-items:center;
  gap:9px;
  min-height:42px;
  padding:0 16px;
  border-radius:999px;
  background:#dc2626;
  color:#fff;
  font-size:13px;
  font-weight:950;
  text-decoration:none;
}

body .ay-final-links h3,
body .ay-final-contact h3{
  margin:3px 0 14px;
  color:#fff;
  font-size:12px;
  font-weight:950;
  letter-spacing:.13em;
  text-transform:uppercase;
}

body .ay-final-links a{
  display:block;
  color:#aab6c6;
  font-size:14px;
  line-height:1.4;
  padding:4px 0;
  text-decoration:none;
}

body .ay-final-links a:hover{
  color:#fff;
}

body .ay-final-contact a,
body .ay-final-contact p{
  display:block;
  margin:0 0 10px;
  color:#dbe3ef;
  text-decoration:none;
  line-height:1.5;
}

body .ay-final-contact small{
  display:block;
  color:#7f8da3;
  font-size:11px;
  font-weight:900;
  letter-spacing:.07em;
  text-transform:uppercase;
  margin-bottom:3px;
}

body .ay-final-contact span{
  display:block;
  color:#dbe3ef;
  font-size:14px;
}

body .ay-final-bottom{
  width:min(1180px,calc(100% - 40px));
  margin:0 auto;
  padding:18px 0 24px;
  border-top:1px solid rgba(255,255,255,.09);
  color:#8996a8;
  font-size:13px;
}

@media (max-width:1120px){
  body .ay-final-footer-wrap{
    grid-template-columns:1.2fr 1fr 1fr;
  }
}

@media (max-width:760px){
  body .ay-final-footer-wrap{
    grid-template-columns:1fr;
    padding-top:38px;
    gap:24px;
  }
}

@keyframes ayCountryFlash{
  0%{transform:translateY(4px); opacity:.82}
  100%{transform:translateY(0); opacity:1}
}

/* Global interface components
   Header language dropdown and floating WhatsApp button.
   These rules are shared by all public pages. */
.site-header{
    overflow:visible;
    z-index:1000;
}

.header-actions,
.language-select{
    position:relative;
    overflow:visible;
}

.language-select button{
    position:relative;
    z-index:2;
}

.language-menu{
    position:absolute;
    top:calc(100% + 10px);
    right:0;
    left:auto;
    display:grid;
    min-width:230px;
    width:max-content;
    max-width:min(320px, calc(100vw - 28px));
    height:auto;
    max-height:70vh;
    overflow:auto;
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transform:translateY(8px);
    z-index:1002;
}

.language-select:hover .language-menu,
.language-select:focus-within .language-menu,
.language-select.open .language-menu,
.language-select.is-open .language-menu{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    transform:translateY(0);
}

.ay-floating-whatsapp{
    position:fixed;
    right:22px;
    bottom:22px;
    z-index:1005;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:3px;
    min-width:132px;
    min-height:56px;
    padding:9px 18px;
    box-sizing:border-box;
    border-radius:999px;
    background:#25d366;
    color:#fff;
    text-decoration:none;
    text-align:center;
    line-height:1;
    box-shadow:0 14px 34px rgba(37,211,102,.30);
    border:1px solid rgba(255,255,255,.28);
}

.ay-floating-whatsapp span,
.ay-floating-whatsapp strong{
    display:block;
    width:100%;
    margin:0;
    padding:0;
    color:#fff;
    text-align:center;
    line-height:1.1;
    white-space:nowrap;
}

.ay-floating-whatsapp span{
    font-size:12px;
    font-weight:800;
    opacity:.94;
}

.ay-floating-whatsapp strong{
    font-size:15px;
    font-weight:950;
    letter-spacing:-.01em;
}

.ay-floating-whatsapp:hover{
    transform:translateY(-2px);
    box-shadow:0 18px 40px rgba(37,211,102,.36);
}

@media(max-width:680px){
    .language-menu{
        right:0;
        min-width:210px;
        max-width:calc(100vw - 24px);
    }

    .ay-floating-whatsapp{
        right:14px;
        bottom:14px;
        min-width:116px;
        min-height:52px;
        padding:8px 14px;
    }

    .ay-floating-whatsapp span{
        font-size:11px;
    }

    .ay-floating-whatsapp strong{
        font-size:14px;
    }
}


/* Header language button alignment
   Keeps TR label and arrow aligned cleanly on tablet/mobile widths. */
.language-select button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  white-space:nowrap;
}

.language-select button span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:1em;
  line-height:1;
  font-size:13px;
  transform:translateY(-2px);
}
/* End header language button alignment */
