﻿/* General Styles */
body {
  background-color: lightblue;
  text-align: center;
  font-family: Arial, sans-serif;
}

h1 {
  color: darkblue;
  margin: 10px;
  display: flex;
  align-items: center;
}

h2 {
  color: darkgreen;
  font-size: 20px;
  margin: 10px;
}

select {
  margin: 10px;
  padding: 6px;
}

p {
  font-size: 16px;
  margin: 10px;
  color: #222;
}

/* Header and Navigation */
header {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-top: 20px;
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.site-logo {
  width: auto;
  margin-right: 20px;
  vertical-align: middle;
}

.choose-language-label {
  font-weight: bold;
  margin-right: 8px;
  color: #333;
  font-size: 1em;
}

.lang-nav {
  position: absolute;
  right: 0;
  top: 0;
  padding: 10px;
}


/* Navigation Links */
nav a {
  color: #66ccff;
  margin: 0 10px;
  text-decoration: underline;
}

nav a:hover {
  text-decoration: underline;
}

/* Docs navigation (previous/next) - override generic nav link color for visibility on lightblue */
.docs-nav a {
  color: #003366; /* darker blue for contrast */
  margin: 0 8px;
  text-decoration: underline;
  font-weight: 600;
}

.docs-nav a:hover {
  color: #0055a5;
  text-decoration: underline;
}

/* Active page number styling in docs navigation */
.nav-pages .active {
  font-weight: 900; /* bolder */
  font-size: 1.1em;
  text-decoration: none;
}

/* Picture Container */
.picture-container {
  position: relative;
  display: inline-block;
}

.picture-container img {
  display: block;
  max-width: 100%;
  height: auto;
}

.enlarge-text {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
}

/* Table Styles */
table {
  margin: 0 auto;
  border-collapse: collapse;
}

.table-occupied {
  background-color: darkgoldenrod;
}

.table-free {
  background-color: lightgreen;
}

/* Map Container */
.map-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Footer */
footer {
  background-color: #333;
  color: #fff;
  padding: 10px;
  text-align: center;
}

footer p {
  color: #fff;
}

.footer-content a {
  color: #66ccff;
  text-decoration: underline;
}

.footer-content a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .header-main {
    flex-direction: row;
    align-items: center;
    margin-bottom: 6px;
  }
  .site-logo {
    margin-right: 2px;
    margin-bottom: 0;
    max-width: 32px; /* Decreased logo size for mobile */
  }
  h1 {
    font-size: 1.2em;
    margin-top: 40px;
  }
  h2 {
    font-size: 1em;
    margin: 8px;
  }
  p {
    font-size: 0.7em;
    margin: 8px;
  }

  header {
    padding-top: 8px; /* Less padding for mobile */
    align-items: flex-start; /* Align items to the start */
    text-align: left; /* Optional: left-align text */
  }

  .header-main {
    flex-direction:row;
    margin-bottom: 6px;
  }
  .site-logo {
    margin-right: 0;
    margin-bottom: 8px;
    max-width: 50px;
  }
  .lang-nav {
    position: absolute;
    right: 0;
    top: 0;
    padding: 0px;
    margin-top: 0px;
  }

  .choose-language-label {
    font-size: 0.8em; 
    margin-right: 4px; 
    color: #222; 

  }

  .picture-container img {
    max-width: 100vw;
    height: auto;
  }
  table {
    font-size: 0.6em;
  }
  .map-container iframe {
    width: 100vw;
    max-width: 100%;
    height: 180px;
  }
}

