html, body {
  margin: 0;
  padding: 0;
  height: auto;  /* good to avoid 100% height issues */
  overflow-x: hidden;
  background-color: #121212; /* add background color here to avoid white flashes */
}

.site-footer {
  background-color: #121212;
  color: #eee;
  font-family: Arial, sans-serif;
  padding: 1rem 2rem;
  border-top: 1px solid #333;
}

.footer-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: nowrap;
}

/* Social icons aligned left */
.footer-socials a {
  margin-right: 1rem;
  display: inline-block;
  transition: filter 0.3s ease;
}

.footer-socials a:last-child {
  margin-right: 0;
}

.footer-socials a img {
  width: 24px;
  height: 24px;
  filter: brightness(0.8);
}

.footer-socials a:hover img,
.footer-socials a:focus img {
  filter: brightness(1);
  outline: none;
}

/* Center group: flex container with items close together */
.footer-center-group {
  display: flex;
  align-items: center;
  gap: 2rem; /* spacing between items */
  justify-content: center;
  flex: 1;
  min-width: 0;
  flex-wrap: nowrap;
}

/* Individual center items */
.footer-copy,
.footer-privacy{
  white-space: nowrap;
  font-size: 0.9rem;
  color: #eee;
  margin: 0;
  text-align: center;
}

/* Privacy policy link styling */
.footer-privacy {
  color: #66ccff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.footer-privacy:hover,
.footer-privacy:focus {
  color: #99ddff;
  outline: none;
}

.copy-email {
  cursor: pointer;
  color: #66ccff;
  text-decoration: underline;
  user-select: text;
}

.copy-email:hover,
.copy-email:focus {
  color: #99ddff;
  outline: none;
}

.copy-feedback {
  margin-left: 0.5rem;
  font-size: 0.9rem;
  color: #4caf50;
  font-weight: 600;
}

/* Right section empty but keeps spacing */
.footer-right {
  flex: 0 0 100px; /* reserve space or set to 0 if not needed */
}

@media (max-width: 1160px) {
  .footer-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    text-align: center;
  }

  .footer-socials {
    display: flex;
    justify-content: center;
    gap: 1rem;
    order: 1;
  }

  .footer-copy {
    order: 2;
    font-size: 0.75rem;
    white-space: normal;
    margin: 0;
  }

  .footer-center-group {
    order: 3;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    font-size: 0.75rem;
    width: 100%;
  }

  .footer-privacy {
    font-size: 0.75rem;
    white-space: nowrap;
    color: #66ccff;
  }

  .footer-contact {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-wrap: wrap;
    white-space: normal;
    font-size: 0.75rem;
  }

  .copy-email {
    font-size: 0.75rem;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .footer-right {
    display: none;
  }
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(90deg, #121212, #2c2c2c);
  color: #eee;
  padding: 1rem 2rem;
  font-family: Arial, sans-serif;
  z-index: 1001;
  transition: transform 0.3s ease;
}

header.hidden {
  transform: translateY(-100%);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menu-toggle {
  font-size: 1.5rem;
  background: none;
  border: none;
  color: #eee;
  cursor: pointer;
  flex-shrink: 0;
}

.site-title {
  flex-grow: 1;
  text-align: center;
  font-weight: bold;
  font-size: 1.25rem;
  letter-spacing: 2px;
  transition: margin-left 0.3s ease;
}

.logo img {
  height: 40px;
  width: auto;
  flex-shrink: 0;
}

.side-nav {
  position: fixed;
  top: 0;
  left: -220px;
  width: 220px;
  height: 100%;
  background-color: #1a1a1a;
  box-shadow: 2px 0 5px rgba(0,0,0,0.5);
  transition: left 0.3s ease;
  padding-top: 60px;
  padding-bottom: 20px;
  z-index: 1100;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 2rem;
  background: none;
  border: none;
  color: #eee;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.side-nav.open {
  left: 0;
}

.navbar.side-nav-open .menu-toggle {
  visibility: hidden;
}

.side-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  overflow-y: auto;
  flex-grow: 1;
}

.side-nav ul li {
  border-bottom: 1px solid #333;
}

.side-nav ul li a {
  display: block;
  padding: 15px 20px;
  color: #eee;
  text-decoration: none;
  font-size: 1.1rem;
  transition: background-color 0.2s ease;
}

.side-nav ul li a:hover {
  background-color: #333;
}

.side-nav.open {
  left: 0;
}

.side-nav.open + header .navbar .site-title {
  margin-left: 220px;
  transition: margin-left 0.3s ease;
}

.side-nav-socials {
  border-top: 1px solid #333;
  padding-top: 10px;
  padding-bottom: 80px;
  text-align: center;
  color: #eee;
  font-weight: bold;
  font-size: 1rem;
  flex-shrink: 0;
}

.side-nav-socials span {
  display: block;
  margin-bottom: 8px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-icons a img {
  width: 28px;
  height: 28px;
  transition: filter 0.3s ease;
  display: block;
}

.social-icons a:hover img {
  filter: none;
}

.side-nav-socials span {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  font-size: 1rem;
  color: #eee;
}

@media (max-width: 460px) {
  
  .side-nav {
    width: 160px;
    padding-top: 50px;
    padding-bottom: 40px;
  }

  .navbar.side-nav-open .site-title {
    margin-left: 160px;
  }

  .side-nav ul li a {
    padding: 12px 15px;
    font-size: 1rem;
  }

  .side-nav-socials {
    padding-top: 8px;
    padding-bottom: 60px;
    font-size: 0.9rem;
  }

  .social-icons a img {
    width: 24px;
    height: 24px;
  }
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.lang-toggle {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  align-items: center;
  overflow: hidden;
  width: 50px;
  transition: width 0.4s ease;
  gap: 8px;
  font-weight: bold;
  font-family: Arial, sans-serif;
  z-index: 1200;
  cursor: pointer;
  background: transparent;
  border-radius: 4px;
}

.lang-toggle.expanded {
  width: 110px;
}

#langBtn {
  background: #222;
  color: #eee;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
  position: relative;
}

.lang-toggle.expanded #langBtn {
  opacity: 0;
  pointer-events: none;
}

.lang-options {
  display: flex;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease 0.2s;
  flex-shrink: 0;
  z-index: 1;
}

.lang-toggle.expanded .lang-options {
  opacity: 1;
  pointer-events: auto;
}

.lang-options button {
  background: #222;
  color: #eee;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  white-space: nowrap;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.lang-options button:hover {
  background: #444;
}

.lang-switch {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1200;
}

.lang-btn {
  display: flex;
  align-items: center;
  background: #222;
  color: #eee;
  border-radius: 4px;
  padding: 0;
  overflow: hidden;
  width: 50px;
  transition: width 0.35s cubic-bezier(.4,1.3,.5,1), background 0.3s;
  cursor: pointer;
  border: none;
  outline: none;
  min-height: 36px;
  min-width: 50px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 1rem;
}

.lang-btn.expanded {
  width: 110px;
}

.selected-lang {
  display: inline-block;
  padding: 6px 12px;
  background: #222;
  color: #eee;
  border-radius: 4px;
  transition: background 0.3s;
  white-space: nowrap;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1rem;
}

.lang-options {
  display: flex;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s 0.12s;
}

.lang-btn.expanded .lang-options {
  opacity: 1;
  pointer-events: auto;
}

.lang-options button {
  background: #222;
  color: #eee;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  margin-left: 4px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1rem;
  transition: background 0.3s;
}

.lang-options button:hover {
  background: #444;
}

.hero-section {
  position: relative;
  height: 100vh;
  background-image: url('../images/limnopoula.webp');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  margin: 0;
}

.hero-section::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 150px; /* adjust as needed */
  background: linear-gradient(to bottom, rgba(18,18,18,0) 0%, #121212 100%);
  pointer-events: none;
}

main {
  background: #121212;
  color: #eee;
  padding: 2rem;
  min-height: 100vh;
  /* Remove margin-top if you have it! */
}

/* Container for consistent horizontal padding */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Hero Content Section */
.hero-content {
  background-color: #121212;
  color: #eee;
  padding: 4rem 0 3rem;
  text-align: center;
  font-family: 'Arial', sans-serif;
}

.hero-content h2 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  letter-spacing: 1.5px;
  font-weight: 700;
}

/* About paragraphs */
.about p {
  text-align: left;
  max-width: 700px;
  margin: 0 auto 1.5rem;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #ccc;
}

/* Banners container */
.banners {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

/* Individual banner styles */
.banner {
  text-align: left;
  background-color: #2a2a2a;
  flex: 1 1 30%;
  padding: 2rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.banner:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.7);
}

/* Different color accents for each banner */
.banner.guide {
  border-top: 5px solid #ffb400; /* warm yellow */
}

.banner.news {
  border-top: 5px solid #4caf50; /* green */
}

.banner.events {
  border-top: 5px solid #2196f3; /* blue */
}

.banner h3 {
  margin-bottom: 1rem;
  font-size: 1.6rem;
  color: #fff;
  font-weight: 700;
}

.banner p {
  flex-grow: 1;
  font-size: 1rem;
  color: #ddd;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

/* See More button */
.btn {
  align-self: flex-start;
  background-color: transparent;
  border: 2px solid #eee;
  color: #eee;
  padding: 0.5rem 1.5rem;
  font-weight: 600;
  border-radius: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn:hover,
.btn:focus {
  background-color: #eee;
  color: #121212;
  outline: none;
}

/* Map Section */
.map-section {
  background-color: #121212;
  padding: 3rem 0 5rem;
  color: #eee;
  text-align: center;
  font-family: 'Arial', sans-serif;
}

.map-section h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  font-weight: 700;
  letter-spacing: 1.2px;
}

/* Responsive iframe container */
.map-container {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.7);
}

.map-container iframe {
  width: 100%;
  height: 450px;
  border: 0;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .banners {
    flex-direction: column;
  }
  .banner {
    flex: 1 1 100%;
  }
  .hero-content h2,
  .map-section h2 {
    font-size: 2rem;
  }
}
