/* Base nav */
.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background: rgba(0, 0, 0, 0.6);
}

.main-nav .nav-links {
  display: flex;
  gap: 20px;
}

.main-nav a {
  text-decoration: none;
  color: white;
  font-weight: 500;
}

/* Hamburger hidden by default */
.hamburger {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: white;
}

/* Responsive rules */
@media (max-width: 768px) {
  .main-nav {
    position: relative;
  }

  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 15px;
    background: rgba(0,0,0,0.9);
    position: absolute;
    top: 60px;
    right: 20px;
    padding: 15px;
    border-radius: 8px;
  }

  .nav-links.show {
    display: flex;
  }
}
/* responsive.css */
@media (max-width: 768px) {
    img {
        max-width: 100% !important;  /* image shrinks inside its container */
        height: auto !important;     /* keeps correct aspect ratio */
    }

    /* make sure image containers also shrink */
    .image-container, 
    .staff-img, 
    .event-img {
        width: 100% !important;
    }
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  flex-wrap: wrap; /* allows wrapping on small screens */
  text-align: center;
}

header .side-logo {
  max-width: 120px;
  height: auto;
}

header .typography {
  flex: 1; /* takes remaining space */
  margin: 0 20px;
}

header .typography h1 {
  font-size: 2rem;
  margin: 0;
}

header .typography h2 {
  font-size: 1.8rem;
  margin: 5px 0;
}

/* 📱 Mobile responsiveness */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: center;
  }

  header .side-logo {
    max-width: 80px;   /* smaller logos on mobile */
    margin: 10px 0;
  }

  header .typography {
    margin: 10px 0;
  }

  header .typography h1 {
    font-size: 1.5rem;
  }

  header .typography h2 {
    font-size: 1.3rem;
  }
}
/* ============================= */
/* EVENT PAGE RESPONSIVENESS     */
/* ============================= */

/* ✅ Mobile Responsive Fix for Event Pages */
@media (max-width: 768px) {
    .event-container {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .event-left img {
        width: 90%;
        height: auto;
        margin: 0 auto 20px auto;
        display: block;
    }

    .event-right {
        width: 100%;
        padding: 0 10px;
    }

    .event-right h1 {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .event-right p {
        font-size: 16px;
        line-height: 1.5;
        word-wrap: break-word;
        margin-bottom: 20px;
    }

    /* ✅ Center the button on mobile, even if outside container */
    .glow-on-hover {
        display: block;
        margin: 0 auto 20px auto;
        text-align: center;
    }
}

