@font-face {
  font-family: 'sans';
  src: url('/fontsdj/NataSans-VariableFont_wght.ttf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #4B004B;
  color: white;
  font-family: 'sans', sans-serif;
  margin: 0;
}

.main-header {
  z-index: 1000;
  background-color: #960096;
  color: black;
  padding: 15px 10px;
  box-shadow: 0px 0px 30px #aaaaaa;
  margin-bottom: 25px;
  border-radius: 15px;
  transition: all 0.3s ease;
  width: 90%;
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%); 
}

.main-header.sticky {
  position: fixed;
  top: 0;
  left: 50%;
  translate: 0% 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 0px 20px #666666;
  border-radius: 0px;
  transition: all 0.3s ease;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.main-header img {
  height: 3rem;
  max-height: 60px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.main-header.sticky img {
  transform: translateX(10px);
}


.nav-links a {
  color: white;
  text-decoration: none;
  margin-left: 10px;
  font-size: 1rem;
  margin-right: 20px;
}

.nav-links a:hover {
  text-decoration: underline;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.75rem;
  cursor: pointer;
}

.nav-links {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .nav-links {
    display: flex;
    flex-direction: column;
    width: 100%;
    text-align: center;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.5s ease, opacity 0.5s ease, visibility 0s linear 0.5s;
  }

  .menu-toggle {
    display: block;
    background: none;
    border: none;
    color: white;
    font-size: 1.75rem;
    cursor: pointer;
    position: absolute;
    right: 15px;
    transition: transform 0.3s ease;
  }

  .nav-links.show {
    max-height: 300px;
    opacity: 1;
    visibility: visible;
    transition: max-height 0.5s ease, opacity 0.3s ease;
  }

  .menu-toggle.rotate {
    transform: rotate(90deg);
  }
}

* {
  -webkit-tap-highlight-color: transparent;
}

section {
  padding-left: 5%;
  padding-right: 5%;
}

section h1 {
  text-align: center;
}

.container {
  display: flex;
  height: 100vh;
}

.left {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.left iframe {
  width: 75%;
  height: 75%;
  border-radius: 15px;
  border: 1px solid #ccc;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  box-shadow: 0px 0px 30px #ea00ff;
}


.right {
  flex: 1;
  background-image: url('/imagesdj/DJ\ Daiva.jpg');
  background-size: cover;
  background-position: center 70%;
  background-repeat: no-repeat;
  position: relative;
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .right {
    order: 1;
    width: 100%;
    height: 50vh;
  }

  .left {
    order: 2;
    width: 100%;
    height: 50vh;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .left iframe {
    width: 90%;
    height: 90%;
  }
}


.container {
  display: flex;
  height: 100vh;
  position: relative;
}

.container::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0.25vh;
  background-color: white;
}

h1.group_name {
  text-align: left;
}

.invisible-container {
  width: auto;
  height: 50px;
}


/* about */

.about_card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  gap: 20px;
  h4 {
  font-weight: normal;
}
}

.info_section {
  flex: 2;
}

#vaikaiimg, #juniorimg, #skambantisimg {
  flex: 1;
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0px 0px 30px #ea00ff;
  object-fit: cover;
}

@media (max-width: 768px) {
  .about_card {
    flex-direction: column;
  }

  #vaikaiimg, #juniorimg, #skambantisimg {
    width: 100%;
    min-height: 200px;
    order: 0;
  }
}

#contacts {
  padding: 60px 5%;
  text-align: center;
}

.contacts-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.contact-card {
  background: #960096;
  color: white;
  padding: 20px 30px;
  border-radius: 15px;
  box-shadow: 0px 0px 25px #ffffff70;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex: 1 1 45%;
  max-width: 500px;
  text-align: center;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 0px 40px #ffffff;
}

.contact-card a {
  color: white;
  text-decoration: none;
}

.contact-card a:hover {
  text-decoration: underline;
}

.info-card h3 {
  margin-top: 15px;
  margin-bottom: 5px;
}

.map-wrapper {
  width: 100%;
  height: 300px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0px 0px 20px #ffffff;
}

@media (max-width: 768px) {
  .contact-card {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .map-wrapper {
    height: 220px;
  }
}

.main-footer {
  background-color: #960096;
  color: white;
  padding: 40px 5%;
  text-align: center;
  border-radius: 15px 15px 0 0;
  box-shadow: 0px -4px 20px #ffffff40;
  margin-top: 50px;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-logo img {
  height: 60px;
  object-fit: contain;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.footer-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-copy {
  font-size: 0.9rem;
  color: #ffffff;
  margin-top: 15px;
}


@media (max-width: 768px) {
  .footer-links {
    flex-direction: column;
    gap: 10px;
  }
}


section {
  scroll-margin-top: 100px; 
}

#title {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40vh; /* adjust height */
  text-align: center;
  font-size: 3rem;
}




    .archive_box {
      background-color: #4B004B;
      border: 2px solid #ea00ff;
      border-radius: 15px;
      padding: 20px 30px;
      margin: 30px auto;
      max-width: 1500px;
      cursor: pointer;
      transition: transform 0.2s, box-shadow 0.2s;
      padding-left: 15px;
      padding-right: 15px;
    }

    .archive_box:hover {
      transform: scale(1.02);
      box-shadow: 0 0 25px #ea00ff;
    }

    .archive_card {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 20px;
      
    }

    .info_section {
      flex: 2;
    }

/* Remove padding/extra space from h5 */
.info_section h5 {
  margin: 0;
  padding: 0;
}

/* Style the new link like text */
.archive-link {
  display: block;
  font-size: 1rem;
  color: white; /* or your preferred color */
  text-decoration: none;
  margin-top: 10px;
  line-height: 1.5;
}

.archive-link strong {
  color: #fdb4ff; /* highlight the strong text */
}


    .archiveimg {
      flex: 1;
      max-width: 400px;
      border-radius: 15px;
      box-shadow: 0 0 30px #ea00ff;
      object-fit: cover;
    }

    @media (max-width: 768px) {
      .archive_card {
        flex-direction: column;
      }
      .archiveimg {
        width: 100%;
        min-height: 200px;
      }
    }

.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
}

.lightbox-content {
  position: relative;
  height: 80%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lightbox-content img {
  max-width: 90%;
  max-height: 90%;
  position: absolute;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  border-radius: 10px;
  box-shadow: 0 0 20px #ea00ff;
}

.lightbox-content img.active {
  opacity: 1;
  position: relative;
}

.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  padding: 16px;
  font-size: 40px;
  color: white;
  user-select: none;
}

.prev { left: 20px; }
.next { right: 20px; }

.prev:hover, .next:hover, .close:hover {
  color: #ea00ff;
}

.page-container {
  padding-left: 5%;
  padding-right: 5%;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .page-container {
    padding-left: 15px;
    padding-right: 15px;
  }
}

.daugiau {
  display: inline-block;
  padding: 8px 16px;
  margin-top: 10px; 
  background-color: #ea00ff6b;
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s, transform 0.2s;
}

.daugiau:hover {
  background-color: #ff33ff;
  transform: scale(1.05);
  cursor: pointer;
}

h1#title {
  margin-top: -100px;
  margin-bottom: -100px;
  padding-top: 0; 
  padding-bottom: 0; 
}

#archyvas {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40vh;
  text-align: center;
  font-size: 3rem;
}

.image-counter {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  background: rgba(0, 0, 0, 0.5);
  padding: 6px 12px;
  border-radius: 10px;
}
