body {
  margin: 0;
  font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  color: #fff;
  background: #000;
  scroll-behavior: smooth;
}
.is-preload {
  opacity: 0;
  transition: opacity 2s ease;
}
#about {
  display: flex;
  flex-direction: row;
  gap: 1rem;
}
#bg-video {
  position: fixed;
  object-fit: cover;
  width: 100%;
  min-height: 100%;
  z-index: -1;
}
h1 {
  font-size: 80px;
  margin: 2rem;
}
.main {
  padding: 6rem 2rem;
  text-align: center;
}
.inner.center {
  max-width: 800px;
  margin: auto;
}
.logo {
  width: 60%;

}
nav#hero-nav {
  text-align: center;
  margin-top: 2rem;
}
nav#hero-nav ul {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  list-style: none;
  padding: 3rem;
}
nav#hero-nav a {
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  border: 1px solid #fff;
  border-radius: 4px;
  transition: all 0.3s ease;
}
nav#hero-nav a:hover {
  background: #fff;
  color: #000;
}
.imagePoster {
  max-width: 60%;
  border: 2px solid white;
}
.events-grid {
  display: grid;
  grid-template-columns: 1fr 2px 1fr;
  gap: 2rem;
  max-width: 1000px;
  margin: auto;
  padding: 2rem 0;
}

.event-card {
  display: flex;
  justify-content: center;
  align-items: center;
}
.divider {
  background-color: white;
  width: 2px;
  height: 100%;
}
body {
    font-family: sans-serif;
    margin: 0;
    background-color: #1a1a1a;
    color: #eee;
}
.header-text {
    text-align: center;
    padding: 30px 20px;
    font-size: 1.1rem;
    color: #bbb;
    max-width: 800px;
    margin: 0 auto;
}
.video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
}
.video-card {
    position: relative;
    cursor: pointer;
    background: #111;
    padding: 0;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}
.video-grid > div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.mission-text {
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.video-card:hover {transform: scale(1.02);}
/* Konteineris, kuriame bus ir nuotrauka, ir overlay, ir iframe */
.video-player-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* (9 / 16) * 100% */
    background-color: black;
}
.video-player-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    display: block;
}
.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    transition: background-color 0.3s ease;
}
.video-card:hover .play-overlay {background-color: rgba(0, 0, 0, 0.6);}
.play-button-icon {
    font-size: 60px;
    color: white;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}
.view-more-container {
  margin-top: 2rem;
  text-align: center;
}

.view-more-button {
  display: inline-block;
  padding: 12px 24px;
  background-color: #fff;
  color: #000;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.view-more-button:hover {
  background-color: #000;
  color: #fff;
  border: 1px solid #fff;
}

.video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: none; 
    z-index: 3;
}
.video-description {
    padding: 1rem;
    font-size: 0.9rem;
    background-color: #222;
    color: #fff;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.video-description strong {
    display: block;
    margin-bottom: 0.5rem;
}
.video-description p {
    margin-top: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.4;
    color: #eee;
    flex-grow: 1;
}
.text-box {
  max-width: 700px;
  margin: auto;
  background: rgba(255,255,255,0.05);
  padding: 2rem;
  border-radius: 8px;
}
.collab-box {
  max-width: 2000px;
  margin: auto;
  padding: 2rem;

}
.aboutText {
  width: 100%;
  background: rgba(255,255,255,0.05);
  padding: 2rem;
  border-radius: 8px;
}
.picture-box {
  display: flex;
  flex-direction: row;
  max-width: 700px;
  margin: auto;
  background: rgba(255,255,255,0.05);
  padding: 2rem;
  border-radius: 8px;
}
input[type="email"] {
  padding: 10px;
  width: 70%;
  max-width: 300px;
  border: none;
  border-radius: 4px;
  margin-top: 1rem;
}
.social-fixed-bar {
  position: fixed;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.5);
  padding: 8px 20px;
  display: flex;
  gap: 20px;
  z-index: 9999;
  border-radius: 16px;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.social-fixed-bar a img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-fixed-bar a img:hover {
  transform: scale(1.15);
  opacity: 0.9;
}
.back-to-top-center {
  position: relative;
  height: 100px;
}

.back-to-top-center a {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 12px 24px;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 50px;
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
  z-index: 10;
}

.back-to-top-center a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  border-color: #fff;
}
#yt-bar-player-container {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: transparent; /* permatomas */
  color: white;
  display: flex;
  align-items: center;
  padding: 2px;
  gap: 10px;
  z-index: 9999;
  backdrop-filter: none; /* jei nori blur, galima įjungti */
}

/* Cover */
#yt-cover {
  height: 42px;
  width: 42px;
  border-radius: 4px;
  object-fit: cover;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.2); /* optional glow */
}

/* Track info (slankus pavadinimas) */
.yt-track-info {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.yt-track-title {
  display: inline-block;
  white-space: nowrap;
  animation: scrollText 10s linear infinite;
  font-size: 0.95rem;
  padding-left: 10px;
  color: #ccc;
}

@keyframes scrollText {
  from { transform: translateX(100%); }
  to   { transform: translateX(-100%); }
}

/* Controls */
.yt-controls {
  display: flex;
  gap: 6px;
  align-items: center;
}

.yt-controls button {
  background: rgb(255, 255, 255);  /* no background */
  color: white;              /* white icon/text */
  border: none;
  margin: 0.5rem;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 6px;
  outline: none;
  box-shadow: none;
  appearance: none;
}

.yt-controls button:hover {
  color: #ccc; /* švelnus hover efektas */
}

.yt-controls button:focus,
.yt-controls button:active {
  outline: none;
  box-shadow: none;
}


#volumeSlider {
  accent-color: white;
  background: transparent;
}
.control-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  padding: 8px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.control-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
}

.control-btn:active {
  transform: scale(0.95);
}

.control-btn img {
  width: 20px;
  height: 20px;
  pointer-events: none;
}

button {
  padding: 10px 20px;
  margin-left: 1rem;
  background: #fff;
  color: #000;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.fade-in { animation: fadeIn 2s ease forwards; }
.fade-in.alt { background: rgba(255,255,255,0.02); }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
/* Iki 400px – mobile */
@media screen and (max-width: 400px) {
  h1 {font-size: 2rem;}
  #about {
    flex-direction: column;
    padding: 1rem;
  }
    #yt-bar-player-container {
    flex-wrap: wrap;
    height: auto;
    padding: 2px;
    gap: 8px;
  }

  #yt-cover {
    height: 50px;
    width: 50px;
  }
.yt-controls button {
  padding: 12px;
}

  #volumeSlider {
    width: 100%;
  }

  .yt-controls {
    width: 100%;
    justify-content: space-between;
  }

  .yt-track-title {
    font-size: 0.8rem;
  }
  
  .aboutText {
  width: 80%;
  background: rgba(255,255,255,0.05);
  padding: 2rem;
  border-radius: 8px;
}
  .picture-box {
    flex-direction: column;
    align-items: center;
  }
  .imagePoster {max-width: 100%;}
  nav#hero-nav ul {
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
  }
  nav#hero-nav a {
    display: block;
    width: 100%;
    max-width: 200px;
    margin: auto;
    text-align: center;
  }
  .formSubmit {
    margin-left: 0;
    margin-top: 1rem;
  }
  .video-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 1rem;
  }
  .video-description {
    font-size: 0.6rem;
    padding: 0.4rem;
  }
  .video-description p {font-size: 0.6rem;}
  .play-button-icon {font-size: 40px;}
}
/* 401px–800px – tablets */
@media screen and (min-width: 401px) and (max-width: 800px) {
  h1 {font-size: 2.5rem;}
  .formSubmit {
    margin-left: 0;
    margin-top: 1rem;
  }
  .aboutText {
  width: 90%;
  background: rgba(255,255,255,0.05);
  padding: 2rem;
  border-radius: 8px;
}
  #about {flex-direction: column;}
  .picture-box {
    flex-direction: column;
    align-items: center;
  }
  .imagePoster {max-width: 100%;}
  nav#hero-nav ul {
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
  }
  nav#hero-nav a {
    display: block;
    width: 100%;
    max-width: 240px;
    margin: auto;
    text-align: center;
  }
  .video-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  .video-description {
    font-size: 0.4rem;
    padding: 0.4rem;
  }
}
/* 801px–1200px – small laptops */
@media screen and (min-width: 801px) and (max-width: 1200px) {
  .video-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
  }
  .imagePoster {
    max-width: 60%;
  }
}
