@import url('https://fonts.googleapis.com/css2?family=Alice&display=swap');

/* Making sure the footer stays down at the bottom even if page content is small */
html, body {
  height: 100%;
  display: flex;
  flex-direction: column;
}

main, #main, .content, .page-content, #titlecontent, .blogmargin {
  flex: 1;
}

@font-face {
    font-family: 'FodaAlt';
    src: url('fonts/Prima-DEMO.ttf.eot') format('eot'),
        url('fonts/Prima-DEMO.ttf.woff') format('woff'),
        url('fonts/Prima-DEMO.ttf.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  overflow-x: hidden;
  background-color: #000;
  font-family: 'Alice', serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

nav {
  width: 100%;
  padding: 15px 100px 0px 1%;
  position: fixed;
  top: 0;
  padding: 10px 20px;
  display: flex;
  flex-wrap: wrap;
  overflow-x: hidden;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2;
  font: 600;
}
.nav-links {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
}

.logo img {
  height: 90px;
  width: auto;
  max-height: 90px;
  object-fit: contain;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: 100;
  font-size: clamp(1.2rem, 2vw, 1.2rem);
  letter-spacing: 0.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;

}

.hamburger {
  display: none;
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 24px;
  color: white;
  border: none;
  background: none;
  z-index: 1000;
}


.main-content {
  display: flex;
  gap: 40px;
}

.image-container {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 20vh 7vw;
  max-width: 100%;
  margin: 0 auto;
  color: white;
  text-align: center;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.image-container img {
  min-width: 30vw;
  max-width: 30vw;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.club-text.top {
  /* align-self: flex-start; */
  font-size: 4em;
  font-family: 'FodaAlt';
  margin-bottom: 5px;
  transform: translateX(-30%);
  white-space: nowrap;
}

.club-text.bottom {
  /* align-self: flex-end; */
    font-family: 'FodaAlt';
  margin-top: 5px;
  transform: translateX(20%);
  font-size: 4em;
  white-space: nowrap;
}

.club-text .and {
    font-family: 'FodaAlt';
  font-size: 0.7em;
  color: #afafaf;
}

.upcoming-events {
  width: 100%;
  background: rgba(92, 86, 86, 0.5);
  border-radius: 12px;
  padding: 25px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 120px;
}

.upcoming-events h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: white;
  text-align: center;
  font-weight: 600;
}

.event-card {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
  border-left: 3px solid #afafaf;
  transition: all 0.3s ease;
}

.event-card:hover {
  transform: translateY(-3px);
  background: rgba(0, 0, 0, 0.5);
}

.event-card h3 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.event-date {
  color: #afafaf;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.event-card p {
  color: #e0e0e0;
  font-size: 1rem;
  line-height: 1.4;
}


.about {
  color: white;
  flex: 1;
  min-width: 50vw;
  max-width: 50vw;
  padding: 150px 100px 0px 0px; 
  margin-left: 0;
  /* border-left: 1px solid rgba(255, 255, 255, 0.1); */
  text-align: justify;
}

.about h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 20px;
  margin-left: 20px;
}

.about p {
  font-size: clamp(1.3rem, 1.5vw, 1.3rem);
  margin-bottom: 20px;
  line-height: 1.6;
}

.about p strong {
  font-weight: 700;
  color: #fff;
}

.site-footer {
  width: 100%;
  height: auto;
  padding: 20px 5%;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  text-align: center;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 10px;
}

.social-links a {
  color: white;
  transition: all 0.3s ease;
}

.social-links a:hover {
  color: #ccc;
  transform: translateY(-2px);
}

.footer-content p {
  margin: 0;
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  opacity: 0.8;
}

/* Mobile styles */
@media (max-width: 1024px) {
   .main-content {
    flex-direction: column;
  }
  
  .image-container, 
  .about {
    max-width: 100%;
    padding: 20vh 20px 0px 20px;
  }

  .image-container img{
    max-width: 500px;
  }
  
  .image-container {
    order: -1; /* Image above text on mobile */
    margin-bottom: 30px;
  }
  
  .about {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .upcoming-events {
    width: 80%;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 70px;
  }
  
  nav {
    padding: 10px 5%;
  }
  
  .logo img {
    height: 50px;
  }
.nav-links {
    position: fixed;
    top: 0;
    right: -100vw;  /* hide offscreen initially */
    height: 100vh;
    width: 100%;
    background-color: black;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.3s ease-in-out;
    z-index: 999;
  }

  .nav-links.active {
    right: 0;
  }

  .hamburger {
    display: block;
    position: fixed;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    z-index: 1001;
    background: none;
    color: white;
    border: none;
    cursor: pointer;
  }
}
.gallery-heading{
  color: white;
  text-align: center;
  font-size: clamp(2rem, 5vw, 2rem);
  margin-bottom: 30px;
}

.gallery-section {
    background-color: rgba(92, 86, 86, 0.5);
    padding: 0;
    margin: 0 0 60px 0;
    height: 360px;
    overflow: hidden;
    position: relative;
    border: none;
    z-index: 100;
}

.gallery-container {
    height: 100%;
    overflow: hidden;
    position: relative;
}

.gallery-track {
    display: inline-flex;
    align-items: center;
    height: 100%;
    white-space: nowrap;
    will-change: transform;
    gap: 20px;
}

.gallery-item {
    flex-shrink: 0;
    height: 250px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.1s ease;
}

.gallery-item img {
    height: 100%;
    width: auto;
    object-fit: cover;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.gallery-item.centered {
    transform: scale(1.1);
    z-index: 100;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.gallery-item.centered img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.gallery-item:not(.centered) {
    opacity: 0.7;
    filter: brightness(0.8);
}

/* .gallery-item:not(.centered) img {
    filter: grayscale(100%) brightness(0.8);
} */

.gallery-controls {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 20px;
  z-index: 100;
}

.gallery-arrow {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.gallery-arrow svg {
  width: 32px;
  height: 32px;
  stroke: rgb(70, 70, 70);
  fill: none;
  stroke-width: 2;
  transition: transform 0.2s ease;
}

.gallery-arrow:hover svg {
  transform: scale(1.2);
}

.fixed-wave {
  position: fixed;
  bottom: 30px;
  right: -150px;
  width: 700px;            /* adjust as you want */
  transform: rotate(-45deg);
  opacity: 0.3;            /* optional: dim it */
  pointer-events: none;    /* makes sure it doesn't block clicks */
  z-index: -1;           /* keeps it on top of background */
}

html, body {
  height: 100%;
}
body {
  display: flex;
  flex-direction: column;
}
.main-content,
.about,
.gallery-section {
  flex: 1 0 auto;
}
.site-footer {
  flex-shrink: 0;
}
