/* ---------- RESET ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  background: #f7f6f2;
  color: #333;
}

/* ---------- HEADER ---------- */
header {
  background: #4b3f2f;
  color: #fff;
  padding: 15px 20px;
}

header .logo img {
  height: 60px;
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  gap: 15px;
  margin-top: 10px;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

nav a:hover {
  text-decoration: underline;
}

/* ---------- MAIN ---------- */
main {
  max-width: 1100px;
  margin: auto;
  padding: 20px;
}

/* ---------- HERO ---------- */
.hero {
  background: #e6dcc8;
  padding: 50px 20px;
  text-align: center;
  border-radius: 10px;
}

.hero h1 {
  font-size: 2.4rem;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.1rem;
}

/* ---------- PAGE TITLE ---------- */
.page-title {
  margin-bottom: 20px;
  border-bottom: 2px solid #c9bfa7;
}

.page-title h1 {
  font-size: 2rem;
  padding-bottom: 5px;
}

/* ---------- CONTENT ---------- */
.content {
  margin-bottom: 25px;
}

/* ---------- NAVIGATION CARDS ---------- */
.navigation-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
  margin-top: 30px;
}

.navigation-cards a {
  background: #fff;
  padding: 20px;
  text-align: center;
  text-decoration: none;
  color: #333;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-weight: 600;
}

.navigation-cards a:hover {
  background: #f0eadc;
}

/* ---------- COMMITTEE / TEACHERS ---------- */
.committee-members,
.classmates-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.member, .classmate {
  background: #fff;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
}

.member img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
}

/* ---------- MEMORIES ---------- */
blockquote {
  background: #fff;
  padding: 15px 20px;
  border-left: 5px solid #b09b72;
  margin-bottom: 15px;
  font-style: italic;
}

/* ---------- GALLERY ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.gallery-grid img {
  width: 100%;
  border-radius: 6px;
}

/* ---------- TABLE ---------- */
table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 10px;
  border: 1px solid #ccc;
}

th {
  background: #e6dcc8;
}

/* ---------- FOOTER ---------- */
footer {
  background: #4b3f2f;
  color: #fff;
  text-align: center;
  padding: 15px;
  margin-top: 40px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  nav ul {
    justify-content: center;
  }

  .hero h1 {
    font-size: 1.8rem;
  }
}
