/* =========================================================
   EMİRALİ AMBALAJ (eapack) — Kurumsal Tema
   Design tokens grounded in the brand's own print collateral:
   navy + orange/amber gradient, cut-corner "box flap" panels
   echoing the logo's carton icon and the diagonal-cut shapes
   already used on the company business card.
   ========================================================= */

:root{
  /* --- brand colors sampled from the client's real logo files --- */
  --navy-900:#15163e;
  --navy-800:#20214f;
  --navy-700:#292b63;
  --navy-600:#3a3c7d;
  --orange-600:#ef5a22;
  --amber-500:#f7a52c;
  --grad-brand: linear-gradient(100deg, var(--orange-600), var(--amber-500));
  --kraft-500:#c08a52;   /* nod to kraft paper — their actual raw material */
  --kraft-100:#f3ebdf;

  --paper:#faf8f4;
  --paper-alt:#f2ede4;
  --ink:#1d1e2c;
  --ink-soft:#565873;
  --line:#e4dfd5;
  --white:#ffffff;

  --font-head: 'Space Grotesk', 'Arial Narrow', sans-serif;
  --font-body: 'IBM Plex Sans', 'Segoe UI', sans-serif;

  --cut:22px; /* signature cut-corner size */
  --container: 1180px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--paper);
  line-height:1.6;
  font-size:16px;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family:var(--font-head); margin:0 0 .5em; line-height:1.15; font-weight:600; letter-spacing:-0.01em; }
p{ margin:0 0 1em; }
.container{ max-width:var(--container); margin:0 auto; padding:0 28px; }

:focus-visible{ outline:3px solid var(--amber-500); outline-offset:2px; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
}

/* ---------- signature shape: cut-corner "flap" panel ----------
   Echoes the trapezoid / diagonal-cut bars already present in the
   company's business card & logo lockup — used instead of generic
   rounded cards throughout the site. */
.flap{
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
}
.flap-sm{ --cut:14px; }
.flap-rev{
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}

.rule{
  width:64px; height:5px; border-radius:3px;
  background:var(--grad-brand);
  margin:14px 0 22px;
}

.btn{
  display:inline-flex; align-items:center; gap:10px;
  font-family:var(--font-head); font-weight:600; font-size:15px;
  padding:14px 26px;
  border:none; cursor:pointer;
  transition:transform .18s ease, box-shadow .18s ease;
}
.btn-primary{
  background:var(--grad-brand); color:var(--white);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}
.btn-primary:hover{ transform:translateY(-2px); box-shadow:0 10px 24px rgba(239,90,34,.35); }
.btn-ghost{
  background:transparent; color:var(--navy-800);
  border:1.5px solid var(--navy-800);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}
.btn-ghost:hover{ background:var(--navy-800); color:var(--white); }
.btn-ghost.on-dark{ border-color:rgba(255,255,255,.5); color:var(--white); }
.btn-ghost.on-dark:hover{ background:var(--white); color:var(--navy-900); }

.eyebrow-none{ } /* intentionally no ALL-CAPS eyebrow labels site-wide */

.section{ padding:88px 0; }
.section-tight{ padding:56px 0; }
.section-alt{ background:var(--paper-alt); }
.section-navy{ background:var(--navy-800); color:var(--white); }
.section-navy .ink-soft{ color:rgba(255,255,255,.72); }

.head-row{ display:flex; align-items:flex-end; justify-content:space-between; gap:32px; margin-bottom:44px; flex-wrap:wrap; }
.head-row h2{ font-size:clamp(28px,3.4vw,40px); max-width:600px; }
.head-row p{ max-width:420px; color:var(--ink-soft); margin:0; }
.section-navy .head-row p{ color:rgba(255,255,255,.7); }

/* ---------------- Top utility bar ---------------- */
.topbar{
  background:var(--navy-900); color:rgba(255,255,255,.85);
  font-size:13.5px;
}
.topbar .container{ display:flex; justify-content:space-between; align-items:center; padding-top:9px; padding-bottom:9px; flex-wrap:wrap; gap:8px; }
.topbar a{ color:inherit; }
.topbar .tb-links{ display:flex; gap:22px; }
.topbar .tb-links span{ opacity:.85; }
.topbar .tb-certs{ opacity:.75; letter-spacing:.02em; }

/* ---------------- Header / Nav ---------------- */
.site-header{
  background:var(--white);
  position:sticky; top:0; z-index:50;
  border-bottom:1px solid var(--line);
}
.site-header .container{ display:flex; align-items:center; justify-content:space-between; padding-top:14px; padding-bottom:14px; gap:20px; }
.site-logo img{ height:38px; width:auto; }
.main-nav{ display:flex; align-items:center; gap:34px; }
.main-nav ul{ display:flex; gap:30px; }
.main-nav a{
  font-family:var(--font-head); font-weight:500; font-size:15px; color:var(--navy-800);
  position:relative; padding:6px 0;
}
.main-nav a::after{
  content:""; position:absolute; left:0; bottom:0; height:2px; width:0%;
  background:var(--grad-brand); transition:width .2s ease;
}
.main-nav a:hover::after, .main-nav a.current::after{ width:100%; }
.header-cta{ display:flex; align-items:center; gap:18px; }
.header-cta .tel{ font-family:var(--font-head); font-weight:600; font-size:15px; color:var(--navy-800); white-space:nowrap; }
.header-cta .tel small{ display:block; font-family:var(--font-body); font-weight:400; color:var(--ink-soft); font-size:12px; }

.menu-toggle{ display:none; background:none; border:none; cursor:pointer; padding:6px; }
.menu-toggle span{ display:block; width:24px; height:2px; background:var(--navy-800); margin:5px 0; }

@media (max-width:920px){
  .main-nav{ display:none; position:absolute; top:100%; left:0; right:0; background:var(--white); flex-direction:column; align-items:stretch; border-bottom:1px solid var(--line); padding:8px 28px 20px; }
  .main-nav.open{ display:flex; }
  .main-nav ul{ flex-direction:column; gap:4px; }
  .main-nav ul a{ display:block; padding:10px 0; }
  .header-cta .tel-text{ display:none; }
  .menu-toggle{ display:block; }
  .topbar .tb-certs{ display:none; }
}

/* ---------------- Hero ---------------- */
.hero{
  position:relative; overflow:hidden;
  background:
    radial-gradient(1100px 500px at 82% -10%, rgba(247,165,44,.16), transparent 60%),
    var(--paper);
  padding:76px 0 90px;
}
.hero .container{ display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center; }
.hero h1{ font-size:clamp(34px,4.6vw,54px); color:var(--navy-900); }
.hero h1 em{ font-style:normal; background:var(--grad-brand); -webkit-background-clip:text; background-clip:text; color:transparent; }
.hero-lede{ font-size:18px; color:var(--ink-soft); max-width:52ch; }
.hero-ctas{ display:flex; gap:16px; margin-top:30px; flex-wrap:wrap; }

.hero-visual{ position:relative; }
.hero-art{
  background:var(--navy-800);
  aspect-ratio:1/0.86;
  position:relative;
  overflow:hidden;
  clip-path: polygon(0 0, calc(100% - 46px) 0, 100% 46px, 100% 100%, 46px 100%, 0 calc(100% - 46px));
}
.hero-art svg{ width:100%; height:100%; }
.hero-chip{
  position:absolute; background:var(--white);
  padding:16px 20px; box-shadow:0 18px 40px rgba(21,22,62,.18);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}
.hero-chip .num{ font-family:var(--font-head); font-size:26px; font-weight:700; color:var(--navy-900); line-height:1; }
.hero-chip .lbl{ font-size:12.5px; color:var(--ink-soft); margin-top:4px; max-width:16ch; }
.chip-1{ left:-18px; bottom:34px; }
.chip-2{ right:-14px; top:26px; }

@media (max-width:920px){
  .hero .container{ grid-template-columns:1fr; }
  .hero-visual{ order:-1; max-width:420px; margin:0 auto; }
}

/* ---------------- Trust strip ---------------- */
.trust-strip{ background:var(--white); border-bottom:1px solid var(--line); padding:22px 0; }
.trust-strip .container{ display:flex; align-items:center; gap:34px; flex-wrap:wrap; justify-content:space-between; }
.trust-strip .ts-label{ font-family:var(--font-head); font-size:14px; color:var(--ink-soft); white-space:nowrap; }
.trust-badges{ display:flex; gap:12px; flex-wrap:wrap; }
.trust-badges span{
  font-family:var(--font-head); font-size:13px; font-weight:600; color:var(--navy-800);
  background:var(--kraft-100); border:1px solid var(--line);
  padding:7px 14px;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

/* ---------------- About teaser ---------------- */
.about-grid{ display:grid; grid-template-columns:.95fr 1.05fr; gap:60px; align-items:center; }
.about-grid .about-copy p{ color:var(--ink-soft); max-width:56ch; }
.stat-stack{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.stat-card{
  background:var(--white); border:1px solid var(--line);
  padding:26px 22px;
}
.stat-card .num{ font-family:var(--font-head); font-size:34px; font-weight:700; color:var(--navy-900); }
.stat-card .lbl{ color:var(--ink-soft); font-size:14px; margin-top:6px; }
@media (max-width:920px){ .about-grid{ grid-template-columns:1fr; } }

/* ---------------- Products ---------------- */
.product-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.product-card{
  background:var(--white); border:1px solid var(--line);
  padding:30px 26px 26px;
  transition:transform .2s ease, box-shadow .2s ease;
}
.product-card:hover{ transform:translateY(-4px); box-shadow:0 20px 40px rgba(21,22,62,.09); }
.product-icon{
  width:52px; height:52px; margin-bottom:18px;
  display:flex; align-items:center; justify-content:center;
  background:var(--grad-brand);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
.product-icon svg{ width:26px; height:26px; stroke:#fff; }
.product-card h3{ font-size:19px; }
.product-card p{ color:var(--ink-soft); font-size:14.5px; margin-bottom:16px; }
.product-card a{ font-family:var(--font-head); font-weight:600; font-size:14px; color:var(--orange-600); }
@media (max-width:920px){ .product-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:640px){ .product-grid{ grid-template-columns:1fr; } }

/* ---------------- Why us ---------------- */
.why-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:26px; }
.why-item .why-icon{ width:44px; height:44px; margin-bottom:16px; }
.why-item .why-icon svg{ width:100%; height:100%; stroke:var(--amber-500); fill:none; }
.why-item h3{ font-size:17px; color:var(--white); }
.why-item p{ color:rgba(255,255,255,.68); font-size:14px; }
@media (max-width:920px){ .why-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .why-grid{ grid-template-columns:1fr; } }

/* ---------------- Certificates ---------------- */
.cert-grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:16px; }
.cert-card{
  background:var(--white);
  padding:22px 16px;
  text-align:center;
  border-top:4px solid transparent;
  border-image:var(--grad-brand) 1;
}
.cert-card .cert-code{ font-family:var(--font-head); font-weight:700; font-size:16px; color:var(--navy-900); }
.cert-card .cert-name{ font-size:12.5px; color:var(--ink-soft); margin:8px 0 12px; min-height:48px; }
.cert-card a{ font-size:12.5px; font-weight:600; color:var(--orange-600); }
@media (max-width:920px){ .cert-grid{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:640px){ .cert-grid{ grid-template-columns:repeat(2,1fr); } }

/* ---------------- CTA banner ---------------- */
.cta-banner{
  background:var(--grad-brand);
  padding:64px 0;
  text-align:center;
  color:var(--white);
}
.cta-banner h2{ font-size:clamp(26px,3.4vw,36px); color:var(--white); }
.cta-banner p{ color:rgba(255,255,255,.9); max-width:52ch; margin-left:auto; margin-right:auto; }
.cta-banner .btn-primary{ background:var(--navy-900); }

/* ---------------- Contact ---------------- */
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:50px; }
.contact-list li{ display:flex; gap:14px; padding:16px 0; border-bottom:1px solid var(--line); }
.contact-list .ico{ width:22px; height:22px; flex:0 0 auto; stroke:var(--orange-600); fill:none; margin-top:2px; }
.contact-list .lbl{ font-size:12.5px; color:var(--ink-soft); text-transform:none; margin-bottom:2px; }
.contact-list .val{ font-family:var(--font-head); font-weight:600; font-size:15.5px; }
.contact-map{ min-height:340px; border:1px solid var(--line); overflow:hidden; }
.contact-map iframe{ width:100%; height:100%; min-height:340px; border:0; display:block; }

.wpcf7 label, .contact-form label{ display:block; font-family:var(--font-head); font-size:13.5px; margin-bottom:6px; color:var(--navy-800); }
.contact-form .row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.contact-form input, .contact-form textarea, .contact-form select{
  width:100%; padding:13px 14px; border:1px solid var(--line); background:var(--white);
  font-family:var(--font-body); font-size:15px; margin-bottom:16px;
}
.contact-form textarea{ min-height:120px; resize:vertical; }
@media (max-width:920px){ .contact-grid{ grid-template-columns:1fr; } .contact-form .row{ grid-template-columns:1fr; } }

/* ---------------- Footer ---------------- */
.site-footer{ background:var(--navy-900); color:rgba(255,255,255,.75); padding-top:64px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:40px; padding-bottom:48px; border-bottom:1px solid rgba(255,255,255,.12); }
.footer-grid img{ height:34px; margin-bottom:16px; }
.footer-grid p{ color:rgba(255,255,255,.6); font-size:14px; max-width:34ch; }
.footer-col h4{ color:var(--white); font-size:15px; margin-bottom:16px; }
.footer-col ul li{ margin-bottom:10px; }
.footer-col ul a{ color:rgba(255,255,255,.68); font-size:14.5px; }
.footer-col ul a:hover{ color:var(--amber-500); }
.footer-bottom{ display:flex; justify-content:space-between; padding:22px 0; font-size:13px; color:rgba(255,255,255,.5); flex-wrap:wrap; gap:10px; }
@media (max-width:920px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .footer-grid{ grid-template-columns:1fr; } }

/* ---------------- Generic page (About / Contact page templates) ---------------- */
.page-hero{ background:var(--navy-800); color:var(--white); padding:70px 0 60px; }
.page-hero h1{ font-size:clamp(30px,4vw,44px); color:var(--white); max-width:720px; }
.page-hero p{ color:rgba(255,255,255,.72); max-width:60ch; }
.entry-content{ max-width:760px; }
.entry-content h2{ margin-top:1.4em; }
.entry-content p{ color:var(--ink-soft); }

.timeline-note{
  background:var(--kraft-100); border-left:4px solid var(--kraft-500);
  padding:18px 22px; font-size:14.5px; color:var(--ink-soft); margin:26px 0;
}

/* Reveal-on-load (single orchestrated hero moment only) */
.reveal{ opacity:0; transform:translateY(14px); animation:revealUp .7s ease forwards; }
.reveal-delay-1{ animation-delay:.12s; }
.reveal-delay-2{ animation-delay:.24s; }
@keyframes revealUp{ to{ opacity:1; transform:translateY(0); } }
