
/* === GLOBAL === */


/*
#matrix {
  position: absolute; // instead of fixed 
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
} 
*/

#matrix {
  position: fixed;      /* scrolls with the content */
  top: 0;
  left: 0;
  width: 100%;             /* full width of viewport */
  height: 100%;            /* full height of viewport */
  display: block;
  z-index: -1;              /* keep it behind text */
  pointer-events: none;    /* allows clicking through it */
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: #fff;
  background: #000;
  overflow-x: hidden;
}

section {
  padding: 100px 20px;
  min-height: 100vh; /* κάθε section είναι πλήρους ύψους */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* === HERO SECTION === */
.hero {
  text-align: center;
  z-index: 2;
  position: relative;
  padding: 100px 20px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.4rem;
  margin-bottom: 20px;
}

/* === ABOUT SECTION === */
.about {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  text-align: left;
  gap: 40px;
}

.about img {
  width: 350px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.about-text {
  max-width: 600px;
  font-size: 1.1rem;
  line-height: 1.7;
}

/* === PROJECTS SECTION === */
.projects {
  text-align: center;
}

.project-cards {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.project-card {
  background-color: #111;
  border: 1px solid #333;
  border-radius: 10px;
  padding: 20px;
  width: 300px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px #0f0;
}

.project-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
}

.project-card a {
  background-color: #000;
  color: #00bfff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  font-weight: 600;
}

.project-card a:hover {
  background-color: #00bfff;
  color: #000;
}

/* === FOOTER === */
footer {
  background-color: rgba(0, 0, 0, 0); /* fully transparent */
  padding: 40px 0;
  text-align: center;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

footer a {
  color: #0f0;
  margin: 0 10px;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #00bfff;
}

.hero, .about, .projects, footer {
  position: relative;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 1;
}

/* === HEADER === */
header {
  position: fixed; /* Πάντα πάνω */
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10; /* Πάνω από τον καμβά */
  padding: 15px 0;
}

.navbar {
  display: flex;
  justify-content: center;
  gap: 40px;
}

.navbar a {
  color: #00ff00;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.navbar a:hover {
  color: #00bfff;
}

/* Δώσε λίγο χώρο κάτω από το header */
main {
  margin-top: 50px;
}

/* === BUTTON STYLE === */
.btn {
  display: inline-block;         /* για να μοιάζει με κουμπί */
  padding: 12px 28px;            /* μέγεθος κουμπιού */
  background-color: #ff6600;     /* χρώμα φόντου */
  color: #fff;                   /* χρώμα κειμένου */
  border-radius: 6px;            /* στρογγυλεμένες γωνίες */
  text-decoration: none;         /* αφαιρεί underline */
  font-weight: 600;              /* έντονο γράμμα */
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn:hover {
  background-color: #ff8533;     /* χρώμα όταν το περνάς με το ποντίκι */
  color: #fff;
}

/* Εφαρμογή στην εικόνα του εργαστηρίου */
.hero-img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.2);
  margin-top: -30;
}

.profile-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-top: -70px;
  border: 3px solid #00ff00;
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.5); 
}

textarea#message {
  width: 100%;
  min-height: 150px;
  font-size: 16px;
  padding: 10px;
  resize: vertical;
}


