/* Γενικά Στυλ */
@font-face {
  font-family: "kafenes.ttf";
  src: url(../fonts/PlayfairDisplay-Italic-VariableFont_wght.ttf);
}

body {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  color: #333; /* Μαύρο */
  font-family: "Arial", sans-serif; /* Προεπιλεγμένη γραμματοσειρά */
  font-size: 25px;
}

/* Header */
.header {
  display: flex;
  /* align-items: center; Κάθετη στοίχιση */
  justify-content: space-between; /* Αποστάσεις μεταξύ στοιχείων */
  padding: 10px;
  background-color: #333;
}

.header .logo {
  height: 105px; /* Ρύθμιση μεγέθους εικόνας */
}

.header .center-link {
  flex-grow: 1; /* Καταλαμβάνει διαθέσιμο χώρο */
  color: #ffffff;
  font-size: 70px;
  font-family: "kafenes.ttf";
  text-align: center;
}

/* Navigation Bar */
.topnav {
  background-color: #005b4f;
  display: flex;
  justify-content: center;
  width: 100%;
}

.topnav a {
  font-size: 23px;
  color: white;
  font-family: "Times New Roman", Times, serif;
  text-decoration: none; /* Αφαίρεση υπογράμμισης */
  padding: 10px 20px; /* Εσωτερικό padding των links */
  transition: color 0.6s; /* Hover εφέ */
}

.topnav a:hover {
  color: #ffc107; /* Χρώμα hover */
}

/* Κεντρικό Περιεχόμενο */
main {
  padding: 25px 20px 0px 20px;
  min-height: 800px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background-color: #e0f2f1; /* Απαλό φόντο */
}

/* Banner Image */
.banner-image {
  align-self: center;
  max-width: 70%;
  max-height: 30%;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

/* Buttons */
button {
  background-color: #ffc107; /* Χρυσό */
  color: #004d40; /* Κυπαρισσί */
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #d32f2f; /* Κόκκινο στο hover */
}

ul li {
  color: #333333; /* Σκούρο γκρι */
  list-style: disc;
  list-style-position: inside;
}
li::marker {
  color: #333;
}

/* Κοντέινερ που “αγκαλιάζει” όλες τις κάρτες */
.about-us {
  display: flex; /* Χρησιμοποιούμε Flexbox */
  flex-wrap: wrap; /* Αν δεν χωράνε οι κάρτες, πάνε στην επόμενη γραμμή */
  justify-content: center; /* Στοίχιση οριζόντια στο κέντρο */
  padding: 50px 0; /* Απόσταση επάνω-κάτω από τα περιθώρια της σελίδας */
  max-width: 1200px;
  margin: 0 auto; /* Κεντράρισμα σε σελίδα μεγάλου πλάτους */
}

/* Στυλ για την κάθε κάρτα */
.person-card {
  background-color: #fff; /* Λευκό φόντο για να ξεχωρίζει */
  border-radius: 8px; /* Ελαφρώς στρογγυλεμένες γωνίες */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Απαλή σκιά από κάτω */
  width: 250px; /* Σταθερό πλάτος κάρτας (μπορείς να το ρυθμίσεις) */
  margin: 20px; /* Κάποια απόσταση μεταξύ των καρτών */
  padding: 20px; /* Εσωτερικό padding στην κάρτα */
  text-align: center; /* Κεντραρισμένο κείμενο μέσα στην κάρτα */
  transition: transform 0.3s ease; /* Ομαλή μετάβαση σε περίπτωση hover */
}

.person-card:hover {
  transform: translateY(-5px); /* Ελαφρώς προς τα πάνω όταν κάνεις hover */
}

/* Η φωτογραφία προφίλ */
.profile-image {
  width: 100px;
  height: 100px;
  border-radius: 50%; /* Κυκλική εμφάνιση */
  object-fit: cover; /* Κόβει/κεντράρει τη φωτό ώστε να γεμίζει τον κύκλο */
  margin-bottom: 10px; /* Απόσταση από το όνομα */
  border: 2px solid #ccc; /* Λεπτό περίγραμμα */
}

/* Όνομα */
.person-name {
  margin: 10px 0 5px 0;
  font-size: 1.2em;
  color: #333;
}

/* Σύντομη περιγραφή */
.person-desc {
  font-size: 0.95em;
  line-height: 1.4;
  color: #666;
}

.member-signup {
  align-self: center;
}

.table-container {
  max-width: 800px;
  margin: 0 auto;
  color: white;
  background-color: #333;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}

.modern-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 8px;
}

.modern-table thead {
  background-color: #7289da;
  color: #ffffff;
}

.modern-table th, .modern-table td {
  padding: 15px;
  text-align: left;
}

.modern-table th {
  font-weight: bold;
  text-transform: uppercase;
  border-bottom: 3px solid #333;
}

.modern-table tr:nth-child(even) {
  background-color: #333;
}

.modern-table tr:nth-child(odd) {
  background-color: #333;
}

.modern-table tbody tr:hover {
  background-color: #333;
}

.modern-table td {
  border-bottom: 1px solid #333;
}
