
:root {
  --primary: #2563eb;
  --secondary: #1e40af;
  --third: rgba(8, 62, 105, 0.527);
  --accent: #3054a1;
  --dark: #1e293b;
  --darker: #0c0c0c;
  --light: #f6f8fa;
}
    
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--dark);
  background: var(--light);
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 0;
}
    
.sticky-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: hsla(0, 0%, 100%, 0.212);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  transition: top 0.3 ease;
}
    
.logo-container {
  display: flex;
  align-items: center;
}

.logo-image {
  height: 60px; 
  width: auto;
  margin-right: 15px;
}

.logo-text {
  color: var(--dark);
  font-size: 1.5rem;
  font-weight: bold;
}
    
.nav-items {
  display: flex;
  gap: 5rem;
  margin-right: 150px;
}

.nav-items a {
  color: var(--dark);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.2rem 1;
  position: relative;
}

.nav-items a:hover {
  color: var(--accent);
  transform: scale(1.05);
}

.nav-items a:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
}
    
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background: rgba(255, 255, 255, 0.644);
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  z-index: 1;
  min-width: 160px;
  border-radius: 0.5rem;
  overflow: hidden;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  color: var(--dark);
  padding: 0.75rem 1rem;
  text-decoration: none;
  display: block;
  transition: all 0.2s ease;
}

.dropdown-content a:hover {
  background: var(--light);
  color: var(--accent);
  transform: none;
  padding-left: 1.25rem;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  z-index: 1;
}

.hero-video {
  position: fixed; 
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--light);
  padding-top: 20%;
  padding-left: 3rem;
  padding-right: 3rem;
  text-align: center;
  font-size: 2rem;
}

.hero-content h1,p {
  text-shadow: 0 4px 20px rgb(0, 0, 0);
}
    
.hero-overlay {
  position: relative;
  z-index: 2;
}
 
    .frontpagecontainer {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      align-items: flex-start;
      padding: 40px;
      gap: 40px;
      margin: 100px auto;          /* κέντρο με κενά */
      background-color: #d1d1d1e1;
      max-width: 1300px;          /* μέγιστο πλάτος */
      border-radius: 20px;        /* καμπυλωτές γωνίες */
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15); /* “παράθυρο” */
    }

    .text-content {
      flex: 1 1 500px;
    }

    .text-content h1{
      font-size: 2.8rem;
      margin-bottom: 0.5rem;
      text-align: center;
    }

    .text-content h3{
      font-size: 1rem;
      margin-bottom: 0.5rem;
      text-align: center;
    }
    .text-content p {
      font-size: 1.1rem;
      line-height: 1.6;
      margin-bottom: 1.2rem;
    }

    .text-content h2 {
      font-size: 1.6rem;
      margin-top: 2rem;
    }

    .highlight {
      font-weight: bold;
      color: #000;
    }

    .image-content {
      flex: 1 1 400px;
      display: flex;
      justify-content: center;
      align-items: center;
      
    }

    .image-content img {
      max-width: 100%;
      height: auto;
      border-radius: 12px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

.item-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 3rem calc((100vw - 1300px) / 2);
  align-items: center;
  margin: 2rem 0;
  border-radius: 10px;
  z-index: 50;
}

.item-container.inverted {
  grid-template-areas: "text image";
}

.item-container.inverted .item-description {
  grid-area: text;
}   

.item-container.inverted .item-image-container {
  grid-area: image;
}

.item-image-container {
  display: flex;
  justify-content: center;
  align-items: center;    
}

.item-image {
  width: 100%;
  max-width: 700px;
  height: auto;
  border-radius: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.377);
  border: 2px solid white;
}

.item-description {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem;
  background: rgba(8, 62, 105, 0.527);
  border-radius: 20px;
  border: 2px solid white;
}

.item-description h2 {
  color: var(--light);
  margin-bottom: 1rem;
  font-size: 2rem;
  box-shadow: 0 1px 3px rgb(0, 0, 0);
  border-radius: 10px;
  text-align: center;
  padding: 0.5rem;
  background: rgba(8, 18, 36, 0);
}

.item-description p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--light);
  margin-bottom: 1rem;
}

.item-description ul {
  margin: 1rem 0;
  padding-left: 2rem;
}

.item-description li {
  position: relative;
  margin-bottom: 0.8rem;
  line-height: 1.5;
  color: var(--light);
}

.scroll-content {
  position: relative;
  z-index: 10;
  padding: 2rem 0;
}

.button-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  padding: 1rem;
  flex-wrap: wrap;
}

button {
  padding: 1rem 2rem;
  font-size: 1rem;
  border: none;
  color: rgb(255, 255, 255);
  background: rgba(255, 255, 255, 0.514);
  cursor: pointer;
  border-radius: 50px;
  transition: all 0.3s ease;
  min-width: 200px;
}
    
button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
    

footer {
  position: relative;
  z-index: 4; 
  background: var(--dark);
  color: var(--light);
  padding: 3rem 0;
  margin-top: auto;
}
    
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 2rem;
}
    
.footer-col a {
  display: block;
  color: #cccccc;
  margin-bottom: 0.5rem;
  text-decoration: none;
}

.footer-col a:hover {
  background: var(--light);
  color: var(--accent);
  transform: none;
  padding-left: 0.2rem;
}

.social-icons {
  display: flex;
  gap: 4rem;
  margin-left: 25%;
}

.social-icons a img {
  width: 30px;
  height: 30px;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.social-icons a:hover img {
  filter: brightness(1) invert(0.5);

}

.copyright {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #444;
}
    
.hero-container1 { 
  padding: 3rem calc((100vw - 1300px) / 2);
}

.column-left1 {
  border-radius: 50px;
  box-shadow: 5px 5px 10px #3e5da2;
  background-color: #f8f9fa;
  display: flex;
  flex-direction: column;
  color: black;
  padding: 2rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.contact-section {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 2rem auto;
  gap: 2rem;
  flex-wrap: wrap;
}

.contact-form, .contact-details {
  flex: 1;
  min-width: 300px;
  padding: 2rem;
  background: rgba(8, 62, 105, 0.527);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid white;
}

.contact-form h2, .contact-details h2 {
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  color: var(--light);
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: var(--light);
  }

  input[type="text"],
  input[type="email"],
  input[type="tel"],
  textarea,
  select {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #3e5da2;
  border-radius: 4px;
  font-size: 1rem;
}

textarea {
  height: 150px;
  resize: vertical;
}

.required {
  color: #e74c3c;
}

.submit-btn {
  background-color: var(--primary);
  color: var(--light);
  border: none;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.submit-btn:hover {
  background-color: #ffb004;
}

.success-message {
  color: #2ecc71;
  font-weight: bold;
  margin-top: 1rem;
  display: none;
  text-align: center;
}

.contact-details ul {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.contact-details ul li {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: var(--light);
}

.contact-details ul li strong {
  color: var(--light);
}

.Prpol-section {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 2rem auto;
  gap: 2rem;
  flex-wrap: wrap;
}

.Prpol-details {
  flex: 1;
  min-width: 300px;
  padding: 2rem;
  background-color:rgba(255, 255, 255, 0.63);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.Prpol-details ul {
  list-style: circle;
  padding: 0;
  margin-bottom: 2rem;
}

.Prpol-details ul li {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: var(--darker);
}

.Prpol-details ul li strong {
  color: var(--darker);
}

.map {
  margin-top: 8rem;
  border-radius: 20px;
  overflow: hidden; 
}

.photo-container {
  display: flex !important;
  justify-content: space-around;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 40px auto;
  padding: 30px;
  border-radius: 15px;
  position: relative;
}
        
.photo {
  width: 30%;
  min-width: 300px;
  margin: 20px 0;
  transition: all 0.3s ease;
}
        
.photo:hover {
  transform: scale(1.05);
}
        
.photo img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 3px solid white;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2); 
}
        
.photo a {
  display: block;
  text-decoration: none;
}
        
.photo-caption{
  text-align: center;
  text-shadow: #0c0c0c;
  margin-top: 8px;
  color: var(--light);
  font-family: Arial, sans-serif;
}

.pol-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  max-width: 90%;
  margin: 100px auto;
  padding: 20px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 10px;
}

.pol-detail {
  width: 20%;
  min-width: 250px;
  margin: 15px;
  padding: 20px;
  background-color: rgba(8, 61, 105, 0.8);
  border-radius: 10px;
  color: white;
  text-align: center;
  transition: transform 0.3s ease;
}

.pol-detail:hover {
  transform: scale(1.05);
}

.pol-detail h1 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #fff;
}

.pol-detail p {
  font-size: 1.3rem;
  line-height: 1.5;
}

.pol1 {
  display: flex;
  flex-direction: column;
  color: var(--light); 
  font-size: 2rem; 
  text-align: center; 
  background: rgba(185, 188, 194, 0.486); 
  font-family: 'Courier New', Courier, monospace;
  margin-top: 100px;   
}

.pol2 {
  text-align: center;
  color: white;
  font-size: 2rem;
  background: rgba(8, 61, 105, 0.7);
  padding: 20px;
  margin: 30px auto;
  max-width: 80%;
  border-radius: 10px;
}

.pol1 h1 {
  margin: 0;
  padding: 0;
}

.pol2 ul {
  margin: 1rem 0;
  padding-left: 2rem;
}

.pol2 li {
  position: relative;
  margin-bottom: 0.8rem;
  line-height: 1.5;
  color: var(--light);
}


.cta-button-container {
  display: flex;
  justify-content: center;
  margin: 3rem auto;
  max-width: 1300px;
  padding: 0 2rem;
  margin-bottom: 200px;
}

.professional-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--third), var(--secondary));
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
  transition: all 0.5s ease;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.professional-cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
  background: linear-gradient(135deg, var(--secondary), var(--primary));
}

.professional-cta-button svg {
  transition: transform 0.3s ease;
}

.professional-cta-button:hover svg {
  transform: translateX(10px);
}


.pricing-table {
  max-width: 1000px;
  margin: 2rem auto;
  overflow-x: auto;
  background: rgba(8, 62, 105, 0.527);
  border-radius: 15px;
  padding: 1rem;
  border: 2px solid white;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.pricing-table table {
  width: 100%;
  border-collapse: collapse;
  color: var(--light);
  font-size: 1.1rem;
}

.pricing-table th, .pricing-table td {
  text-align: center;
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.pricing-table thead {
  background: rgba(255, 255, 255, 0.15);
}

.pricing-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.4s ease;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(8, 62, 105, 0.527);
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border: 3px solid white;
  margin-bottom: 100px;
}

.product-info {
  padding: 1rem;
  text-align: center;
}

.product-info h2 {
  font-size: 2rem;
  color: var(--light);
  margin-bottom: 1rem;
}

.product-info p {
  font-size: 1.1rem;
  color: var(--light);
}

.itempos-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 3rem calc((100vw - 1300px)/2);
  align-items: center;
  margin: 2rem 0;
  border-radius: 10px;
}

.itempos-photo {
  overflow: hidden;
  border-radius: 30px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.itempos-image {
  width: 100%;
  display: block;
  border-radius: 30px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.itempos-image:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

.itempos-description {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(8,62,105,0.53);
  border: 2px solid #fff;
  border-radius: 20px;
}
.itempos-description h2 {
  color: var(--light);
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: center;
}
.itempos-description p,
.itempos-description li {
  color: var(--light);
  font-size: 1.1rem;
  line-height: 1.6;
}
.itempos-description ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.professional-cta-button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background: #FF6F61;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 30px;
  text-align: center;
  transition: background 0.3s ease;
}
.professional-cta-button:hover {
  background: #e65b50;
}

.company-overlap-section {
  padding: 60px 0;
}

.company-container {
  position: relative;
  width: 100%;
  max-width: 1175px;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 100px;
}

.company-image {
  flex: 1;
}

.company-image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.company-content {
  position: relative;
  left:0 ;
  width: 35%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  padding:30px;
  border-radius: 12px;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.1);
  color: #1f3552;
  margin-top: 100px;
}

.company-content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.company-content p {
  font-size: 1.1rem;
  margin-bottom: 15px;
  line-height: 1.6;
}

.company-content strong {
  font-weight: bold;
  color: #1f3552;
}

.cta-button {
  display: inline-block;
  margin-top: 10px;
  background-color: #e1e6f9;
  color: #1f3552;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
}

.cta-button:hover {
  background-color: #cfdaf0;
}


/* Responsive behavior */
@media screen and (max-width: 991px) {
  .company-container {
    flex-direction: column;
  }

  .company-content {
    position: relative;
    width: 100%;
    margin-top: -60px;
    backdrop-filter: none;
  }
}

@media (max-width: 768px) {
  .sticky-nav {
    padding: 0.5rem 1rem;
  }
  
  .logo-image {
    height: 40px;
    margin-right: 10px;
  }
  
  .logo-text {
    font-size: 1.2rem;
  }
  
  .nav-items {
    gap: 1rem;
    margin-right: 0;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .hero-content {
    padding-top: 30%;
    padding-left: 5%;
    padding-right: 5%;
    font-size: 1.8rem;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .item-container, 
  .item-container.inverted {
    grid-template-columns: 1fr;
    grid-template-areas: "image" "text";
    padding: 1rem;
  }
  
  .item-image {
    max-width: 100%;
  }
  
  .item-description {
    padding: 1rem;
  }
  
  .contact-form, 
  .contact-details {
    min-width: 100%;
    padding: 1rem;
  }
  
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  textarea,
  select {
    width: 100%;
  }
  
  .professional-cta-button,
  .submit-btn {
    width: 100%;
    padding: 0.8rem;
  }
  
  .photo {
    width: 100%;
    min-width: 100%;
  }
  
  .pol-detail {
    width: 100%;
    min-width: 100%;
    margin: 10px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-col {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 600px) {

  /* Εικόνες σε Hero / Frontpage να μην βγαίνουν έξω */
  .image-content img {
    max-width: 100%;
    height: auto;
  }

  /* Μείωσε μέγεθος τίτλων */
  .text-content h1 {
    font-size: 1.8rem;
  }

  .text-content h2 {
    font-size: 1.3rem;
  }

  .text-content h3 {
    font-size: 1rem;
  }

  .text-content p {
    font-size: 1rem;
  }

  /* Ήπιες αλλαγές στα κουμπιά */
  .professional-cta-button {
    font-size: 1rem;
    padding: 0.8rem 1rem;
    width: 100%;
  }

  /* Footer icons κεντραρισμένα */
  .social-icons {
    justify-content: center;
    margin-left: 0;
    flex-wrap: wrap;
  }

  /* Καλύτερη στοίχιση logo + text */
  .logo-container {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .nav-items {
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }

  .footer-col {
    text-align: center;
  }

  /* Ελαχιστοποίηση padding */
  .frontpagecontainer {
    padding: 20px 10px;
    margin-top: 100px;
  }

  .company-content {
    padding: 20px;
    margin-top: 20px;
  }

  .photo-container {
    padding: 10px;
  }

  .photo {
    width: 90%;
    margin: 10px auto;
  }
}