/* Hotel Kallithea — static site stylesheet (light/dark themes) */

/* ---------- Theme tokens ---------- */
:root {
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: Georgia, "Times New Roman", serif;

  /* brand (same in both themes) */
  --brand: #12414f;
  --brand-ink: #eaf4f7;
  --brand-muted: #9fc3ce;

  /* light theme (default) */
  --bg: #f7f5f0;
  --surface: #ffffff;
  --surface-2: #eef2f0;
  --ink: #22303a;
  --muted: #5c6b73;
  --line: #e3ded4;
  --accent: #0e7490;
  --accent-strong: #0b5b71;
  --accent-ink: #ffffff;
  --shadow: 0 1px 2px rgba(30, 41, 59, .06), 0 8px 24px rgba(30, 41, 59, .08);
  --shadow-lift: 0 2px 4px rgba(30, 41, 59, .08), 0 16px 40px rgba(30, 41, 59, .14);
  --overlay: linear-gradient(180deg, rgba(10, 20, 25, .15) 0%, rgba(10, 20, 25, .0) 35%, rgba(10, 20, 25, .55) 100%);
}

:root[data-theme="dark"] {
  --bg: #0e1519;
  --surface: #17222a;
  --surface-2: #1d2b34;
  --ink: #e6e4de;
  --muted: #97a6ae;
  --line: #263741;
  --accent: #4fb8d4;
  --accent-strong: #74cbe2;
  --accent-ink: #0b2229;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .35);
  --shadow-lift: 0 2px 4px rgba(0, 0, 0, .35), 0 16px 40px rgba(0, 0, 0, .5);
  --overlay: linear-gradient(180deg, rgba(5, 10, 13, .3) 0%, rgba(5, 10, 13, .1) 35%, rgba(5, 10, 13, .7) 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  transition: background-color .3s ease, color .3s ease;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-strong); }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.25; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--brand) 88%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--brand-ink);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08), 0 4px 20px rgba(0, 0, 0, .18);
}

@supports not (background: color-mix(in srgb, red, blue)) {
  .site-header { background: var(--brand); }
}

.site-header .container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  order: 1;
}
.brand img { height: 86px; width: auto; }

.site-nav { order: 2; }
.site-nav ul { list-style: none; display: flex; gap: 2px; }

.site-nav a {
  display: block;
  padding: 9px 15px;
  color: var(--brand-ink);
  text-decoration: none;
  font-size: .93rem;
  font-weight: 500;
  letter-spacing: .01em;
  border-radius: 999px;
  transition: background-color .2s ease;
}

.site-nav a:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.site-nav a.active { background: rgba(255, 255, 255, .18); color: #fff; }

.theme-toggle, .nav-toggle {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  color: var(--brand-ink);
  cursor: pointer;
  line-height: 1;
  transition: background-color .2s ease, transform .2s ease;
}

.theme-toggle:hover, .nav-toggle:hover { background: rgba(255, 255, 255, .2); }
.theme-toggle:active { transform: scale(.92); }

.theme-toggle {
  order: 3;
  margin-left: 12px;
  width: 40px;
  height: 40px;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle .icon-sun, .theme-toggle .icon-moon { display: none; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }

.nav-toggle {
  display: none;
  order: 4;
  width: 40px;
  height: 40px;
  font-size: 1.2rem;
}

/* ---------- Google Translate widget ---------- */
.translate-wrap {
  order: 1;
  margin-left: 16px;
  margin-right: auto;
  display: flex;
  align-items: center;
}

/* hide the gadget's "Powered by" branding block; keep only the select */
.translate-wrap .goog-te-gadget {
  font-size: 0;
  color: transparent;
  line-height: 1;
  height: auto;
  display: flex;
  align-items: center;
}

.translate-wrap .goog-te-gadget > span,
.translate-wrap .goog-te-gadget img,
.translate-wrap .goog-te-gadget a {
  display: none !important;
}

.translate-wrap .goog-te-combo {
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 500;
  color: var(--brand-ink);
  background-color: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  padding: 9px 32px 9px 15px;
  margin: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M1 1l4 4 4-4' fill='none' stroke='%23eaf4f7' stroke-width='1.5' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 13px center;
  transition: background-color .2s ease;
  outline: none;
}

.translate-wrap .goog-te-combo:hover,
.translate-wrap .goog-te-combo:focus-visible {
  background-color: rgba(255, 255, 255, .2);
}

/* dropdown options render on the OS sheet — keep them readable */
.translate-wrap .goog-te-combo option {
  color: #22303a;
  background: #fff;
  font-size: .95rem;
}

/* keep Google's translation banner from overlapping the sticky header */
.goog-te-banner-frame { display: none !important; }
body { top: 0 !important; }
.skiptranslate > iframe { display: none !important; }

/* ---------- Hero slider ---------- */
.hero {
  position: relative;
  overflow: hidden;
  max-height: 620px;
}

.hero .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero .slide.current { position: relative; opacity: 1; }

.hero .slide img {
  width: 100%;
  height: 100%;
  max-height: 620px;
  min-height: 380px;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--overlay);
  pointer-events: none;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 0 24px 64px;
  text-align: center;
  color: #fff;
}

.hero-overlay h1 {
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  font-weight: 700;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .45);
}

.hero-overlay p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1rem, 2.4vw, 1.3rem);
  margin: 6px 0 22px;
  color: rgba(255, 255, 255, .92);
  text-shadow: 0 1px 10px rgba(0, 0, 0, .45);
}

.hero-dots {
  position: absolute;
  bottom: 22px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 3;
}

.hero-dots button {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, .5);
  cursor: pointer;
  transition: width .3s ease, background-color .3s ease;
}

.hero-dots button.current { background: #fff; width: 26px; }

/* ---------- Page title band ---------- */
.page-title {
  background: linear-gradient(135deg, var(--brand) 0%, #1a5b6e 100%);
  color: #fff;
  padding: clamp(28px, 6vw, 52px) 0;
}

.page-title h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); }

/* ---------- Main content ---------- */
main { padding: clamp(32px, 6vw, 56px) 0 64px; }

.section-title {
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  color: var(--ink);
  padding-bottom: 10px;
  margin-bottom: 20px;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
}

main p { margin-bottom: 14px; }

.columns {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(28px, 4vw, 44px);
  align-items: start;
}

.columns.even { grid-template-columns: 1fr 1fr; }

.info-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 20px 24px;
  margin-bottom: 20px;
}

.info-box h4 {
  text-align: center;
  font-size: 1.05rem;
  margin-bottom: 12px;
  color: var(--accent-strong);
}
.info-box ul { list-style: none; }
.info-box li { padding: 5px 0 5px 24px; position: relative; }
.info-box li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 13px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  transform: rotate(45deg);
  background: var(--accent);
}

/* ---------- Cards (Λίγα Λόγια) ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 26px 26px 24px;
  transition: transform .25s ease, box-shadow .25s ease;
}

.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }

.card h3 {
  color: var(--accent-strong);
  margin-bottom: 12px;
  font-size: 1.2rem;
}
.card p { font-size: .95rem; color: var(--muted); margin: 0; }

/* ---------- Financial archive (archives.html) ---------- */
.year-block { margin-bottom: 22px; }

.year-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  margin-bottom: 6px;
}

.year-header h2 {
  font-size: 1.25rem;
  color: var(--accent-strong);
}

.year-header span {
  font-size: .8rem;
  font-weight: 600;
  font-family: var(--font-body);
  color: var(--accent-ink);
  background: var(--accent);
  border-radius: 999px;
  padding: 4px 12px;
}

.doc-list { list-style: none; }

.doc-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 2px;
  border-bottom: 1px solid var(--line);
}

.doc-list li:last-child { border-bottom: none; }

.doc-name {
  display: flex;
  align-items: center;
  gap: 12px;
}

.doc-icon {
  flex-shrink: 0;
  font-family: var(--font-body);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: #fff;
  background: #c0392b;
  border-radius: 5px;
  padding: 4px 7px;
}

.btn-download {
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 7px 18px;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease;
}

.btn-download:hover {
  background: var(--accent);
  color: var(--accent-ink);
}

.show-more-wrap { text-align: center; margin-top: 6px; }

.btn-show-more {
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  color: var(--accent);
  background: transparent;
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 11px 26px;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}

.btn-show-more:hover {
  background: var(--accent);
  color: var(--accent-ink);
}

.is-hidden { display: none; }

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  list-style: none;
}

.gallery.compact { grid-template-columns: repeat(4, 1fr); }

.gallery a {
  display: block;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--ink);
  transition: transform .25s ease, box-shadow .25s ease;
}

.gallery a:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }

.gallery img {
  width: 100%;
  aspect-ratio: 3 / 1.9;
  object-fit: cover;
  transition: transform .4s ease;
}

.gallery a:hover img { transform: scale(1.06); }

.gallery figcaption {
  padding: 10px 14px;
  font-size: .85rem;
  color: var(--muted);
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(4, 8, 10, .9);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: 92vw;
  max-height: 84vh;
  border-radius: 10px;
  box-shadow: 0 10px 50px rgba(0, 0, 0, .7);
}

.lightbox .lb-caption {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  text-align: center;
  color: #ddd;
  font-size: .95rem;
}

.lightbox button {
  position: absolute;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  width: 46px;
  height: 46px;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color .2s ease;
}

.lightbox button:hover { background: rgba(255, 255, 255, .2); }
.lightbox .lb-close { top: 18px; right: 18px; }
.lightbox .lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 11px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.btn:hover {
  background: var(--accent-strong);
  color: var(--accent-ink);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

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

.hero-overlay .btn {
  background: rgba(255, 255, 255, .95);
  color: #12414f;
}
.hero-overlay .btn:hover { background: #fff; color: #12414f; }

/* ---------- Contact ---------- */
.map-embed { margin-bottom: 36px; }
.map-embed iframe {
  width: 100%;
  height: 340px;
  border: 0;
  border-radius: 14px;
  box-shadow: var(--shadow);
  display: block;
}

:root[data-theme="dark"] .map-embed iframe {
  filter: invert(90%) hue-rotate(180deg) contrast(.9);
}

address { font-style: normal; margin-bottom: 18px; }
address strong { display: block; margin-top: 10px; }
address .line { padding: 4px 0 4px 24px; position: relative; }
address .line::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  transform: rotate(45deg);
  background: var(--accent);
}

.contact-form .field { margin-bottom: 14px; }

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  color: var(--ink);
  background: var(--surface);
  transition: border-color .2s ease, box-shadow .2s ease, background-color .3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--muted); }

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent);
}

.contact-form .field-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.access-list { list-style: none; counter-reset: step; margin-bottom: 14px; }
.access-list li {
  counter-increment: step;
  padding: 7px 0 7px 38px;
  position: relative;
}
.access-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 9px;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: .85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Utility ---------- */
.spacer { height: 32px; }

.img-float {
  float: left;
  width: 320px;
  max-width: 45%;
  margin: 4px 22px 14px 0;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.weather-embed iframe { border: 0; width: 100%; max-width: 356px; height: 112px; border-radius: 10px; }

/* Scroll-reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--brand);
  color: var(--brand-muted);
  padding: 30px 0;
  font-size: .9rem;
}

.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.site-footer img { height: 72px; }
.site-footer a { color: var(--brand-ink); }

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
}

.footer-nav a {
  display: block;
  padding: 8px 14px;
  color: var(--brand-ink);
  text-decoration: none;
  font-size: .92rem;
  border-radius: 999px;
  transition: background-color .2s ease;
}

.footer-nav a:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 840px) {
  .columns, .columns.even { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .gallery, .gallery.compact { grid-template-columns: repeat(2, 1fr); }
  .contact-form .field-row { grid-template-columns: 1fr; }

  .nav-toggle { display: flex; align-items: center; justify-content: center; }
  .theme-toggle { margin-left: 0; }
  .site-nav { display: none; width: 100%; order: 5; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; padding: 10px 0 6px; gap: 4px; }
  .site-nav a { border-radius: 10px; }
}

@media (max-width: 520px) {
  .gallery, .gallery.compact { grid-template-columns: 1fr; }
  .brand img { height: 64px; }
  .translate-wrap { margin-left: 10px; }
  .translate-wrap .goog-te-combo { font-size: .82rem; padding: 8px 26px 8px 12px; }
  .hero-overlay { padding-bottom: 52px; }
  .site-footer .container { flex-direction: column; }
  .footer-nav ul { justify-content: center; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
