/* Μικρό CSS Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI Emoji", "Noto Color Emoji", sans-serif !important;
  line-height: 1.5;
}


/*
.title {
  background-image: url("../images/front.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #f4f4f4;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
	
  Κεντραρισμένο και με κενό δεξιά-αριστερά 
  max-width: 95%;
  margin: 0 auto;
  border-radius: 12px;
} */

.title {
  position: relative;
  height: 500px;
  max-width: 95%;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}

.title-img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  background-color: #f4f4f4; /* backup φόντο */
}



/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: #fff;
  
  /*position: sticky;*/
  top: 0;
  z-index: 999;
}

.logo-img {
  width: 200px;
  height: auto;
  object-fit: contain;
}

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

.nav-links li a {
  font-weight: 700; /* λίγο πιο bold από το κανονικό */
  text-decoration: none;
  color: #333;
  transition: color 0.3s ease;
}

.nav-links li a:hover,
.nav-links li a:focus {
  color: #27ae60; /* χρώμα highlight στο hover */
  font-weight: 700; /* ακόμα πιο έντονο στο hover */
}

/* Burger menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 20px;
  cursor: pointer;
  z-index: 1001;
  position: relative;	
}

.menu-toggle span {
  display: block;
  height: 3px;
  background-color: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Όταν είναι ενεργό (σε κλικ), γίνεται Χ */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Language switcher */
.language-switcher {
  position: relative;
}

.language-switcher:hover #lang-menu {
  display: block;
}

#lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  height: 100%;
  transform: translateY(-18%);
}

/* Language Dropdown menu */
#lang-menu {
  display: none;
  top: 100%; /* κάτω από τη σημαία */
  left: 0;
  position: absolute;
  background: white;
  list-style: none;
  padding: 0;
  margin: 0;
  border: 1px solid #ccc;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  z-index: 1000;

  transform: translateX(-50%);
  transition: opacity 0.2s ease;
}

#lang-menu li {
  padding: 5px 10px;
  cursor: pointer;
  white-space: nowrap;
}

#lang-menu li:hover {
  background: #f4f4f4;
}

/* Show menu on toggle */
.language-switcher.active #lang-menu {
  display: block;
}

/* Sections */
.hero,
.services,
footer {
  padding: 2em;
  text-align: center;
}

.about {
  max-width: 80%;         /* Περιορισμός πλάτους για καλύτερη ανάγνωση */
  margin: 2em auto;         /* Κεντράρισμα και απόσταση από άλλα sections */
  padding: 0 1em;           /* Ελαφρύ padding αριστερά-δεξιά */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;  /* Μοντέρνα γραμματοσειρά */
  color: #333;              /* Σκούρο γκρι για λιγότερη ένταση από μαύρο */
  font-size: 1.2rem;        /* Άνετο μέγεθος κειμένου */
  line-height: 1.6;         /* Καλή απόσταση μεταξύ γραμμών */
}

.grey-bg{
  background: linear-gradient(to right, rgba(30, 135, 75, 0.1), rgba(30, 135, 75, 0.05));
  margin-bottom: 0.6em;
  padding: 1em;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.about h2 {
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 0.6em;
  color: #2c3e50;           /* Σκούρο μπλε/γκρι για τον τίτλο */
  text-align: left;
}

.about p {
  margin-bottom: 1.4em;
  text-align: left;      /* Ομοιόμορφη στοίχιση αριστερά για ευκολοτερο διαβασμα */
  text-indent: 1.5em;       /* Εσοχή πρώτης γραμμής */
}

.fade-in {
  opacity: 0;
  transform: translateX(20px);
  animation: fadeInLeft 1s ease-out forwards;
}

.fade-inner {
  opacity: 0;
  transform: translateX(-20px);
  animation: fadeInLeft 1s ease-out forwards;
}

@keyframes fadeInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Animated gif behind text */
#about2 {
  position: relative;
  overflow: hidden;
}

.animated-gif {
  position: absolute;
  top: 50%;
  left: -40%;
  transform: translateY(-50%);
  height: 120%;
  width: auto;
  opacity: 0.1;
  animation: moveGif 12s linear infinite;
  animation-play-state: paused;
  pointer-events: none;
  z-index: 0;
}

.active {
  animation-play-state: running; /* ξεκινάει η κίνηση */
}

@keyframes moveGif {
  0% {
    transform: translate(0, -50%);
  }
  100% {
    transform: translate(100%, -50%);
  }
}

/* Για οθόνες μεγαλύτερες από 768px (π.χ. desktop) */
@media screen and (min-width: 768px) {
  .animated-gif {
    left: -10px; /* αρχίζει πιο δεξιά στο desktop */
	animation: moveGif 18s linear infinite;
  }

  @keyframes moveGif {
    from {
      left: 0;
    }
    to {
      left: 90%;
    }
  }
}

#about2 p {
  position: relative;
  z-index: 1;
  background-color: transparent;	
}



#about-extra-text {
  position: relative;
  z-index: 1;
  font-size: 1.2rem;
  color: #222;
  line-height: 1.6;
  background-color: rgba(255, 255, 255, 0.85); /* προαιρετικό background στο κείμενο για καλύτερη αναγνωσιμότητα */
  padding: 1rem;
  border-radius: 12px;
  backdrop-filter: blur(2px); /* ελαφρύ blur του φόντου */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}


/* Προαιρετικό: μικρό εφέ στα links αν υπάρχουν */
.about a {
  color: #27ae60;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-bottom-color 0.3s;
}
.about a:hover {
  border-bottom-color: #27ae60;
}

/* Φωτογραφία trails */
.centered-image {

  text-align: center;

  margin: 2rem auto;

}

.centered-image img {

  max-width: 600px; /* ή ό,τι μέγεθος θες */

  width: 90%;

  height: auto;

  border-radius: 8px; /* optional: για πιο όμορφη εμφάνιση */

  box-shadow: 0 2px 6px rgba(0,0,0,0.2); /* optional */
}

.centered-image img:hover {
  transform: scale(1.05);
}

.centered-image figcaption {
  margin-top: 0.2rem;
  font-style: italic;
  font-size: 0.85rem;
  color: #444;
}


/* Services */
.services {
  text-align: center;
}

.services ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8em;
}

.services li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 300px;
  font-size: 1em;
  line-height: 1.4;
  text-align: left;
}

/* Carousel */
.carousel {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.carousel-wrapper {
  position: relative;
  overflow: hidden;
  padding-bottom: 40px;
  border-radius: 10px;	
}

.carousel img {
  display: none;
  width: 100%;
  height: 900px;    
  object-fit: cover; /* Κρατάει την εικόνα όμορφη χωρίς παραμόρφωση */
  transition: opacity 0.5s ease-in-out;
}

.carousel img.active {
  display: block;
  border-radius: 10px;	
}

.carousel button.prev,
.carousel button.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  background: rgba(0, 0, 0, 0.4);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
  z-index: 1;
}

.carousel button.prev {
  left: 10px;
}

.carousel button.next {
  right: 10px;
}

.carousel button:hover {
  background: rgba(0, 0, 0, 0.6);
}

.carousel .counter {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0,0,0,0.6);
  color: white;
  padding: 4px 8px;
  font-size: 0.9rem;
  border-radius: 4px;
}

/* Φόρμα */
form {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

input,
textarea {
  padding: 10px;
  font-size: 1em;
  width: 100%;
}

/* Κουμπιά */
.cta-button,
button {
  background: #1e874b; /* πιο σκούρο πράσινο */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  color: white;
  padding: 10px 16px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease-in-out;
}

button:hover {
  background: #166f3c;
}
/* contact in home page */
.contact-card {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-left: 4px solid #27ae60; /* προαιρετικά πράσινη γραμμή */
  border-radius: 10px;
  max-width: 500px;
  margin: 2em auto;
  padding: 1.5em 2em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  font-family: 'Segoe UI', Tahoma, sans-serif;
}

.contact-card h2 {
  margin-top: 0;
  font-size: 1.4rem;
  color: #2c3e50;
  margin-bottom: 1em;
  text-align: center;
}

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

.contact-info li {
  margin-bottom: 1em;
  display: flex;
  align-items: flex-start;
  font-size: 1rem;
  color: #333;
}

.contact-info i {
  color: #27ae60;
  margin-right: 0.8em;
  min-width: 20px;
  text-align: center;
}


/* Footer */
.site-footer {
  background-color: #e0e0e0;
  padding: 20px 0;
  text-align: center;
  border-top: 1px solid #ccc;
}

.footer-content {
  max-width: 600px;
  margin: 0 auto;
}

.espa-logo {
  max-width: 500px;
  height: auto;
  margin-bottom: 10px;
}

.contact label{
 text-align: left;
 padding-left: 5px 
}

.contact-map{
 text-align: center;
 padding: 20px 0 0 0;
}

.contact h1{
 text-align: left;
 padding-left: 10rem;
 color: #2c3e50;
 font-size: 1.8rem;
}

.contact-map h2{
 text-align: center;
 font-size: 1.8rem;
 color: #2c3e50;
}

.contact{
  position: relative;
  padding: 1.8em;
  text-align: center;
  background-color: white;
  z-index: 1; /* πάνω από το pseudo-element */
}
.contact::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px; /* ή μεγαλύτερο */
  height: 300px;
  background-image: url("../images/athlete.jpg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transform: translate(-50%, -50%);
  opacity: 0.2; /* όσο πιο μικρό, τόσο πιο διακριτικό */
  z-index: 0; /* πίσω από τα inputs */
  pointer-events: none;
}

.labnet .orange {
  color: #ff6600;
  font-weight: bold;
}

.labnet .white {
  color: white;
  padding: 0 2px;
  border-radius: 3px;
  font-weight: bold;
  text-shadow: 1px 1px 2px #888;
}

.map-container {
  max-width: 600px; /* Όριο μεγέθους σε desktop */
  width: 90%;      /* Να πιάνει όλο το πλάτος του γονέα */
  margin: 0 auto;   /* Κεντράρισμα */
}
.map-container iframe {
  width: 100% !important; /* Πλάτος 100% για responsiveness */
  height: 450px;           /* Ύψος σταθερό ή μπορείς να το αλλάξεις */
  border: 0;
  display: block;
}
/* Contact html*/
.contact-inner{
  text-align: left !important;
}
.activities-main h1 { 
  text-align: left ;
  padding-left: 10rem;
  font-size: 1.8rem;
  color: #2c3e50;
}

.contact-map{
 padding-bottom: 30px;
}


/* Toast for email */
.toast {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #333;
    color: #fff;
    padding: 12px 20px;
    border-radius: 5px;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 9999;
  }
  .toast.show {
    opacity: 1;
  }

/* Activities html */
.activities-main{
	padding-top:1.8em;
}

.activities{
  max-width: 800px;
  margin: 1.8em auto;
  padding: 1.5em;
  background-color: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

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

.activities-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8em;
  margin-bottom: 1.2em;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
}

.activities-list li i {
  color: #27ae60;
  font-size: 1.3rem;
  margin-top: 0.2em;
}

.video-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2em;
  background: #ffffff;
}

.video-wrapper {
  border: 6px solid #e0e0e0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  max-width: 800px;
  width: 100%;
}

.video-wrapper video {
  width: 100%;
  height: auto;
  display: block;
}
.workout {
  padding: 3em 1em;
  background: #f9f9f9;
  text-align: center;
}

.workout h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5em;
  color: #2c3e50;
}

.workout-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5em;
  max-width: 800px;
  margin: 0 auto;
}

.workout-card {
  background: white;
  border-radius: 12px;
  padding: 1.5em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.workout-card:hover {
  transform: translateY(-5px);
  cursor: pointer;
}

.workout-card i {
  font-size: 2rem;
  color: #27ae60;
  margin-bottom: 0.5em;
}

.workout-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5em;
  color: #2c3e50;
}

.workout-card p {
  font-size: 0.95rem;
  color: #555;
}
.workout-img{
	color:#1e874b;
}
svg {
  color: rgba(30, 135, 75, 0.8);  /* πράσινο με διαφάνεια 80% */
  width: 64px;
  height: 64px;
}
#svg-f{
  width: 18px;
  height: 18px;
  margin-right: 0.8em;
  min-width: 20px;
  text-align: center;
}

#scrollTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #27ae60;
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.8rem;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 1000;
  transition: opacity 0.3s ease;
  opacity: 0.8;
}
#scrollTopBtn i {
  margin-left: -1.4px;
}

#scrollTopBtn:hover {
  background-color: #219150;
  opacity: 1;
}

/* MODAL PHOTOS*/
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: 0 0 20px #000;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.asw-footer, 
.asw-footer a,
.asw-footer span{
    display: none !important;
}

/* Responsive */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
    cursor: pointer;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 10px;
    width: 220px;
    padding: 20px;
    gap: 15px;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    z-index: 1000;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
  }

  .nav-links.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }

  .nav-links li a {
    padding: 10px;
    border-radius: 6px;
    font-size: 1.1rem;
    color: #333;
    transition: background-color 0.3s;
  }

  .nav-links li a:hover {
    background-color: #f0f0f0;
  }

 .title {
    height: 200px; /* ή ό,τι θεωρείς καλύτερο */
  }
	
 .about {
	 font-size: 1rem; /* Άνετο μέγεθος κειμένου */

  line-height: 1.4; /* απόσταση μεταξύ γραμμών για κινητό */
	  max-width: 95%; /* Περιορισμός πλάτους για καλύτερη ανάγνωση */
}

.about h3 {
  font-weight: 700;
  font-size: 1rem;
}
.logo-img {
  width: 120px;
  height: auto;
  object-fit: contain;
}

.contact h1{
 text-align: center;
 padding-left: 0;
}

.contact-info li {
  font-size: 0.9rem;
}
	
/* Contact html*/
.contact-inner h1{
  text-align: left !important;
  font-size: 2rem; 
  margin-bottom: 2rem;
}

/* Carousel */

.carousel {
  width: 80%;
}
.carousel img {
  height: 400px;    
}
.espa-logo {
  max-width: 300px;
}
	
/* Map */
.contact-map h2{
  font-size: 1.6rem;
}
	
.map-container {
  width: 85%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.map-container iframe {
  height: 300px; /* Μικρότερο ύψος για μικρές οθόνες */
}

.contact{
  padding-top: 1em;
}
	
/* Activities */
	
.activities-main{
  padding-top: 1em;
  padding-bottom: 0;
}
	
.activities-main h1{
  text-align: center;
  padding-left: 0;

}
	
.activities-list li {
  display: grid;
  grid-template-columns: 1.2em 1fr; /* 1η στήλη icon, 2η το κείμενο */
  column-gap: 0.6em;
  align-items: start;
  margin-bottom: 1.2em;
  font-size: 1.1rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
  /* hyphens: auto; */
}

.activities-list li i {
  font-size: 1.2rem;
  margin-top: 0.2em;
}

.workout h2{
  font-size:1.6rem;
}
	
}