/* Χρώματα και βασικές ρυθμίσεις */
:root {
  --bg: #faf7f2;
  --bg-alt: #f1ece3;
  --surface: #ffffff;
  --text: #2e2b27;
  --muted: #6b655c;
  --accent: #4f7158;
  --accent-soft: #dfe8e0;
  --line: #e3dccf;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent); }

.container { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }

/* Κεφαλίδα */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
}

.brand {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}

/* Τοποθεσία δίπλα στο όνομα στην πάνω μπάρα */
.brand-location {
  font-family: var(--sans);
  font-size: 0.8em;
  color: var(--muted);
}

nav { display: flex; gap: 22px; }

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

nav a:hover { color: var(--accent); }

/* Εισαγωγή */
.hero { padding: 72px 0 64px; }

.hero-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: center;
}

.portrait {
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid var(--surface);
  box-shadow: 0 12px 32px rgba(46, 43, 39, 0.12);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
}

/* Κρατά το "MSc" όπως γράφεται, όχι "MSC" */
/* Αριθμός άδειας κάτω από τον τίτλο */
.eyebrow:has(+ .license) { margin-bottom: 4px; }

.license {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.eyebrow .degree {
  color: inherit;
  font-size: 0.8em;
  text-transform: none;
  letter-spacing: 0.02em;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.25; }

h1 { margin: 0 0 16px; font-size: clamp(2rem, 4.5vw, 2.9rem); }

.degree { color: var(--muted); font-size: 0.6em; }

/* Υπηρεσίες: μία ανά γραμμή, με κουκκίδα */
.services {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  font-size: 1.15rem;
  text-align: left;
}

.services li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 6px;
}

.services li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}


/* Ενότητες */
.section { padding: 64px 0; }
.section.alt { background: var(--bg-alt); }

h2 {
  margin: 0 0 28px;
  font-size: 1.9rem;
}

h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 12px;
  background: var(--accent);
  border-radius: 2px;
}

.section p { margin: 0 0 16px; }

/* Χρονολόγιο (Βιογραφικό / Εμπειρία) */
.timeline { list-style: none; margin: 0; padding: 0; }

.timeline li {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.timeline li:last-child { border-bottom: 0; }

.years {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
  padding-top: 2px;
}

.timeline h4 {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.15rem;
  line-height: 1.35;
}

/* Υποενότητες Βιογραφικού (Εκπαίδευση / Προϋπηρεσία) */
.subhead {
  margin: 0 0 4px;
  font-size: 1.4rem;
  color: var(--accent);
}

.timeline + .subhead { margin-top: 40px; }
.timeline p { margin: 0; color: var(--muted); }

/* Επικοινωνία */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.visit-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 28px;
}

.card-title {
  margin: 0 0 14px;
  font-size: 1.3rem;
  color: var(--accent);
}

.address {
  margin: 0 0 16px;
  font-size: 1.1rem;
  font-weight: 600;
}

.map-link {
  display: inline-block;
  margin-top: 18px;
  font-weight: 600;
  text-decoration: none;
}

.map-link:hover { text-decoration: underline; }

.appointment {
  display: inline-block;
  margin: 0 0 24px;
  padding: 8px 16px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
  border-radius: 999px;
}

.contact { margin: 0; display: grid; gap: 14px; }
.contact div { display: grid; gap: 2px; }
.contact dt { color: var(--muted); font-size: 0.9rem; }
.contact dd { margin: 0; overflow-wrap: anywhere; }
.contact a { text-decoration: none; font-weight: 600; }

/* Υποσέλιδο */
.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

.site-footer p { margin: 0; }

/* Κινητά */
@media (max-width: 720px) {
  body { font-size: 16px; }

  .header-inner { flex-direction: column; align-items: flex-start; gap: 4px; padding-top: 10px; padding-bottom: 10px; }
  nav { gap: 16px; overflow-x: auto; max-width: 100%; }
  .brand { white-space: normal; }
  html { scroll-padding-top: 120px; }

  .hero { padding: 40px 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 28px; text-align: center; justify-items: center; }
  .portrait { width: 200px; height: 200px; }

  .section { padding: 48px 0; }

  .timeline li { grid-template-columns: 1fr; gap: 4px; }

  .visit-card { padding: 22px 20px; }
  .contact-grid { grid-template-columns: 1fr; }
}
