:root {
  --primary: #b0bea3;
  --secondary: #2e3928;
  --accent: #475241;
  --background: #ffffff;
  --highlight: #a0ac95;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: var(--background);
  color: var(--secondary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
header {
  background: var(--primary);
  color: white;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lang-toggle {
  cursor: pointer;
  border: none;
  background: var(--highlight);
  padding: 0.5rem 1rem;
  border-radius: 6px;
}

/* Layout */
main {
  flex: 1;
  padding: 2rem;
  display: flex;
  justify-content: center;
}

.container {
  width: 100%;
  max-width: 900px;
}

/* Homepage buttons */
.grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.nav-card {
  background: white;
  border: 2px solid var(--accent);
  padding: 2.5rem;
  text-align: center;
  text-decoration: none;
  color: var(--secondary);
  font-size: 1.3rem;
  border-radius: 12px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.nav-card:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

/* Cards for content pages */
/* Cards for content pages */
.card {
  border: 1px solid var(--highlight);
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1rem;
  transition: transform 0.2s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: white;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card-content {
  flex: 1;
}

.card-map {
  width: 150px;
  height: 150px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--highlight);
}

.card-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 600px) {
  .card {
    flex-direction: column;
    text-align: center;
  }

  .card-map {
    width: 100%;
    height: 200px;
  }
}

/* Back button */
.back {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--primary);
  text-decoration: none;
}

/* Footer */
footer {
  background: var(--secondary);
  color: white;
  text-align: center;
  padding: 1rem;
}


/* Gallery Styles */
.page-title {
  margin-bottom: 1.5rem;
  color: var(--secondary);
  font-size: 2rem;
  text-align: center;
}

.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  width: 300px;
  height: 225px;
  cursor: pointer;
}

.gallery-item:hover {
  transform: translateY(-5px);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-item .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(46, 57, 40, 0.85);
  color: white;
  padding: 0.8rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  text-align: center;
  font-weight: 500;
  pointer-events: none;
  /* Allow clicking through to the image/div */
}

.gallery-item:hover .overlay {
  transform: translateY(0);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.lightbox .caption {
  color: white;
  margin-top: 1rem;
  font-size: 1.2rem;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 35px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.close-btn:hover {
  color: var(--primary);
}



/* Simple Contact Styles */
.contact-simple-container {
  max-width: 800px;
  margin: 0 auto;
}

.contact-options {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.contact-card {
  background: white;
  border: 2px solid var(--accent);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  text-decoration: none;
  color: var(--secondary);
  width: 300px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  background-color: #f9fbf8;
}

.contact-card .icon {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.contact-card h3 {
  font-size: 1.5rem;
  margin: 0;
}

.contact-card p {
  color: var(--accent);
  font-size: 1.1rem;
  margin: 0;
}

@keyframes shake {
  0% {
    transform: translate(1px, 1px) rotate(0deg);
  }

  10% {
    transform: translate(-1px, -2px) rotate(-1deg);
  }

  20% {
    transform: translate(-3px, 0px) rotate(1deg);
  }

  30% {
    transform: translate(3px, 2px) rotate(0deg);
  }

  40% {
    transform: translate(1px, -1px) rotate(1deg);
  }

  50% {
    transform: translate(-1px, 2px) rotate(-1deg);
  }

  60% {
    transform: translate(-3px, 1px) rotate(0deg);
  }

  70% {
    transform: translate(3px, 1px) rotate(-1deg);
  }

  80% {
    transform: translate(-1px, -1px) rotate(1deg);
  }

  90% {
    transform: translate(1px, 2px) rotate(0deg);
  }

  100% {
    transform: translate(1px, -2px) rotate(-1deg);
  }
}

.shake {
  animation: shake 0.5s;
  animation-iteration-count: infinite;
}