/* styles.css */

html {
  scroll-behavior: smooth;
}

/* Reset some default styles */
body,
h1,
h2,
h3,
h4,
p,
ul {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Raleway", sans-serif;
  line-height: 1.6;
  background-color: #f4f4f4;
}

p {
  font-size: 1.1rem;
}

/* Container for the content */
.content-wrapper {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
header {
  width: 100%;
  background-color: #444;
}

.hero-image {
  position: relative;
  width: 100%;
  height: 600px;
  background: url("media/background.JPG") no-repeat;
  background-size: cover;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.hero-button {
  padding: 15px 25px;
  background-color: #444;
  color: white;
  border: none;
  text-decoration: none;
  position: absolute;
  bottom: 10px;
  right: 10px;
  border-radius: 5px;
  font-size: 1.4rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.hero-button:hover {
  background-color: #d41f4c;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #444;
  padding: 1rem;
}

.logo {
  padding-left: 1rem;
}

.logo h1 {
  color: #fff;
  font-family: "Playfair Display", serif;
}

.nav-links {
  display: flex;
  list-style: none;
  position: relative;
}

.nav-links li {
  padding: 0 1rem;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #d41f4c;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 24px;
  width: 32px;
  padding-right: 1rem;
  cursor: pointer;
}

.line {
  height: 3px;
  width: 100%;
  background-color: #fff;
  transition: all 0.3s;
}

/* Main content */
main {
  max-width: 1200px;
  margin: 1rem auto;
  padding: 1rem;
}

section {
  margin-bottom: 2rem;
}

h2 {
  margin-bottom: 1rem;
  font-size: 2rem;
  line-height: 1.2;
}

h3 {
  margin-bottom: 1rem;
}

h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

#about,
#contact,
#media,
#live-shows {
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  background-color: #fff;
}

#contact p:first-child {
  margin-bottom: 1rem;
}

#about-description {
  margin-bottom: 2rem;
}

#member-cards {
  display: flex;
  flex-wrap: wrap;
  margin-top: 10px;
}

/* About section */
.member-card {
  flex-grow: 1;
  display: inline-block;
  text-align: center;
  margin: 15px;
  padding: 1rem;
  background-color: #f9f9f9;
  border: 1px solid #cccccc;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
}

.member-card img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  object-position: left top;
  border-radius: 50%;
  margin-bottom: 1rem;
}

#contact-container {
  background-color: #f9f9f9;
  padding: 1.5rem;
  margin-top: 15px;
  margin-bottom: 10px;
  border: 1px solid #cccccc;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
}

/* Media section */
.media-container {
  display: flex;
  justify-content: space-between;
}

#photos,
#videos {
  width: 48%;
}

#photos img,
.video-wrapper iframe {
  width: 100%;
  height: auto;
  margin-bottom: 1rem;
}

/* Footer */
footer {
  text-align: center;
  background-color: #444;
  color: #fff;
  padding: 1rem 0;
}

.copyright {
  margin-bottom: 0.6rem;
  padding: 0 10px;
}

.developer {
  padding: 0 10px;
  color: white;
  font-size: 1rem;
  opacity: 0.8;
  text-decoration: underline;
}

.developer:hover {
  color: #d41f4c;
}

.event-card {
  display: flex;
  align-items: center;
  background-color: #f9f9f9;
  border-radius: 5px;
  padding: 1.5rem 1rem 1rem 1rem;
  margin: 20px 5px 20px 5px;
  border: 1px solid #cccccc;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.add-to-calendar-button {
  padding: 5px 10px;
  background-color: #444;
  width: fit-content;
  color: white;
  border: none;
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.8rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  margin-top: 5px;
  margin-bottom: 15px;
}

.add-to-calendar-button:hover {
  background-color: #d41f4c;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
  background-color: #d41f4c;
  color: #ffffff;
  width: 80px;
  height: 70px;
  border-radius: 5px;
  margin-right: 20px;
}

.event-day,
.event-month,
.event.year {
  font-weight: bold;
}

.event-details {
  display: flex;
  flex-direction: column;
  overflow-wrap: anywhere;
}

.event-title {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.event-description {
  margin-bottom: 10px;
  line-height: normal;
}

.event-location {
  margin-top: 8px;
  margin-bottom: 2px;
  text-decoration: none;
  color: black;
}

.event-location:hover {
  text-decoration: underline;
}

.event-time {
  margin-top: 8px;
  font-size: 16px;
  font-weight: bold;
}

.event-card.past-event {
  opacity: 0.4;
  background-color: #e0e0e0;
}

.event-card.past-event .event-title {
  color: #808080;
}

.event-card.past-event .event-description,
.event-card.past-event .event-location,
.event-card.past-event .event-time {
  color: #808080;
}

.icons {
  margin-right: 8px;
}

.social-icons {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.social-icons a {
  color: #fff;
  margin: 0 5px;
  text-decoration: none;
  font-size: 1.5rem;
}

.social-icons a:hover {
  color: #d41f4c;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  grid-gap: 20px;
  padding: 20px;
}

.media-item {
  position: relative;
  overflow: hidden;
}

.media-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 5px;
}

.video-text {
  position: absolute;
  bottom: 0;
  right: 0;
  color: #fff;
  padding: 0.5rem;
  font-weight: bold;
}

#contact-info {
  margin-top: 15px;
}

.contact-link {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  transition: 0.3s;
}

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

.skeleton-wrapper {
  display: block;
}

.skeleton-card {
  width: 100%;
  height: 140px;
  margin: 20px 5px 20px 5px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

@media screen and (min-width: 2560px) {
  .hero-image {
    height: 800px;
  }
}

/* Responsive styles */
@media screen and (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  header nav {
    position: relative;
  }

  .nav-links.nav-active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #333;
    width: 100%;
    padding: 1rem 0;
    z-index: 1000;
  }

  .nav-links.nav-active li {
    padding: 0.5rem 0;
    text-align: center;
  }

  .logo h1 {
    font-size: 1.1rem;
  }

  .hero-image {
    background-position: center;
    height: 200px;
  }

  .hero-button {
    font-size: 1rem;
    padding: 10px 20px;
  }
  .contact-link {
    font-size: 0.9rem;
  }

  .event-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .event-date {
    width: 100%;
    height: 40px;
    padding: 0 0;
    flex-direction: row;
    margin-bottom: 5px;
  }
  .event-title {
    margin-top: 5px;
  }
}
