/* ==========================================================
   ArDeCons – Architecture · Decorations · Constructions
   Χρώματα και γραμματοσειρές: αλλάζουν από το :root
   ========================================================== */
:root {
  --slate: #3B4244;
  --slate-deep: #2B3234;
  --orange: #F26B21;
  --orange-deep: #C9500F;
  --ink: #1E2426;
  --muted: #5B6467;
  --mist: #F2F3F1;
  --line: #D4D8D6;
  --paper: #FFFFFF;
  --side: 272px;
  --sans: "Manrope", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --text: "Literata", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; border-radius: 0; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--orange-deep); text-underline-offset: 4px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--ink); color: #fff; padding: .7rem 1rem; font-family: var(--sans); }
.skip:focus { left: 0; }

/* Γλώσσα: δείχνουμε μόνο την ενεργή */
html[data-lang="el"] .en, html[data-lang="en"] .el { display: none !important; }

h1, h2, h3 { font-family: var(--sans); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.3rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.3rem; letter-spacing: -.01em; }
p { margin: 0 0 1.1em; }

/* ---------- Πλευρικό μενού ---------- */
.side {
  position: fixed; inset: 0 auto 0 0; width: var(--side); z-index: 40;
  background: var(--slate); color: #E4E8E7;
  display: flex; flex-direction: column; padding: 2rem 0 1.5rem;
  font-family: var(--sans);
}
.brand { display: flex; flex-direction: column; align-items: center; text-align: center; text-decoration: none; color: #fff; padding: 0 1.5rem 1.6rem; }
.brand img { width: 92px; height: auto; margin-bottom: 1rem; }
.brand strong { font-size: 1.35rem; font-weight: 800; letter-spacing: -.01em; }
.brand small { font-size: .74rem; line-height: 1.5; color: #AEB8B7; margin-top: .35rem; }
.menu { list-style: none; margin: 1rem 0 0; padding: 0; flex: 1; }
.menu a {
  display: block; padding: .8rem 1.6rem; border-left: 4px solid transparent;
  color: #CBD3D2; text-decoration: none; font-weight: 600; font-size: .97rem;
  transition: background .15s ease, color .15s ease;
}
.menu a:hover { background: rgba(255,255,255,.06); color: #fff; }
.menu a[aria-current="page"] { border-left-color: var(--orange); color: #fff; background: rgba(255,255,255,.05); }
.side-foot { padding: 1.2rem 1.6rem 0; border-top: 1px solid rgba(255,255,255,.14); font-size: .92rem; }
.lang { display: flex; margin-bottom: 1rem; }
.lang button { flex: 1; padding: .5rem 0; font: 700 .85rem var(--sans); background: transparent; color: #CBD3D2; border: 1px solid rgba(255,255,255,.3); cursor: pointer; }
.lang button + button { border-left: 0; }
.lang button[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: #fff; }
.side-foot a { display: block; color: #fff; text-decoration: none; font-weight: 600; padding: .15rem 0; }
.side-foot a:hover { color: var(--orange); }

.topbar { display: none; }

/* ---------- Κύριο περιεχόμενο ---------- */
.main { margin-left: var(--side); min-height: 100vh; display: flex; flex-direction: column; }
.page { flex: 1; }
.wrap { width: min(1120px, 100%); margin-inline: auto; padding-inline: clamp(1.4rem, 4.5vw, 4rem); }
.section { padding-block: clamp(3rem, 6vw, 5.5rem); }
.section.mist { background: var(--mist); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem; margin-bottom: 2rem; }
.more { font-family: var(--sans); font-weight: 700; font-size: .95rem; white-space: nowrap; }

/* Γραμμή διάστασης (σχεδιαστική) κάτω από τους τίτλους */
.dim { position: relative; height: 16px; margin-top: 1.4rem; border-top: 1px solid var(--ink); max-width: 100%; }
.dim::before, .dim::after { content: ""; position: absolute; top: -9px; width: 1px; height: 17px; background: var(--ink); }
.dim::before { left: 0; } .dim::after { right: 0; }
.dim i { position: absolute; top: -7px; width: 14px; height: 1px; background: var(--orange); }
.dim i:first-child { left: -7px; transform: rotate(-45deg); }
.dim i:last-child { right: -7px; transform: rotate(-45deg); }

.page-head { padding: clamp(2.6rem, 6vw, 5rem) 0 clamp(1.2rem, 3vw, 2.2rem); }
.page-head .lead { font-size: 1.2rem; color: var(--muted); max-width: 40rem; margin: 1.2rem 0 0; }

/* ---------- Αρχική ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    linear-gradient(rgba(59,66,68,.07) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(59,66,68,.07) 1px, transparent 1px) 0 0 / 48px 48px,
    var(--mist);
  border-bottom: 1px solid var(--line);
}
.hero .wrap { position: relative; z-index: 1; padding-block: clamp(4rem, 11vw, 8.5rem); }
.hero h1 { font-size: clamp(2.8rem, 7.2vw, 6rem); line-height: .98; letter-spacing: -.035em; }
.hero .sub { font-size: 1.25rem; max-width: 33rem; margin: 1.8rem 0 2.2rem; color: var(--muted); }
.hero-mark { position: absolute; right: clamp(-60px, 3vw, 40px); top: 50%; width: min(46vw, 470px); transform: translateY(-50%); opacity: .95; z-index: 0; pointer-events: none; }
.btns { display: flex; flex-wrap: wrap; gap: .9rem; }
.btn {
  display: inline-block; padding: 1rem 1.6rem; font: 700 1rem var(--sans); text-decoration: none; cursor: pointer;
  background: var(--orange); color: #fff; border: 2px solid var(--orange);
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.line:hover { background: var(--ink); color: #fff; }
.btn.on-orange { background: var(--ink); border-color: var(--ink); }
.btn.on-orange:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* Κάρτες έργων */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.4rem, 2.6vw, 2.2rem); }
.card { display: block; text-decoration: none; color: inherit; }
.thumb {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  background: var(--slate) url("images/logo-mark.svg") center / 34% no-repeat;
}
.thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .thumb img { transform: scale(1.04); }
.thumb::before, .thumb::after { content: ""; position: absolute; width: 26px; height: 26px; border: 0 solid var(--orange); opacity: 0; transition: opacity .2s ease; z-index: 2; }
.thumb::before { left: 12px; top: 12px; border-width: 3px 0 0 3px; }
.thumb::after { right: 12px; bottom: 12px; border-width: 0 3px 3px 0; }
.card:hover .thumb::before, .card:hover .thumb::after, .card:focus-visible .thumb::before, .card:focus-visible .thumb::after { opacity: 1; }
.card h3 { margin: 1rem 0 .3rem; font-size: 1.12rem; line-height: 1.25; }
.card:hover h3 { color: var(--orange-deep); }
.meta { font: 500 .88rem var(--sans); color: var(--muted); display: flex; align-items: center; gap: .55rem; }
.meta::before { content: ""; width: 8px; height: 8px; background: var(--orange); flex: none; }

/* Λίστα υπηρεσιών (ευρετήριο) */
.index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.index li { border-bottom: 1px solid var(--line); }
.index a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem .2rem; text-decoration: none; color: var(--ink); font: 700 1.2rem var(--sans); transition: padding .2s ease, color .2s ease; }
.index a::after { content: ""; width: 22px; height: 2px; background: var(--orange); transition: width .2s ease; }
.index a:hover { color: var(--orange-deep); padding-left: .8rem; }
.index a:hover::after { width: 42px; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }

.cta { background: var(--orange); color: #fff; }
.cta h2 { max-width: 30rem; }
.cta p { max-width: 34rem; margin: 1rem 0 1.8rem; font-size: 1.15rem; }
.cta a:not(.btn) { color: #fff; }

/* ---------- Προφίλ / Υπηρεσίες / Ομάδα ---------- */
.prose { max-width: 42rem; font-size: 1.15rem; }
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); margin-top: 2.4rem; }
.principles article { padding: 1.5rem 1.6rem 1.5rem 0; }
.principles article + article { padding-left: 1.6rem; border-left: 1px solid var(--line); }
.principles h3 { margin-bottom: .7rem; }
.principles p { margin: 0; color: var(--muted); font-size: 1rem; }

.services { border-top: 1px solid var(--ink); }
.service { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: clamp(1rem, 4vw, 3.5rem); padding: 2rem 0; border-bottom: 1px solid var(--line); }
.service h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); display: flex; gap: .8rem; align-items: baseline; }
.service h2::before { content: ""; width: 12px; height: 12px; background: var(--orange); flex: none; transform: translateY(1px); }
.service p { margin: 0; color: #394144; }

.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.4rem, 3vw, 2.6rem); }
.person { border: 1px solid var(--ink); }
.person .mono { background: var(--slate); color: var(--orange); font: 800 4.5rem/1 var(--sans); padding: 2.2rem 1.6rem; letter-spacing: -.04em; }
.person .body { padding: 1.4rem 1.6rem 1.7rem; }
.person h2 { font-size: 1.6rem; margin-bottom: .3rem; }
.person .role { color: var(--muted); margin-bottom: 1.2rem; }

/* Πινακίδα σχεδίου (title block): πεδία με λεπτές γραμμές */
.tblock { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; border: 1px solid var(--ink); }
.tblock > div { padding: .8rem 1rem .9rem; border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); font-family: var(--sans); }
.tblock > div:nth-child(-n+2) { border-top: 0; }
.tblock > div:nth-child(odd) { border-left: 0; }
.tblock > div.full { grid-column: 1 / -1; border-left: 0; }
.tblock dt { font-size: .76rem; color: var(--muted); margin-bottom: .15rem; }
.tblock dd { margin: 0; font-weight: 700; font-size: .98rem; line-height: 1.35; }

/* ---------- Έργα ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filters button { font: 700 .92rem var(--sans); padding: .6rem 1rem; background: transparent; color: var(--ink); border: 1px solid var(--ink); cursor: pointer; transition: background .15s ease, color .15s ease; }
.filters button:hover { background: var(--mist); }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.card[hidden] { display: none; }

.project-top { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(1.6rem, 5vw, 4rem); align-items: start; }
.back { display: inline-block; margin-bottom: 1.6rem; font: 700 .95rem var(--sans); text-decoration: none; }
.back::before { content: "\2190\00a0"; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.gallery a { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--slate) url("images/logo-mark.svg") center / 28% no-repeat; }
.gallery img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery a:hover img { transform: scale(1.05); }
.gallery a.first { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.pager { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3.5rem; padding-top: 1.4rem; border-top: 1px solid var(--ink); font-family: var(--sans); font-weight: 700; }
.pager a { text-decoration: none; }

/* Μεγέθυνση φωτογραφιών */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(20,24,25,.94); display: none; align-items: center; justify-content: center; padding: 2rem; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox button { position: absolute; top: 1rem; right: 1rem; width: 48px; height: 48px; background: var(--orange); color: #fff; border: 0; font: 700 1.6rem var(--sans); cursor: pointer; }

/* ---------- Επικοινωνία ---------- */
.details.wide { max-width: 44rem; }
.details dd.big { font-size: clamp(1.5rem, 3.6vw, 2.4rem); letter-spacing: -.02em; overflow-wrap: anywhere; }
.details { margin: 0; }
.details > div { padding: 1.1rem 0; border-top: 1px solid var(--line); }
.details > div:first-child { border-top: 1px solid var(--ink); }
.details > div:last-child { border-bottom: 1px solid var(--line); }
.details dt { font: 600 .85rem var(--sans); color: var(--muted); margin-bottom: .2rem; }
.details dd { margin: 0; font: 700 1.15rem var(--sans); }
.details a { color: var(--ink); text-decoration-color: var(--orange); text-decoration-thickness: 3px; }

/* ---------- Footer ---------- */
.foot { background: var(--slate-deep); color: #C3CCCB; padding: 1.5rem 0; font: 500 .92rem var(--sans); }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; }
.foot p { margin: 0; }
.foot a { color: #fff; font-weight: 700; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery a.first { grid-column: span 2; grid-row: auto; aspect-ratio: 4 / 3; }
}
@media (max-width: 900px) {
  .topbar { display: flex; position: fixed; inset: 0 0 auto 0; z-index: 60; height: 62px; align-items: center; justify-content: space-between; padding: 0 1rem; background: var(--slate); }
  .topbar a { display: flex; align-items: center; gap: .7rem; color: #fff; text-decoration: none; font: 800 1.15rem var(--sans); }
  .topbar img { width: 30px; }
  .topbar button { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4); padding: .5rem .6rem; cursor: pointer; }
  .side { inset: 62px 0 auto 0; width: 100%; max-height: calc(100vh - 62px); overflow-y: auto; padding: .5rem 0 1rem; transform: translateY(-120%); visibility: hidden; transition: transform .25s ease, visibility .25s; }
  .side.open { transform: none; visibility: visible; }
  .brand { display: none; }
  .menu { margin-top: 0; }
  .main { margin-left: 0; padding-top: 62px; }
  .hero-mark { opacity: .25; width: 70vw; right: -15vw; }
  .split, .project-top, .service { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; }
  .principles article, .principles article + article { padding: 1.3rem 0; border-left: 0; }
  .principles article + article { border-top: 1px solid var(--line); }
  .people { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .grid { grid-template-columns: 1fr; }
    .section-head { flex-direction: column; align-items: flex-start; gap: .6rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
