/* ==========================================================
   Dr Dimitris Giannopoulos — landing page
   Palette: white, blue, hints of black
   ========================================================== */

:root {
  --white: #ffffff;
  --blue: #1a4f9c;
  --blue-dark: #123a75;
  --blue-light: #e9f0fa;
  --blue-line: #d3e0f2;
  --ink: #111418;
  --ink-soft: #4a5260;

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Noto Serif", Georgia, serif;

  --radius: 14px;
  --shadow: 0 10px 30px rgba(17, 20, 24, 0.08);
  --header-h: 72px;
}

/* ---------- Language visibility ---------- */
html[lang="el"] body [lang="en"],
html[lang="en"] body [lang="el"] {
  display: none !important;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

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

h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  margin: 0;
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; }

.container {
  width: min(1140px, 100% - 2.5rem);
  margin-inline: auto;
}

.muted { color: var(--ink-soft); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: var(--ink);
  color: var(--white);
  border-radius: 8px;
}
.skip-link:focus { top: 1rem; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}
.btn-primary:hover { background: var(--blue-dark); }

.btn-ghost {
  border-color: var(--ink);
  color: var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--white);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--blue-line);
  box-shadow: 0 2px 12px rgba(17, 20, 24, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--blue);
  color: var(--white);
  flex-shrink: 0;
}

.site-nav {
  display: flex;
  gap: 1.75rem;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.97rem;
}
.site-nav a:hover { color: var(--blue); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-switch {
  display: flex;
  padding: 3px;
  border: 1px solid var(--blue-line);
  border-radius: 999px;
}

.lang-btn {
  padding: 0.3rem 0.75rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font: 600 0.85rem var(--font-sans);
  cursor: pointer;
}
.lang-btn[aria-pressed="true"] {
  background: var(--blue);
  color: var(--white);
}

.nav-toggle {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  border: 1px solid var(--blue-line);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 2px;
  margin-left: -9px;
  background: var(--ink);
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle-bar { top: 50%; margin-top: -1px; }
.nav-toggle-bar::before,
.nav-toggle-bar::after { content: ""; left: 0; margin-left: 0; }
.nav-toggle-bar::before { transform: translateY(-6px); }
.nav-toggle-bar::after { transform: translateY(6px); }

.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(2.5rem, 6vw, 5rem) 0;
  background: linear-gradient(180deg, var(--white) 0%, var(--blue-light) 100%);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.hero-specialty {
  margin: 0.75rem 0 1.25rem;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--blue);
}

.hero-lead {
  max-width: 34rem;
  color: var(--ink-soft);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.hero-photo {
  position: relative;
  margin: 0;
}
.hero-photo::before {
  content: "";
  position: absolute;
  inset: 1.25rem -1.25rem -1.25rem 1.25rem;
  border: 2px solid var(--blue);
  border-radius: var(--radius);
}
.hero-photo img {
  position: relative;
  width: 100%;
  aspect-ratio: 900 / 1060;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}
.section-tint {
  background: var(--blue-light);
}
.section-head {
  margin-bottom: 2.25rem;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  column-gap: clamp(2rem, 5vw, 4rem);
}
.about-grid .section-head { grid-column: 1 / -1; }

.bio {
  max-width: 44rem;
}
.bio p:first-child::first-letter {
  float: left;
  margin: 0.35rem 0.6rem 0 0;
  font-family: var(--font-serif);
  font-size: 3.4rem;
  line-height: 0.85;
  color: var(--blue);
}
.bio-aim {
  margin-top: 1.75rem;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--blue);
  background: var(--blue-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-serif);
  font-size: 1.1rem;
}

.highlights {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-self: start;
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}

.highlight-card {
  padding: 1.25rem 1.4rem;
  border: 1px solid var(--blue-line);
  border-radius: var(--radius);
  background: var(--white);
}
.highlight-card h3 {
  margin-bottom: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.highlight-card p { margin: 0; font-weight: 500; }
.highlight-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.highlight-card li {
  position: relative;
  padding-left: 1rem;
  font-weight: 500;
}
.highlight-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.tags span {
  padding: 0.15rem 0.65rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
}

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.gallery-item {
  position: relative;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
  cursor: zoom-in;
  box-shadow: var(--shadow);
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.4s, opacity 0.4s;
}
.gallery-item-wide { grid-column: 1 / -1; }
.gallery-item-wide img {
  aspect-ratio: 21 / 9;
  object-position: 50% 45%;
}
.gallery-item:hover img {
  transform: scale(1.03);
  opacity: 0.92;
}

.gallery-caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(17, 20, 24, 0.75);
  color: var(--white);
  font: 500 0.9rem var(--font-sans);
}

.lightbox {
  max-width: min(1200px, 95vw);
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
}
.lightbox::backdrop {
  background: rgba(17, 20, 24, 0.85);
}
.lightbox img {
  max-height: 88vh;
  border-radius: var(--radius);
}
.lightbox-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

/* ---------- Hours ---------- */
.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.hours-grid .section-head p { max-width: 26rem; }

.hours-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--blue-line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hours-table th,
.hours-table td {
  padding: 0.95rem 1.4rem;
  border-bottom: 1px solid var(--blue-line);
  text-align: left;
  vertical-align: top;
}
.hours-table tr:last-child th,
.hours-table tr:last-child td { border-bottom: 0; }
.hours-table th { font-weight: 600; }
.hours-table td {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.hours-table tr.closed td { color: var(--ink-soft); }
.hours-table tr.is-today {
  background: var(--blue);
  color: var(--white);
}
.hours-table tr.is-today td { color: var(--white); }

.hero-phones {
  margin: 1.1rem 0 0;
  color: var(--ink-soft);
}
.hero-phones a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.hero-phones a:hover { color: var(--blue); }

.gesy-badge {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.75rem;
  padding: 0.75rem 1.25rem 0.75rem 0.75rem;
  border: 1px solid var(--blue-line);
  border-radius: var(--radius);
  background: var(--white);
}
.gesy-badge img {
  width: 84px;
  flex-shrink: 0;
}
.gesy-badge p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--ink-soft);
}
.gesy-badge strong {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- Contact ---------- */
.phones {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.phone-card {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.6rem 1rem 1rem;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  transition: background-color 0.2s;
}
.phone-card:hover { background: var(--blue-dark); }

.phone-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--blue);
}
.phone-label {
  display: block;
  font-size: 0.8rem;
  opacity: 0.75;
}
.phone-number {
  display: block;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.locations {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.location-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.location-info {
  padding: 1.5rem 1.6rem 1.25rem;
}
.location-info h3 { margin-bottom: 0.25rem; }
.location-info p {
  margin-bottom: 0.75rem;
  color: var(--ink-soft);
}

.link-arrow {
  font-weight: 600;
  text-decoration: none;
}
.link-arrow:hover { text-decoration: underline; }

.map {
  flex: 1;
  min-height: 280px;
  background: var(--blue-line);
}
.map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 3rem 0 1.5rem;
  background: var(--ink);
  color: var(--white);
}
.site-footer .muted { color: rgba(255, 255, 255, 0.6); }
.site-footer p { margin: 0 0 0.25rem; }
.site-footer a {
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
}
.footer-contact { text-align: right; }
.footer-contact a { display: block; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 1.25rem;
  font-size: 0.9rem;
}
.footer-bottom p { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; }
  .highlights {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 2rem;
  }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 1.25rem 1rem;
    background: var(--white);
    border-bottom: 1px solid var(--blue-line);
    box-shadow: 0 12px 20px rgba(17, 20, 24, 0.06);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--blue-light);
  }
  .site-nav a:last-child { border-bottom: 0; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-photo {
    order: -1;
    max-width: 360px;
  }

  .hours-grid,
  .locations,
  .gallery { grid-template-columns: 1fr; }
  .gallery-item-wide img { aspect-ratio: 16 / 10; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .brand-text { font-size: 0.92rem; }
  .highlights { grid-template-columns: 1fr; }
  .hero-photo::before { inset: 0.75rem -0.75rem -0.75rem 0.75rem; }
  .hero-photo { margin-right: 0.75rem; }
  .gesy-badge br { display: none; }
  .gesy-badge img { width: 72px; }
  .footer-contact { text-align: left; }
}

@media (max-width: 400px) {
  .brand-text { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
