@import url("https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap");

/* Color Palette */
:root {
  --dark-green: #272829;
  --mid-green: #61677a;
  --yellow: #d8d9da;
  --light-cream: #fff6e0;
}

/* General Styles */
body {
  font-family: Poppins;
  margin: 0;
  padding: 0;
  color: var(--light-cream);
  background-color: var(--dark-green);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Parallax Background */
/* .parallax {
  background: url("background.jpg") no-repeat center center fixed;
  background-size: cover;
  height: 100vh;
  position: relative;
} */

.parallax {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.parallax video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dark Overlay */
.parallax-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Adjust opacity if needed */
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 20px;
  background: var(--dark-green);
}

.logo img {
  height: 50px;
}

/* Navigation */
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links li a {
  color: var(--light-cream);
  text-decoration: none;
  font-size: 18px;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: var(--yellow);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--light-cream);
}

/* Mobile Menu */
.hamburger-menu {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--light-cream);
}

/* Mobile Menu */

/* About Section */
/* .about {
  text-align: center;
  padding: 50px;
  background: rgba(0, 0, 0, 0.6);
  margin: 20px;
} */
.about {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--light-cream);
  /* background: rgba(0, 0, 0, 0.6); /* Semi-transparent background */
  padding: 30px;
  border-radius: 10px;
  /* max-width: 600px; */
}
.about h1 {
    font-size: 3rem;
    margin-bottom: 10px;	
}
.about p {
    font-size: 1.2rem;
	padding: 20px 20px;	
}

/* Video Section */
.video-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  align-items: center;
  flex-wrap: nowrap;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Ensure video iframes scale properly */
.video-container iframe {
  width: 30%;
  max-width: 560px; /* Maintain YouTube's default width */
  height: auto;
  aspect-ratio: 16 / 9; /* Maintain proper aspect ratio */
}

.game-widget {
  text-align: center;
  margin-top: 40px;
  padding: 20px;
  width: 100%;
  max-width: 700px; /* Keep it within reasonable width */
  margin-left: auto;
  margin-right: auto;
}

/* Steam Widget iframe */
.game-widget iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 646 / 190; /* Maintain Steam widget ratio */
}
@media (max-width: 1024px) {
  .video-container {
    flex-wrap: wrap; /* Allows wrapping for smaller screens */
  }
  .video-wrapper {
    flex: 1 1 100%; /* Makes videos stack on small screens */
    max-width: 100%;
  }
  .video-container iframe {
    width: 100%; /* Makes videos full width on small screens */
  }  
}

@media (max-width: 768px) {
  .video-container {
    flex-direction: column;
    align-items: center;
  }

  .video-container iframe {
    max-width: 100%; /* Makes videos fit smaller screens */
  }

  .game-widget {
    max-width: 90%; /* Prevents excessive shrinking on mobile */
  }
}

/* Footer */
footer {
  text-align: center;
  padding: 20px 0;
  background: var(--mid-green);
}

iframe {
  border: none;
}

/* Social Media Links */
.social-links {
  margin-bottom: 20px;
}

.social-links a {
  color: var(--light-cream);
  margin: 0 10px;
  font-size: 2rem;
  transition: color 0.3s, transform 0.3s;
  text-decoration: none;
}

.social-links a:hover {
  color: var(--yellow);
  transform: scale(1.2);
}

/* Copyright */
.copyright {
  text-align: center;
  font-size: .9rem;
  color: var(--light-cream);
  /* margin-top: 10px; */
}



.image-gallery {
  text-align: center;
  padding: 50px 20px;
}

.gallery-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 Columns */
  grid-template-rows: repeat(4, auto); /* 4 Rows */
  gap: 15px;
  max-width: 1200px;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.6)
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px; /* Optional rounded corners */
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease-in-out;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  padding-left: 30px;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  color: #fff;
  display: flex;
  align-items: bottom;
  justify-content: bottom;
  opacity: 0;
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
  transform: translateY(20px);
  font-size: 18px;
  font-weight: bold;
}

/* Hover Effect */
.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover .overlay {
  opacity: 1;
  transform: translateY(0);
  animation: bounce 0.5s ease-in-out;
}

/* Bounce Effect */
@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Responsive for smaller screens */

@media (max-width: 480px) {
  .gallery-container {
    grid-template-columns: repeat(1, 1fr); /* 1 column for mobile */
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.9);
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 20px 0;
    z-index: 999;
  }

  .nav-links.show {
    display: flex;
  }

  .hamburger-menu {
    display: block;
    cursor: pointer;
    font-size: 24px;
    color: var(--light-cream);
    z-index: 1000;
  }
  .video-container {
    flex-direction: column;
    align-items: center;
  }
  .about {
    width: 90%;
    padding: 20px;
  }
  .gallery-container {
    grid-template-columns: repeat(2, 1fr); /* 2 columns for tablets */
    grid-template-rows: auto;
  }  
  .video-container {
    flex-direction: column;
    align-items: center;
  }  
}
