* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  background: #f5f6fa;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ================= HEADER ================= */
.header {
  height: 120px;
  background: linear-gradient(to right, #f1f3f5, #dee2e6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* gap: 60px;
  padding: 0 80px; */
  padding: 0 clamp(20px, 5vw, 80px);
  gap: clamp(20px, 5vw, 60px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 10;
}

.logo img {
  height: 140px;
}

.nav {
  display: flex;
  gap: 50px;
  align-items: center;
  margin-left: 0px;
  margin-right: 100px;
}

.nav a {
  white-space: nowrap; /* μην τυλίγεται η λέξη */
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: 0.2s;
}

.nav a:hover {
  color: #39929f;
}

.login a {
  background: #39929f;
  color: white;
  padding: 10px 22px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
  margin: 0;
}

.login a:hover {
  background: #2f7f8a;
}

.footer {
  background: linear-gradient(to right, #f1f3f5, #dee2e6);
  text-align: center;
  padding: 18px;
  font-size: 14px;
  color: #555;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
}

/* ================= HERO & CONTENT ================= */
.hero {
  min-height: calc(100vh - 180px);
  background: url("about.jpg") center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
  flex: 1;
  background-size: cover;
  transition:
    transform 0.6s ease,
    opacity 0.4s ease;
}

.hero.zoom {
  transform: scale(1.05);
  opacity: 0.9;
}

.hero.fade-out {
  opacity: 0;
}

.content-box {
  background: rgba(255, 255, 255, 0.95);
  width: 700px;
  height: 390px;
  max-width: 90%;
  padding: 25px 40px;
  border-radius: 25px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
  animation: fadeIn 0.8s ease;
  overflow-y: auto;
  overflow-x: hidden;
}

.content-box h2 {
  margin-bottom: 20px;
  font-weight: 600;
  color: #222;
}

.content-box p {
  line-height: 1.6;
  color: #555;
  margin-bottom: 15px;
}

.content-box table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 15px;
}

.content-box td {
  padding: 8px;
}

.info-box {
  margin: 15px auto;
  padding: 5px;
  color: white;
  background-color: #39929f;
  border-left: 5px solid #39929f;
  border-radius: 5px;
  text-align: center;
  max-width: 600px;
}

.nav-item {
  position: relative;
}

.nav > a,
.nav-item > a {
  font-size: 20px;
  font-weight: 600;
  color: #333;
}

.submenu {
  display: none;
  position: absolute;
  top: 35px;
  left: 0;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  flex-direction: column;
  min-width: 200px;
  z-index: 10;
}

.submenu a {
  display: block;
  padding: 8px 15px;
  color: #333;
  font-weight: 400;
  text-decoration: none;
}

.submenu a:hover {
  color: #39929f;
  background: #f1f6fa;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 760px) {
  body {
    margin: 0;
  }

  .header,
  .nav {
    margin: 0;
  }
  .header {
    display: flex;
    flex-direction: column;
    height: auto;

    padding: 0 clamp(20px, 5vw, 40px); /* λίγο πιο στενό padding */
    margin: 0;
    padding: 0;
    gap: 0;
    line-height: 1;
  }

  .nav {
    display: flex;
    width: 100%;
    margin: 0;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    background-color: #2f7f8a;
    padding: 5px; /* κάθετο padding μόνο */
    line-height: 1;
  }
  .nav > a,
  .nav-item > a {
    font-size: 12px; /* 👈 bigger text */
    color: white;
  }
  .nav > a:focus,
  .nav > a:active,
  .nav > a:visited,
  .nav-item > a:focus,
  .nav-item > a:active,
  .nav-item > a:visited {
    color: white; /* κρατάμε το λευκό πάντα */
    outline: none; /* αφαιρεί το focus border */
    background: none; /* αν ο browser βάζει background highlight */
  }

  .logo img {
    display: block;
    height: auto;
    max-height: 120px;
    margin: 0;
    padding: 0px;
    display: block;
  }
  .login {
    width: 100%;
    justify-content: center;
    margin: 0px;
    padding: 3px;
    visibility: hidden;
    font-size: 1px;
  }

  .submenu a {
    display: block;
    padding: 8px 15px;
    color: #333;
    font-weight: 400;
    text-decoration: none;
    font-size: 12px;
  }

  .hero {
    margin-top: 0;
    padding: 10px;
    min-height: auto;
    height: auto;
    margin: 0;
  }

  .content-box {
    width: 100%;
    max-width: 95%;
    height: auto;
    padding: 25px;
    font-size: 12px;
  }
  .content-box h2 {
    margin-bottom: 25px;
    font-weight: 700;
    color: #222;
    font-size: clamp(14px, 5vw, 14px);
  }

  .content-box p {
    font-size: 13px;
  }
  .content-box td {
    padding: 12px;
    font-size: 15px;
  }

  .info-box {
    margin: 15px auto;
    padding: 10px 15px; /* λίγο παραπάνω αέρα */
    color: white;
    background-color: #39929f;
    border-left: 5px solid #39929f;
    border-radius: 5px;
    text-align: center;
    max-width: 600px;

    font-size: 12px; /* 👈 bigger text */
    font-weight: 500;
  }

  .footer {
    background: linear-gradient(to right, #f1f3f5, #dee2e6);
    text-align: center;
    padding: 18px;
    font-size: 10px;
    color: #555;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
  }
}

/* ================= MOBILE OVERLAY ================= */
/* Mobile overlay */
/* #mobileOverlay {
  visibility: hidden;
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #f5f6fa;

  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;

  padding: 20px;
  z-index: 9999;
} */

/* #mobileOverlay .mobile-logo {
  width: 150px; 
  max-width: 40vw; 
  height: auto;
  margin-bottom: 20px;
} */

/* Μήνυμα */
/* #mobileOverlay .mobile-message {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.4;
  padding: 0 10px;
} */
