﻿/* --- Base Reset --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, sans-serif;
  background-color: #f6f8f7;
  color: #333;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* --- Header & Navigation --- */
header {
  background-color: #e0ebe7;
  padding: 1em 2em;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #cfdcd7;
}

.logo {
  font-size: 1.4em;
  font-weight: 600;
  color: #245d52;
  flex: 1 1 auto;
}

.nav-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  justify-content: center;
  flex: 2 1 100%;
}

.nav-menu a {
  text-decoration: none;
  color: #245d52;
  padding: 0.5em 1em;
  border-radius: 8px;
  transition: background 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
  background-color: #cde3dc;
}

/* --- Hero Section --- */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 2em;
  background-color: #f0f5f3;
  text-align: center;
}

.hero-text {
  flex: 1 1 300px;
  padding: 1em;
}

.hero-image img {
  max-width: 300px;
  border-radius: 12px;
  margin: 1em auto;
}

.button {
  background-color: #245d52;
  color: white;
  text-decoration: none;
  padding: 0.8em 1.2em;
  border-radius: 8px;
  display: inline-block;
  margin-top: 1em;
}

.button:hover {
  background-color: #1b4a40;
}

/* --- Content Section --- */
.content-section {
  flex: 1;
  padding: 2em;
  max-width: 900px;
  margin: auto;
}

.content-section h2 {
  color: #245d52;
  margin-bottom: 0.5em;
}

.content-section ul {
  margin-left: 1.5em;
  list-style: disc;
}

/* --- Forms --- */
form {
  display: flex;
  flex-direction: column;
  gap: 1em;
  max-width: 600px;
  margin-top: 1em;
}

input, textarea {
  padding: 0.8em;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1em;
  width: 100%;
}

button {
  background-color: #245d52;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 0.8em;
  cursor: pointer;
}

button:hover {
  background-color: #1b4a40;
}

/* --- Footer --- */
footer {
  background-color: #e0ebe7;
  text-align: center;
  padding: 1em;
  border-top: 1px solid #cfdcd7;
  font-size: 0.9em;
  color: #245d52;
}

/* --- Responsive Layout --- */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    text-align: center;
  }

  .nav-menu {
    justify-content: center;
    gap: 0.5em;
    width: 100%;
  }

  .nav-menu a {
    padding: 0.6em 0.9em;
    display: inline-block;
  }

  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-image img {
    max-width: 90%;
  }
}
