/* ===========================================================
   PLATFORM ENERGY — Design System
   Palette:  --navy #0B1620 (zemin) / --navy-2 #122637 (yüzey)
             --blue #1E88E5 (elektrik mavisi, logo)
             --green #43A047 (sinyal yeşili, logo)
             --amber #F4A623 (tehlike/uyarı şeridi — pompa & istasyon dünyası)
             --paper #F6F8F7 (açık zemin)  --ink #0B1620  --muted #5B6B73
   Type: Poppins-Black/Bold (başlık, geniş harf aralığı, endüstriyel tabela hissi)
         Poppins-Regular (gövde metni)
   İmza öğe: "gauge" kadran çizgisi + diagonal hazard-stripe ayraç
   =========================================================== */

@font-face { font-family: Poppins-Regular; src: url('../fonts/Poppins/Poppins-Regular.ttf'); }
@font-face { font-family: Poppins-Bold; src: url('../fonts/Poppins/Poppins-Bold.ttf'); }
@font-face { font-family: Poppins-Thin; src: url('../fonts/Poppins/Poppins-Thin.ttf'); }
@font-face { font-family: Poppins-Black; src: url('../fonts/Poppins/Poppins-Black.ttf'); }

:root{
  --navy:#0B1620;
  --navy-2:#122637;
  --navy-3:#193249;
  --blue:#1E88E5;
  --blue-dim:#5BA8EA;
  --green:#43A047;
  --amber:#F4A623;
  --paper:#F6F8F7;
  --ink:#0B1620;
  --muted:#5B6B73;
  --line:rgba(255,255,255,0.08);
  --line-dark:rgba(11,22,32,0.1);
  --radius:2px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:Poppins-Regular, sans-serif;
  color:var(--ink);
  background:var(--paper);
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ text-decoration:none; color:inherit; }
ul{ margin:0; padding:0; list-style:none; }

.container{ max-width:1180px; margin:0 auto; padding:0 28px; }

h1,h2,h3,h4{ font-family:Poppins-Black, sans-serif; margin:0; text-transform:uppercase; }

.eyebrow{
  font-family:Poppins-Bold, sans-serif;
  font-size:12px;
  letter-spacing:3px;
  text-transform:uppercase;
  color:var(--green);
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:14px;
}
.eyebrow::before{
  content:"";
  width:26px; height:2px;
  background:var(--amber);
  display:inline-block;
}

/* ---------- Hazard stripe divider (signature motif) ---------- */
.stripe-divider{
  height:8px;
  width:100%;
  background:repeating-linear-gradient(
    135deg,
    var(--amber) 0 18px,
    var(--navy) 18px 36px
  );
}

/* ---------- Header / Nav ---------- */
.site-header{
  background:var(--navy);
  border-bottom:1px solid var(--line);
  position:sticky;
  top:0;
  z-index:100;
}
.nav-wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
  gap:20px;
  position:relative;
}
.brand img{ height:62px; width:auto; }
.nav-links{
  display:flex;
  align-items:center;
  gap:30px;
  flex-wrap:wrap;
}
.nav-links a{
  font-family:Poppins-Bold, sans-serif;
  font-size:13px;
  letter-spacing:1px;
  text-transform:uppercase;
  color:#fff;
  opacity:.78;
  transition:opacity .2s, color .2s;
  position:relative;
  padding:6px 0;
}
.nav-links a:hover{ opacity:1; color:var(--blue-dim); }
.nav-links a.active{ opacity:1; color:var(--green); }
.nav-links .has-sub{ position:relative; }
.sub-menu{
  display:none;
  position:absolute;
  top:100%; left:0;
  background:var(--navy-2);
  border:1px solid var(--line);
  min-width:230px;
  padding:8px 0;
  margin-top:0;
}
.nav-links .has-sub:hover .sub-menu{ display:block; }
.has-sub.is-open .sub-menu{ display:block; }
.sub-menu a{
  display:block;
  padding:10px 18px;
  font-size:12px;
  opacity:.85;
}
.sub-menu a:hover{ background:var(--navy-3); opacity:1; }
.nav-cta{
  font-family:Poppins-Bold, sans-serif;
  font-size:12px;
  letter-spacing:1px;
  text-transform:uppercase;
  background:var(--blue);
  color:#fff !important;
  padding:11px 20px;
  white-space:nowrap;
}
.nav-cta:hover{ background:var(--green); opacity:1 !important; }

/* ---------- Mobile nav toggle ---------- */
.nav-toggle{
  display:none;
  width:30px; height:22px;
  position:relative;
  border:none;
  background:none;
  cursor:pointer;
  padding:0;
}
.nav-toggle span{
  display:block;
  position:absolute;
  left:0; right:0;
  height:2px;
  background:#fff;
  transition:transform .25s, opacity .25s, top .25s;
}
.nav-toggle span:nth-child(1){ top:0; }
.nav-toggle span:nth-child(2){ top:10px; }
.nav-toggle span:nth-child(3){ top:20px; }
.nav-toggle.is-open span:nth-child(1){ top:10px; transform:rotate(45deg); }
.nav-toggle.is-open span:nth-child(2){ opacity:0; }
.nav-toggle.is-open span:nth-child(3){ top:10px; transform:rotate(-45deg); }

/* ---------- Hero ---------- */
.hero{
  background:var(--navy);
  color:#fff;
  position:relative;
  overflow:hidden;
  padding:90px 0 110px;
}
.hero::after{
  content:"";
  position:absolute;
  right:-120px; top:-120px;
  width:520px; height:520px;
  border-radius:50%;
  border:1px solid var(--line);
}
.hero::before{
  content:"";
  position:absolute;
  right:-30px; top:60px;
  width:340px; height:340px;
  border-radius:50%;
  border:1px solid var(--line);
}
.hero-grid{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:60px;
  align-items:center;
  position:relative;
  z-index:2;
}
.hero h1{
  font-size:54px;
  line-height:1.05;
  letter-spacing:1px;
}
.hero h1 span{ color:var(--blue-dim); }
.hero p.lead{
  font-family:Poppins-Regular;
  font-size:16px;
  color:#C6D2D8;
  max-width:460px;
  margin-top:22px;
  line-height:1.7;
}
.btn-row{ display:flex; gap:14px; margin-top:34px; flex-wrap:wrap; }
.btn{
  font-family:Poppins-Bold, sans-serif;
  font-size:13px;
  letter-spacing:1px;
  text-transform:uppercase;
  padding:15px 26px;
  display:inline-block;
  border:1px solid transparent;
}
.btn-primary{ background:var(--blue); color:#fff; }
.btn-primary:hover{ background:var(--green); }
.btn-ghost{ border-color:rgba(255,255,255,.35); color:#fff; }
.btn-ghost:hover{ border-color:var(--amber); color:var(--amber); }

/* ---------- Gauge graphic (signature element) ---------- */
.gauge-wrap{ position:relative; display:flex; align-items:center; justify-content:center; }
.gauge{ width:100%; max-width:340px; }
.gauge-figure text{ font-family:Poppins-Bold, sans-serif; }

/* ---------- Stat strip ---------- */
.stat-strip{
  background:var(--navy-2);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.stat-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  text-align:center;
}
.stat-grid div{
  padding:30px 10px;
  border-right:1px solid var(--line);
}
.stat-grid div:last-child{ border-right:none; }
.stat-num{
  font-family:Poppins-Black, sans-serif;
  font-size:34px;
  color:var(--blue-dim);
  display:block;
}
.stat-label{
  font-size:11px;
  letter-spacing:1.5px;
  text-transform:uppercase;
  color:#9FB0B7;
  display:block;
  margin-top:6px;
}

/* ---------- Section generic ---------- */
.section{ padding:90px 0; }
.section-dark{ background:var(--navy); color:#fff; }
.section-title{ font-size:36px; max-width:640px; line-height:1.15; }
.section-sub{ color:var(--muted); max-width:560px; margin-top:16px; line-height:1.7; }
.section-dark .section-sub{ color:#B7C4CA; }

/* ---------- Service cards ---------- */
.card-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1px;
  background:var(--line-dark);
  margin-top:50px;
  border:1px solid var(--line-dark);
}
.service-card{
  background:var(--paper);
  padding:34px 26px;
  transition:background .2s;
}
.service-card:hover{ background:#fff; box-shadow:inset 0 -4px 0 var(--amber); }
.service-card .num{
  font-family:Poppins-Black, sans-serif;
  font-size:13px;
  color:var(--amber);
  letter-spacing:1px;
}
.service-card h3{
  font-size:19px;
  margin-top:14px;
  line-height:1.25;
}
.service-card p{
  color:var(--muted);
  font-size:14px;
  line-height:1.65;
  margin-top:12px;
}
.service-card .more{
  display:inline-block;
  margin-top:18px;
  font-family:Poppins-Bold, sans-serif;
  font-size:12px;
  letter-spacing:1px;
  text-transform:uppercase;
  color:var(--blue);
  border-bottom:2px solid var(--blue);
  padding-bottom:2px;
}

/* ---------- Two column feature ---------- */
.feature-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:70px;
  align-items:center;
}
.feature-grid img{ border:1px solid var(--line-dark); }
.feature-list{ margin-top:26px; }
.feature-list li{
  display:flex;
  gap:14px;
  padding:14px 0;
  border-bottom:1px solid var(--line-dark);
  font-size:14.5px;
  line-height:1.6;
}
.feature-list li::before{
  content:"";
  min-width:8px; height:8px;
  margin-top:7px;
  background:var(--green);
}

/* ---------- CTA band ---------- */
.cta-band{
  background:var(--blue);
  color:#fff;
  padding:60px 0;
}
.cta-flex{
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:24px;
}
.cta-flex h3{ font-size:26px; max-width:520px; }
.cta-flex .btn-ghost{ border-color:rgba(255,255,255,.5); }
.cta-flex .btn-ghost:hover{ border-color:#fff; color:#fff; background:rgba(255,255,255,.12); }

/* ---------- Footer ---------- */
.site-footer{ background:var(--navy); color:#B7C4CA; padding:60px 0 26px; }
.footer-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1fr;
  gap:40px;
  padding-bottom:40px;
  border-bottom:1px solid var(--line);
}
.footer-grid img{ height:36px; margin-bottom:16px; }
.footer-grid p{ font-size:13.5px; line-height:1.7; max-width:280px; color:#92A3AA; }
.footer-col h4{
  font-family:Poppins-Bold, sans-serif;
  font-size:12px;
  letter-spacing:1.5px;
  color:#fff;
  margin-bottom:18px;
}
.footer-col li{ margin-bottom:11px; font-size:13.5px; }
.footer-col a{ color:#92A3AA; }
.footer-col a:hover{ color:var(--blue-dim); }
.footer-bottom{
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:10px;
  padding-top:22px;
  font-size:12px;
  color:#6E7F86;
}

/* ---------- Page header (inner pages) ---------- */
.page-head{
  background:var(--navy);
  color:#fff;
  padding:64px 0 54px;
  position:relative;
}
.page-head h1{ font-size:38px; }
.breadcrumb{
  font-size:12px;
  letter-spacing:1px;
  text-transform:uppercase;
  color:#9FB0B7;
  margin-top:14px;
}
.breadcrumb a{ color:var(--blue-dim); }
.breadcrumb span{ margin:0 8px; }

/* ---------- Content blocks (service / about pages) ---------- */
.content-grid{
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:60px;
}
.prose p{ line-height:1.8; color:#37464D; margin-bottom:18px; font-size:15px; }
.prose h2{ font-size:24px; margin:34px 0 16px; text-transform:none; letter-spacing:0; }
.spec-list{ margin-top:10px; }
.spec-list li{
  display:flex; justify-content:space-between;
  padding:13px 0;
  border-bottom:1px solid var(--line-dark);
  font-size:14px;
}
.spec-list li span:first-child{ color:var(--muted); }
.spec-list li span:last-child{ font-family:Poppins-Bold, sans-serif; font-size:12.5px; letter-spacing:.5px; }

.side-card{
  background:var(--navy);
  color:#fff;
  padding:30px 26px;
}
.side-card h4{
  font-family:Poppins-Bold, sans-serif;
  font-size:13px;
  letter-spacing:1.5px;
  margin-bottom:14px;
  color:var(--amber);
}
.side-card p{ font-size:13.5px; color:#C6D2D8; line-height:1.7; }
.side-card .btn{ margin-top:18px; width:100%; text-align:center; }

/* ---------- About page ---------- */
.values-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
  margin-top:50px;
}
.value-box{ border-top:3px solid var(--amber); padding-top:20px; }
.value-box h3{ font-size:17px; text-transform:none; letter-spacing:0; }
.value-box p{ color:var(--muted); font-size:14px; line-height:1.7; margin-top:10px; }

/* ---------- Contact page ---------- */
.contact-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
}
.contact-item{ display:flex; gap:18px; padding:22px 0; border-bottom:1px solid var(--line-dark); }
.contact-item .ic{
  min-width:46px; height:46px;
  background:var(--navy);
  color:var(--blue-dim);
  display:flex; align-items:center; justify-content:center;
  font-family:Poppins-Black, sans-serif;
}
.contact-item h4{ font-size:13px; letter-spacing:1px; text-transform:uppercase; color:var(--muted); }
.contact-item p, .contact-item a{ font-family:Poppins-Bold, sans-serif; font-size:15.5px; margin-top:4px; display:block; }
.map-box{
  background:var(--navy);
  height:100%;
  min-height:300px;
  display:flex; align-items:center; justify-content:center;
  color:#9FB0B7;
  font-size:13px;
  letter-spacing:1px;
  text-transform:uppercase;
  border:1px solid var(--line);
  text-align:center;
  padding:20px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px){
  .hero h1{ font-size:42px; }
  .stat-grid{ grid-template-columns:repeat(2,1fr); }
  .stat-grid div:nth-child(2){ border-right:none; }
  .card-grid{ grid-template-columns:repeat(2,1fr); }
  .feature-grid{ grid-template-columns:1fr; }
  .content-grid{ grid-template-columns:1fr; }
  .values-grid{ grid-template-columns:1fr 1fr; }
  .contact-grid{ grid-template-columns:1fr; }
}
@media (max-width: 760px){
  .hero-grid{ grid-template-columns:1fr; }
  .gauge-wrap{ order:-1; max-width:220px; margin:0 auto 30px; }

  /* Hamburger butonu */
  .nav-toggle{ display:block; flex-shrink:0; }

  /* Header içinde taşmayı önle */
  .site-header{ overflow:visible; }
  .nav-wrap{ padding:12px 0; }

  /* Açılır menü — viewport'un tamamını kapla */
  .nav-links{
    display:none;
    position:fixed;
    top:66px; left:0; right:0;
    width:100%;
    background:var(--navy);
    border-top:2px solid var(--blue);
    border-bottom:1px solid var(--line);
    flex-direction:column;
    align-items:stretch;
    gap:0;
    padding:6px 0 12px;
    z-index:200;
    box-shadow:0 8px 24px rgba(0,0,0,.4);
    max-height:calc(100vh - 66px);
    overflow-y:auto;
  }
  .nav-links.is-open{ display:flex; }

  /* Menü linkleri */
  .nav-links > a,
  .nav-links .has-sub > a{
    padding:13px 20px;
    font-size:13px;
    letter-spacing:.5px;
    border-bottom:1px solid var(--line);
    width:100%;
    box-sizing:border-box;
  }
  .nav-links .has-sub{ width:100%; }

  /* Alt menü */
  .sub-menu{
    position:static;
    display:none;
    border:none;
    background:var(--navy-3);
    margin-top:0;
    padding:0;
    width:100%;
  }
  .has-sub.is-open .sub-menu{ display:block; }
  .sub-menu a{
    padding:11px 34px;
    font-size:12px;
    border-bottom:1px solid var(--line);
  }

  /* İletişim CTA butonu */
  .nav-cta{
    margin:10px 20px 4px;
    text-align:center;
    width:calc(100% - 40px);
    box-sizing:border-box;
  }

  .card-grid{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .section-title{ font-size:28px; }
  .values-grid{ grid-template-columns:1fr; }
  .cta-flex{ flex-direction:column; align-items:flex-start; }
}
