/* =======================
   General Styles
======================= */
body {
  background: darkgrey;
  color: #333;
  font-family: 'Ubuntu', sans-serif;
  font-size: 15px;
  margin: 0;
  padding: 0;
}

h2 {
  font-family: 'Ubuntu', sans-serif;
  font-variant: small-caps;
}

/* =======================
   Header
======================= */
header {
  background: #D2691E;
  color: #f4f5d4;
  font-family: 'Michroma', sans-serif;
  font-size: 25px;
  font-variant: small-caps;
  padding: 1rem 2rem;
  text-align: center;
}

header h1 {
  margin: 0.5rem 0;
}

/* =======================
   Navigation
======================= */
nav {
  margin-top: 0.5rem;
}

nav a {
  color: #f4f5d4;
  font-weight: bold;
  margin: 0 1rem;
  text-decoration: none;
}

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

/* =======================
   Main Content & Forms
======================= */
main,
form {
  background: white;
  border: 10px solid #f4f5d4;
  border-radius: 20px;
  line-height: 1.6;
  margin: auto;
  max-width: 800px;
  padding: 2rem;
}

section {
  margin-bottom: 2rem;
}

/* =======================
   Forms
======================= */
form {
  display: flex;
  flex-direction: column;
}

label {
  font-weight: bold;
  margin-top: 1rem;
}

input,
textarea {
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  padding: 0.5rem;
}

button {
  background-color: lightgray;
  border: solid;
  border-radius: 4px;
  color: black;
  cursor: pointer;
  font-size: 1rem;
  margin-top: 1.5rem;
  padding: 0.75rem;
}

button:hover {
  background-color: orange;
}

/* =======================
   Footer
======================= */
footer {
  color: black;
  font-size: 13px;
  padding: 1rem;
  text-align: center;
}

/* =======================
   Utility Classes
======================= */
.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

/* =======================
   Gallery
======================= */
.gallery-container {
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  width: 80%;
}

.gallery-track {
  display: flex;
  transition: transform 0.4s ease;
}

.slide {
  min-width: 100%;
}

.slide img {
  display: block;
  max-height: 60vh;
  object-fit: cover;
  width: 100%;
}

.gallery-buttons {
  display: flex;
  justify-content: space-between;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
}

.gallery-buttons button {
  background: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 5px;
  color: #f4f5d4;
  cursor: pointer;
  font-size: 18px;
}

.gallery-buttons button:hover {
  background: rgba(0, 0, 0, 0.8);
}

.download-button {
  background: #D2691E;
  border-radius: 5px;
  color: white;
  display: inline-block;
  margin-top: 1rem;
  text-decoration: none;
}

.download-button:hover {
  background: #b35617;
}

/* =======================
   Responsive Styles
======================= */
@media (max-width: 768px) {
  header {
    font-size: 20px;
    padding: 1rem;
  }

  header img {
    width: 80px;
    height: auto;
    display: block;
    margin: 0 auto 0.5rem;
  }

  nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin: 0.5rem 0;
  }

  nav a {
    margin: 0.25rem 0.5rem;
    font-size: 14px;
  }

  main,
  form {
    padding: 1rem;
    width: 95%;
    box-sizing: border-box;
  }

  h1, h2 {
    font-size: 1.4rem;
  }

  .gallery-container {
    width: 100%;
    border-radius: 5px;
  }

  .gallery-buttons button {
    font-size: 14px;
    padding: 0.5rem;
  }

  .download-button {
    font-size: 14px;
    padding: 0.5rem 1rem;
  }

  .header-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}
}
