body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background: #f9f9f9;
  color: #333;
}
header.hero {
  background: #004080;
  color: white;
  padding: 50px 20px;
  text-align: center;
}
header.hero .cta {
  display: inline-block;
  margin-top: 20px;
  padding: 15px 30px;
  background: #ff9900;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
}
section {
  padding: 40px 20px;
  max-width: 800px;
  margin: auto;
}
.features-wrapper {
  width: fit-content;
  margin: 0 auto;
  max-width: 100%;
}
.problem, .solution, .benefits {
  text-align: left;
  padding: 10px 20px;
  margin: 0;
  max-width: none;
}

.content-wrapper {
  display: block;
}

section h2 {
  color: #004080;
}

section ul {
  list-style-type: disc;
  padding-left: 20px;
}
section.screenshots {
  text-align: center;
  max-width: 1000px;
}
.screenshots-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 20px;
  align-items: flex-start;
}
.screenshots-container figure {
  margin: 0;
  max-width: 300px;
  width: 100%;
}
.screenshots-container figcaption {
  margin-top: 10px;
  font-weight: bold;
  color: #333;
  text-align: center;
  font-size: 1em;
}
section.screenshots img {
  width: 100%;
  /* max-width is now on the figure */
  margin: 0;
  border: 1px solid #ccc;
  display: block;
}
.disclaimer {
  font-size: 0.9em;
  color: #555;
  font-style: italic;
  margin-bottom: 20px;
}
section.screenshots a.lightbox-trigger img {
  cursor: zoom-in;
}
footer {
  background: #333;
  color: white;
  text-align: center;
  padding: 30px 20px;
}
footer h2 {
  color: #ff9900;
}
footer a {
  color: #ff9900;
  text-decoration: none;
}
.logo {
  max-width: 100%;
  height: auto;
  width: clamp(
    100px,
    15vw,
    200px
  ); /* Responsive μέγεθος: min 100px, max 200px */
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1000; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  background-color: rgba(0,0,0,0.5); /* Black w/ opacity */
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  animation: fadeIn 0.3s ease-out;
}

/* Wrapper to center image and caption */
.modal-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 95%;
  max-height: 98vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: zoomIn 0.3s ease-out;
}

/* Modal Content (the image) */
.modal-content {
  margin: 0;
  display: block;
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
}

.caption-container {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 10px 16px;
  margin-top: 10px;
  width: auto;
  text-align: center;
  box-sizing: border-box;
  border-radius: 5px;
}

/* Modal Caption */
#caption {
  display: inline;
  text-align: center;
  color: #ccc;
  font-size: 1.2em;
  text-shadow: 2px 2px 4px #000;
}

/* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
  z-index: 10;
  text-shadow: 2px 2px 4px #000;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
}

/* Prev & Next buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 24px;
  transition: 0.3s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  transform: translateY(-50%);
  z-index: 10;
  text-shadow: 2px 2px 4px #000;
}
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}
.prev:hover, .next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

@media screen and (max-width: 1300px) {
  .prev, .next {
    display: none;
  }
  .modal-wrapper {
    max-width: 100%;
    width: 100%;
  }
}

/* Number text (1/6 etc) */
#numbertext {
  color: #f2f2f2;
  font-size: 12px;
  display: inline;
  margin-left: 10px;
  text-shadow: 2px 2px 4px #000;
}

/* Modal CTA Button */
.modal-cta {
  display: block;
  margin: 10px auto 0;
  padding: 8px 16px;
  background: #ff9900;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  font-size: 14px;
  width: fit-content;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes zoomIn {
  from { transform: translate(-50%, -50%) scale(0.95); }
  to { transform: translate(-50%, -50%) scale(1); }
}
