/* colours */
:root {
  --bg: #f3eee7;
  --text: #2b2118;
  --accent: #9b6a3f;
  --white: #fffaf4;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: Georgia, serif;

}

.wrapper {
  width: 100%;
  background: var(--white);
}

header,
footer {
  padding: 30px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header div,
footer div {
  font-weight: bold;
  letter-spacing: 5px;
}

nav a {
  margin-left: 25px;
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
}

nav a:hover {
  color: var(--accent);
}

section {
  position: relative;
  width: 100%;
}

section img {
  width: 100%;
  height: 80vh;
  object-fit: cover;
  display: block;
}

section div {
  position: absolute;
  bottom: 50px;
  left: 8%;
  color: black;
}

section h2 {
  font-size: 80px;
  line-height: 1;
}

main {
  padding: 80px 8%;
  text-align: center;
}

main h2 {
  max-width: 900px;
  margin: 0 auto 25px;
  font-size: 36px;
  font-weight: normal;
}

main p {
  max-width: 650px;
  margin: 0 auto 30px;
  font-size: 18px;
}

button {
  padding: 15px 28px;
  background: var(--text);
  color: white;
  border: none;
}

footer {
  border-top: 1px solid #ddd;
}

@media (max-width: 700px) {
  header,
  footer {
    flex-direction: column;
    gap: 15px;
  }

  nav a {
    margin: 0 8px;
  }

  section img {
    height: 70vh;
  }

  section h2 {
    font-size: 45px;
  }
}

.history {
  display: grid;
  gap: 40px; /* gap between each history row */
}

.history-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px; /* gap between text and image */
}

.history-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ABOUT PAGE */

.about-hero {
  padding: 90px 8%;
  text-align: center;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

.about-hero p {
  color: var(--accent);
  letter-spacing: 5px;
  font-size: 12px;
  margin-bottom: 15px;
}

.about-hero h1 {
  font-size: 55px;
  font-weight: normal;
}

.about-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 80px 8%;
  text-align: left;
}

.about-text h2,
.contact-box h2 {
  color: var(--accent);
  font-size: 30px;
  font-weight: normal;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 25px;
}

.about-text ol {
  list-style: none;
}

.about-text li {
  margin-bottom: 12px;
  line-height: 1.5;
}

.about-text span {
  color: var(--accent);
  margin-right: 10px;
}

.contact-box {
  border: 1px solid #ddd;
  padding: 35px;
}

.contact-box p {
  margin-bottom: 25px;
  line-height: 1.5;
}

form {
  display: grid;
  gap: 12px;
}

label {
  font-size: 12px;
  letter-spacing: 2px;
}

input,
textarea {
  width: 100%;
  padding: 14px;
  background: transparent;
  border: 1px solid #ddd;
  font-family: Georgia, serif;
}

textarea {
  height: 120px;
}

.contact-box button {
  margin-top: 10px;
  background: var(--accent);
  color: white;
  cursor: pointer;
}

.contact-box button:hover {
  background: var(--text);
}

@media (max-width: 700px) {
  .about-main {
    grid-template-columns: 1fr;
  }

  .about-hero h1 {
    font-size: 38px;
  }
}

.button {
  display: inline-block;
  padding: 15px 28px;
  background: var(--text);
  color: white;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 1px;
}

.button:hover {
  background: var(--accent);
}

.references-hero {
  text-align: center;
  padding: 60px 0 30px;
}

.references-hero p {
  color: #9b6f42;
  letter-spacing: 2px;
  font-size: 12px;
}

.references-hero h1 {
  color: #9b6f42;
  font-size: 46px;
}

.references-main {
  padding: 40px 0 70px;
}

.references-box {
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
}

.references-box h2 {
  color: #9b6f42;
  font-size: 28px;
}

.references-box p {
  font-size: 18px;
  line-height: 1.6;
}

.references-list {
  padding-left: 0;
  list-style-position: inside;
}

.references-list li {
  margin-bottom: 18px;
  line-height: 1.6;
  font-size: 17px;
}

.references-list span {
  color: #9b6f42;
  font-weight: bold;
}

.references-list a {
  color: #7b4f2a;
}

.references-list {
  list-style: none;
  padding-left: 0;
}


blockquote {
  margin-top: 20px;
  padding-left: 20px;
  border-left: 3px solid var(--accent);
  font-style: italic;
  color: var(--accent);
}