/* =========================================================
   Σκαλωσιές Standard — Stylesheet
   Palette: safety yellow + steel dark + concrete grey
   ========================================================= */

:root {
  --yellow: #f5b301;
  --yellow-dark: #d99a00;
  --ink: #1a1d21;
  --steel: #23272e;
  --grey: #6b7280;
  --light: #f4f5f7;
  --line: #e2e4e8;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(20, 22, 26, .12);
  --maxw: 1180px;
  --font: "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.65;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

h1, h2, h3 { line-height: 1.2; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
section { padding: 74px 0; }

.accent { color: var(--yellow-dark); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--ink);
  color: #cfd3da;
  font-size: .86rem;
}
.topbar .container {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 40px; flex-wrap: wrap; gap: 6px;
}
.topbar a { color: #cfd3da; transition: color .2s; }
.topbar a:hover { color: var(--yellow); }
.topbar .tb-left span { margin-right: 18px; }
.topbar .tb-left i, .topbar .tb-right i { color: var(--yellow); }
.topbar .tb-right a { margin-left: 14px; font-weight: 600; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 14px rgba(0,0,0,.04);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 74px;
}
.logo { display: flex; align-items: center; gap: 12px; font-weight: 900; }
.logo .mark {
  width: 42px; height: 42px; border-radius: 8px;
  background: var(--yellow);
  display: grid; place-items: center;
  color: var(--ink); font-size: 1.35rem;
  box-shadow: inset 0 0 0 3px var(--ink);
}
.logo .txt { display: flex; flex-direction: column; line-height: 1.05; }
.logo .txt b { font-size: 1.18rem; letter-spacing: -.02em; }
.logo .txt small { font-size: .7rem; letter-spacing: .22em; color: var(--grey); font-weight: 700; text-transform: uppercase; }

.menu { display: flex; align-items: center; gap: 4px; list-style: none; }
.menu a {
  display: block; padding: 10px 16px; border-radius: 8px;
  font-weight: 600; color: var(--steel); transition: all .2s;
}
.menu a:hover { background: var(--light); color: var(--ink); }
.menu a.active { color: var(--yellow-dark); }
.menu .cta {
  background: var(--ink); color: #fff; margin-left: 8px;
}
.menu .cta:hover { background: var(--yellow); color: var(--ink); }

.burger {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; flex-direction: column; gap: 5px;
  justify-content: center; align-items: center;
}
.burger span { width: 24px; height: 3px; background: var(--ink); border-radius: 3px; transition: .25s; }
.burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 26px; border-radius: 8px; font-weight: 700;
  cursor: pointer; border: 0; transition: transform .15s, box-shadow .2s, background .2s;
  font-size: 1rem;
}
.btn-primary { background: var(--yellow); color: var(--ink); }
.btn-primary:hover { background: var(--yellow-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.55); }
.btn-outline:hover { border-color: var(--yellow); color: var(--yellow); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--steel); transform: translateY(-2px); box-shadow: var(--shadow); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    linear-gradient(115deg, rgba(20,22,26,.92) 0%, rgba(20,22,26,.65) 55%, rgba(20,22,26,.35) 100%),
    url("../images/hero.jpg") center/cover no-repeat;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, transparent 0 34px, rgba(245,179,1,.06) 34px 68px);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; padding-top: 96px; padding-bottom: 106px; }
.hero .tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245,179,1,.15); color: var(--yellow);
  padding: 7px 16px; border-radius: 40px; font-weight: 700;
  font-size: .82rem; letter-spacing: .04em; text-transform: uppercase;
  border: 1px solid rgba(245,179,1,.35); margin-bottom: 22px;
}
.hero h1 { max-width: 800px; }
.hero p.lead { max-width: 620px; font-size: 1.18rem; color: #d7dae0; margin: 20px 0 34px; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Stats bar ---------- */
.stats { background: var(--yellow); }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { text-align: center; padding: 30px 12px; border-right: 1px solid rgba(0,0,0,.12); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-size: 2.3rem; font-weight: 900; color: var(--ink); line-height: 1; }
.stat span { font-weight: 600; color: #3a3d42; font-size: .95rem; }

/* ---------- Section heading ---------- */
.head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.head .kicker {
  color: var(--yellow-dark); font-weight: 800; text-transform: uppercase;
  letter-spacing: .16em; font-size: .82rem; margin-bottom: 12px; display: block;
}
.head p { color: var(--grey); font-size: 1.06rem; margin-top: 12px; }

/* ---------- Services grid ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 26px; transition: .25s;
  position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 0;
  background: var(--yellow); transition: width .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { width: 100%; }
.card .ico {
  width: 56px; height: 56px; border-radius: 12px; background: var(--light);
  display: grid; place-items: center; font-size: 1.6rem; margin-bottom: 18px;
  color: var(--yellow-dark);
}
.card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card p { color: var(--grey); font-size: .98rem; }
.card-more {
  display: inline-block; margin-top: 14px; font-weight: 700; color: var(--yellow-dark);
  font-size: .95rem; transition: gap .2s;
}
.card-more:hover { color: var(--ink); }

/* feature cards (why us) */
.feature { text-align: center; padding: 34px 24px; }
.feature .ico {
  margin: 0 auto 18px; width: 66px; height: 66px; background: var(--ink);
  color: var(--yellow); font-size: 1.8rem;
}

/* ---------- Section: light bg ---------- */
.bg-light { background: var(--light); }
.bg-ink { background: var(--ink); color: #fff; }
.bg-ink .head p { color: #a9adb5; }

/* ---------- Split (about) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.split .media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); position: relative; }
.split .media img { width: 100%; height: 100%; object-fit: cover; min-height: 340px; }
.split .badge {
  position: absolute; left: 22px; bottom: 22px; background: var(--yellow);
  color: var(--ink); padding: 16px 22px; border-radius: 10px; font-weight: 900;
  box-shadow: var(--shadow);
}
.split .badge b { font-size: 1.8rem; display: block; line-height: 1; }
.split ul.checks { list-style: none; margin: 22px 0; }
.split ul.checks li { padding: 9px 0 9px 34px; position: relative; color: #333; }
.split ul.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 8px;
  width: 22px; height: 22px; background: var(--yellow); color: var(--ink);
  border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 900;
}

/* ---------- Projects gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4/3; box-shadow: var(--shadow); cursor: pointer;
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.tile:hover img { transform: scale(1.08); }
.tile .cap {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  justify-content: flex-end; padding: 22px; color: #fff;
  background: linear-gradient(to top, rgba(20,22,26,.85) 0%, transparent 60%);
}
.tile .cap span { color: var(--yellow); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.tile .cap b { font-size: 1.15rem; }

/* ---------- CTA banner ---------- */
.cta-band {
  background:
    linear-gradient(120deg, rgba(245,179,1,.95), rgba(217,154,0,.92)),
    url("../images/cta.jpg") center/cover;
  color: var(--ink); text-align: center;
}
.cta-band h2 { max-width: 720px; margin: 0 auto 14px; }
.cta-band p { max-width: 620px; margin: 0 auto 26px; font-size: 1.08rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 44px; align-items: start; }
.info-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info-item:last-child { border-bottom: 0; }
.info-item .ico {
  flex: none; width: 48px; height: 48px; border-radius: 10px; background: var(--yellow);
  color: var(--ink); display: grid; place-items: center; font-size: 1.25rem;
}
.info-item b { display: block; font-size: 1.02rem; }
.info-item span, .info-item a { color: var(--grey); }
.info-item a:hover { color: var(--yellow-dark); }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px;
  font-family: inherit; font-size: 1rem; transition: border .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus {
  outline: 0; border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(245,179,1,.2);
}
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--grey); margin-top: 10px; }
.form-ok {
  display: none; background: #e6f7ec; color: #1a7f42; border: 1px solid #b7e4c7;
  padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; font-weight: 600;
}

.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-top: 40px; }
.map iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ---------- Page banner (inner pages) ---------- */
.page-banner {
  background: linear-gradient(rgba(20,22,26,.82), rgba(20,22,26,.82)),
    url("../images/banner.jpg") center/cover;
  color: #fff; text-align: center; padding: 70px 0;
}
.page-banner .crumb { color: #c9ccd2; font-weight: 600; margin-top: 10px; }
.page-banner .crumb a:hover { color: var(--yellow); }
.page-banner .crumb .accent { color: var(--yellow); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #b7bbc2; padding: 62px 0 0; }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 18px; }
.footer a { color: #b7bbc2; transition: color .2s; }
.footer a:hover { color: var(--yellow); }
.footer ul { list-style: none; }
.footer ul li { padding: 6px 0; }
.footer .brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; color: #fff; font-weight: 900; }
.footer .brand .mark {
  width: 40px; height: 40px; border-radius: 8px; background: var(--yellow);
  display: grid; place-items: center; color: var(--ink);
  box-shadow: inset 0 0 0 3px var(--ink); font-size: 1.25rem;
}
.footer p.desc { font-size: .95rem; max-width: 300px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a {
  width: 40px; height: 40px; border-radius: 8px; background: rgba(255,255,255,.08);
  display: grid; place-items: center; font-size: 1.05rem;
}
.socials a:hover { background: var(--yellow); color: var(--ink); }
.footer .bottom {
  margin-top: 48px; border-top: 1px solid rgba(255,255,255,.1);
  padding: 22px 0; text-align: center; font-size: .88rem; color: #8b8f97;
}

/* ---------- Reveal animation (only when JS is active, so content never stays hidden) ---------- */
.has-js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.has-js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .menu {
    position: fixed; inset: 74px 0 auto 0; background: #fff; flex-direction: column;
    align-items: stretch; padding: 12px 18px 20px; gap: 2px; box-shadow: var(--shadow);
    transform: translateY(-140%); transition: transform .3s; border-bottom: 1px solid var(--line);
  }
  .menu.open { transform: none; }
  .menu a { padding: 14px 12px; border-radius: 8px; }
  .menu .cta { margin: 8px 0 0; text-align: center; }
  .burger { display: flex; }
  .stats .container { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .grid-3, .grid-4, .gallery { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer .cols { grid-template-columns: 1fr; }
  .topbar .tb-left { display: none; }
  section { padding: 54px 0; }
}
