/* Reset and base styles */
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background-color: white;
  color: black;
}

/* Navigation bar centered with spaced links */
nav {
  display: flex;
  justify-content: center;
  background-color: white;
  padding: 1rem 0;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

nav ul li a {
  color: black;
  text-decoration: none;
  font-weight: bold;
  transition: text-decoration 0.3s ease;
}

nav ul li a:hover {
  text-decoration: underline;
}

/* Header layout: text and image side by side */
header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 1rem;
  gap: 0.5rem;
}

.header-left {
  flex: 1;
}

.header-left h1 {
  margin: 0 0 0.5rem 0;
  font-weight: bold;
}

.header-left p {
  margin: 0;
  color: #555;
  font-style: italic;
}

.header-right {
  margin-left: 1rem;
}

.header-right img {
  max-width: 200px;
  height: auto;
  border: none;
  display: block;
}

/* Articles stacked vertically, centered */
article {
  max-width: 600px;
  margin: 2rem auto;
  padding: 0 1rem;
  color: #333;
}

ul {
  margin-top: 0;
}

a {
  font-weight: bold;
  text-decoration: underline;
  color: black;
}

/* Footer social icons styling */
footer {
  margin-top: 50px;
  padding-bottom: 20px;
  text-align: center;
}

.social-footer {
  margin-bottom: 10px;
}

.social-footer {
  display: flex;           /* make children flex items */
  justify-content: center; /* center horizontally */
  gap: 30px;               /* space between icons */
  margin-bottom: 10px;
}

.social-footer a {
  color: black;
  margin: 0 15px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-footer a:hover {
  color: #555;
}

/* Contact form styling */
.contact-form {
  max-width: 500px;
  margin: 2rem auto;
  font-family: sans-serif;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form h2 {
  text-align: center;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-family: inherit;
  font-size: 1rem;
}

.contact-form button {
  background-color: black;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}

.contact-form button:hover {
  background-color: #333;
}