.slider { 
    position:relative;
    max-width:1500px;
    height:620px;
    margin:24px auto;
    overflow:hidden;
}
.slides { 
    height:100%;
    position:relative;
}
.slide { 
    position:absolute;
    top:0; left:0;
    width:100%;
    height:100%;
    opacity:0;
    transition:opacity .6s ease;
    display:flex;
    align-items:center;
    justify-content:center;
}
.slide.active { 
    opacity:1;
    z-index:1;
}
.slide img { 
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}
.caption {
  position: absolute;
  bottom: 30px;   /* απόσταση από κάτω */
  left: 80px;     /* απόσταση από αριστερά */
  color: black;
  /* background-color:  rgba(0,0,0,0.5); ημιδιαφανές μαύρο φόντο */
  padding: 10px;
  border-radius: 5px;
  /* font-size: 16px; */
  position: center;
  font-family: 'Parisienne', cursive;
  font-size: 28px;   /* δείχνει ωραία σε λίγο μεγαλύτερο μέγεθος */
  font-weight: 400;  /* αυτή η γραμματοσειρά έχει μόνο 400 */
}
/* .slide:first-child img {
  object-position: top; 
} */
 .slide:first-child img {
    object-position: 50% 30%; /* X%, Y% → οριζόντια, κάθετη */
    display: block;
}

/* slider controls */
.prev, .next {
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  background:rgba(0,0,0,.4);
  color:#fff;
  border:0; 
  padding:12px; 
  cursor:pointer; 
  font-size:20px;
}
.prev { left:8px; }
.next { right:8px; }

.slider .prev, .slider .next {
  display: block;
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.services-title { 
    text-align:center; 
    color:#b8860b; 
    margin-top: 60px;
    margin-bottom:60px;
    font-size: 36px;
}
/* Όταν η οθόνη είναι μικρότερη από 768px */
@media (max-width: 768px) {
    .services-title {
        font-size: 28px; /* Μικρότερο μέγεθος */
    }
}

/* Όταν η οθόνη είναι μικρότερη από 480px */
@media (max-width: 480px) {
    .services-title {
        font-size: 22px; /* Ακόμα πιο μικρό */
    }
}


/* RESPONSIVE */
@media (max-width:900px){
  .slider { height:300px; }
}
@media (max-width:600px){
  .slider { height:220px; }
}

.services-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.services-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 κάρτες ανά σειρά */
  gap: 24px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}


/* Πλαίσια Υπηρεσιών */
.service-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* Εικονίδιο μέσα σε κύκλο */
.icon-wrapper {
  width: 70px;
  height: 70px;
  background: #000;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin: 0 auto 15px auto;
}

/* Τίτλος */
.service-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: bold;
}

/* Κείμενο */
.service-card p {
  font-size: 16px;
  color: #333;
  line-height: 1.4;
}

@media (max-width:900px){
  .services-container {
    grid-template-columns: repeat(2, 1fr); /* 2 κάρτες ανά σειρά */
  }
}
@media (max-width:600px){
  .services-container {
    grid-template-columns: 1fr; /* 1 κάρτα ανά σειρά */
  }
}


/* Στυλ για το overlay του popup */
.modal {
  display: none; /* κρυφό αρχικά */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(3px);
  justify-content: center;
  align-items: center;
}

/* Στυλ για το περιεχόμενο του popup */
.modal-content {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  position: relative;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Κουμπί κλεισίματος */
.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
  color: #333;
  transition: color 0.3s ease;
}
.close-btn:hover {
  color: red;
}

/* Εικονίδιο popup */
.modal-icon i {
  font-size: 40px;
  color: #000;
  margin-bottom: 15px;
}


.hero-section {
  position: relative;
  background: url('../images/logo.jpg') center/cover no-repeat;
  min-height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
  color: #fff;
  text-align: center;
}

/* Ημιδιαφανή στρώση πάνω από την εικόνα */
.hero-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Μαύρη διαφάνεια */
  z-index: 1;
}

/* Κείμενο */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  font-size: 1.2rem;
  line-height: 1.6;
}
