body {
  margin: 0;
  background-color: #ffffff;
  color: #000;
}


.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 40px;
  background-color: #f2f2f2;
}



.nav-links {
  list-style: none;
  gap: 25px;
  margin: 0;
  padding: 0;
  display: flex;
}

.nav-links a {
  text-decoration: none;
  color: black;
  font-size: 20px;
  font-family: 'Sofia Sans Condensed', sans-serif;
  letter-spacing: 1px;
 
  
  /* Διορθώθηκε ελαφρώς για ισορροπία */
}

.nav-links a:hover {
  color: #326129;
}

/*.line1, .line2, .line3 {
  width: 25px;
  height: 3px;
  background-color: black; 
  margin: 5px;
  transition: all 0.3s ease;
}*/

.name1 h3{
  font-size: 27px;
  font-family: 'Sofia Sans Condensed', sans-serif;
  letter-spacing: 2px;
  color: #326129;
  margin: 0; /* Αφαιρούμε τα default margins για να κάτσει ακριβώς στο κέντρο */
  text-align: left;
}


.hero {
  position: relative;
  text-align: center;
  padding: 140px 20px;
  background-image: url("images/hero1.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: black;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 425px;
 /* background: rgba(255, 255, 255, 0.5);*/
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0) 0%,
    white 100%
  );
}

.hero h1{
  position: relative;
  z-index: 2;
  font-family: 'Sofia Sans Condensed', sans-serif;
  letter-spacing: 2px;
  font-weight: 700;
  font-size: 35px;
}
.hero h3 {
  position: relative;
  z-index: 2;
  font-family: 'Sofia Sans Condensed', sans-serif;
  letter-spacing: 1px;
  font-weight: 400;
  font-size: 23px;
}

.custumer-preview {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 60px 20px;
  flex-wrap: wrap;
}

.custumer-text {
  font-size: 22px;
  /* Μεγαλύτερα γράμματα */
  margin: 40px 0 5px 0;
  text-align: center;
  width: 100%;
  font-family: 'Sofia Sans Condensed', sans-serif;
  letter-spacing: 1px;
}

.services-page h1 {
  font-size: 25px;
  /* Μεγαλύτερα γράμματα */
  margin: 40px 0 5px 0;
  text-align: center;
  font-family: 'Sofia Sans Condensed', sans-serif;
  letter-spacing: 1px;
  
}

.renovation-text {
  font-size: 20px;
  margin: 25px 0 10px 0;
  text-align: center;
  font-family: 'Sofia Sans Condensed', sans-serif;
  letter-spacing: 1px;
}

.service-text {
  font-size: 22px;
  margin: 10px 0 5px 0;
  text-align: center;
  font-family: 'Sofia Sans Condensed', sans-serif;
  letter-spacing: 1px;
}

.full-renovation-images {
  display: flex;
  justify-content:center;  
  align-items: center;
  margin: 40px auto;
  gap: 30px;
  max-width: max-content;
  background-color: #F5F5F5; 
  padding: 45px;        /* Αυτό δημιουργεί το μεγάλο ομοιόμορφο κενό γύρω-γύρω */
  border-radius: 12px;
  border: 3px solid #879484; 
    /* Στρογγυλεύει τις εξωτερικές γωνίες του ενιαίου πλαισίου */
}
.pointer{
  width: 25px;         /* Ρύθμισε το πλάτος όσο μικρό θέλεις */
  height: auto;        /* Το auto κρατάει τις αναλογίες της εικόνας σωστές χωρίς να παραμορφώνεται */
  flex-shrink: 0;
}
.full-renovation-images img:not(.pointer){
  width: 450px;
  height: 330px;
  object-fit: cover;
  border-radius: 8px;   
  border: none;    
}



.service-item {
  background-color: #f2f2f2;
  width: 260px;
  /* τετράγωνο κουτί */
  height: 260px;
  margin: 20px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  /* εικόνα πάνω, μετά τίτλος, μετά τηλέφωνο */
  justify-content: center;
  align-items: center;
  text-align: center;
  font-family: 'Sofia Sans Condensed', sans-serif;
  letter-spacing: 1px;
  padding: 20px;
}

.service-item img {
  width: 260px;
  /* μικρό μέγεθος εικόνας */
  height: 200px;
  object-fit: cover;
  /* κρατάει αναλογία */
  border-radius: 6px;
  margin-bottom: 10px;
  /* απόσταση από τίτλο */
}

/* Στοχεύουμε τις εικόνες που βρίσκονται μέσα στα links των υπηρεσιών */
.service-item a img {
  transition: transform 0.3s ease, opacity 0.3s ease; /* Κάνει την κίνηση ομαλή */
}

/* Τι συμβαίνει όταν ο χρήστης περνάει το ποντίκι (hover) πάνω από το link */
.service-item a:hover img {
  transform: scale(1.05); /* Μεγαλώνει την εικόνα κατά 5% */
  opacity: 0.85;          /* Γίνεται ελαφρώς ημιδιαφανής (85% ορατότητα) */
  cursor: pointer;        /* Δείχνει το χεράκι του ποντικιού */
}

.service-item h3 {
  font-size: 20px;
  margin: 5px 0;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 40px auto;
}



.card {
  background-color: #f2f2f2;
  padding: 30px;
  width: 250px;
  text-align: center;
  border: 3px solid #879484; 
  border-radius: 8px;   
  box-shadow: gray;
  font-family: 'Sofia Sans Condensed', sans-serif;
  letter-spacing: 1px;

}

/* --- Η ΝΕΑ ΕΠΑΓΓΕΛΜΑΤΙΚΗ ΕΝΟΤΗΤΑ ΕΠΙΚΟΙΝΩΝΙΑΣ --- */

.contact-page {
  padding: 80px 20px;
  background-color: #f9f9f9;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-header {
  margin-bottom: 30px;
  text-align: center;
}

.contact-header h1 {
  font-size: 32px;
  color: #333;
  margin-bottom: 10px;
  font-family: 'Sofia Sans Condensed', sans-serif;
  letter-spacing: 2px;
}

.contact-header p {
  color: #666;
  font-size: 18px;
  font-family: 'Sofia Sans Condensed', sans-serif;
  letter-spacing: 1px;
}

.contact-card {
  background: #ffffff;
  padding: 40px;
  width: 100%;
  max-width: 400px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border: 2px solid #879484;
  box-sizing: border-box;

}

.contact-method {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  text-align: left;
  font-family: 'Sofia Sans Condensed', sans-serif;
}

.contact-method .icon {
  font-size: 24px;
  margin-right: 15px;
  background: #f2f2f2;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  flex-shrink: 0; /* Εμποδίζει το εικονίδιο να μικρύνει */
}

.details {
  display: flex;
  flex-direction: column; /* Βάζει το label και τις γραμμές τηλεφώνων την μία κάτω από την άλλη */
}

.details label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  color: #888;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

/* Η νέα κλάση που ευθυγραμμίζει το τηλέφωνο με το όνομα */
.phone-row {
  display: flex;
  align-items: center; /* Ευθυγραμμίζει τέλεια οριζόντια τον αριθμό με το όνομα */
  gap: 10px;           /* Δημιουργεί ένα σταθερό κενό ανάμεσα στο τηλ και το όνομα */
  margin-bottom: 4px;  /* Κενό ανάμεσα στην πρώτη και τη δεύτερη γραμμή τηλεφώνου */
}

.phone-row a {
  text-decoration: none;
  color: #000;
  font-weight: bold;
  font-size: 19px;
  transition: color 0.3s;
  white-space: nowrap;
}

/* Στυλ για τα ονόματα δίπλα από τα τηλέφωνα */
.phone-name {
  font-size: 14px;
  text-transform: uppercase;
  color: #888;
  letter-spacing: 1px;
  white-space: nowrap;
}
.details a {
  text-decoration: none;
  color: #000;
  font-weight: bold;
  font-size: 19px;
  transition: color 0.3s;
}

.details a:hover {
  color: #326129;
  /* Ένα ωραίο μπλε στο hover */
}

.social-wrapper {
  margin-top: 20px;
  padding-top: 25px;
  border-top: 1px solid #eee;
  text-align: center;
}

.social-wrapper p {
  font-size: 14px;
  color: #777;
  margin-bottom: 15px;
}

.social-links-new {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-links-new img {
  width: 32px;
  height: 32px;
  transition: all 0.3s ease;
  filter: grayscale(1);
  opacity: 0.7;
}

.social-links-new a:hover img {
  transform: translateY(-4px);
  filter: grayscale(0);
  opacity: 1;
}

.social-links img {
  width: 60px !important;
  height: auto;
  margin: 20px;
  display: inline-block;
}


/* ========================= */
/* MOBILE */
/* ========================= */

@media (max-width: 768px) {

  .navbar{
    flex-direction: column;
    gap: 6px;
  }
  
  /* HERO */
  .hero {
    padding: 90px 20px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero h3 {
    font-size: 18px;
  }


  /* CUSTOMER PREVIEW */
  .custumer-preview {
    flex-direction: column;
  }
  .custumer-preview .card{
    width: 200px;
  }


  .custumer-text {
    font-size: 18px;
  }
  .contact-method .icon{
    width: 30px;
    height: 30px;
  }
  .details{
    font-size: 10px;
    
  }
 .phone-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    margin-bottom: 10px;
  }

  .phone-name {
    font-size: 12px;
    margin-left: 0;
    letter-spacing: 0.5px;
  }
  

  /* FULL RENOVATION IMAGES */
  .full-renovation-images {
    flex-direction: column;
    align-items: center;
  }

  .services-page .full-renovation-images img {
    width: 250px;
    height: auto;
  }


  /* SERVICES GRID */
  .service-list {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }

  .service-item {
    width: 200px;
    height: auto;
  }

  .service-item img {
    width: 100%;
    height: 180px;
  }


  /* CONTACT CARD */
  .contact-card {
    padding: 25px;
    width: 90%;
  }

  .contact-header h1 {
    font-size: 26px;
  }

  .contact-header p {
    font-size: 16px;
  }


  /* CONTACT METHOD */
  .contact-method {
    flex-direction: row;
    align-items: center;
  }

  .details a {
    font-size: 17px;
  }


  /* SOCIAL ICONS */
  .social-links img {
    width: 45px !important;
    margin: 10px;
  }

}