/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #1e272e; /* lighter dark background */
  color: #dcdde1; /* lighter text */
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: #4a90e2;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

header {
  background-color: #2f3640;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #57606f;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo {
  width: 80px;
  height: 48px;
}

.company-name {
  font-weight: 700;
  font-size: 1.5rem;
  color: #f5f6fa;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

nav ul li a {
  font-weight: 600;
  font-size: 1rem;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

nav ul li a.active,
nav ul li a:hover {
  background-color: #4a90e2;
  color: #f5f6fa;
}

main {
  flex-grow: 1;
  padding: 2rem;
  max-width: 960px;
  margin: 0 auto;
}

.section {
  margin-bottom: 3rem;
}

h1, h2 {
  color: #f1faee;
  margin-bottom: 1rem;
}

.home-section h1 {
  font-size: 3rem;
  letter-spacing: 0.2em;
  margin-bottom: 0.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 400px;
}

.contact-form label {
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  padding: 0.5rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  background-color: #2c3e50;
  color: #e0e0e0;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid #457b9d;
}

.contact-form button {
  background-color: #1d3557;
  color: #f1faee;
  font-weight: 700;
  padding: 0.75rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #457b9d;
}

footer {
  background-color: #1f262a;
  text-align: center;
  padding: 1rem 0;
  font-size: 0.9rem;
  color: #a8a8a8;
  border-top: 1px solid #2c3e50;
  margin-top: auto;
}

/* Responsive */
.menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #f5f6fa;
  cursor: pointer;
}

nav.active ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (max-width: 600px) {
  .menu-toggle {
    display: block;
  }

  nav {
    display: none;
  }

  nav.active {
    display: block;
  }

  nav ul {
    flex-direction: column;
    gap: 0.75rem;
  }

  main {
    padding: 1rem;
  }

  .home-section h1 {
    font-size: 2.25rem;
  }
}
