/* ===== Χρώματα του site ===== */
:root {
  --basic-bg: #d1d9f1;
  --dark-bg: #c6cee5;
  --text: #212529;
  --muted: #6c757d;
  --nav-height: 180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-height); }

body {
  margin: 0;
  background: var(--basic-bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  padding-top: var(--nav-height);
}

img { max-width: 100%; height: auto; display: block; }

.basic-bg { background: var(--basic-bg); }
.dark-bg { background: var(--dark-bg); }

/* ===== Επάνω μπάρα ===== */
.nav-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10;
  min-height: var(--nav-height);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  padding: 0 16px;
  background: var(--dark-bg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
}
.logo-small { display: none; }
.menu { display: flex; gap: 8px; }
.menu a {
  color: rgba(0, 0, 0, .65); font-weight: bold; text-decoration: none; padding: 8px;
}
.menu a:hover { color: #000; }
.menu-toggle {
  display: none; font-size: 28px; background: none; border: 1px solid rgba(0,0,0,.2);
  border-radius: 6px; padding: 2px 12px; cursor: pointer;
}

/* ===== Ενότητες ===== */
section { padding-bottom: 130px; }
.narrow { max-width: 760px; margin: 0 auto; padding: 0 16px; text-align: center; }
.wide { max-width: 1140px; margin: 0 auto; padding: 0 16px; text-align: center; }

.name {
  font-weight: bold; font-size: 32px; font-family: Roboto, sans-serif;
  margin: 0; padding: 60px 20px 32px;
}

.marina-photo { width: 100%; margin-bottom: 24px; }
.paragraphs p { text-align: left; margin: 0 0 1rem; padding: 4px 0; }

/* ===== Χρήσιμες πληροφορίες ===== */
.info-item {
  display: grid; grid-template-columns: 1fr 2fr; align-items: center;
  margin: 48px 0; text-align: left;
}
.info-item img { max-width: 420px; width: 100%; justify-self: center; }
.info-item.img-right img { order: 2; }
.info-text { background: var(--dark-bg); padding: 24px; }
.info-text h4 { margin: 0 0 8px; font-size: 1.5rem; }
.info-text p { margin: 0; }

/* ===== Φωτογραφίες γραφείου ===== */
.carousel { position: relative; max-width: 600px; margin: 24px auto; padding-bottom: 50px; }
.slides { position: relative; overflow: hidden; }
.slides img { width: 100%; display: none; }
.slides img.active { display: block; animation: fade .6s; }
@keyframes fade { from { opacity: .3; } to { opacity: 1; } }
.carousel .prev, .carousel .next {
  position: absolute; top: calc(50% - 25px); transform: translateY(-50%);
  background: none; border: 0; color: #fff; font-size: 56px; line-height: 1;
  padding: 0 14px; cursor: pointer; text-shadow: 0 0 6px rgba(0,0,0,.5);
}
.carousel .prev { left: 0; }
.carousel .next { right: 0; }
.dots { position: absolute; bottom: 0; left: 0; right: 0; display: flex; justify-content: center; }
.dots button {
  width: 16px; height: 16px; border-radius: 50%; margin: 0 12px; padding: 0;
  border: 1px solid #000; background: transparent; cursor: pointer;
}
.dots button.active { background: #000; }

/* ===== Επικοινωνία ===== */
.contact-wrapper { max-width: 852px; margin: 0 auto; padding: 0 16px; }
.contact-wrapper .name { text-align: center; padding-bottom: 48px; }
.contact-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; }
h5 { font-size: 1.25rem; margin: 0 0 24px; font-weight: 500; }
form label { display: block; margin-bottom: 16px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
input, textarea {
  display: block; width: 100%; margin-top: 8px;
  background: var(--basic-bg); border: 1px solid #000; border-radius: 8px;
  padding: 8px 12px; font: inherit; color: #000;
}
input.invalid, textarea.invalid { border-color: #dc3545; }
.form-error { color: #dc3545; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { padding: 12px 16px; border-radius: 8px; margin-top: 16px; }
.form-status.ok { background: #d1e7dd; color: #0f5132; border: 1px solid #a3cfbb; }
.form-status.fail { background: #f8d7da; color: #842029; border: 1px solid #f1aeb5; }
button[type=submit]:disabled { opacity: .6; cursor: wait; }
button[type=submit] {
  background: var(--basic-bg); border: 1px solid #000; border-radius: 8px;
  padding: 8px 24px; font: inherit; font-weight: bold; cursor: pointer;
  box-shadow: 0 1rem 3rem rgba(0,0,0,.175);
}
.phone a {
  display: block; border: 1px solid #000; border-radius: 8px; padding: 8px 12px;
  font-weight: bold; color: #000; text-decoration: none; margin-bottom: 24px;
  box-shadow: 0 1rem 3rem rgba(0,0,0,.175);
}
.muted { color: var(--muted); }
.social { display: flex; gap: 16px; margin-top: 24px; }

/* ===== Υποσέλιδο ===== */
footer p { margin: 0; padding: 8px 16px; }

/* ===== Κινητά ===== */
@media (max-width: 1199px) {
  .menu-toggle { display: block; }
  .menu { display: none; width: 100%; flex-direction: column; padding-bottom: 12px; }
  body.menu-open .menu { display: flex; }
}
@media (max-width: 767px) {
  :root { --nav-height: 130px; }
  .logo-big { display: none; }
  .logo-small { display: block; }
  .info-item, .contact-grid, .row2 { grid-template-columns: 1fr; }
  .info-item img { margin-bottom: 24px; }
  .info-item.img-right img { order: 0; }
  section { padding-bottom: 80px; }
}

/* ===== Επαγγελματική πορεία ===== */
.sub-title { font-size: 22px; font-weight: bold; text-align: left; margin: 48px 0 20px; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 24px; border-left: 2px solid #5b6584; text-align: left; }
.timeline li { position: relative; padding: 0 0 22px 8px; }
.timeline li::before {
  content: ""; position: absolute; left: -33px; top: 5px; width: 14px; height: 14px;
  border-radius: 50%; background: var(--dark-bg); border: 2px solid #5b6584;
}
.timeline li:first-child::before { background: #5b6584; }
.timeline .when { display: block; font-size: 14px; font-weight: bold; color: #5b6584; letter-spacing: .02em; }
.timeline strong { display: block; }
.timeline span:last-child { display: block; color: #495057; font-size: 15px; }

/* ===== Τομείς Δικαίου ===== */
.areas { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; text-align: left; }
.area { background: var(--dark-bg); padding: 28px; border-radius: 8px; border-top: 4px solid #5b6584; }
.area h3 { margin: 0 0 10px; font-size: 1.3rem; }
.area p { margin: 0; }

/* ===== Συγκατάθεση φόρμας ===== */
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.consent input { width: auto; margin: 3px 0 0; flex: none; accent-color: #5b6584; }
.consent.invalid { color: #dc3545; }
.consent a, footer a { color: inherit; }

/* ===== Κουμπί κλήσης (κινητό) ===== */
.call-btn { display: none; }
@media (max-width: 767px) {
  .areas { grid-template-columns: 1fr; }
  .call-btn {
    display: block; position: fixed; right: 16px; bottom: 16px; z-index: 20;
    background: #2f3a5c; color: #fff; text-decoration: none; font-weight: bold;
    padding: 12px 20px; border-radius: 999px; box-shadow: 0 6px 16px rgba(0,0,0,.25);
  }
  footer { padding-bottom: 72px; }
}
