@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');


  body {
    font-family: 'Open Sans', sans-serif;
  }

body, html {
 overflow-x: hidden;
  overscroll-behavior: auto;
  max-width: 100vw;
}

body {
  margin: 0;
    position: relative;
  padding: 0;
}



    
    .belowH2 {
       
      margin-left: 40%;
      margin-right: 40%;
      text-align: center;
      font-family: "Noto Sans", "Open Sans", Arial, sans-serif;
      font-size: 14px;
      padding: 10px 14px;
      -webkit-text-stroke: 0.5px #126c02; /* subtle green stroke */
      color: #ffffff; /* pure white text */
      text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8); /* strong dark shadow */
      background-color: rgba(0, 0, 0, 0.45); /* semi-transparent dark background */
      background-position: 0 20px; /* Move the background down */
      background-size: cover; /* Make sure it covers the element */
      border-radius: 12px;
      display: inline-block;
      padding: 5px;
    
  }
  
  .list {
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 18px;
      gap: 10rem; 
      color: white;
      font-family: Georgia, 'Times New Roman', Times, serif;
  }

  
  
  
  table {
    display: table;
    border-collapse: separate;
    box-sizing: border-box;
    text-indent: initial;
    unicode-bidi: isolate;
  }

  
  .return {
    text-align: center;
    font-size: 23px;
  }
  .geografika {
    height: 50vh;
    display: grid;
    gap: 3rem;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;

    
  }
  
    .Ipeiros, .Thessalia, .Thraki, .Kriti, .Macedonia, .AigaioIonio, .Peloponnisos, .Sterea {
    font-size: 1.8rem;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
  background-color: rgba(45, 36, 36, 0.45); /* Semi-transparent dark background */


  }
  
 
  button {
    padding: 10px 20px;
    cursor: pointer;
  }
  
  .table1 {
    border-collapse: collapse;
    width: 100%;
  }
  
  th, td {
    border: 1px solid black;
    padding: 8px;
    text-align: left;
  }
  
  
  .buttonContact {
    padding: 10px 20px;
    background-color: green;
    color: #fff;
    border: none;
    cursor: pointer;
  }

  
.mountains {
  width: 700px;
  background-color: white;
  border: 1px solid white;
  border-radius: 12px; /* Smoothed and enhanced corner roundness */
  position: fixed;
  top: 58%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 17px;
  max-height: calc(60% - 20px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.mountains ul {
  list-style-type: disc;
  list-style-position: outside;
  margin: 0;
  color: black;
  padding-left: 25px; /* Increased padding to shift bullets + text more to the right */
}

.mountains li {
  line-height: 1.4; /* Reduced line spacing */
}

.mountains li a {
  color: #2a6ebd !important;
  font-weight: bold !important;
  text-decoration: none;
}

.mountains li:hover {
  text-decoration: underline;
}


/* === MOBILE === */
@media (max-width: 768px) {
  .mountains {
     position: static;
    transform: none;
    top: auto;
    left: auto;
    width: 90%;
    max-width: 100%;
    margin: 20px auto;
    font-size: 16px;
    padding: 10px;
    box-sizing: border-box;
    display: block;
  }

  .mountains ul {
    list-style-type: disc;
    list-style-position: outside;
    margin: 0;
    padding-left: 25px; /* Increased padding for mobile as well */
    text-align: left;
  }

  .mountains li {
    line-height: 1.4;
    }

  .mountains li a {
      font-size: 14px;
    text-decoration: none;
    color: blue; /* Still blue on mobile */
  }
}
  
  .contact {
    background-color: #a6a6a6;
    max-width: 400px;
    padding: 20px;
    background-color: #f2f2f2;
    border-radius: 5px;
    text-align: center;
    position: relative; 
    margin: 0 auto; 
  }
  
  .message {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  textarea {
    width: 90%; 
    box-sizing: border-box;
  }

  .choice {
    background: none; /* Removes any white background */
  }
  

.choice ul {
  list-style-type: none;
  padding: 0;
  text-align: center;
}

.choice li {
  margin: 10px 0;
}

.choice a {
  text-align: center;
  font-family: "Noto Sans", "Open Sans", Arial, sans-serif;
  font-size: 14px;
  padding: 10px 14px;
  -webkit-text-stroke: 0.5px #126c02; /* Subtle green stroke */
  color: #ffffff; /* White text */
  background-color: rgba(0, 0, 0, 0.45); /* Semi-transparent dark background */
  border-radius: 12px;
  display: inline-block;
  margin-top: 10px;
  text-decoration: none; /* Optional: removes underline */
  transition: background-color 0.3s ease; /* Optional: smooth hover transition */
}

.choice a:hover {
  background-color: rgba(0, 0, 0, 0.6); /* Slightly darker background on hover */
}



body.MountainPageBackground {
  background-image: url("IMG_20230605_113727.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

body.MountainPageBackground::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;

  background:
    linear-gradient(
      rgba(154,161,158,0.3),
      rgba(141,148,145,0.3)
    ),
    url("IMG_20230605_113727.jpg") center / cover no-repeat;

  filter: blur(6px);
  transform: scale(1.05);
}

  
  #backToHomePage {
    text-align: center;
  }
  
  
  
  footer {
 position: relative;
  width: 320px;   /* ή όσο θες */
  margin: 0 auto;
  padding: 0;
  display: flex;
  justify-content: center;
  }

  @media (min-width: 1900px) {
  footer {
    width: 20.2%;
    margin: 0 auto; /* για να μην κολλάει στα άκρα */
  }
}
  
  .footer-form-container {
    width: 90%; /* Ensure the form container uses full width of the footer */
    text-align: center;
    font-size: 11px;
font-family: 'Segoe UI', Arial, sans-serif;
    color: black;
    
  }
  
  .footer-form-container form {
    background-color: #f8f9fa;
    font-size: 12px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    margin: 0; /* Center the footer horizontally */
  }
  
  .footer-form-container label {
    margin-top: 0px;
    margin: 0 auto; /* Center the footer horizontally */
    
  }
  
  .footer-form-container input {
    margin: 0 auto; /* Center the footer horizontally */
    width: 80%;
    padding: 1px; /* Adjusted padding */
    margin-top: 5px; /* Adjusted margin-top */
    border: 1px solid #ccc;
    border-radius: 999px;
    text-align: center;
    font-size: 12px;

  }
  
.footer-form-container button {
  margin: 0 auto; /* Center the button horizontally */
  margin-top: 5px;
  padding: 8px 16px; /* Better padding for a modern button */
  background-color: #5d6fb6; /* Light blue/purple */
  color: white; /* White text */
  border: none; /* Clean look */
  border-radius: 4px; /* Rounded corners */
  cursor: pointer;
  font-size: 11px;
  transition: background-color 0.3s ease;
}

.footer-form-container button:hover {
  background-color: #76d76d; /* Light green on hover */
}

  
  .havegone {
    display: none;
      align-items: center;
      justify-content: center;
      height: 0; /* Full viewport height */
      width: 100%; /* Full viewport width */
  color: rgb(8, 121, 84);
    font-weight: bold;
    font-size: 15px;
font-family: 'Georgia', 'Times New Roman', serif;
  text-shadow: 0 0 1px rgba(2, 2, 2, 0.6), 
               0 0 1px rgba(6, 7, 7, 0.5); /* Ωραία φωτεινή σκιά */
  }

  .coordinates {
    display: flex;
    flex-direction: column; /* Ensures text stacks properly */
    align-items: center; /* Centers text horizontally */
    width: 100%;
    color: blue;
    text-decoration: underline;
    font-weight: bold;
    padding: 5px;
    font-size: 14px; /* Default font size, change as needed */
    font-family: 'Georgia', 'Times New Roman', serif;
  }
  
  @media (max-width: 768px) {
  .coordinates {
    justify-content: center; /* Aligns content within the flex container */
    text-align: center;      /* Ensures the text itself is centered */
  }
}

  
  .youtubeIcon {
    width: 20px;
    height: 20px;
    margin-left: 10px;
    cursor: pointer;
    vertical-align: middle;
  }
  
  .mapsIcon {
    width: 20px; /* Set the desired width */
    height: 20px; /* Set the desired height */
    margin-left: 10px; /* Add spacing if needed */
    cursor: pointer; /* Make it look clickable */
    vertical-align: middle;
}

  
  .pressed {
    color: purple; /* Change to any color you'd like */
  }
  
  

  /*MOBILE PHONE ADJUSTED*/

  /* General mobile adjustments */
@media screen and (max-width: 768px) {

  .belowH2 {
    font-size: 12px;
    padding: 3px;
    margin-left: 20%;
    margin-right: 20%;
  }

  .list {
    flex-direction: column; /* Stack items vertically */
    gap: 1rem; /* Reduced gap */
    font-size: 16px; /* Smaller font */
  }

  .area {
    font-size: 13px;
  }

  .return {
    font-size: 18px; /* Adjust font size */
  }

  .geografika {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr 1fr; /* Reduced columns for mobile */
    grid-template-rows: auto; /* Adjust rows dynamically */
  }

  .Ipeiros, .Thessalia, .Thraki, .Kriti, .Macedonia, .AigaioIonio, .Peloponnisos, .Sterea {
    font-size: 1.2rem; /* Smaller font size */
    padding: 10px; /* Add padding for touch-friendly design */
  }


  button {
    padding: 8px 15px; /* Reduce padding */
  }

  .contact {
    max-width: 90%; /* Ensure it fits within screen */
    padding: 15px;
  }

  th, td {
    font-size: 12px; /* Adjust table font size */
    padding: 5px; /* Reduce padding for small screens */
  }

  .buttonContact {
    padding: 8px 15px; /* Reduce padding */
    font-size: 14px; /* Adjust font size */
  }

  

 

}

@media screen and (max-width: 768px) {
  textarea {
    width: 100%; /* Use full width on mobile */
    margin: 0 auto; /* Center the textarea */
  }

  body {
    overflow-x: hidden;
  }

  * {
    box-sizing: border-box;
  }
  
  .MountainPageBackground {
    height: auto; /* Adjust height for smaller screens */
  }

  #backToHomePage {
    font-size: 14px; /* Smaller font size */
  }

  

  footer {
    width: 80%; /* Ensure footer fits mobile screens */
    padding: 0px; /* Adjust padding */
    flex-direction: column; /* Stack content vertically */
  }

  .footer-form-container {
    width: 100%; /* Full width for mobile */
    margin: 0 auto; /* Center the form */
  }

  .footer-form-container input {
    width: 70%; /* Adjust width for better fit */
    padding: 8px; /* Add padding */
  }

  .footer-form-container button {
    padding: 8px 12px; /* Adjust button size */
    font-size: 11px; /* Reduce font size */
  }

  .havegone {
    font-size: 15px; /* Adjust font size for mobile */
    padding: 10px; /* Add padding */
  }

  .youtubeIcon, .mapsIcon {
    width: 16px; /* Reduce size for better fit */
    height: 16px;
    margin-left: 5px; /* Adjust spacing */
  }

  .pressed {
    font-size: 14px; /* Adjust size */
  }
}


/* Hide the hamburger button on desktop (screens wider than 768px) */


#langToggleBtn {
  position: fixed;
  top: 10px;
  right: 10px;
  background-color: #007bff;
  color: white;
  border: none;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: all 0.2s ease;
}

/* Hover effect */
#langToggleBtn:hover {
  background-color: #0056b3;
  transform: scale(1.05);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  #langToggleBtn {
      top: 6px;
      right: 6px;
      padding: 6px 10px;
      font-size: 12px;
      border-radius: 6px;
  }
}

@media (max-width: 480px) {
  #langToggleBtn {
      padding: 5px 8px;
      font-size: 11px;
      border-radius: 5px;
  }
}



/* === DESKTOP === */
.final {
  width: 700px;
  background-color: white;
  border: 1px solid white;
  border-radius: 12px;
  font-size: 17px;
  max-height: calc(50% - 20px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  margin: 0 auto;   /* Κεντράρισμα */
}


.final ul {
  list-style-type: disc;
  list-style-position: outside;
  margin: 0;
  padding-left: 25px; /* Increased padding to shift bullets + text more to the right */
}

.final li {
  line-height: 1.4; /* Reduced line spacing */
}

.final li a {
  color: #2a6ebd !important;
  font-weight: bold !important;
  text-decoration: none;

}

.final li:hover {
  text-decoration: underline;
}



/* === MOBILE === */
@media (max-width: 768px) {
  .final {
    position: static;
    transform: none;
    top: auto;
    left: auto;
    width: 90%;
    max-width: 100%;
    margin: 20px auto;
    font-size: 16px;
    padding: 10px;
    box-sizing: border-box;
    display: block;
  }

  .final ul {
    list-style-type: disc;
    list-style-position: outside;
    margin: 0;
    padding-left: 25px; /* Increased padding for mobile as well */
    text-align: left;
  }

  .final li {
    line-height: 1.4;
  }

  .final li a {
    font-size: 14px;
    text-decoration: none;
    color: blue; /* Still blue on mobile */
  }
}


h2 {
  text-align: center;
  font-family: "Noto Sans", "Open Sans", Arial, sans-serif;
  font-size: 18px; /* Reduced font size by 2 */
  font-weight: 600; /* Bold text for extra emphasis */
  padding: 10px 20px; /* Reduced padding for a more compact box */
  color: #004d00; /* Deep green text */
  text-shadow: 0px 0px 6px rgba(255, 255, 255, 0.7), 0px 0px 10px rgba(0, 0, 0, 0.4); /* Subtle glow effect with light and dark shadows */
  background-color: rgba(224, 247, 250, 0.7); /* Light cyan background with transparency */
  border-radius: 10px; /* Rounded corners */
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); /* Soft background shadow to make the heading pop */
  margin: 20px auto; /* Centering the heading on the page */
  transition: all 0.3s ease; /* Smooth transition effect for interactivity */
}

h2:hover {
  transform: translateY(-5px); /* Slight lift effect on hover */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3); /* Stronger shadow on hover */
}

@media (max-width: 768px) { /* Mobile adjustments */
  h2 {
    font-size: 14px; /* Reduced font size for mobile */
    padding: 8px 18px; /* Adjusted padding for a more compact mobile view */
    background-color: rgba(241, 248, 233, 0.8); /* Soft light green background with transparency for mobile */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); /* Subtle shadow on mobile */
  }
}

.bold-large-text {
  font-size: 16px;
  font-weight: bold;
}

/* ===== Scrollable Table Container ===== */

/* ===== Scrollable Table Container ===== */
.scrollable-table {
  max-height: 450px;
  overflow-x: auto;
  overflow-y: auto;
  box-sizing: border-box;
  border-radius: 12px; /* πλήρως στρογγυλεμένο container */
  /* background: #ffffff; αφαιρούμε για να φαίνεται το background της σελίδας */
  width: 100%;
  display: flex;
  justify-content: center; 
  margin: auto;
}

/* ===== Table Base ===== */
.scrollable-table table {
  width: 45%;            
  min-width: 600px;      
  table-layout: fixed;    
  border-collapse: separate;  /* separate για να δουλεύει πλήρως το border-radius */
  border-spacing: 0;          /* χωρίς κενά ανάμεσα στα cells */
  font-family: "Poppins", "Noto Sans", sans-serif;
  background-color: #ffffff;   /* λευκό μόνο πίσω από τον πίνακα */
  color: #2b2b2b;
  margin: auto;
  border-radius: 12px;        /* πλήρως στρογγυλεμένο table */
  overflow: hidden;           /* για να μην “ξεφεύγουν” οι γωνίες */
}

/* ===== Header ===== */
.nat thead {
  background: linear-gradient(90deg, #5aa583, #249c6b);
  color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1;
}

.nat th {
  text-align: center;
  padding: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}


/* ===== Cells ===== */
.nat td {
  text-align: center;
  padding: 8px;
  font-size: 0.88rem;
  transition: background 0.2s ease-in-out, color 0.2s ease-in-out;
  word-wrap: break-word;
}

/* ===== Alternate row color + Hover ===== */
.nat tbody tr:nth-child(even) {
  background-color: #f8faf9;
}

.nat tbody tr:hover {
  background-color: #e9f6ee;
  color: #145a37;
}

/* ===== Remove hard borders, add subtle separators ===== */
.nat td, .nat th {
  border: none;
  border-bottom: 1px solid #eaeaea;
}

.nat tbody tr:last-child td {
  border-bottom: none;
}

/* ===== Rounded top and bottom corners ===== */
.nat th:first-child {
  border-top-left-radius: 12px;
}
.nat th:last-child {
  border-top-right-radius: 12px;
}
.nat tbody tr:last-child td:first-child {
  border-bottom-left-radius: 12px;
}
.nat tbody tr:last-child td:last-child {
  border-bottom-right-radius: 12px;
}

  /* Στυλ για τα links του πίνακα */
  .nat a {
    color: #103f24;
    text-decoration: underline;
    transition: color 0.2s ease;
  }

  .nat a:hover {
    color: #0066cc;
    text-decoration: underline;
  }
  
/* ===== RESPONSIVE: κινητό ===== */
@media (max-width: 600px) {
  .scrollable-table table {
    width: 100%;        
    min-width: unset;   
    table-layout: fixed;
  }

  .nat th, .nat td {
    font-size: 0.75rem; 
    padding: 6px;       
  }

.nat th:first-child,
.nat td:first-child {
  width: 26px;  /* Μικρότερο πλάτος για αριθμούς */
}


}



/* ======= DESKTOP NAVIGATION ======= */
.navigation {
  background-color: white;
  width: 110%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1000;
  margin-top: 50px; /* Απόσταση από κορυφή */
}

.main-navigation {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  justify-content: center; /* κεντράρισμα οριζόντια */
  align-items: center;
}

.main-navigation ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
}

.main-navigation ul li {
  margin: 0 15px;
  display: flex;
  align-items: center;
}

.main-navigation ul li a {
  text-decoration: none;
  font-family: 'Open Sans', sans-serif;
  color: #254633; /* πιο σκούρο πράσινο */
  font-size: 16px;
  padding: 8px 4px;
  transition: color 0.3s ease;
}

.main-navigation ul li a:hover {
  color: #03a624; /* πράσινο hover */
}

/* Logo μέσα στο μενού */
.main-navigation ul li img {
  height: 40px;
  margin-right: 5px;
}

/* ======= MOBILE NAVIGATION ======= */
.menu-toggle {
  display: none;
  font-size: 28px;
  color: #0f0c19;
  background: none;
  border: none;
  margin-left: 150px;
  cursor: pointer;
  padding: 10px 0;

}


@media (max-width: 1400px) {
  .main-navigation {
    flex-direction: column;
    align-items: flex-start;
    padding: 0px 0px;
  }

  .menu-toggle {
    display: block;
  }

  .main-navigation ul {
    flex-direction: column;
    display: none;
    width: 100%;
    background-color: white;
    margin-top: 10px;
    border-top: 1px solid #ddd;
  }

  .main-navigation ul.show {
    display: flex;
  }

  .main-navigation ul li {
    margin: 0;
    width: 100%;
    text-align: left;
  }

  .main-navigation ul li a {
    padding: 12px 20px;
    display: block;
    border-bottom: 1px solid #f0f0f0;
    font-size: 16px;
    color: #254633;
  }

  .main-navigation ul li a:hover {
    background-color: #f8f8f8;
    color: #03a624;
  }

  /* Μικρότερο padding στα links στο κινητό */
  .main-navigation ul li a {
    padding: 8px 10px;
    font-size: 14px;
  }

  
}


h1 a {
  text-align: center;
  text-decoration: none;
  color: white;
  font-family: 'Georgia', 'Times New Roman', serif;
      text-shadow: 
       1px  1px 0 #000;
}


  body {
    font-family: 'Open Sans', sans-serif;
  }

  h1 {
    text-align: center;
    font-size: 25px;
    }

    @media screen and (max-width: 768px) {
  h1 a {
    font-size: 25px; /* Reduced size for better fit */
    text-align: center;
  } 
}


.google-search-btn {
  background: white;
  border: none;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
  padding: 8px;
  cursor: pointer;
  transition: box-shadow 0.3s ease, color 0.3s ease;
  color: #5f6368; /* Google’s grey */
  display: flex;
  align-items: center;
  justify-content: center;
}

.google-search-btn:hover {
  box-shadow: 0 2px 8px rgba(66,133,244,0.6);
  color: #4285f4; /* Google blue */
}

.google-search-btn svg {
  stroke: currentColor;
}


      #searchResults {
 color: black;
}


.search-result-item {
  display: block;
  color: #0077cc;
  margin: 5px 0;
  text-decoration: none;
}
.search-result-item:hover {
  text-decoration: underline;
}

.suggestions-wrapper {
  position: fixed;
  top: 355px;
  right: 4px;
  z-index: 9999;
  max-width: 300px;
  font-family: "Segoe UI", sans-serif;
}



.toggle-button2 {
  background-color: #2a6ebd;
  color: white;
  padding: 5px 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  font-size: 14px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
  transition: background-color 0.3s ease;
}

.toggle-button2:hover {
  background-color: #1b4e94;
}

.suggestions {
  background-color: #ffffffee;
  border: 1px solid #ccc;
  margin-top: 10px;
  padding: 2px;
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(0,0,0,0.08);
  transition: max-height 0.3s ease, opacity 0.3s ease;
  overflow-y: auto;   /* εδώ */
  max-height: 300px;  /* περιορισμός ύψους με scroll */
}

.suggestions.hidden {
  display: none;
}

.suggestions ul {
  /* Αλλάζουμε από list-style: none σε disc για τελίτσες */
  list-style-type: disc;
  padding-left: 20px; /* για να έχει εσοχή και να φαίνονται οι τελίτσες */
  margin: 0; /* Αν θες, μπορείς να το αφαιρέσεις */
}

.suggestions li {
  margin: 6px 0;
}

.suggestions a {
  text-decoration: none;
  color: #2a6ebd;
  font-weight: bold;
}

.suggestions a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .toggle-button2 {
    font-size: 12px;     /* μικρότερη γραμματοσειρά */
    padding: 4px 4px; 
    top: 50%;  /* μικρότερο padding */
  }
  .suggestions-wrapper {
  right: 4px;
  top: 300px;
}

}

.contributor-wrapper {
  position: fixed;
  top: 250px; /* Τοποθέτησέ το όσο πιο κάτω θέλεις */
  right: 4px;
  z-index: 9999;
  max-width: 300px;
  font-family: "Segoe UI", sans-serif;
}

.toggle-button {
  background-color: #2a6ebd;
  color: white;
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  font-size: 14px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
  transition: background-color 0.3s ease;
}

.toggle-button:hover {
  background-color: #1b4e94;
}

.contributor-wrapper {
  position: fixed;
  top: 260px; /* Ή 320px, αν είναι κάτω από άλλο box */
  right: 4px;
  z-index: 9999;
  max-width: 300px;
  font-family: "Segoe UI", sans-serif;
}

.toggle-button {
  background-color: #2a6ebd;
  color: white;
  padding: 5px 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  font-size: 14px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
  transition: background-color 0.3s ease;
}

.toggle-button:hover {
  background-color: #1b4e94;
}

.contributor-box {
  background-color: #ffffffee;
  border: 1px solid #ccc;
  margin-top: 10px;
  padding: 2px;
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.08);
  transition: max-height 0.3s ease, opacity 0.3s ease;
  overflow-y: auto;
  max-height: 300px;
}

.contributor-box.hidden {
  display: none;
}

.contributor-list {
  list-style-type: disc;
  padding-left: 20px;
  margin: 0;
}

.contributor-item {
  margin: 6px 0;
}

.contributor-link {
  text-decoration: none;
  color: #2a6ebd;
  font-weight: bold;
}

.contributor-link:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .toggle-button {
    font-size: 10px;
    padding: 4px 4px;
  }

  .contributor-wrapper {
    top: 504px;
    right: 4px;
  }
}

.fires-live-banner {
  position: fixed;
  top: 410px;
  right: 36px;
  z-index: 9999;
  max-width: 170px;
  font-family: "Segoe UI", sans-serif;
}

.fires-live-banner a {
  background-color: #2a6ebd;
  color: white;
  padding: 5px 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  font-size: 15px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
  text-decoration: none;
  display: inline-block;
  text-align: center;
  transition: background-color 0.3s ease;
}

.fires-live-banner a:hover {
  background-color: #1e5aad;
}

@media (max-width: 768px) {
  .fires-live-banner {
    top: 546px;
    right: 4px;
  }

  .fires-live-banner a {
    font-size: 12px;
    padding: 4px 4px;
  }
}



.google-images-banner {
  position: fixed;
  top: 380px;
  right: 16px;
  z-index: 9999;
  max-width: 270px;
  font-family: "Segoe UI", sans-serif;
}

.google-images-banner a {
  background-color: #2a6ebd;
  color: white;
  padding: 5px 6px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  font-size: 15px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
  text-decoration: none;
  display: inline-block;
  text-align: center;
  transition: background-color 0.3s ease;
}

.google-images-banner a:hover {
  background-color: #1e5aad;
}

@media (max-width: 768px) {
  .google-images-banner {
    top: 330px;
    right: 4px;
  }

  .google-images-banner a {
    font-size: 12px;
    padding: 4px 4px;
  }
}

.toggle-all-wrapper {
  position: fixed;
  top: 40%;
  right: 6px;
  z-index: 9999;
  max-width: 230px;
  font-family: "Segoe UI", sans-serif;
}

.toggle-all-button {
  background-color: #2a6ebd;
  color: white;
  padding: 5px 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  font-size: 15px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
  text-decoration: none;
  display: inline-block;
  text-align: center;
  transition: background-color 0.3s ease;
}

.toggle-all-button:hover {
 background-color: #1e5aad;
}

@media (max-width: 768px) {
  .toggle-all-wrapper {
    top: 38%;
    right: 4px;
  }

  .toggle-all-button {
    font-size: 13px;
    padding: 8px 8px;
  }
}


.page-description {
  margin-left: 2px;   /* λίγο πιο μέσα από το link */
  margin-top: 4px;
  color: #555;
  font-size: 0.9em;
  font-style: italic;
}


.navigation.section.no-padding.bg-dark {
  margin-top: 30px; /* Μπορείς να το αλλάξεις σε 30px ή 40px αν θες πιο πολύ κενό */
}


@media (max-width: 1400px) {

  /* Μειώνουμε ύψος της μπάρας */
  .navigation.section {
    height: 60px;
    position: relative;
  }

  .navigation-inner {
    height: 30%;
    position: relative;
    left: 40%;

  }

  .main-navigation p {
    position: absolute;
    top: 10px;      /* Ρύθμισε όσο θες */
    left: 125px;     /* Ρύθμισε όσο θες */
    display: flex;
    align-items: center;
    font-size: 16px;
    margin: 0;
  }

  .main-navigation p img {
    height: 35px;
    margin-right: 3px;
  }

}

.main-navigation ul.menu.show {
  display: block; /* εμφανίζεται όταν έχει την κλάση show */
}


/* ------------------------------
   Quick search
------------------------------ */
.quicksearch-container {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.12));
}

.quicksearch-wrapper {
  position: relative;
  width: 300px;
  max-width: 90%;
}

.quicksearch-input {
  width: 100%;
  height: 55px;
  padding: 12px 45px 12px 16px;
  font-size: 14px;
}

.quicksearch-input::placeholder {
  font-size: 14px;
}

.quicksearch-button {
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-55%);
  border: 0;
  background: transparent;
  color: var(--hp-green);
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.22s ease, color 0.22s ease;
}

.quicksearch-results,
#quicksearchResults {
  margin-top: 10px;
  text-align: center;
  max-height: 320px;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
  scroll-behavior: smooth;
}

.quicksearch-item {
  width: 330px;
  max-width: 90%;
  padding: 15px;
  margin: 10px auto;
  border-radius: var(--hp-radius);
  border: 1px solid var(--hp-line);
  background: var(--hp-panel);
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.10);
  overflow-wrap: anywhere;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background-color 0.22s ease;
}

.quicksearch-link {
  color: #333;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.quicksearch-link:hover {
  color: var(--hp-green);
}

.quicksearch-empty {
  width: 100%;
  color: #fff;
  font-size: 16px;
  text-align: center;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.48);
}

/* ------------------------------
   Floating buttons
------------------------------ */
#toggleTop10,
.fixed-left,
#openHaveGone,
#openFavorites,
#locationBtn,
#compassBtn,
.Greece-live-banner,
.Dog-banner,
.Greece-guide-banner {
  position: fixed;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(1, 92, 75, 0.82), rgba(0, 75, 62, 0.78));
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  z-index: 1000;
  transition:
    background-color 0.25s ease,
    transform 0.2s ease,
    filter 0.2s ease,
    box-shadow 0.25s ease;
}

#toggleTop10 {
  left: 4px;
  top: 88%;
  width: 75px;
  padding: 4px;
  font-size: 10px;
  font-weight: 700;
}

.fixed-left {
  left: 4px;
  top: 83%;
  width: 75px;
  padding: 2px;
  font-size: 10px;
  font-weight: 700;
  text-align: center;
}

#openHaveGone,
#openFavorites,
#locationBtn,
#compassBtn {
  right: 4px;
  padding: 4px;
  border: 0;
  font-size: 15px;
  font-weight: 700;
}


.Greece-live-banner,
.Dog-banner,
.Greece-guide-banner {
  right: 4px;
  padding: 3px;
  border: 0;
  font-size: 20px;
}

.Greece-live-banner {
  top: 80%;
}

.Dog-banner {
  top: 85%;
}

.Greece-guide-banner {
  top: 90%;
}

.Greece-live-banner a,
.Dog-banner a,
.Greece-guide-banner a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

#toggleTop10:hover,
.fixed-left:hover,
#openHaveGone:hover,
#openFavorites:hover,
#locationBtn:hover,
#compassBtn:hover,
.Greece-live-banner:hover,
.Dog-banner:hover,
.Greece-guide-banner:hover {
  background: rgba(0, 95, 163, 0.90);
}

#toggleTop10:active,
.fixed-left:active,
#openHaveGone:active,
#openFavorites:active,
#locationBtn:active,
#compassBtn:active,
.Greece-live-banner:active,
.Dog-banner:active,
.Greece-guide-banner:active {
  filter: brightness(0.96);
}

/* ------------------------------
   Panels / side lists
------------------------------ */
#popular-list,
#contributorsBox,
#haveGoneBox,
#favoritesBox {
  position: fixed;
  max-height: 70vh;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
  scroll-behavior: smooth;
  background: var(--hp-panel-strong);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--hp-shadow-strong);
  pointer-events: auto;
  z-index: 999;
  text-align: center;
}

#popular-list {
  left: 0;
  top: 13%;
  width: 300px;
  border-radius: 12px 0 0 12px;
  opacity: 0;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}

#popular-list.active {
  opacity: 1;
  transform: scaleY(1);
  pointer-events: auto;
}

#popular-list ul,
#contributorsBox ul {
  list-style: none;
  padding: 8px 10px 10px;
  margin: 0;
}

#popular-list li,
#contributorsBox li {
  margin: 0.5rem 0;
  padding: 6px 8px;
  border-radius: 10px;
  color: var(--hp-text);
  font-size: 12px;
  font-weight: 600;
  transition:
    background-color 0.22s ease,
    transform 0.22s ease;
    color: #006fa8;
}

#popular-list a,
#haveGoneBox a,
#favoritesBox a {
  display: inline-block;
  color: var(--hp-blue);
  font-weight: 600;
  font-size: 12px;
  line-height: 1.45;
  text-decoration: none;
  text-wrap: balance;
  transition: color 0.2s ease, opacity 0.2s ease;
}

#popular-list a:hover,
#haveGoneBox a:hover,
#favoritesBox a:hover {
  color: var(--hp-green);
  opacity: 0.92;
}

#contributorsBox {
  left: 0;
  top: 13%;
  width: 300px;
  padding-top: 5px;
  border-radius: 20px 0 0 20px;
}

#contributorsBox li:first-child {
  margin-top: 0;
}

#contributorsBox li:hover {
  text-decoration: underline;
}

#haveGoneBox,
#favoritesBox {
  right: 0;
  top: 35%;
  width: 70%;
  padding-bottom: 10px;
  border-radius: 20px 0 0 20px;
}

#haveGoneBox h4,
#favoritesBox h4 {
  margin: 10px 0 0.5rem;
  padding: 3px 8px;
  color: var(--hp-text);
  font-size: 14px;
  letter-spacing: 0.2px;
}

/* ------------------------------
   PWA / browser-only helpers
------------------------------ */
.browser-only {
  display: none;
}

@media (max-width: 768px) {
  .browser-only {
    display: block;
  }
}


#contributorsBtn {
  display: none;
}

@media (max-width: 768px) {
  #contributorsBtn {
    display: block;
  }
}

/* ------------------------------
   Have gone / favorites / compass
------------------------------ */
.havegone-check {
  margin-left: 5px;
  cursor: pointer;
  font-size: 1em;
  color: #28a745;
  transition: transform 0.2s ease, color 0.2s ease;
}

.havegone-check:hover {
  transform: scale(1.2);
  color: #1e7e34;
}

#distanceText {
  font-size: 12px;
}

#compass {
  position: fixed;
  left: 33%;
  top: 79%;
  width: 120px;
  height: 120px;
  padding: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 100px;
  transition: transform 0.1s linear;
}


/* ------------------------------
   Footer / fixed small info
------------------------------ */
#datetime,
#weather,
#copyright {
  position: fixed;
  z-index: 1000;
  margin: 0;
  color: #f3eeee;
  font-family: Arial, sans-serif;
  font-size: 10px;
  line-height: 1.2;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
  background: rgba(0, 0, 0, 0.10);
  border-radius: var(--hp-radius-pill);
  padding: 2px 6px;
  transition: none;
}

#datetime {
  bottom: 7px;
  left: 2px;
  margin: 5px;
}

#weather {
  right: 10px;
  bottom: 10px;
}

#copyright {
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
}

.fb-float {
  display: block;
  width: fit-content;
  position: fixed;
  right: 10px;
  bottom: 20px;
  z-index: 1000;
  transition: all 0.3s ease;
}

.fb-float img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.25));
  transition: transform 0.2s ease;
}

.fb-float:hover img {
  transform: scale(1.1);
  cursor: pointer;
}

/* ------------------------------
   Footer form polish
------------------------------ */
.footer-form-container input,
#submission-form input {
  background: rgba(255, 255, 255, 0.95);
}

#submission-form button,
.footer-form-container button {
  padding: 10px 18px;
  border: 0;
  border-radius: var(--hp-radius-pill);
  background: linear-gradient(180deg, var(--hp-green-2), var(--hp-green));
  color: #fff;
  box-shadow: 0 6px 18px rgba(1, 92, 75, 0.22);
  transition: transform 0.2s ease, filter 0.2s ease;
}

#submission-form button:hover,
.footer-form-container button:hover {
  filter: brightness(1.04);
}

/* ------------------------------
   Focus / hover
------------------------------ */
#searchSelector button:focus-visible,
#searchSelector a:focus-visible,
.input-with-button button:focus-visible,
.quicksearch-button:focus-visible,
#toggleTop10:focus-visible,
.fixed-left:focus-visible,
#openHaveGone:focus-visible,
#openFavorites:focus-visible,
#locationBtn:focus-visible,
#compassBtn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.88);
  outline-offset: 3px;
}


@media (hover: hover) and (pointer: fine) {
  .input-with-button button:hover {
    background: rgba(1, 92, 75, 0.08);
  }

  .input-with-button button:hover svg,
  #searchSelector button:hover svg,
  #searchSelector a:hover svg {
    transform: scale(1.08);
    opacity: 0.92;
  }

  .quicksearch-item:hover,
  #searchResults .result:hover,
  #resultsList li:hover,
  #results li:hover {
    transform: translateY(-1px);
    box-shadow: var(--hp-shadow);
  }

  #popular-list li:hover,
  #contributorsBox li:hover {
    background: var(--hp-soft);
  }


  #toggleTop10:hover,
  .fixed-left:hover,
  #openHaveGone:hover,
  #openFavorites:hover,
  #locationBtn:hover,
  #compassBtn:hover,
  .Greece-live-banner:hover,
  .Dog-banner:hover,
  .Greece-guide-banner:hover {
    transform: translateY(-50%) scale(1.02);
  }
}

/* ------------------------------
   Responsive
------------------------------ */
@media (max-width: 768px) {
  body {
    min-height: 100svh;
    min-height: 100dvh;
  }

  .fixed-bg {
    background-image: url("IMG_20200823_095102_1-min.jpg");
    height: 100svh;
    height: 100dvh;
    min-height: 100svh;
    min-height: 100dvh;
  }

  .mobile-break {
    display: inline;
  }

  button[onclick^="selectSearch"],
  a[aria-label="View map"] {
    width: 37px;
    height: 37px;
  }

  #searchSelector span {
    font-size: 14px;
  }

  #searchSelector svg {
    width: 16px;
    height: 16px;
  }

  #searchSelector button,
  #searchSelector a {
    padding: 6px;
  }

  #searchSelector a:last-child {
    margin-right: 6px;
  }

  #searchResults {
    width: min(300px, 93vw);
    max-width: 93vw;
  }

  #resultsList,
  #results {
    width: 100%;
    max-height: min(230px, 42svh);
  }

  #quicksearchResults,
  .quicksearch-results {
    max-height: min(280px, 45svh);
  }

  #copyright {
    left: auto;
    right: 10px;
    transform: none;
    text-align: right;
  }
}

@media (max-width: 600px) {
  #toggleTop10 {
    top: 88.5%;
    left: 4px;
    width: 65px;
    padding: 4px;
    font-size: 9px;
  }

  .fixed-left {
    top: 84%;
    left: 4px;
    width: 65px;
    padding: 1px;
    font-size: 9px;
  }

  #popular-list {
    left: 0;
    width: 70%;
    top: 14%;
  }

  #contributorsBox {
    left: 0;
    width: 70%;
    top: 14%;
    border-radius: 20px 0 0 20px;
  }

  .havegone-check {
    margin-left: 8px;
    font-size: 1.2em;
  }

  #haveGoneBox,
  #favoritesBox {
    width: 70%;
    top: 35%;
    border-radius: 20px 0 0 20px;
  }

  #openHaveGone {
    top: 69%;
    right: 4px;
  }

  

  #locationBtn {
    top: 77%;
    right: 4px;
  }

  #compassBtn {
    top: 73%;
    right: 4px;
  }

  #openFavorites {
    top: 65%;
    right: 4px;
  }

  .Greece-live-banner {
    top: 85%;
    font-size: 15px;
  }

  .Dog-banner {
    top: 89%;
    font-size: 15px;
  }

  .Greece-guide-banner {
    top: 93%;
    font-size: 15px;
  }


  #compass {
    top: 79%;
    left: 33%;
  }

  .quicksearch-input {
    min-height: 52px;
  }

  .quicksearch-item {
    width: 280px;
    max-width: 90%;
    padding: 15px;
    margin: 10px auto;
  }

  .quicksearch-link {
    font-size: 12px;
  }

  #resultsList li,
  #results li {
    margin-bottom: 6px;
  }

  .fb-float {
    left: 5px;
    right: auto;
    bottom: 31px;
    top: auto;
    margin: 0;
    transform: none;
    z-index: 10000;
  }
}

@media (max-width: 480px) {
  #searchResults,
  #resultsList,
  #results {
    width: 93vw;
  }

  #resultsList {
    max-height: 220px;
  }

  #results {
    max-height: 240px;
  }


  #weather {
    right: auto;
    left: 6px;
  }

  #datetime {
    bottom: 17px;
  }

  #datetime,
  #weather,
  #copyright {
    padding: 1px 5px;
  }
}


#searchSelector {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(244, 242, 242, 0.816);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 10px 2ch;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  font-family: 'Segoe UI', 'Georgia', serif;
  color: #014d42;
  width: 100%;
  max-width: 260px;
  margin: 10px auto;
  font-size: 16px;
  box-sizing: border-box;
}

/* κινητό */
@media (max-width: 768px) {
  #searchSelector {
    max-width: 240px;   /* άλλαξέ το αν το θες πιο φαρδύ ή πιο στενό */
    padding: 8px 10px;
    font-size: 14px;
    gap: 6px;
  }
}


.fires-live-button {
  right: 4px;
  padding: 4px;
  border: 0;
  font-size: 20px;
top: 75%;
 position: fixed;
  transform: translateY(-50%);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(1, 92, 75, 0.82), rgba(0, 75, 62, 0.78));
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  z-index: 1000;
  transition:
    background-color 0.25s ease,
    transform 0.2s ease,
    filter 0.2s ease,
    box-shadow 0.25s ease;

}


@media (max-width: 768px) {
  .fires-live-button {
   top: 81%;
    font-size: 15px;
  }
}


@media (min-width: 769px) {
  #compassBtn,
  #compass {
    display: none !important;
  }
}


@media (min-width: 769px) {
  #locationBtn,
  #locationOutput {
    display: none !important;
  }
}


/* Κρυφό από προεπιλογή */
#sosBtn {
  display: none;

  position: fixed;
  bottom: 128px;
  left: 4px;

  background: transparent;
  border: none;
  padding: 0;

  align-items: center;
  justify-content: center;

  font-size: 16px;
  cursor: pointer;
}

/* Εμφάνιση μόνο σε κινητά */
@media (max-width: 768px) {
  #sosBtn {
    display: flex;
  }
}


@media (min-width: 769px) {
  #openFavorites,
  #favoritesBox {
    display: none !important;
  }
}


#haveGoneBox,
#favoritesBox {
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;

  transform: none !important;
  filter: none !important;
  opacity: 1 !important;

  will-change: auto !important;
}


#openHaveGone {
    display: none !important;
}

/* μόνο mobile */
@media (max-width: 768px) {
    #openHaveGone {
        display: block !important; /* ή flex αν θες */
    }
}