/* Aytech Makina - İç Sayfa CSS
   Dosya: /public/assets/css/sayfa.css
   Kurumsal, çözümler, hizmetler, referanslar, haberler ve iletişim sayfaları.
   Header/footer ortak.css içindedir; bu dosya sadece iç sayfa gövdesini yönetir.
*/

.site-page{
  width:min(1320px, calc(100% - 44px));
  margin:28px auto 52px;
}

/* Üst sunum alanı */
.page-hero{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1.18fr) minmax(320px,.82fr);
  gap:26px;
  align-items:stretch;
  padding:34px;
  border-radius:28px;
  overflow:hidden;
  background:
    radial-gradient(circle at 10% 0%, rgba(227,6,19,.13), transparent 34%),
    linear-gradient(135deg,#07111f,#111c2d 58%,#172338);
  color:#fff;
  box-shadow:0 22px 60px rgba(8,17,31,.18);
}

.page-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(255,255,255,.06) 1px,transparent 1px),
    linear-gradient(0deg,rgba(255,255,255,.05) 1px,transparent 1px);
  background-size:42px 42px;
  opacity:.35;
  pointer-events:none;
}

.page-hero-copy{
  position:relative;
  z-index:1;
  align-self:center;
}

.page-hero-copy span{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom:14px;
  color:#ffb4ba;
  font-size:13px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.page-hero-copy h1{
  margin:0 0 16px;
  font-size:clamp(34px,4.8vw,64px);
  line-height:1.02;
  letter-spacing:-.05em;
}

.page-hero-copy p{
  max-width:760px;
  margin:0;
  color:#dbe5f4;
  font-size:18px;
  line-height:1.72;
}

/* Sağ görsel / teknik makine alanı */
.page-hero-visual{
  position:relative;
  z-index:1;
  min-height:260px;
  border-radius:24px;
  background:linear-gradient(180deg,rgba(255,255,255,.14),rgba(255,255,255,.06));
  border:1px solid rgba(255,255,255,.14);
  display:grid;
  place-items:center;
  overflow:hidden;
}

.page-hero-visual img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.page-hero-machine{
  width:min(320px,80%);
  aspect-ratio:1.25/1;
  position:relative;
}

.page-hero-machine i,
.page-hero-machine b,
.page-hero-machine em{
  position:absolute;
  display:block;
  border-radius:18px;
}

.page-hero-machine i{
  inset:28% 4% 18% 4%;
  background:linear-gradient(135deg,#f7f9fc,#cfd8e6);
  border:1px solid rgba(255,255,255,.35);
}

.page-hero-machine b{
  left:12%;
  top:16%;
  width:28%;
  height:36%;
  background:#e30613;
  box-shadow:0 18px 40px rgba(227,6,19,.32);
}

.page-hero-machine em{
  right:10%;
  bottom:18%;
  width:42%;
  height:14%;
  background:#fff;
}

/* İçerik düzeni */
.page-content-wrap{
  margin-top:24px;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(280px,360px);
  gap:22px;
  align-items:start;
}

.page-content-card,
.page-side-card{
  background:#fff;
  border:1px solid #e6ebf2;
  border-radius:22px;
  box-shadow:0 16px 44px rgba(15,23,42,.07);
}

.page-content-card{
  padding:30px;
  color:#334155;
  font-size:16px;
  line-height:1.8;
}

.page-content-card h2{
  margin:28px 0 13px;
  color:#09111f;
  font-size:28px;
  line-height:1.18;
  letter-spacing:-.025em;
}

.page-content-card h2:first-child{
  margin-top:0;
}

.page-content-card h3{
  margin:22px 0 10px;
  color:#101827;
  font-size:21px;
}

.page-content-card p{
  margin:0 0 15px;
}

.page-content-card strong,
.page-content-card b{
  color:#101827;
  font-weight:850;
}

.page-content-card ul{
  margin:18px 0;
  padding:0;
  list-style:none;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}

.page-content-card li{
  position:relative;
  padding:13px 14px 13px 38px;
  background:#f8fafc;
  border:1px solid #e8edf4;
  border-radius:14px;
  font-weight:650;
}

.page-content-card li::before{
  content:"";
  position:absolute;
  left:15px;
  top:19px;
  width:8px;
  height:8px;
  border-radius:99px;
  background:#e30613;
  box-shadow:0 0 0 5px rgba(227,6,19,.1);
}

/* Sağ bilgi kartı */
.page-side-card{
  position:sticky;
  top:96px;
  padding:24px;
}

.page-side-card strong{
  display:block;
  color:#09111f;
  font-size:22px;
  line-height:1.2;
  margin-bottom:10px;
}

.page-side-card p{
  color:#64748b;
  line-height:1.65;
  margin:0 0 16px;
}

.page-side-card a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:0 16px;
  border-radius:13px;
  background:#e30613;
  color:#fff;
  font-weight:900;
  text-decoration:none;
}

/* İletişim sayfası */
.ay-contact-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  margin:20px 0;
}

.ay-contact-item{
  display:flex;
  align-items:flex-start;
  gap:12px;
  padding:16px;
  border-radius:16px;
  border:1px solid #e7ecf4;
  background:#f8fafc;
}

.ay-contact-item.whatsapp{
  background:linear-gradient(135deg,#ecfdf5,#f8fafc);
  border-color:#bbf7d0;
}

.ay-contact-item small{
  display:block;
  margin-bottom:4px;
  color:#64748b;
  font-size:13px;
  font-weight:800;
}

.ay-contact-item strong{
  color:#101827;
  display:block;
  margin-bottom:4px;
}

.ay-contact-item a{
  color:#e30613;
  font-weight:850;
  text-decoration:none;
}

.ay-contact-map{
  margin-top:18px;
  border-radius:20px;
  overflow:hidden;
  border:1px solid #e6ebf2;
  background:#f8fafc;
}

.ay-contact-map iframe{
  width:100%;
  min-height:360px;
  border:0;
  display:block;
}

/* Responsive */
@media(max-width:980px){
  .page-hero,
  .page-content-wrap{
    grid-template-columns:1fr;
  }

  .page-side-card{
    position:relative;
    top:auto;
  }
}

@media(max-width:680px){
  .site-page{
    width:calc(100% - 22px);
    margin:18px auto 36px;
  }

  .page-hero{
    padding:22px;
    border-radius:22px;
  }

  .page-hero-copy h1{
    font-size:34px;
  }

  .page-hero-copy p{
    font-size:16px;
    line-height:1.65;
  }

  .page-hero-visual{
    min-height:210px;
  }

  .page-content-card,
  .page-side-card{
    padding:20px;
    border-radius:18px;
  }

  .page-content-card h2{
    font-size:23px;
  }

  .page-content-card ul,
  .ay-contact-grid{
    grid-template-columns:1fr;
  }
}
