/* ---------------- ΒΑΣΙΚΑ ---------------- */
* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: #000;
  background: url("../images/classroom.jpg") no-repeat center center fixed;
  background-size: cover;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---------------- HEADER ---------------- */
header {
  background: rgba(255,255,255,0.9);
  border-bottom: 2px solid #009739; /* πράσινο από το logo */
}

header .container {
  width: 92%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 10px 0;
}

.logo { height: 100px; }

/* Hamburger button: πάντα ορατό, πάνω δεξιά */
.hamburger {
  margin-left: auto;
  font-size: 30px;
  line-height: 1;
  background: none;
  border: none;
  cursor: pointer;
  color: #000;
}

/* ---------------- SIDE PANEL MENU ---------------- */
.menu-panel {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 280px;
  background: #495057;                 /* σκούρο γκρι */
  color: #fff;
  border-left: 6px solid #009739;      /* πράσινη κάθετη γραμμή */
  transform: translateX(100%);         /* εκτός οθόνης */
  transition: transform 0.3s ease;
  z-index: 2000;
  padding: 20px 16px;
}
.menu-panel.open { transform: translateX(0); }

.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-list > li { margin-bottom: 6px; }

.menu-list a {
  display: block;
  color: #fff;
  text-decoration: none;
  padding: 10px 8px;
  border-radius: 6px;
}
.menu-list a:hover { background: #343a40; }

/* Υπομενού Υπηρεσίες */
.has-sub .submenu-toggle {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: #fff;
  font-weight: bold;
  padding: 10px 8px;
  cursor: pointer;
  border-radius: 6px;
}
.has-sub .submenu-toggle:hover { background: #343a40; }

.submenu {
  display: none;
  list-style: none;
  margin: 6px 0 0 0;
  padding-left: 10px;
  border-left: 3px solid #009739;
}
.submenu.open { display: block; }
.submenu li a { padding: 8px 8px; }

/* Σκίαση όταν ανοίγει το panel */
.backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1500;
}
.backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

/* ---------------- HERO ---------------- */
.hero {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 40px 16px 90px; /* αφήνουμε χώρο για το footer */
}
.hero-content {
  text-align: center;
  background: rgba(255,255,255,0.85);
  padding: 30px 24px;
  border-radius: 12px;
  max-width: 820px;
  width: 100%;
}
.hero h1 { margin: 0 0 10px; font-size: 2rem; }
.hero p  { margin: 0 0 20px; font-size: 1.1rem; }

.btn {
  display: inline-block;
  padding: 10px 18px;
  background: #009739;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
}
.btn:hover { filter: brightness(0.95); }

/* ---------------- ΚΟΙΝΑ ΓΙΑ ΑΛΛΕΣ ΣΕΛΙΔΕΣ ---------------- */
/*.content {
  width: 90%;
  max-width: 1000px;
  margin: 30px auto 100px;
  background: transparent;
}
.benefits { list-style: disc; padding-left: 20px; }*/

/* Λευκό πλαίσιο με διαφάνεια */
.page-content {
  background: rgba(255, 255, 255, 0.7); /* Άσπρο με 70% διαφάνεια */
  padding: 20px;
  border-radius: 12px;   /* στρογγυλεμένες γωνίες */
  max-width: 900px;      /* όριο πλάτους */
  margin: 40px auto;     /* κέντρο με απόσταση από πάνω-κάτω */
}

/* Βίντεο */
/*-- .video-container { text-align: center; margin-top: 20px; }
.video-container video {
  width: 70%;
  max-width: 900px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}*/

.video-container {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.video-container video {
  width: 80%;      /* προσαρμοσμένο μέγεθος */
  max-width: 600px;
  border-radius: 8px;
}


/* ---------------- FOOTER ---------------- */
footer {
  background: rgba(255,255,255,0.9);
  text-align: center;
  padding: 10px;
  font-size: 12px;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  border-top: 1px solid rgba(0,0,0,0.06);
}

/* Στυλ για λίστες (bullets) */
.page-content ul {
  list-style-type: disc;      /* Κανονικές bullets (●) */
  margin-left: 40px;          /* Απόσταση από αριστερή πλευρά */
  margin-top: 15px;           /* Απόσταση από το πάνω κείμενο */
  margin-bottom: 20px;        /* Απόσταση από το κάτω κείμενο */
  padding-left: 20px;         /* Εσωτερικό padding */
}

.page-content ul li {
  font-size: 1.1em;           /* Λίγο πιο μεγάλο μέγεθος γραμματοσειράς */
  line-height: 1.6;           /* Ύψος γραμμής για να αναπνέει το κείμενο */
  margin-bottom: 10px;        /* Απόσταση ανάμεσα στα bullet */
  color: #222;                /* Σκούρο γκρι για πιο ευανάγνωστο κείμενο */
}
/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255,255,255,0.9);
  padding: 10px 30px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Logo */
.logo img {
  height: 120px;   /* αυξάνεις για πιο μεγάλο logo */
}

/* Navigation */
.navbar .menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-list li {
  position: relative;
}

.nav-list li a {
  text-decoration: none;
  color: black;
  font-weight: bold;
  padding: 8px;
}

.nav-list li a:hover {
  color: #007f5f; /* πράσινο */
}

/* Dropdown */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #495057;  /* πιο σκούρο γκρι */
  padding: 10px;
  border-left: 4px solid #007f5f; /* πράσινη γραμμή */
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  margin-bottom: 10px;
}

.dropdown-menu li a {
  color: white;
}

/* Mobile */
@media (max-width: 768px) {
  .navbar .menu-toggle {
    display: block;
  }
  .nav-list {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 70px;
    right: 20px;
    width: 200px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  }
  .nav-list.active {
    display: flex;
  }
}

/* Video styling */
.video-container {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.video-container video {
  max-width: 70%;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Στυλ για τη φόρμα login */
.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.login-form {
  background: rgba(255, 255, 255, 0.9);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  width: 300px;
  display: flex;
  flex-direction: column;
}

.login-form label {
  margin-top: 10px;
  font-weight: bold;
}

.login-form input,
.login-form select {
  padding: 8px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.login-form button {
  margin-top: 15px;
  padding: 10px;
  border: none;
  border-radius: 8px;
  background-color: #198754; /* Πράσινο από το logo */
  color: white;
  font-size: 16px;
  cursor: pointer;
}

.login-form button:hover {
  background-color: #157347;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
  margin: auto;
}

.contact-form label {
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 16px;
}

.contact-form button {
  padding: 12px;
  border: none;
  border-radius: 8px;
  background-color: #198754; /* Πράσινο του logo */
  color: white;
  font-size: 16px;
  cursor: pointer;
}

.contact-form button:hover {
  background-color: #157347;
}

/* Upload Form */
.upload-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
  margin: 30px auto;
  padding: 20px;
  background: rgba(255, 255, 255, 0.85); /* λευκό με διαφάνεια */
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.upload-form label {
  font-weight: bold;
}

.upload-form input {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 16px;
}

.upload-form button {
  padding: 12px;
  border: none;
  border-radius: 8px;
  background-color: #198754; /* Πράσινο logo */
  color: white;
  font-size: 16px;
  cursor: pointer;
}

.upload-form button:hover {
  background-color: #157347;
}

.menu-list a,
.menu-list a:visited,
.menu-list a:hover,
.menu-list a:active {
  text-decoration: none !important;
}

/* Force no underline in the side hamburger menu */
.menu-panel .menu-list a,
.menu-panel .menu-list a:link,
.menu-panel .menu-list a:visited,
.menu-panel .menu-list a:hover,
.menu-panel .menu-list a:active {
  text-decoration: none !important;
  border-bottom: none !important;
  box-shadow: none !important; /* just in case a shadow is used as a line */
}

/* If list items have separators */
.menu-panel .menu-list > li {
  border-bottom: none !important;
}

textarea#message {
  width: 100%;       /* να πιάνει όλο το πλάτος του container */
  min-height: 150px; /* ύψος ~6 γραμμών */
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-family: inherit;
  font-size: 1rem;
  resize: vertical;  /* να μπορεί να το μεγαλώσει/μικρύνει ο χρήστης */
}
