@font-face {
  font-family: "Soap Regular";
  src: url("./assets/fonts/Soap\ Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

body {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  background: #fff;
  color: #111;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 48px 0 48px;
}
.logo {
  width: 300px;
}
nav {
  display: flex;
}
nav a {
  text-decoration: none;
  color: #111;
  margin-left: 32px;
  font-size: 1.1rem;
  position: relative;
}
nav a.active::after {
  content: "";
  display: block;
  margin: 0 auto;
  width: 60%;
  padding-top: 2px;
  border-bottom: 2px solid #111;
}
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
h1,
h2 {
  font-family: "Soap Regular";
  text-align: center;
  margin-top: 48px;
  margin-bottom: 48px;
  font-size: 2.4rem;
  letter-spacing: 1px;
}
.events-section {
  margin-bottom: 120px;
}
.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  max-width: 900px;
  margin: 0 auto 48px auto;
}

.event-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  width: 260px;
  transition: transform 0.8s cubic-bezier(0.4, 2, 0.3, 1);
  cursor: pointer;
}
.event-card:hover {
  transform: scale(0.9);
}
.event-card img {
  width: 100%;
  display: block;
  height: 340px;
  object-fit: cover;
}
.upcoming-list {
  display: flex;
  justify-content: center;
  gap: 64px;
  margin: 32px 0;
  flex-wrap: wrap;
}
.upcoming-list ul {
  list-style: disc inside;
  font-size: 1.1rem;
  padding-left: 0;
  margin: 0;
}
.upcoming-list li {
  margin-bottom: 8px;
}
.center {
  text-align: center;
  margin-top: 32px;
  margin-bottom: 16px;
}
.contact-btn {
  background: #111;
  color: #fff;
  padding: 12px 32px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 1.1rem;
  display: inline-block;
  margin-top: 8px;
  transition: background 0.2s;
}
.contact-btn:hover {
  background: #333;
}
footer {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 40px 0 16px 0;
}
.footer-logo {
  width: 200px;
}
@media (max-width: 900px) {
  .cards {
    flex-direction: column;
    align-items: center;
  }
  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 16px 0 16px;
  }
  nav a {
    margin-left: 16px;
  }
}
