/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: 'cownaffle';
  src: url('fonts/cownaffle.ttf') format('truetype'); /* fixed format syntax */
}

body {
  font-family: 'Georgia', serif;
  background-color: #f4f1ec;
  color: #111;
  line-height: 1.6;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background-color: #f4f1ec;
  border-bottom: 1px solid #ccc;
}

.site-logo {
  width: 450px;
  height: auto;
  display: block;
}

nav a {
  margin-left: 24px;
  text-decoration: none;       /* No underlining */
  font-weight: 600;
  color: black;                /* Pure black */
  font-size: 1.15rem;          /* Slightly bigger font */
  transition: opacity 0.3s ease;
}

nav a:hover {
  opacity: 0.6;
}

main {
  padding: 40px;
}

.hero {
  width: 100%;
  height: auto;
  display: block;
}

.about {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  padding-top: 60px;
}

.about-photo {
  width: 45%;
  border-radius: 8px;
  object-fit: cover;
}

.about-text {
  width: 55%;
}

.about-text h1 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: #111;
}

.about-text p {
  font-size: 1.2rem;
  font-style: italic;
  white-space: pre-line;
}

.contact {
  max-width: 600px;
  margin: 60px auto;
}

.contact h1 {
  font-size: 2rem;
  margin-bottom: 24px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

input, textarea {
  padding: 12px;
  font-size: 1rem;
  border: 1px solid #aaa;
  border-radius: 4px;
  background: #fff;
}

button {
  padding: 12px;
  font-size: 1rem;
  background-color: #111;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover {
  background-color: #333;
}

@media (max-width: 768px) {
  .about {
    flex-direction: column;
  }

  .about-photo, .about-text {
    width: 100%;
  }

  header {
    flex-direction: column;
    align-items: flex-start;
  }

  nav {
    margin-top: 10px;
  }
}
</html>