@import url("https://fonts.googleapis.com/css?family=Libre+Franklin:300,400,400i,700,700i&subset=latin,greek");

:root {
  --accent: #007acc;
  --accent-dark: #006bb3;
  --dark: #222222;
  --text: #333333;
  --muted: #767676;
  --line: #e5e5e5;
  --soft: #f7f7f7;
  --white: #ffffff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Libre Franklin", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main { flex: 1; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }

header {
  background: var(--dark);
  color: var(--white);
  border-bottom: 1px solid #111;
}
.bar {
  max-width: 1000px;
  margin: 0 auto;
  padding: 36px 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}
.brand {
  color: var(--white);
  text-decoration: none;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.2;
}
.brand:hover { color: var(--white); }
.brand::after {
  content: "Aegina port services";
  display: block;
  font-size: .85rem;
  font-weight: 400;
  color: #aaaaaa;
  letter-spacing: .02em;
  margin-top: 4px;
}
nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4px 22px;
  border-top: 1px solid #3a3a3a;
  padding-top: 14px;
  width: 100%;
}
nav a {
  color: #dddddd;
  text-decoration: none;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
nav a:hover, nav a.active { color: var(--white); border-bottom-color: var(--accent); }
.lang {
  background: transparent;
  color: #dddddd;
  border: 1px solid #555;
  border-radius: 0;
  padding: 3px 10px;
  cursor: pointer;
  font: inherit;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
}
.lang:hover { color: var(--white); border-color: var(--white); }

.hero {
  background: linear-gradient(rgba(34,34,34,.55), rgba(34,34,34,.7)),
              linear-gradient(135deg, #3c7fa3 0%, #9cc3d4 60%, #d9b77e 100%);
  color: var(--white);
  padding: 110px 20px 120px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  margin: 0 auto 14px;
  max-width: 780px;
  line-height: 1.2;
}
.hero p {
  max-width: 620px;
  margin: 0 auto 30px;
  font-size: 1.1rem;
  opacity: .95;
}

.page-hero {
  background: linear-gradient(rgba(34,34,34,.6), rgba(34,34,34,.7)),
              linear-gradient(135deg, #3c7fa3 0%, #9cc3d4 60%, #d9b77e 100%);
  color: var(--white);
  padding: 70px 20px 76px;
  text-align: center;
}
.page-hero h1 { margin: 0 0 10px; font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 700; }
.page-hero p { margin: 0 auto; max-width: 620px; font-size: 1.05rem; opacity: .95; }

.actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 12px 24px;
  border: 1px solid var(--accent);
  border-radius: 0;
  text-decoration: none;
  font: inherit;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--white); }
.btn-ghost { background: transparent; color: var(--white); border-color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--dark); }

section { padding: 64px 20px; }
section.alt { background: var(--soft); }
.wrap { max-width: 1000px; margin: 0 auto; }
h2 {
  font-size: 1.9rem;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--dark);
  line-height: 1.25;
}
.lead { color: var(--muted); margin: 0 0 32px; max-width: 680px; }

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.tile {
  background: var(--white);
  padding: 24px;
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
}
.tile:hover { border-color: var(--accent); }
.tile h3 { margin: 0 0 6px; color: var(--dark); font-size: 1.05rem; font-weight: 700; }
.tile p { margin: 0; color: var(--muted); font-size: .92rem; }

.cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.cat { background: var(--white); border: 1px solid var(--line); padding: 26px; }
.cat h3 { margin: 0 0 12px; color: var(--dark); font-size: 1.15rem; font-weight: 700; }
.cat ul { margin: 0; padding-left: 18px; }
.cat li { margin: 6px 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }

form {
  display: grid;
  gap: 16px;
  background: var(--white);
  padding: 26px;
  border: 1px solid var(--line);
}
label { display: grid; gap: 6px; font-size: .9rem; font-weight: 700; color: var(--dark); }
input, select, textarea {
  font: inherit;
  font-weight: 400;
  padding: 10px 12px;
  border: 1px solid #cccccc;
  border-radius: 0;
  color: var(--text);
  background: var(--white);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); }
textarea { min-height: 110px; resize: vertical; }
form .btn { justify-self: start; }
.note { font-size: .9rem; color: var(--muted); }

.ports { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.port { padding: 22px; background: var(--dark); color: var(--white); border-top: 3px solid var(--accent); }
.port strong { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.port span { color: #bbbbbb; font-size: .9rem; }

.map {
  margin-top: 28px;
  height: 220px;
  background: #e9edf0;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-weight: 700;
}

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li { background: var(--white); padding: 18px 20px; border: 1px solid var(--line); border-left: 3px solid var(--accent); }

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; font-size: 1rem; }
.contact-list a { color: var(--accent); font-weight: 700; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

footer {
  background: var(--dark);
  color: #aaaaaa;
  padding: 28px 20px;
  text-align: center;
  font-size: .85rem;
}

.book {
  background: var(--accent);
  color: var(--white);
  border: 1px solid var(--accent);
  padding: 7px 16px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
}
.book:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--white); }
.book-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--accent);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
}
.book-link:hover { text-decoration: underline; }

/* Front page banner: text sits bottom-left, like the 2017 front page */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 460px;
  text-align: left;
  padding: 60px 20px 56px;
}
.hero > * {
  width: 100%;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
.hero > h1 {
  max-width: 1000px;
  margin-bottom: 14px;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
}
.hero > p {
  max-width: 1000px;
  margin-bottom: 24px;
  font-size: 1.15rem;
}
.hero .actions { justify-content: flex-start; }
