/* Βασική Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo h1 {
    font-size: 1.8rem;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
}

/* Hero Section */
.hero {
    background: url('katasthma.jpg') no-repeat center/cover;
    height: 550px;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.btn {
    display: inline-block;
    background: #0d47a1;
    color: white;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 1rem;
}

/* Υπηρεσίες */
.services {
    padding: 4rem 0;
    background: #f9f9f9;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: white;
    padding: 1.5rem;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
}

/* Πιστοποιήσεις */
.certifications {
    background: white;
    padding: 3rem 0;
    text-align: center;
}

.certs-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.certs-grid img {
    height: 80px;
    object-fit: contain;
}

/* Footer */
footer {
    background: #0d47a1;
    color: white;
    padding: 3rem 0;
}

.footer-info {
    margin-bottom: 2rem;
}

.footer-map iframe {
    border-radius: 5px;
}

/* Σχετικά με Εμάς */
.about {
    background-color: #f0f0f0;
    padding: 40px 0;
    text-align: center;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about p {
    font-size: 1.2rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

.source {
    font-size: 1rem;
    margin-top: 20px;
}

.source a {
    color: #d32f2f;
    text-decoration: none;
}

.source a:hover {
    text-decoration: underline;
}

/* Σχετικά με Εμάς */
.about {
    background-color: #f0f0f0;
    padding: 40px 0;
}

.about h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 30px;
}

.about .about-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 40px;
}

.about-text {
    width: 50%;
    text-align: left;
    font-size: 1.2rem;
    line-height: 1.6;
}

.about-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.source {
    font-size: 1rem;
    margin-top: 20px;
}

.source a {
    color: #d32f2f;
    text-decoration: none;
}

.source a:hover {
    text-decoration: underline;
}

nav ul {
    list-style: none;
    display: flex;
    /* Κεντράρουμε τα links στην 2η στήλη */
    justify-content: center;
    gap: 20px;
    margin: 0;
    padding: 0;
  }

nav ul li {
    margin: 0;
}

nav ul li a {
    display: inline-block;
    background-color: #d32626; /* Πιο κοντά στο κόκκινο του header */
    color: white;
    padding: 12px 18px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px; /* Στρογγυλεμένες άκρες */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Μοντέρνα σκιά */
    transition: all 0.3s ease-in-out;
}

nav ul li a:hover {
    background-color: #bd2d2d; /* Ελαφρώς πιο σκούρο στο hover */
    transform: translateY(-2px); /* Ελαφριά ανύψωση */
    box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.15); /* Πιο έντονη σκιά στο hover */
}

/* Responsive για κινητά */
@media screen and (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li a {
        display: block;
        width: 100%;
        text-align: center;
        padding: 12px;
    }
}
/* Hero Carousel */
.hero-carousel {
    position: relative;
    height: 500px;
    overflow: hidden;
  }
  
  .carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
  }
  
  .carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
  }
  
  .carousel-slide.active {
    opacity: 1;
  }
  
  /* Overlay κείμενο & κουμπί */
  .carousel-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
    z-index: 10;
  }
  
  .carousel-overlay h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  .carousel-overlay p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
  }
  
  .carousel-overlay .btn {
    background-color: #0d47a1;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
  }
  
  .carousel-overlay .btn:hover {
    background-color: #08306b;
    transform: translateY(-2px);
  }
/* Container για το logo και το κείμενο του */
.logo {
    display: flex;
    align-items: center;
  }
  
  .logo img {
    height: 60px; /* Προσαρμόζεις το μέγεθος του λογοτύπου */
    margin-right: 10px;
  }
  
.logo-text h1, 
.logo-text p {
  margin: 0;
  color: #fff;
}
  
  /* Παράδειγμα για το header background (προσαρμόστε το όπως θέλετε) */
  header {
    background-color: #d32c2c;
    padding: 20px 0;
  }
  
  header .container {
    display: grid;
    /* auto για τη στήλη του logo, 1fr για τη στήλη του nav */
    grid-template-columns: auto 1fr; 
    align-items: center;
    /* Δοκίμασε 85% ή 90% ανάλογα πόσο αριστερά θέλεις να έρχεται το logo */
    width: 85%;
    margin: 0 auto;
  }
  .service-card {
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}
.product-categories {
    padding: 4rem 0;
    background-color: #f9f9f9;
    text-align: center;
}

.product-categories h2 {
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.category-card {
    background-color: #f8f8f8;
    border-radius: 10px;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0px 8px 20px rgba(0,0,0,0.1);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 12px 24px rgba(0,0,0,0.15);
}

.category-card img {
    height: 60px;
    margin-bottom: 1rem;
}

.category-card h3 {
    font-size: 1.1rem;
    color: #333;
}

.icon {
    width: 120px;
    height: 120px !important; /* Ensure height is not overridden */
    margin-bottom: 1rem;
    object-fit: cover; /* Adjusts content to fit the specified dimensions */
}

.icons-other {
  width: auto;
  height: 120px !important; /* Ensure height is not overridden */
  margin-bottom: 1rem;
  object-fit: cover; /* Adjusts content to fit the specified dimensions */
}

/* ===== Products Banner (τύπου φωτό 1) ===== */
.products-banner {
    display: flex;
    align-items: center;
    height: 140px; /* Ρύθμισε ανάλογα το ύψος */
    position: relative;
    border-top: 8px solid #ffffff;
  
    /* Κόκκινη μπάρα στην κορυφή (προαιρετικά, αν υπάρχει στη φωτό 1) */
  
  }
  
  /* Αριστερό τμήμα: Σκούρο φόντο και το κείμενο "ΠΡΟΪΟΝΤΑ" */
  .banner-left {
    font: bold;
    width: 34%; 
    height: 100%;        /* Πόσο χώρο πιάνει το αριστερό κομμάτι */
    background-color: #333; 
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .banner-left h2 {
    color: #fff;
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
  
   
  }
  
  /* Δεξιό τμήμα: Η εικόνα των πυροσβεστήρων */
  .banner-right {
    width: 66%;         /* Το υπόλοιπο 60% */
    height: 100%;
    background: url('images/extinguishers-banner.jpg') no-repeat center/cover;
  }
  @media (max-width: 768px) {
    .products-banner {
      height: auto; 
      flex-direction: column; 
      min-height: 140px; /* or remove if you want fully auto */
    }
  
    .banner-left,
    .banner-right {
      width: 100%;
      height: auto;
    }
  
    /* Force the image to appear by giving .banner-right a min-height */
    .banner-right {
      min-height: 100px; /* adjust to your liking */
      background-size: cover;
      background-position: center;
    }
  
    .banner-left h2 {
      font-size: 1.8rem;
      text-align: center;
      padding: 1rem;
    }
  }
  

  .partners {
    background: #f9f9f9;
    padding: 2.5rem 0;
    text-align: center;
  }
  
  .partners h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1.5rem;
    font-weight: 600;
  }
  
  .partner-logos {
    display: flex;
    justify-content: center;
    gap: 3rem;
    align-items: center;
    flex-wrap: wrap;
  }
  
  .partner-logos img {
    height: 80px;
    object-fit: contain;
    filter: grayscale(0%);
    transition: transform 0.3s ease;
  }
  
  .partner-logos img:hover {
    transform: scale(1.05);
  }
  
/* ============================
   Μοντέρνο Layout για Υπηρεσίες
   ============================ */

/* Εξωτερικό περιτύλιγμα ενότητας */
.services-modern {
    padding: 4rem 0; 
    background-color: #f9f9f9; 
    display: flex;
    flex-direction: column;
    gap: 5rem; 
  }
  
  /* Βασικό block υπηρεσίας */
  .service-block {
    display: flex;
    align-items: center; /* κάθετη στοίχιση */
    justify-content: space-between; 
    gap: 5rem;
    padding: 0 15%; 
  }
  
  /* Αντιστροφή θέσης για εναλλαγή εικόνας/κειμένου */
  .service-block.reverse {
    flex-direction: row-reverse;
  }
  
  /* Στυλ για την εικόνα */
  .service-image img {
    max-width: 600px; /* μέγιστο πλάτος */
    width: 100%;
    border-radius: 12px; /* στρογγυλεμένες γωνίες */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* απαλή σκιά */
  }
  
  
  .service-text {
    flex: 1; 
    max-width: 650px; 
    text-align: left;
  }
  
  /* Τίτλος υπηρεσίας */
  .service-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #d32f2f; 
  }
  
  /* Περιγραφή υπηρεσίας */
  .service-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
  }
  
  /* ====================
     Responsive για κινητά
     ==================== */
  @media (max-width: 768px) {
    .service-block {
      flex-direction: column; 
      text-align: center;
      padding: 0 1.5rem; 
    }
  
    .service-block.reverse {
      flex-direction: column; /* ίδια στοίχιση για όλα */
    }
  
    .service-text {
      max-width: 100%; /* πλήρες πλάτος σε μικρές οθόνες */
    }
  }
  /* ===== Footer ===== */
footer {
  background: #003da5; /* το βαθύ μπλε */
  color: white;
  padding: 3rem 0;
  min-height: 100px; 
  display: flex;
  align-items: center;
}

.footer-info {
  margin-bottom: 2rem;
}

.footer-map iframe {
  border-radius: 5px;
}

footer {
  background: #003da5; /* Μπλε φόντο */
  color: white;
  padding: 3rem 0;
}


.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
 
}

.footer-hours,
.footer-info,
.footer-map {
  flex: 1;           /* Να μοιράζονται ισότιμα το διαθέσιμο χώρο */
  min-width: 200px;  /* Για να μη γίνονται πολύ στενές οι στήλες */
}

/* Προαιρετικά, στυλ για τίτλους και κείμενο */
.footer-hours h3,
.footer-info h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  color: #fff;
}

.footer-hours p,
.footer-info p {
  margin-bottom: 0.5rem;
  color: #f0f0f0;
}

.footer-map iframe {
  border-radius: 5px;
}
.about-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  flex-wrap: wrap; 
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-image {
  flex: 1;
  min-width: 280px;
  display: flex;
  justify-content: center;
}

.about-image img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
    align-items: center;
    text-align: left;
  }

  .about-image {
    margin-top: 2rem;
  }

  .about-text ul {
    padding-left: 1.2rem;
  }

  .about-text li {
    margin-bottom: 1.2rem;
    list-style: none;
    position: relative;
    padding-left: 1.5rem;
  }

  .about-text li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
  }
}
.about-image img {
  width: 100%;
  max-width: 350px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}


@media screen and (min-width: 1024px) {
  .about-image img {
    max-width: 700px;
    height: 700px;
  }
}

header .container {
  display: grid;
  grid-template-columns: auto 1fr; /* Logo left, nav right */
  align-items: center;
  width: 85%;
  margin: 0 auto;
}
@media (max-width: 768px) {
  /* Κάνουμε το header μονοστήλη */
  header .container {
    grid-template-columns: 1fr; /* Ένα μόνο column */
    justify-items: center;      /* Logo και nav κεντραρισμένα */
    row-gap: 1rem;             /* λίγο κενό ανάμεσα */
  }

  /* Κάνουμε το menu 2x2 */
  nav ul {
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 1rem; /* απόσταση κουμπιών */
    justify-items: center; 
  }
}

/********************************
  Επικοινωνία (Contact Section)
*********************************/
.contact-section {
  padding: 4rem 0;
  background-color: #f9f9f9;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2 στήλες */
  gap: 2rem;
}

.contact-info h2,
.contact-form h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #d32f2f;
}

.contact-info p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.contact-info a {
  color: #d32f2f;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.map-container iframe {
  width: 100%;
  height: 250px;
  border: 0;
  border-radius: 5px;
  margin-top: 1rem;
}

/* Contact Form */
.contact-form label {
  display: block;
  font-weight: bold;
  margin: 1rem 0 0.5rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.7rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.contact-form button {
  margin-top: 1rem;
  padding: 0.8rem 1.5rem;
  background: #0d47a1;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.contact-form button:hover {
  background-color: #08306b;
}


@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr; /* Μια μόνο στήλη */
  }
  
  .map-container iframe {
    height: 200px;
  }
}


html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}
.page-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh; 
}
main {
  flex: 1;
  background-color: #f9f9f9;
}
footer {
  background: #003da5;
  color: white;
  padding: 3rem 0;

  display: flex;
  align-items: center;
  justify-content: center;
}




.container-footer-grid
{
  padding: 0.8rem 1.5rem;
  background-color: #003da5;
  background: #003da5;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.container-footer-grid-contact
{
  padding: 0.8rem 1.5rem;
  background-color: #003da5;
  background: #003da5;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}