body {
  margin: 0;
  font-family: Arial, sans-serif;
}

/* Demo Notification Bar */
.demo-bar {
  background: #222;
  color: #000000;
  text-align: center;
  padding: 10px;
  font-size: 14px;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

/* Watermark */
.watermark {
  position: fixed;       /* πάντα στην ίδια θέση στην οθόνη */
  top: 50%;             /* απόσταση από πάνω */
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.7); /* ημιδιάφανο φόντο */
  padding: 6px 12px;
  font-size: 24px;
  font-weight: bold;
  color: #333;
  border-radius: 6px;
  z-index: 9999;         /* το σημαντικό για να είναι πάνω από όλα */
  pointer-events: none;  /* να μην μπλοκάρει τα κλικ */
}

/* Demo Content */


h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

p {
  font-size: 18px;
}
.nav-bar {
    background-color: green; /* dark blue */
    color: #ffffff;
    padding-bottom: 50px;
    z-index: 10; /* Φροντίζουμε να είναι πάνω από άλλα στοιχεία */
    position: sticky;
    top: 0; /* Τοποθετεί το nav στην κορυφή */
}

.nav-menu {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-bar li {
    margin: 0 20px;
    font-size: 25px;    
    padding-top: 50px;
}

.nav-bar a {
    font-size: 35px;
    color: white;
    text-decoration: none;
    transition: 0.5s;
}

.nav-bar a:hover {
    font-weight: bold;
    color: rgb(77, 130, 254);
    cursor: pointer;
}
.logo {
    height: 200px;
    margin-top: -20px;
    margin-bottom: -50px;
    border-radius: 500px;
}
.articles {
  border: 15px solid green;
  padding-left: 15px;
  text-align: left;
}
.art-title {
  color: green;
}
.art-date {
  color: gray;
}
a {
  text-decoration: none;
  color: rgb(77, 130, 254);
}
a:hover {
  font-weight: bold;
}
.nav-bar2 {
    background-color: rgb(77, 77, 77); /* dark blue */
    color: #ffffff;
    padding-bottom: 50px;
    z-index: 10; /* Φροντίζουμε να είναι πάνω από άλλα στοιχεία */
    position: sticky;
    top: 0; /* Τοποθετεί το nav στην κορυφή */
}
.nav-menu2 {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-bar2 li {
    margin: 0 20px;
    font-size: 25px;    
    padding-top: 50px;
}

.nav-bar2 a {
    font-size: 35px;
    color: rgb(255, 180, 180);
    text-decoration: none;
    transition: 0.5s;
}

.nav-bar2 a:hover {
    font-weight: bold;
    color: rgb(77, 130, 254);
    cursor: pointer;
}
.box {
  background: #545454;
  color: white;
  border-radius: 25px;
  padding-left: 15px;
  width: 555px;
  padding-bottom: 15px;
  margin-left: 60px;
  padding-right: 20px;
}
.box a {
  text-decoration: none;
  color: rgb(77, 130, 254);
}
.box a:hover {
  font-weight: bold;
}
header {
  background-color: #ff4c29;
  color: white;
  padding: 40px 20px;
  text-align: center;
}
header h1 {
  margin: 0;
  font-size: 2.8rem;
}
header p {
  margin-top: 10px;
  font-size: 1.2rem;
  font-style: italic;
}
.nav-bar2 {
    background-color: rgb(77, 77, 77); /* dark blue */
    color: #ffffff;
    padding-bottom: 50px;
    z-index: 10; /* Φροντίζουμε να είναι πάνω από άλλα στοιχεία */
    position: sticky;
    top: 0; /* Τοποθετεί το nav στην κορυφή */
}
.nav-menu2 {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-bar2 li {
    margin: 0 20px;
    font-size: 25px;    
    padding-top: 50px;
}

.nav-bar2 a {
    font-size: 35px;
    color: white;
    text-decoration: none;
    transition: 0.5s;
}

.nav-bar2 a:hover {
    font-weight: bold;
    color: rgb(254, 230, 77);
    cursor: pointer;
}
.nav-bar3 {
    background-color: rgb(29, 17, 144); /* dark blue */
    color: #ffffff;
    padding-bottom: 50px;
    z-index: 10; /* Φροντίζουμε να είναι πάνω από άλλα στοιχεία */
    position: sticky;
    top: 0; /* Τοποθετεί το nav στην κορυφή */
    padding-top: 20px;
}
.nav-menu3 {
    display: flex;
    justify-content: right;
    list-style: none;
}

.nav-bar3 li {
    margin: 0 20px;
    padding-top: 20px;
    margin-bottom: -50px;
}

.nav-bar3 a {
    font-size: 25px;    
    color: white;
    text-decoration: none;
    transition: 0.5s;
}

.nav-bar3 a:hover {
    font-weight: bold;
    color: rgb(254, 230, 77);
    cursor: pointer;
}
.menu1 {
  background-color: #7a7a7a;
  color: rgb(255, 255, 255);
  padding: 40px 20px;
  text-align: left;
  display: flex;
}
.menu1 h1 {
  margin: 0;
  font-size: 2.8rem;
}
.menu1 p {
  margin-top: 10px;
  font-size: 1.2rem;
  font-style: italic;
}
.search {
  --padding: 14px;
  width: max-content;
  display: flex;
  align-items: center;
  padding: var(--padding);
  border-radius: 25px;
  margin-left: 205px;
  background-color: #f6f6f6;
}
.search-input {
  font-size: 16px;
  color: #222;
  margin-left: var(--padding);
  outline: none;
  border: none;
  background: transparent;
  width: 400px;
  flex: 1;
}
.search-input::placeholder,
.search-icon {
  color: #828282;
}
.items {
  display:flex;
  justify-content: center;
}
.item {
  background-color: #828282;
  margin-left: 25px;
  border: 25px;
  border-radius: 25px;
  margin-top: 15px;
  width: 250px;
}
.img-pr {
  height: 250px;
}
.item h2,h3 {
  color: white;
}
h3 {
  color: gold;
}

#map {
  height: 85vh;
  width: 90%;
  max-width: 1000px;
  margin: auto;
  border: 2px solid #aaa;
  border-radius: 10px;
  transition: 0.5s;
}
#map:hover {
  opacity: 10s;
  transform: scale(1.05);
}
.user-menu-container {
  position: relative;
  display: inline-block;
}
#userBtn {
  background: #6c63ff;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  cursor: pointer;
  font-weight: bold;
}

.dropdown {
  position: absolute;
  width: 300px;
  top: 110%;
  right: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 999;
}

.dropdown a {
  display: block;
  padding: 12px 20px;
  text-decoration: none;
  color: #333;
  font-weight: 200;
}

.dropdown a:hover {
  background: #f0f0f0;
}

.dropdown.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.item {
  position: relative;
  overflow: hidden;
}

.item-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.item:hover .item-overlay {
  opacity: 1;
  pointer-events: auto;
}

.item-overlay button {
  padding: 8px 14px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
}

.btn-cart {
  background: #ff9800;
  color: white;
}

.btn-fav {
  background: #e91e63;
  color: white;
}
.signup {
  width: max-content;
  display: flex;
  align-items: center;
  border-radius: 25px;
  margin-left: 205px;
  background-color: #f6f6f6;
}
.signup-input {
  font-size: 16px;
  color: #222;
  outline: none;
  border: none;
  background: transparent;
  width: 400px;
  flex: 1;
}
.signup-input::placeholder,
.signup-icon {
  color: #828282;
}

@media (max-width: 720px) {
  .demo-bar { position: static; font-size: 12px; }
  .watermark { font-size: 16px; max-width: calc(100% - 30px); text-align: center; }

  .nav-bar, .nav-bar2, .nav-bar3 { padding: 12px; }
  .nav-menu, .nav-menu2, .nav-menu3 {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 14px;
  }

  .nav-bar li, .nav-bar2 li, .nav-bar3 li { margin: 0; padding: 0; }
  .nav-bar a, .nav-bar2 a, .nav-bar3 a { font-size: 1rem; }
  .logo { height: 58px; margin: 0; }

  header { padding: 28px 16px; }
  header h1, .menu1 h1 { font-size: 1.8rem; }
  .menu1 { display: block; padding: 24px 16px; }

  .box { width: calc(100% - 32px); margin: 16px auto; padding: 16px; }
  .articles { border-width: 6px; padding: 12px; }
  .items { flex-wrap: wrap; gap: 16px; padding: 0 16px; }
  .item { width: min(100%, 320px); margin: 0; }
  .img-pr { width: 100%; height: auto; }

  .search, .signup { width: calc(100% - 32px); margin: 16px auto; }
  .search-input, .signup-input { width: 100%; min-width: 0; }
  .dropdown { width: min(300px, calc(100vw - 32px)); }
  #map { width: calc(100% - 32px); height: 65vh; }
}
