/* —— Βασικό reset για συνέπεια μεταξύ browsers —— */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* —— Στυλ πλοήγησης —— */
nav {
  background: #0d1b2a;
  color: #ffffff;
  font-family: "Segoe UI", system-ui, sans-serif;
  letter-spacing: 0.03em;
  user-select: none;
  position: relative;
  z-index: 10;
}

nav .container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
}

/* —— Λογότυπο —— */
.logo {
  font-size: 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
}

/* —— Κρυφό checkbox για το burger —— */
#toggle {
  display: none;
}

/* —— Εικονίδιο burger —— */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: #ffffff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* —— Οριζόντιο μενού —— */
ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

a {
  color: inherit;
  text-decoration: none;
  font-size: 1rem;
  position: relative;
  transition: color 0.3s ease;
}

a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: rgb(119, 0, 0);
  transition: width 0.3s ease;
}

a:hover {
  color: white;
}

a:hover::after {
  width: 100%;
}

/* —— Περιεχόμενο —— */
.content {
  padding: 2rem 1.5rem;
  font-family: "Segoe UI", sans-serif;
  background: #f8f9fa;
  color: #1b1b1b;
}

.hero {
  text-align: center;
  padding: 2rem 0;
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  background-color: rgb(255, 0, 0);
  color: white;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.3s ease;
}

.cta-button:hover {
  background-color: rgb(119, 0, 0);
}

.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-top: 3rem;
  gap: 2rem;
}

.feature {
  flex: 1 1 250px;
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  text-align: center;
}

.feature h2 {
  margin-bottom: 0.5rem;
  color: #0d1b2a;
}

/* —— Responsive: έως 768px —— */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .features {
    flex-direction: column;
    align-items: center;
  }

  ul {
    flex-direction: column;
    align-items: center;
    background: #0d1b2a;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  #toggle:checked ~ ul {
    max-height: 400px;
  }
}
