/* Core resets */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: #0d3f2f;
  background-color: #ffffff;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: #0d3f2f;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Header */
header {
  background-color: #ffffff;
  border-bottom: 1px solid #e5e5e5;
  position: sticky;
  top: 0;
  z-index: 999;
}

header .header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  height: 50px;
}

/* Navigation list setup: keep items on one line for better spacing */
.main-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  font-size: 0.9em;
  overflow-x: auto;
  white-space: nowrap;
}

.main-nav a {
  font-weight: bold;
  transition: opacity 0.2s ease;
}

.main-nav a:hover {
  opacity: 0.7;
}

/* Language selector */
.language-select {
  margin-left: 20px;
}
.language-select select {
  padding: 4px 8px;
  font-size: 0.9em;
  font-family: inherit;
  border: 1px solid #0d3f2f;
  border-radius: 4px;
}

/* Hero section */
.hero {
  position: relative;
  /* Use the exterior module image for the hero background */
  background-image: url('assets/second_module.png');
  background-size: cover;
  background-position: center;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(13, 63, 47, 0.6);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 20px;
}

.hero-content h1 {
  font-size: 2.5em;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.2em;
  margin-bottom: 30px;
}

.btn-primary {
  display: inline-block;
  background-color: #0d3f2f;
  color: white;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #14523d;
}

/* Section base styles */
.section {
  padding: 60px 0;
}

.section.light {
  background-color: #f7f7f7;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h2 {
  font-size: 2em;
  margin-bottom: 20px;
  color: #0d3f2f;
}

/* Cards for mission and vision */
.cards .container {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.card {
  background-color: #eafaf2;
  border-radius: 8px;
  padding: 30px;
  flex: 1 1 300px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.card-icon {
  height: 50px;
  width: 50px;
  margin-bottom: 15px;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 15px;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.gallery img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  height: 200px;
}

/* Site overview */
.overview-img {
  border-radius: 8px;
  margin-top: 20px;
  width: 100%;
  max-height: 400px;
  object-fit: cover;
}

/* Advantages list */
.advantages-list {
  list-style: none;
  padding: 0;
}

.advantages-list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.advantages-list li::before {
  content: '\2022';
  position: absolute;
  left: 0;
  top: 0;
  color: #0d3f2f;
  font-size: 1.2em;
  line-height: 1;
}

.advantage-img {
  display: block;
  margin: 30px auto 0;
  max-width: 70%;
  border-radius: 8px;
}

/* Map section */
.map-section h2 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.map-icon {
  height: 32px;
  width: 32px;
}

/* Contact & GPT button */
#contact .btn-gpt {
  display: inline-flex;
  align-items: center;
  background-color: #0d3f2f;
  color: #fff;
  padding: 10px 20px;
  border-radius: 4px;
  margin-top: 20px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

#contact .btn-gpt img.ghc-icon {
  height: 24px;
  width: 24px;
  margin-right: 8px;
  object-fit: contain;
}

#contact .btn-gpt:hover {
  background-color: #14523d;
}

/* Footer */
footer {
  background-color: #0d3f2f;
  color: #fff;
  text-align: center;
  padding: 20px 0;
  font-size: 0.9em;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .cards .container {
    flex-direction: column;
  }
  .hero-content h1 {
    font-size: 2em;
  }
  .hero-content p {
    font-size: 1em;
  }
  .gallery img {
    height: 180px;
  }
}