
/* ========== Import Google Fonts ========== */
@import url('https://fonts.googleapis.com/css?family=Raleway:400,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Playfair+Display:400,700&display=swap');
/* ========== Reset & Base ========== */
/* ========== Reset & Base ========== */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Raleway', sans-serif; /* Sans-serif για όλο το site */
  background-color: #f5f0e6;
  color: #333333;
  line-height: 1.6;
}

/* --- HEADER baseline  --- */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #d2c5b0;
  padding: 1rem 2rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.08);
}

.logo { height: 50px; width: auto; display: block; }

nav { /* desktop default */ }
.menu {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}
.menu li a {
  text-decoration: none;
  color: #333333;
  font-weight: 600;
  font-size: 1.05rem;
  transition: color 0.25s ease;
}
.menu li a:hover, .menu li a.active { color: #7d6e58; }

/* --- Burger button (hidden on desktop) --- */
.burger {
  display: none; /* θα το δείξουμε στο mobile */
  background: transparent;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
}
.burger:focus { outline: 2px solid rgba(0,0,0,0.2); outline-offset: 2px; }

.burger-bar {
  display: block;
  width: 26px;
  height: 2px;
  background: #5a4f3d;
  margin: 6px 0;
  transition: transform 0.25s ease, opacity 0.25s ease, background 0.25s ease;
}

/* --- Mobile styles --- */
@media (max-width: 768px) {
  .burger { display: block; }

  /* απόκρυψη menu στη mobile αρχικά */
  #main-menu {
    position: absolute;
    top: 70px;                /* ύψος header */
    right: 0;
    left: 0;
    background: #f5f0e6;      /* χρώμα site */
    border-top: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  /* κάθετα items */
  .menu {
    flex-direction: column;
    gap: 0;
  }
  .menu li a {
    display: block;
    padding: 14px 18px;
    font-size: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
  }

  /* όταν είναι ανοιχτό */
  #main-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  /* κρύψε το οριζόντιο desktop menu */
  nav:not(#main-menu),        /* safeguard */
  header .menu { display: none; }
  /* αλλά ξαναδείξε το .menu όταν ανοίγει το drawer */
  #main-menu.open .menu { display: flex; }

  /* animation burger -> X */
  .burger.active .burger-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .burger.active .burger-bar:nth-child(2) {
    opacity: 0;
  }
  .burger.active .burger-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}


/* ========== Page Title (πάνω από την εικόνα) ========== */
.page-title {
  text-align: center;
  font-size: 3.5rem;
  font-weight: 700;
  color: #5a4f3d;
  margin: 2rem 0 0.5rem 0;
}

/* ========== Hero Banner (full screen) ========== */
.hero-banner {
  width: 100%;
  height: 100vh; /* γεμίζει όλη την πρώτη οθόνη */
  background-image: url("images/homePage.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
}
.hero-banner::before {
  /* διακριτικό overlay για καλύτερη αναγνωσιμότητα */
  content: "";
  position: absolute; inset: 0;
  background-color: rgba(0,0,0,0.30);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 1rem;
}
.motto {
  font-family: 'Playfair Display', serif; /* μόνο εδώ serif */
  font-size: 2rem;       /* μεγαλύτερο από πριν */
  font-style: italic;
  margin: 0 0 0.75rem 0;
}
.tagline {
  font-size: 1.4rem;     /* μεγαλύτερο από πριν */
  margin: 0;
}

/* ========== Γενικές Ενότητες (αν χρειαστούν σε άλλες σελίδες) ========== */
main { max-width: 900px; margin: 2rem auto; padding: 0 1rem; }
h1, h2 { color: #5a4f3d; margin: 0 0 0.5rem 0; }
ul { padding-left: 1.2rem; }

/* ========== Φόρμα Επικοινωνίας ========== */
.contact form {
  max-width: 500px;
  margin: 0 auto;
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.contact label {
  font-weight: 600;
  color: #5a4f3d;
}
.contact input[type="text"],
.contact input[type="email"],
.contact textarea {
  width: 100%;
  padding: 0.5rem;
  margin-top: 0.25rem;
  margin-bottom: 1rem;
  border: 1px solid #d2c5b0;
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
  resize: vertical;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  background: #fff;
}
.contact input[type="text"]:focus,
.contact input[type="email"]:focus,
.contact textarea:focus {
  border-color: #7d6e58;
  outline: none;
  box-shadow: 0 0 0 3px rgba(125,110,88,0.15);
}
.contact button {
  background-color: #7d6e58;
  color: #fff;
  padding: 0.75rem 1.5rem;
  font-size: 1.05rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
  transition: background-color 0.25s ease, transform 0.06s ease;
}
.contact button:hover { background-color: #5a4f3d; }
.contact button:active { transform: translateY(1px); }

/* ========== Footer ========== */
footer {
  text-align: center;
  padding: 1.5rem 1rem;
  background-color: #d2c5b0;
  color: #5a4f3d;
  font-size: 0.95rem;
  line-height: 1.6;
}

.hours-footer {
  font-size: 0.85rem;
  color: #555;
  margin-top: 0.4rem;
}

.address-footer {
  font-size: 0.85rem;
  color: #333;
  margin: 0.2rem 0;
}

/* Εναλλακτικά, για να ξεχωρίζουν τα στοιχεία επικοινωνίας */
.address-footer a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(90,79,61,0.2);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.address-footer a:hover {
  color: #7d6e58;
  border-color: #7d6e58;
}

/* ========== Responsive ========== */
@media (max-width: 900px) {
  .page-title { font-size: 3rem; }
  .hero-content { max-width: 92vw; }
  .motto { font-size: 1.8rem; }
  .tagline { font-size: 1.25rem; }
}
@media (max-width: 600px) {
  header { padding: 0.8rem 1rem; }
  .logo { height: 42px; }
  .menu { gap: 1rem; }
  .menu li a { font-size: 0.98rem; }
  .page-title { font-size: 2.3rem; margin: 1.25rem 0 0.25rem 0; }
  .motto { font-size: 1.6rem; }
  .tagline { font-size: 1.1rem; }
}

/* ====== Διάταξη δύο στηλών για τη σελίδα Επικοινωνία ====== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  align-items: start;
  max-width: 1000px; /* λίγο πιο φαρδύ από το default */
  margin: 2rem auto;
  padding: 0 1rem;
}

.contact-info h2 {
  margin-top: 0;
  color: #5a4f3d;
}

.contact-info address {
  font-style: normal;
  line-height: 1.9;
}

.contact-info a {
  color: #2b2b2b;
  text-decoration: none;
  border-bottom: 1px solid rgba(90,79,61,0.25);
  transition: color .2s ease, border-color .2s ease;
}
.contact-info a:hover {
  color: #7d6e58;
  border-color: #7d6e58;
}

/* Κάρτα φόρμας στη δεξιά στήλη, στα χρώματά μας */
.form-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border: 1px solid rgba(210,197,176,0.6); /* #d2c5b0 */
}

.form-card label {
  font-weight: 600;
  color: #5a4f3d;
  display: block;
  margin: 0.25rem 0 0.35rem;
}

.form-card input,
.form-card textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid #d2c5b0;
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
  margin-bottom: 0.9rem;
}
.form-card input:focus,
.form-card textarea:focus {
  outline: none;
  border-color: #7d6e58;
  box-shadow: 0 0 0 3px rgba(125,110,88,0.18);
}

/* Κουμπί στα δικά μας χρώματα */
.btn-primary {
  background-color: #7d6e58;
  color: #fff;
  border: 0;
  padding: 0.8rem 1.4rem;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .2s ease, transform .06s ease;
}
.btn-primary:hover { background-color: #5a4f3d; }
.btn-primary:active { transform: translateY(1px); }

/* Responsive: στο κινητό στοιχίζουμε κάθετα */
@media (max-width: 800px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 92vw;
  }
}

.icon { width: 18px; height: 18px; vertical-align: -3px; margin-right: .5rem; opacity: .8; }

.map-container {
  margin-top: 1.2rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.courses-image {
  display: block;
  max-width: 100%;   /* να μην ξεπερνάει το πλάτος του κειμένου */
  height: auto;
  margin: 1rem 0;    /* απόσταση πάνω-κάτω από παραγράφους */
  border-radius: 8px;
}

/* Σελίδα δάσκαλος */
.teacher-profile {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.teacher-image {
  display: block;
  max-width: 300px;
  width: 100%;
  height: auto;
  margin: 0 auto 1.5rem auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.teacher-list {
  margin: 1rem 0 1.5rem 0;
  padding-left: 1.2rem;
}

.teacher-quote {
  font-style: italic;
  background-color: #e8dfd3;
  padding: 1rem 1.5rem;
  border-left: 4px solid #7d6e58;
  border-radius: 6px;
  margin: 2rem 0;
}
.teacher-quote footer {
  text-align: right;
  margin-top: 0.5rem;
  font-weight: 600;
  color: #5a4f3d;
}

.teacher-name {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #5a4f3d;
  margin: 1.5rem 0;
}

.hidden { display: none; }
