/* Basic Styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding-top: 0px;
  min-height: 100vh; /* Add this line */
  background-color: #231f20;
}

/* General Background for Pages other than Landing */
body:not(.landing-page) {
  background-color: #231f20;
}

/* Navbar */
.navbar {
  background-color: #231f20;
  text-align: right;
  width: 100%;
  z-index: 9999;
}

.navbar a,
.navbar .divider,
.navbar .dropdown {
  display: inline-block;
  vertical-align: top;
}

.navbar a {
  color: #d8d8d8;
  padding: 14px 16px;
  text-decoration: none;
}

.divider {
  background-color: white;
  height: 30px;
  margin: 10px 0;
  width: 1px;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: transparent;
  text-align: left;
  z-index: 2;
  width: 100%;
}

.dropdown-content a {
  color: #d8d8d8;
  padding: 10px 16px;
  font-size: 14px;
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #eee;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a:last-child {
  border-bottom: none;
}

/* Gallery Wrapper */
.gallery-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 60px);
}

/* Gallery */
/* Base styles for larger screens */
.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 16px;
  width: calc(
    100% - 400px
  ); /* This can be adjusted as per your design for larger screens */
  margin: auto;
  justify-content: center;
}

/* Media query for mobile screens */
@media (max-width: 768px) {
  /* This is just an example breakpoint, adjust as needed */
  .gallery {
    width: calc(
      100% - 32px
    ); /* Adjust this value to control the number of columns on mobile */
    gap: 8px;
  }
}

#gallery > * {
  margin-top: 60px;
}

.gallery img {
  width: 100%;
  max-width: 200px;
}

/* Contact */

.contact {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  max-width: 60%;
  margin: auto;
  flex-direction: row; /* Default flex direction */
}

.contact-details {
  flex: 1;
  color: white;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.qr-code {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.contact-qr-code {
  flex: 1;
  text-align: center;
  margin: 10px;
}

.contact-qr-code img {
  max-width: 80%;
  height: auto;
}

@media (max-width: 768px) {
  .contact {
    flex-direction: column; /* Stacks child elements vertically */
  }
  .contact-qr-code {
    flex-basis: 90%; /* Take the full width on small screens */
    margin: 5px 0;
  }
}

/* Landing Page Image */
img {
  width: 100%;
  position: relative;
  z-index: 0;
}

/* Flags */
.flag-icon {
  vertical-align: middle;
  margin-left: 5px;
  width: 20px;
  height: auto;
}

/* Responsiveness */
@media (max-width: 768px) {
  .navbar a,
  .navbar .divider,
  .navbar .dropdown {
    display: block;
    text-align: center;
  }

  .navbar a {
    padding: 0px 0px; /* Adjust the padding as needed */
  }
  .divider {
    display: none;
  }
  body {
    padding-top: 0;
  }
}

/* About Page Styles */
.about {
  padding: 2rem;
  font-family: "Georgia", serif;
  z-index: 1;
  color: #ffffff;
}

.about h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.intro-text {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.feature-list {
  list-style-type: disc;
  margin-left: 2rem;
}

.feature-list li {
  margin-bottom: 0.5rem;
}

/* LANGUAGE*/
.language-content {
  display: none;
}

/* MODAL */
.modal {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
}

.modal-container {
  position: relative;
  max-width: 50%;
  max-height: 80vh;
  overflow: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content {
  width: auto;
  max-width: 100%;
  max-height: 80vh;
}

.close {
  position: absolute;
  top: 10px;
  right: 10px;
  color: white;
  font-size: 36px;
  cursor: pointer;
}

.modal-nav {
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  font-size: 32px;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

.modal-prev {
  left: 10px;
}

.modal-next {
  right: 10px;
}

/* Basic Styles */
#background {
  margin-top: 60px;
  color: white;
  text-align: center;
}

h1 {
  font-size: 1.5em;
}

.image-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-bottom: 20px;
}

.image-item {
  max-width: 300px;
  margin: 10px;
  flex: 1;
}

/* Media Queries */
@media (max-width: 768px) {
  .image-item {
    max-width: calc(50% - 20px);
  }
}

@media (max-width: 480px) {
  .image-item {
    max-width: calc(100% - 20px);
  }
}

/* Hamburger Menu */
.menu-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.menu-icon {
  display: none;
  font-size: 18px;
  color: white; /* Making the icon white */
  background: none;
  border: none;
  cursor: pointer;
  margin-bottom: 3px;
}

.current-page {
  color: white;
  display: none; /* Initially hidden */
  margin-right: 10px; /* Space between text and hamburger */
}

/* Hide menu items by default in responsive mode */
@media (max-width: 768px) {
  .navbar a,
  .navbar .divider,
  .navbar .dropdown {
    display: none;
  }
  .menu-icon,
  .current-page {
    display: block;
  }
}
