/* Dr. Kitsopanidis — modern static clinic site */
:root {
  --bg: #f6f4f0;
  --bg-deep: #0f1f1d;
  --surface: #ffffff;
  --text: #1a2423;
  --muted: #5c6a68;
  --accent: #1a6b63;
  --accent-light: #2d9a8f;
  --gold: #c9a227;
  --shadow: 0 20px 60px rgba(15, 31, 29, 0.12);
  --radius: 14px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 999;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: #fff;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 244, 240, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26, 107, 99, 0.12);
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--bg-deep);
  letter-spacing: 0.02em;
}
.brand span {
  display: block;
  font-size: 0.72rem;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-main {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-main a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-main a:hover {
  color: var(--accent);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--accent);
  background: transparent;
  padding: 0.4rem 0.65rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg-deep);
  color: #e8f0ee;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(45, 154, 143, 0.35), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(201, 162, 39, 0.12), transparent 50%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 600;
  line-height:1.15;
  margin: 0 0 1rem;
}

.hero-lead {
  font-size: 1.1rem;
  color: rgba(232, 240, 238, 0.88);
  max-width: 36ch;
  margin: 0 0 1.75rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  color: #fff;
  box-shadow: 0 8px 24px rgba(26, 107, 99, 0.35);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-photo-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
  max-height: 420px;
}
.hero-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-photo-frame {
  position: absolute;
  inset: -2px;
  border: 2px solid rgba(201, 162, 39, 0.35);
  border-radius: calc(var(--radius) + 2px);
  pointer-events: none;
}

/* Sections */
section {
  padding: 4rem 1.5rem;
}
.section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 0.5rem;
  color: var(--bg-deep);
}
.section-sub {
  color: var(--muted);
  max-width: 52ch;
  margin: 0 0 2rem;
}

.bg-alt {
  background: linear-gradient(180deg, #eef5f3 0%, var(--bg) 100%);
}

/* About */
.about-grid {
  max-width: 720px;
  margin: 0 auto;
}
.about-card {
  background: var(--surface);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.about-card p {
  margin: 0 0 1rem;
  text-align: justify;
}
.about-card p:last-child {
  margin-bottom: 0;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}
.service-card {
  background: var(--surface);
  padding: 1.5rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid rgba(26, 107, 99, 0.12);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.service-card:hover {
  border-color: var(--accent-light);
  box-shadow: var(--shadow);
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
  color: var(--accent);
}
.service-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

/* Publications */
.pubs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.pub-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(15, 31, 29, 0.08);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.pub-card-body {
  padding: 1.35rem 1.5rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.pub-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.65rem;
  line-height: 1.35;
}
.pub-card p {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  color: var(--muted);
  flex: 1;
}
.pub-card a.more {
  font-weight: 600;
  font-size: 0.9rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
  align-items: stretch;
}
.contact-card {
  background: var(--surface);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.contact-list li {
  margin-bottom: 1rem;
  padding-left: 0;
}
.contact-list strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.25rem;
}
.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 280px;
  box-shadow: var(--shadow);
}
.map-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  display: block;
}

.map-link {
  margin: 0.65rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

/* Footer */
.site-footer {
  background: var(--bg-deep);
  color: rgba(232, 240, 238, 0.75);
  padding: 2rem 1.5rem;
  font-size: 0.9rem;
}
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.site-footer a {
  color: var(--gold);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    padding-top: 2.5rem;
  }
  .hero-photo-wrap {
    order: -1;
    max-height: 320px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .nav-main {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(246, 244, 240, 0.98);
    flex-direction: column;
    padding: 1rem 1.5rem 1.25rem;
    border-bottom: 1px solid rgba(26, 107, 99, 0.12);
  }
  .nav-main.is-open {
    display: flex;
  }
  .nav-toggle {
    display: block;
  }
}

/* Inner pages (legacy article / page content) */
.page-shell {
  padding: 2.5rem 1.5rem 4rem;
}
.page-inner {
  max-width: 900px;
  margin: 0 auto;
}
.breadcrumbs {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}
.breadcrumbs a {
  color: var(--muted);
}
.breadcrumbs a:hover {
  color: var(--accent);
}
.content-prose {
  background: var(--surface);
  padding: 2rem 2rem 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.content-prose .post-meta {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0 0 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(26, 107, 99, 0.1);
}
.content-prose h1.title,
.content-prose h1 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.25;
  margin: 0 0 0.75rem;
  color: var(--bg-deep);
}
.content-prose img {
  max-width: 100%;
  height: auto;
}
.content-prose p,
.content-prose li {
  font-size: 1rem;
  line-height: 1.7;
}
.content-prose table {
  max-width: 100%;
  overflow-x: auto;
  display: block;
}
.static-note {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: #fff8e6;
  border-radius: 8px;
  border: 1px solid rgba(201, 162, 39, 0.35);
  font-size: 0.92rem;
}
