* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body { 
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background-color: #f1e6cf;
  color: #111;
  line-height: 1.6;
}

#wrapper {
  width: 80%;
  margin: 0 auto;
}

main, header, nav, footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

header a {
  text-decoration: none;
}

header {
  display:flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  border-bottom: 1px solid #ddd;
}

header h1 {
  font-size: 2rem;
  font-weight: 900;
  text-transform: uppercase;
  color: #111;
  padding-left: 1.5rem;
}

header h1:hover {
transition: color 0.3s ease;
  color: #fff;
}

header h2{
  font-size: 2rem;
  font-weight: 600;
  font-family: 'Helvetica Nue', Helvetica, Arial, sans-serif;
  color: #111;
  margin: auto;
  margin-top: 1rem;
  text-transform: uppercase;
}

nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

nav a {
  text-decoration: none;
  color: #111;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #fff;
}

.hero {
  margin: 2rem 0;
  text-align: left;

}

.hero img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.hero h2 {
  margin-top: 1rem;
  font-size: 1.8rem;
  font-weight: 700;
}

.hero p {
  margin: 0.5rem 0 2rem;
  color: #555;
  font-size: 1rem;
}

.section-previews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.section-preview {
  background-color: inherit #fff;
  border: 1px transparent #111;
  border-radius: 10px;
  overflow:hidden;
  transition: box-shadow 0.3s ease;
}

.section-preview:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

.section-preview a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.section-preview img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.section-preview h3 {
  margin: 1rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.section-preview h4 {
  margin:  1rem;
  font-size: 1rem;
  font-weight: 600;
  color: #333;
}

.section-preview p {
  margin: 0 1rem 1rem;
  color: #555;
  font-size: 0.95rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}

table th, table td {
  border: 1px solid #ddd;
  padding: 0.75rem;
  text-align: center;
}

tr:nth-of-type(even) {
  background-color: #eadec3;
}

.contact-section {
  margin: 3rem 0;
  background-color: #eadec3;
  padding: 2rem;
  border-radius: 10px;
}

.contact-section h2 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form label {
  font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 0.75rem;
  border: 1px solid #aaa;
  border-radius: 5px;
  font-size: 1rem;
}

.contact-form button {
  padding: 0.75rem;
  border: none;
  border-radius: 5px;
  background-color: #111;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #333;
}

footer {
  text-align: center;
  padding: 2rem 0;
  border-top:1px solid #ddd;
  margin-top: 2rem;
  color: #666;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul {
    flex-direction: wrap;
    gap: 1rem;
    margin-top: 1rem;
  }

  .hero img {
    height: 220px;
  }
}

@media (max-width: 480px) {
  nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }

  header h1 {
    font-size: 1.5rem;
  }

  .hero img {
    height: 180px;
  }
}