/* styles.css - DoBu Martial Arts Website */

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f8f8f8;
  color: #333;
}

header {
  background-color: #222;
  color: #fff;
  padding: 1em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  font-size: 1.5em;
  font-weight: bold;
}

nav ul {
  list-style-type: none;
  display: flex;
  gap: 1em;
  padding: 0;
  margin: 0;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

nav ul li a:hover {
  text-decoration: underline;
}

main {
  padding: 2em;
}

.hero {
  text-align: center;
  background-color: #eee;
  padding: 2em 1em;
  margin-bottom: 2em;
}

.features, .class-list, .instructors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5em;
}

.feature, .class-item, .instructor {
  background: #fff;
  padding: 1em;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.membership-table table,
.timetable table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  margin-top: 1em;
}

.membership-table th,
.membership-table td,
.timetable th,
.timetable td {
  border: 1px solid #ccc;
  padding: 0.75em;
  text-align: left;
}

.contact-form form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.contact-form input,
.contact-form textarea,
.contact-form button {
  padding: 0.75em;
  border: 1px solid #ccc;
  border-radius: 4px;
}

footer {
  background-color: #222;
  color: #fff;
  text-align: center;
  padding: 1em;
  margin-top: 2em;
}

@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    gap: 0.5em;
  }

  .features, .class-list, .instructors {
    grid-template-columns: 1fr;
  }
}

.homepage-banner {
  display: block;
  margin: 1em auto;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
