body {
  font-family: "Times New Roman", serif;
  margin: 0;
  padding: 0;
  background-color: #282b28;
  color: black;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #282b28; 
  color: #ffffff;
  padding: 8px;
  width: 100%;
}

.logo {
  font-size: 28px;
  font-weight: bold;
  padding-left: 20px;
}

.contact a {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  padding-right: 20px;
}

.contact a:hover {
  text-decoration: underline;
}

/* Navigation */
nav {
  background-color: #282b28; 
  padding: 10px 0;
  width: 100%;
}

nav p {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin: 0;
}

nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  padding: 10px;
  transition: all 0.3s ease;
}

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

/* Banner Section */
.banner {
  width: 100%;
  height: 100px;
  background-image: url("../img/got.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-shadow: 2px 2px 5px black;
}

.banner h1 {
  font-size: 32px;
  margin-bottom: 5px;
}

.banner p {
  font-size: 18px;
}

/* Large Full-Width Image */
.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Clubs Section */
main {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  padding: 20px;
  gap: 20px;
}

.mainbackground {
  background-image: url("../img/goof.JPG");
  width: 100%;
  height 100px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Club Boxes */
.club {
  position: relative;
  width: 16%;
  aspect-ratio: 9 / 16; 
  overflow: hidden;
  border-radius: 10px;
}

.club img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

/* Hover Effect */
.club-text {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  font-size: 16px;
  text-align: center;
  padding: 10px;
  opacity: 0;
  text-transform: uppercase;
  transition: opacity 0.3s ease-in-out;
}

/* Show Text on Hover */
.club:hover .club-text {
  opacity: 1;
}

/* Subtle Zoom on Hover */
.club:hover img {
  transform: scale(1.05);
  opacity: 0.8;
}

/* Footer */
footer {
  background-color: #282b28;
  color: gold;
  padding: 10px;
  margin-top: 20px;
  font-size: 14px;
  text-align: center;
  width: 100%;
}

footer a {
  color: white;
  text-decoration: none;
}

footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .club {
    width: 45%;
  }
}

@media (max-width: 480px) {
  .club {
    width: 90%;
  }

  nav p {
    flex-direction: column;
    align-items: center;
  }

  nav a {
    display: block;
    padding: 5px;
  }

  .banner h1 {
    font-size: 24px;
  }

  .banner p {
    font-size: 14px;
  }
}

.event-card {
  margin: 1rem auto;
  padding: 1.5rem;
  background-color: #eef;
  border: 1px solid #ccc;
  border-radius: 8px;
  max-width: 600px;
  text-align: left;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
