/* ================= Scroll ================= */
/* Smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
}

/* ================= Reset ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ================= Import GTA Font ================= */
@import url('https://fonts.cdnfonts.com/css/pricedown');

/* ================= Body ================= */
body {
  font-family: Arial, Helvetica, sans-serif;
  background: url('/assets/images/gta_3_background_site.png') no-repeat center center fixed;
  background-size: cover;
  color: #e0e0e0;
  line-height: 1.6;
  position: relative;
}

/* Dark overlay */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

/* ================= GTA Font ================= */
.gta-font, header h1, section h2, nav ul li a, footer {
  font-family: 'Pricedown Bl', sans-serif;
}

/* ================= Header ================= */
header {
  position: relative;
  text-align: center;
}

header::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

header h1 {
  font-size: 3rem;
  color: yellow;
}

/* ================= Navigation ================= */
nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  margin-top: 10px;
}

nav ul li {
  margin: 0 20px;
}

nav ul li a {
  color: #ffcc00;
  text-decoration: none;
  font-size: 1.2rem;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: aqua;
}

/* ================= Sections ================= */
section {
  padding: 50px 20px;
  text-align: center;
}

section h2 {
  color: #ffcc00;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

section p {
  max-width: 800px;
  margin: 0 auto 20px;
  font-size: 1.2rem;
  line-height: 1.8;
  color: #e0e0e0;
  text-align: justify;
}
/* ================= Gallery, Beta & Cover Art ================= */

/* Containers: gallery, beta gallery, or custom gallery-img wrapper */
.gallery.grid,
.beta.gallery.grid,
.cover-art {
  display: flex;
  justify-content: center; /* center the content horizontally */
  flex-wrap: wrap;         /* wrap to next line if needed */
  gap: 20px;               /* space between items */
}

/* Images inside these containers */
.gallery.grid img,
.beta.gallery.grid img,
.cover-art img,
.gallery-img {
  width: 300px;
  height: 220px;
  object-fit: cover;
  border: 4px solid #ffcc00;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.3s, border-color 0.3s;
}

/* Hover effect */
.gallery.grid img:hover,
.beta.gallery.grid img:hover,
.cover-art img:hover,
.gallery-img:hover {
  transform: scale(1.05);
  border-color: aqua;
}

/* ================= Footer ================= */
footer {
  background: url("/assets/images/gta_3_banner.png") no-repeat center center;
  background-size: cover;
  height: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
}

footer a.gta-font {
  margin: 0 10px;
}

/* ================= Overlay for Images & Videos ================= */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  cursor: pointer;
}

.overlay img,
.overlay video {
  max-width: 90%;
  max-height: 90%;
  border: 4px solid #ffcc00;
  border-radius: 8px;
}

/* ================= Video Grid ================= */
.video-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.video-card {
  position: relative;
  width: 300px;
  height: 170px;
  overflow: hidden;
  border: 4px solid #ffcc00;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 0 15px #ffcc00;
  transition: transform 0.3s, box-shadow 0.3s;
}

.video-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px aqua;
}

.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background 0.3s;
}

.video-card:hover .video-overlay {
  background: rgba(0,0,0,0.3);
}

.play-btn {
  font-size: 2rem;
  color: #ffcc00;
  background: none;
  border: none;
  cursor: pointer;
  pointer-events: all;
}
.play-btn:hover {
  color: aqua;
}

/* ================= Music Container ================= */
#musicContainer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.5s ease;
  background: rgba(0,0,0,0.7);
  padding: 0 20px;
  border-radius: 8px;
  margin: 10px auto;
  width: 220px;
  text-align: center;
}

#musicContainer.show {
  max-height: 150px;
  padding: 20px;
}

/* ================= Buttons ================= */
button {
  background-color: #111;
  color: #d9ff00;
  font-family: 'Pricedown', sans-serif;
  font-size: 1rem;
  padding: 10px 15px;
  border: 2px solid #fffb00;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 5px;
}

button:hover {
  background-color: #ffe600;
  color: #111;
}

/* ================= Responsive Design ================= */
@media (max-width: 768px) {
  header h1 {
    font-size: 2rem;
  }

  nav ul {
    flex-direction: column;
  }

  nav ul li {
    margin: 10px 0;
  }

  section {
    padding: 30px 10px;
  }

  section h2 {
    font-size: 2rem;
  }

  section p {
    font-size: 1rem;
  }

  .gallery.grid img,
  .beta.gallery.grid img,
  .gallery-img {
    width: 150px;
    height: 120px;
  }

  .video-grid video {
    width: 150px;
    height: 120px;
  }
}

/* ================= Links ================= */
a.gta-font {
  color: #ffcc00;
  text-decoration: none;
  transition: color 0.3s;
}

a.gta-font:hover {
  color: aqua;
  text-decoration: underline;
}

/* Container holding cover art + gallery side by side */
.media-container {
  display: flex;
  justify-content: center; /* centers everything horizontally */
  align-items: flex-start; /* aligns items at the top */
  gap: 20px; /* space between cover art and gallery */
  flex-wrap: wrap; /* allows wrapping on smaller screens */
}

/* Optional: make cover art a bit smaller or same size as gallery */
.cover-art img {
  width: 300px;
  height: 220px;
  object-fit: cover;
  border: 4px solid #ffcc00;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.3s, border-color 0.3s;
}

.cover-art img:hover {
  transform: scale(1.05);
  border-color: aqua;
}

/* Gallery images (already styled) */
.gallery.grid img {
  width: 300px;
  height: 220px;
}
.gallery.grid img:hover {
  transform: scale(1.05);
  border-color: aqua;
}
/* ================= Beta Gallery Section ================= */
/* Beta Gallery Container */
.beta.gallery.grid {
  display: flex;
  flex-wrap: wrap;       /* allows items to go to the next line */
  justify-content: center;
  gap: 20px;
  max-width: calc((300px + 20px) * 4); /* width for 4 images per row */
  margin: 0 auto;       /* center the container */
}

/* Beta Images */
.beta.gallery.grid img {
  width: 300px;
  height: 220px;
  object-fit: cover;
  border: 4px solid #ffcc00;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.3s, border-color 0.3s;
}

.beta.gallery.grid img:hover {
  transform: scale(1.05);
  border-color: aqua;
}
/* ================= Example HTML Structure ================= */
/*--- IGNORE ---
<section id="beta-gallery" class="beta gallery grid">
<-- VIdeo Section -->
