/* Modern Dark-Mode Portfolio Styles */
/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/roboto-condensed-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/roboto-condensed-700.woff2') format('woff2');
}

body {
  font-family: 'Roboto Condensed', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #dddddd;
  background-color: #000000;
  background-image: url('images/biglp-logo.jpg');
  background-repeat: no-repeat;
  background-position: center 100px;
  background-attachment: fixed;
  background-size: cover;
}

body.home {
  background-image: none;
  background-repeat: repeat;
  background-position: 0 0;
  background-attachment: scroll;
  background-size: auto;
}

/* Container */
#container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  background-color: rgba(0, 0, 0, 0.85);
  min-height: 100vh;
}

/* Header and Logo */
#header {
  padding: 4px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  text-align: left;
}

#title {
  position: absolute;
  left: -9999px;
  font-size: 0;
}

#logoframe {
  --logo-scale: min(1, calc((100vw - 48px) / 500));
  width: calc(500px * var(--logo-scale));
  height: calc(70px * var(--logo-scale));
  position: relative;
  padding: 0;
  margin: 0 0 -6px 0;
  margin-bottom: -6px;
}

.logo-inner {
  width: 500px;
  height: 70px;
  transform: scale(var(--logo-scale));
  transform-origin: left top;
}

#header a {
  display: block;
  margin: 0;
}

.letter {
  width: 56px;
  height: 80px;
  float: left;
  margin-right: 9px;
  position: relative;
}

#Vletter,
#Iletter {
  width: 42px;
}

.circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #00CC66;
  margin: -3px;
  display: inline-block;
  float: left;
  transition: background-color 0.8s ease;
}

.gap {
  width: 20px;
  height: 20px;
  background-color: #000000;
  margin: -3px;
  float: left;
  visibility: hidden;
}

/* Logo hover effects - cascade from left to right */
#logoframe:hover #Dletter .circle {
  background-color: goldenrod;
  transition-delay: 0s;
}
#logoframe:hover #Eletter .circle {
  background-color: goldenrod;
  transition-delay: 0.1s;
}
#logoframe:hover #Vletter .circle {
  background-color: goldenrod;
  transition-delay: 0.2s;
}
#logoframe:hover #Iletter .circle {
  background-color: goldenrod;
  transition-delay: 0.3s;
}
#logoframe:hover #Cletter .circle {
  background-color: goldenrod;
  transition-delay: 0.4s;
}
#logoframe:hover #Eletter2 .circle {
  background-color: goldenrod;
  transition-delay: 0.5s;
}
#logoframe:hover #Rletter .circle {
  background-color: goldenrod;
  transition-delay: 0.6s;
}

/* Navigation */
#mainlinks {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-left: auto;
}

.about-page #mainlinks {
  margin-left: 0;
  width: 100%;
  justify-content: center;
}

#header li {
  font-size: 16px;
  font-weight: 500;
  padding: 10px 20px;
  background-color: #888888;
  border-radius: 10px;
  border: 1px solid #000000;
  text-align: center;
  transition: all 0.3s ease;
}

#header li a {
  text-decoration: none;
  color: #000000;
  display: block;
  transition: color 0.3s ease;
}

#header li:hover {
  background-color: #999999;
}

#header li:hover a {
  color: #FFD700;
}

#header li.active {
  background-color: #00CC66;
}

#header li.active a {
  font-weight: 700;
  color: #000000;
}

/* Main Content */
main {
  padding: 6px 0;
  clear: both;
}

h1 {
  color: #FFD700;
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
}

h2 {
  color: #FFD700;
  font-size: 32px;
  font-weight: 700;
  margin: 30px 0 15px;
}

p {
  color: #dddddd;
  margin-bottom: 15px;
  line-height: 1.8;
}

a {
  color: #FFD700;
  transition: color 0.3s ease;
}

a:hover {
  color: #00CC66;
}

.page-bottom-link {
  text-align: center;
  margin: 30px 20px 10px;
  font-size: 18px;
}

/* Image Gallery Grid */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background-color: #111111;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 204, 102, 0.3);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.3s ease;
}

.gallery-item:hover img {
  opacity: 0.9;
}

.gallery-item.hidden {
  display: none;
}

/* Content Sections for Audio/About Pages */
.content-section {
  max-width: 900px;
  margin: 40px auto;
  padding: 30px;
  background-color: rgba(17, 17, 17, 0.8);
  border-radius: 8px;
}

.content-section h2 {
  margin-top: 0;
}

/* YouTube Embed Container */
.youtube-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  margin: 20px 0;
  background-color: #000000;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}

.youtube-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.youtube-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.youtube-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background-color: rgba(255, 0, 0, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
  z-index: 10;
}

.youtube-play-button::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 25px solid #ffffff;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  margin-left: 5px;
}

.youtube-container:hover .youtube-play-button {
  background-color: rgba(255, 0, 0, 1);
}

/* Footer */
.footer {
  padding: 40px 0 20px;
  text-align: center;
  color: #888888;
  border-top: 1px solid #333333;
  margin-top: 60px;
}

/* Loading Spinner */
.loading-spinner {
  display: none;
  text-align: center;
  padding: 40px;
}

.loading-spinner.active {
  display: block;
}

.spinner {
  border: 4px solid #333333;
  border-top: 4px solid #00CC66;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
  #container {
    padding: 0 15px;
  }
  
  #header {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  #logoframe {
    --logo-scale: min(1, calc((100vw - 36px) / 500));
    margin: 0 0 -10px 0;
  }
  
  #mainlinks {
    margin-left: 0;
    width: 100%;
  }
  
  #header li {
    flex: 1;
    min-width: 100px;
  }
  
  h1 {
    font-size: 32px;
  }
  
  h2 {
    font-size: 24px;
  }
  
  .gallery {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .content-section {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  #logoframe {
    --logo-scale: min(1, calc((100vw - 30px) / 500));
  }
  
  #header li {
    font-size: 14px;
    padding: 8px 15px;
  }
  
  h1 {
    font-size: 28px;
  }
  
  .youtube-play-button {
    width: 60px;
    height: 60px;
  }
  
  .youtube-play-button::after {
    border-left: 18px solid #ffffff;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .gallery {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

@media (min-width: 1025px) {
  .gallery {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
  }
}

/* Video play button overlay for gallery */
.gallery-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background-color: rgba(255, 0, 0, 0.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #ffffff;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 5;
}

.gallery-item:hover .gallery-play-button {
  background-color: rgba(255, 0, 0, 1);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-thumbnail {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 900px) {
  #header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  #logoframe {
    transform-origin: center;
    margin: 0 auto -10px;
  }
}