@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

body {
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}
section {
  scroll-margin-top: 15vh; /* offset for sticky header */
}

/* make sizing predictable */
*,
*::before,
*::after {
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}
header {
  position: sticky;
  top: 0;
  width: 100%;
  height: 15vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #fff;
  padding: 0 3rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

/* LOGO */
.logo img {
  height: 80%;
  max-height: calc(15vh - 1rem);
  object-fit: contain;
  display: block;
}

/* NAVIGATION (desktop) */
.navigation {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2rem;
}

.menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

.menu a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

.menu a:hover {
  color: #07425a;
}

/* FLAGS */
.language-switch {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.language-switch img {
  width: 32px;
  height: 20px;
  cursor: pointer;
  transition: transform 0.2s;
}

.language-switch img:hover {
  transform: scale(1.1);
}

/* BURGER BUTTON */
.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1100;
}

.burger span {
  height: 3px;
  width: 100%;
  background: #333;
  border-radius: 3px;
  transition: 0.3s;
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  header {
    padding: 0 1.5rem;
  }

  /* Navigation hidden off-screen */
  .navigation {
    position: fixed;
    top: 15vh; /* starts right below header */
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start; /* items stick to top */
    padding: 1.5rem 2rem;
    width: 70%;
    max-width: 300px;
    box-shadow: -2px 0 12px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1050;
    height: auto; /* only as tall as content */
  }

  /* When opened */
  .navigation.active {
    transform: translateX(0);
  }

  /* Stack menu vertically */
  .menu {
    flex-direction: column;
    gap: 1rem;
  }

  /* Show burger button */
  .burger {
    display: flex;
  }

  /* Burger animation to "X" */
  .burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .burger.active span:nth-child(2) {
    opacity: 0;
  }
  .burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
}

/* HERO / CAROUSEL SECTION */
.hero {
  width: 100%;
  height: 80vh;
  position: relative;
  overflow: hidden;
}

.carousel {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(65%);
}

/* Centered caption text */
.caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 2.2rem;
  font-weight: 600;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
  text-align: center;
  padding: 0 1rem;
}

/* Responsive caption */
@media (max-width: 768px) {
  .hero {
    height: 60vh;
  }

  .caption {
    font-size: 1.5rem;
  }
}

/* INTRO SECTION */
.intro {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6vh 2rem;
  background-color: #f8fafc; /* soft off-white background */
  text-align: center;
}

.intro-container {
  max-width: 900px;
}

.intro h2 {
  font-size: 2rem;
  color: #222;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
  font-weight: 600;
  text-transform: uppercase;
}

.intro p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #444;
  margin: 0;
  text-align: justify;
}

/* Slightly smaller text on smaller screens */
@media (max-width: 768px) {
  .intro {
    padding: 5vh 1.5rem;
  }

  .intro h2 {
    font-size: 1.6rem;
  }

  .intro p {
    font-size: 1rem;
    line-height: 1.6;
  }
}

/* ABOUT / ΣΧΕΤΙΚΑ SECTION - CLEAN STYLE */
.about {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6vh 2rem;
  background-color: #f8fafc; /* same soft contrast as intro */
  text-align: center;
}

.about-container {
  max-width: 900px;
}

.about-container h2 {
  font-size: 2rem;
  color: #222;
  margin-bottom: 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.about-container p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #444;
  margin: 0;
  text-align: justify;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .about {
    padding: 5vh 1.5rem;
  }

  .about-container h2 {
    font-size: 1.6rem;
  }

  .about-container p {
    font-size: 1rem;
    line-height: 1.6;
  }
}

/* SERVICES / ΥΠΗΡΕΣΙΕΣ SECTION */
.services {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 6vh 2rem;
  background-color: #f8fafc;
}

.services-container {
  max-width: 1200px;
  width: 100%;
  text-align: center;
}

.services-container h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 3rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Cards grid */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

/* Individual card */
.card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Card image */
.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 1rem;
}

/* Card title */
.card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 1rem;
  text-align: center;
}

/* Card button */
.card button {
  background-color: #ffffff;
  color: #3a3a3a;
  border: none;
  border-radius: 4px;
  padding: 0.6rem 1rem;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.3s;
  border: #07425a 1px solid;
  box-shadow: #98b4be 1px 1px 2px;
}

.card button:hover {
  background-color: #07425a;
  color: #ffffff;
  box-shadow: #98b4be 1px 1px 2px;
}

/* Responsive text adjustments */
@media (max-width: 768px) {
  .services-container h2 {
    font-size: 1.8rem;
  }

  .card h3 {
    font-size: 1rem;
  }

  .card img {
    height: 150px;
  }
}

/* CONTACT / ΕΠΙΚΟΙΝΩΝΙΑ SECTION */
.contact {
  width: 100%;
  display: flex;
  justify-content: center;
  background-color: #f8fafc;
  text-align: center;
  margin-bottom: 50px;
}

.contact-container {
  max-width: 900px;
  width: 100%;
}

.contact-container h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Contact info */
.contact-info p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #444;
  margin: 0.5rem 0;
}

.contact-info a {
  color: #07425a;
  text-decoration: none;
  transition: color 0.3s;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* Contact form */
.contact-form {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  resize: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #0078ff;
  box-shadow: 0 0 5px rgba(0, 120, 255, 0.3);
}

.contact-form button {
  align-self: flex-start;
  background-color: #0078ff;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 0.7rem 1.5rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

.contact-form button:hover {
  background-color: #005fcc;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
  .contact-container h2 {
    font-size: 1.8rem;
  }

  .contact-info p {
    font-size: 1rem;
  }
}

.map-container {
  position: relative;
  width: 100%;
  padding-top: 65%; /* keeps proper aspect ratio */
  margin-top: 1.5rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 8px;
}

/* Optional: taller map for smaller devices */
@media (max-width: 768px) {
  .map-container {
    padding-top: 80%;
  }
}
