/* --- Global Style Page --- */
* {
  margin: 0%;
  padding: 0%;
  box-sizing: border-box;
}

body::-webkit-scrollbar {
  display: none;
}

#main-header-top {
  position: relative;
  min-height: 11vh;
  width: 100%;
}

@media (max-width: 780px) {
#main-header-top {
  position: relative;
  min-height: 10px;
  width: 100%;
}
}


h1 {
  color: #fff;
  font-size: 5vh;
  font-family: "Oswald", Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-style: normal;
  line-height: 1em;
  text-shadow:
    1px 1px 1px rgba(0, 0, 0, 0.3),
    -1px -1px 3px rgba(0, 255, 255, 0.7),
    1px 1px 5px rgba(255, 0, 0, 0.6);
}

h2 {
  color: #fff;
  font-size: 1.6vh;
  line-height: 1.6em;
  width: 100%;
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  font-weight: 300;
  font-style: normal;
}


h3 {
  position: relative;
  display: flex;
  color: #fff;
  font-size: 1.5vh;
  line-height: 1.6em;
  width: 100%;
  font-family: "Poppins", Arial, sans-serif;
  font-weight: 200;
  box-sizing: border-box;
  word-wrap: break-word;
  overflow-wrap: break-word;
  padding: 0 10px 10px 10px;
}



p {
  position: relative;
  display: flex;
  color: #fff;
  font-size: 2.5vh;
  line-height: 1.6em;
  width: 100%;
  font-family: "Oswald", Arial, sans-serif;
  font-weight: 400;
  box-sizing: border-box;
  word-wrap: break-word;
  overflow-wrap: break-word;
  padding: 10px 10px 5px 10px;
  margin: 0;
 }


.buton {
  display: flex;
  text-decoration: none;
  width: fit-content;
  color: rgb(255, 255, 255);
  background-color: rgba(240, 237, 237, 0.05);
  font-size: 2vh;
  transition: all 0.3s ease;
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5vh;
  padding: 2vh;
  text-align: center;
}


@media (max-width: 780px) {
  .buton {
    display: flex;
    justify-content: center;
    text-decoration: none;
    width: 100%;
    color: rgb(0, 0, 0);
    background-color: rgba(255, 255, 255, 1);
    font-size: 2vh;
    transition: all 0.3s ease;
    font-family: "Poppins", Arial, Helvetica, sans-serif;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    padding: 2vh;
    text-align: center;
  }
}


.buton:hover {
  background-color: rgba(247, 243, 243, 1);
  color: rgb(0, 0, 0);
  font-weight: 300;
}


#navbar .container {
  position: fixed;
  width: 100%;
  height: 7.5vh;
  background-color: rgba(255, 255, 255, 0);
  display: flex;
  justify-content: center;
  z-index: 2;
  top: 0;
}

.nav-links {
  display: flex;
  list-style-type: none;
  padding: 0;
  margin: 0;
  gap: 1vh;
  justify-content: center;
  align-self: flex-end;
}

#navbar ul li a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 13vh;
  height: 5vh;
  text-decoration: none;
  color: rgb(189, 193, 206);
  background-color: rgba(255, 255, 255, 0.05);
  border: 0.1vh solid rgba(255, 255, 255, 0.1);
  border-radius: 10vh;
  font-size: 1.5vh;
  transition: all 0.3s ease;
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  font-weight: 200;
  white-space: nowrap;
}

#navbar ul li a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
}

#navbar ul li a.active {
  background-color: rgba(255, 255, 255, 0.15);
  border: 0.1vh solid rgba(255, 255, 255, 0.2);
  color: white;
}

.menu-icon {
  background-color: rgba(0, 0, 0, 0.8);
  border-radius: 5px;
  border: 0.1vh solid rgba(255, 255, 255, 0.2);
  padding: 0px 8px 2px 8px;
  margin: 4px 4px 10px 4px;
  display: none;
  font-size: 2rem;
  color: #ffffff;
  cursor: pointer;
  position: absolute;
  bottom: 0px;
  right: 6px;
  z-index: 11;
  position: fixed;
  /* -webkit-text-stroke: 1px black; */
  /* text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000; */
}

@media (max-width: 880px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    background-color: rgba(255, 255, 255, 0.9);
    width: 150px;
    padding: 10px;

  }

  .nav-links.show {
    display: flex;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 1);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 20;
  }

  .menu-icon .menu-close {
    display: none;
  }

  .menu-icon.active .menu-open {
    display: none;
  }

  .menu-icon.active .menu-close {
    display: inline;
  }

  .menu-icon {
    display: block;
  }
}

@media (max-width: 780px) {
  #main-header {
    position: relative;
    min-height: 100vh;
    width: 100%;
    z-index: 1;
    
  }
}



/* VIZON */

.video-background-home {
  display: block; /* Afișează implicit videoclipul desktop (sau poate fi none) */
}

.video-background-home-mobile {
  display: none; /* Ascunde implicit videoclipul mobil */
}
.video-background-home,
.video-background-home-mobile {
  position: fixed;
  object-fit: cover;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.gradient-container {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 40vh;
  background: linear-gradient(to bottom, rgba(24, 32, 46, 0) 0%, rgb(24, 32, 46) 100%);
}
#main-header {
  position: relative;
  min-height: 73vh;
  width: 100%;
  padding: 0;
  margin: 0;
  z-index: 1;
}

@media (max-width: 780px){
  .video-background-home {
    display: none; /* Ascunde videoclipul desktop pe mobil */
  }

  .video-background-home-mobile {
    display: block; /* Afișează videoclipul mobil pe mobil */
  }
  #main-header {
    position: relative;
    min-height: 100vh;
    width: 100%;
    padding: 0;
    margin: 0;
    z-index: 1;
  }
  .space-container {
    position: relative;
    height: 25vh;
    display: flex;
    min-width: 300px;
  }
}


/* ANIMATIE */
.video-background-animatie {
  position: fixed;
  object-fit: cover;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

#main-header-animatie {
  min-height: 13vh;
  position: relative;
}

.container-pagina-animatie {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin: 0 10vh 0 10vh;
  padding: 0;
}

.section-animatie-info {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
  margin: 0 0 3vh 0;
}

.text-container-animatie {
  display: flex;
  flex-direction: column;
  width: 50%;
  z-index: 2;
  gap: 2vh;
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease-in-out;
}

.text-container-animatie.fade-in {
  opacity: 1;
  visibility: visible;
}

.section-youtube {
  position: relative;
  min-width: 300px;
  height: auto;
  width: auto;
  display: flex;
  flex-direction: row;
  gap: 2vh;
}

.container-video {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: rgb(9,13,17,0.2) ;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  font-size: 16px;
  min-height: 50vh;
  width: 100%;
  overflow: hidden;
  flex-shrink: 1;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); 
}

.video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 15px 15px 0 0;
  overflow: hidden;
}

.video-thumbnail {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 15px 15px 0 0;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 15px 15px 0 0;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background-color: rgb(20, 27, 35);
  opacity: 0.3;
  pointer-events: none;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.play-button-circle {
  position: absolute;
  border-radius: 999px;
  box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 32px;
  background-color: rgb(241, 243, 245);
  width: 53.3333px;
  height: 53.3333px;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.play-button:hover .play-button-circle {
  opacity: 1;
}

.play-button svg {
  position: relative;
  z-index: 1;
}


@media (max-width: 780px) {
  #main-header-animatie {
    /* min-height: 70px; */
    min-height: 10px;
  }

  .container-pagina-animatie {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin: 0 10px 0 10px;
    height: 87vh;
    padding: 0 0 5vh 0;
  }

  .section-animatie-info {
    position: relative;
    top: 0;
    min-width: 300px;
    transform: none;
    margin-bottom: 0;
  }

  .text-container-animatie {
    position: relative;
    background-color: rgba(0, 2, 10, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    width: 100%;
    padding: 20px 20px 20px 20px;
  }

  .section-youtube {
    flex-direction: column;
    align-items: center;
    padding: 10px 0 10px 0;
    gap: 10px
  }

  .container-video {
    position: relative;
    top: 0px;
    width: 100%;
    max-width: 100%;
    height: 100%;
    background-color: rgb(9,13,17,0.9) ;
  }
}



/* GRAFICA / UIX / LENTICULAR*/
.container-info {
  position: relative;
  height: 89vh;
  display: flex;
  flex-direction: column;
  padding: 0vh;
  min-width: 300px;
}

.section-info {
  position: relative;
  width: 100%;
  z-index: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 0 3vh 0;
  min-width: 300px;
}

.text-container {
  position: relative;
  width: 75%;
  top: 0;
  gap: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease-in-out;
}

.text-container.fade-in {
  opacity: 1;
  visibility: visible;
}

.container-imagini {
  display: flex;
  flex-direction: row;
  gap: 10px;
  width: auto;
  overflow-x: auto;
  overflow-y: hidden;
  flex-grow: 1;
  padding: 0 10px 10px 10px;
  max-width: 100%;
}

.Container-Text {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: center;
  max-width: 100%;
  height: 100%;
  background: rgba(0, 2, 10, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 1vh;
  gap: 1vh;
}

.Container-Text a {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
  gap: 2vh;
  text-align: center;
}

.container-imagini img {
  position: relative;
  display: flex;
  width: auto;
  height: 80%;
  object-fit: cover;
  border-radius: 15PX;
}

.uix-container img {
  transition: all 0.3s ease;
}

.uix-container img:hover {
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.7);
  cursor: pointer;
}

.container-imagini iframe {
  display: block;
  width: auto;
  height: 80%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 15px;
  overflow-x: auto;
  overflow: hidden;
  pointer-events: none;
}

.container-imagini::-webkit-scrollbar {
  display: none;
}


@media (max-width: 780px) {
  .container-info {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    gap: 0px;
  }

  .container-imagini {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    overflow-x: hidden;
    overflow-y: auto;
    height: auto;
    padding: 10px 10px 10px 10px;
    box-sizing: border-box;
  }

  .container-imagini img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 15PX;
  }

  .container-imagini iframe {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 15px;
  }

  .Container-Text {
    position: relative;
    flex-direction: column;
    align-items: flex-start;
    text-align: center;
    min-width: 300px;
  }

  .section-info {
    position: relative;
    width: 100%;
    z-index: 0;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    margin: 0;
    
  }

  .text-container {
    position: relative;
    width: 100%;
    gap: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 20px;
    margin: 0 10px 0 10px;
    background-color: rgba(0, 2, 10, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); 
  }
}


/* VIZUALIZARE 3D*/
.section-main-gallery {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: 1fr 1fr;
  overflow-x: auto;
  overflow-y: auto;
  scroll-snap-type: x mandatory;
  width: 100%;
  height: 100vh;
  padding: 0 20px 20px 20px;
  gap: 15px;
}

.gallery-item {
  position: relative;
  font-size: 16px;
  aspect-ratio: 16 / 9;
  box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.5);
  height: 100%;
  border-radius: 15px;
  object-fit: cover;
}

.gallery-item img {
  border-radius: 15px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-item .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: left;
  text-align: left;
  background-color: rgba(0, 0, 0, 0.8);
  opacity: 0;
  color: #fff;
  padding: 20px;
  gap: 1vh;
  transition: opacity 0.3s ease-in-out;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px)
}

@media (max-width: 780px) {
  .gallery-item .overlay {
    overflow-y: auto; 
    overflow-x: hidden; 
    white-space: normal; 
  }
}

.gallery-item:hover .overlay {
  opacity: 1;
}

.section-main-gallery::-webkit-scrollbar {
  display: none;
}


.lightbox-gallery {
  position: fixed;
  display: flex;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 1);
  justify-content: center;
  align-items: flex-start;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 20px 0 20px 0;
  margin: 0%;
  z-index: 4;
}

.lightbox-content {
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 1080px;
  margin: 0 px;
}

.lightbox-content img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  padding-bottom: 5px;
}

.lightbox-gallery::-webkit-scrollbar {
  display: none;
}


.close {
  position: fixed;
  top: 0%;
  right: 15px;
  font-size: 4rem;
  color: #fff;
  cursor: pointer;
  z-index: 20;
  -webkit-text-stroke: 1px black;
}

@media (max-width: 780px) {
  .close {
    position: fixed;
    top: auto;
    bottom: 0px;
    right: 15px;
    font-size: 4rem;
    color: #fff;
    cursor: pointer;
    z-index: 20;
    -webkit-text-stroke: 1px black;
  }
}



@media (max-width: 780px) {
  .container-3D {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .section-3D-info {
    position: relative;
    text-align: left;
    padding: 0 10px 0 10px;
    margin-bottom: 0px;
  }

  .text-container-Vizualizare-3D {
    position: relative;
    background-color: rgba(0, 2, 10, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    width: 100%;
    padding: 20px;
    min-width: 300px;
  }

  .section-main-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    overflow-x: hidden;
    overflow-y: auto;
    height: auto;
    gap: 10px;
    padding: 10px;
    box-sizing: border-box;
  }

  .gallery-item {
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
    box-shadow: 4px 4px 10px 10px rgba(0, 0, 0, 0.2);
  }
}


@media (max-width: 780px) {
  .lightbox-content {
    top: 0%;
    gap: 5px;
  }

  .lightbox-gallery {
    padding: 5px;
  }

  .lightbox-content img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    max-width: 800px;
    padding-bottom: 0;
  }

  .lightbox-content video {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-width: 800px;
  }
}



/* CONTACT */
.container-contact {
  position: relative;
  display: flex;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-width: 300px;
}

.section-info-contact {
  display: flex;
  flex-direction: column;
  justify-items: center;
  background-color: rgba(0, 0, 0, 0.5);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  border-radius: 15px;
  margin: 0px 10px 20px 10px;
  padding: 20px 20px 20px 20px;
  text-align: center;
  max-width: 780px;
}

.text-container-contact{
  position: relative;
  display: flex;
  text-align: left;
  flex-direction: column;
  gap: 15px;
}

.contact-container {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  text-align: left;
}

.contact-container textarea {
  font-family: "Poppins", Arial, Helvetica, sans-serif;
}

form label {
  display: block;
  margin: 10px 0 5px;
  font-weight: bold;
  color: #ffffff;
}

form input,
form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #cccccc;
  border-radius: 4px;
  box-sizing: border-box;
}

form textarea {
  height: 80px;
  resize: none;
}

form button {
  background-color: #124983;
  color: #ffffff;
  padding: 10px 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}

form button:hover {
  background-color: #0056b3;
}

.footer2 {
  position: relative;
  width: 100%;
  bottom: 0;
  height: 8vh;
  min-width: 300px;
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  text-align: center;
  margin: 0;
  padding-bottom: 2vh;
}

.footer2 h2 {
  font-size: 1.2vh;
  margin: 0;
  padding: 0;
  text-align: center;
  color: #bac5c9;
  min-width: 300px;
}


@media (max-width: 780px) {
  .section-info-contact {
    text-align: left;
  }
}



/* Footer */
footer {
  position: relative;
  height: 8vh;
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding-bottom: 2vh;
}

@media (max-width: 780px){
  footer {
    position: relative;
    display: flex;
    bottom: 0;
    width: 100%;
    height: 8vh;
    min-width: 300px;
    font-family: "Poppins", Arial, Helvetica, sans-serif;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding-bottom: 2vh;
  }
}

.icons-container {
  display: flex;
  justify-content: center;
  gap: 20%;
  margin-bottom: px;
}

.footer-icon {
  font-size: 3vh;
}

.icons-container .fa-linkedin-in {
  color: #0077b5;
}

.icons-container .fa-youtube {
  color: #c62626;
}

.icons-container .fa-facebook {
  color: #3b5998;
}

.icons-container .fa-linkedin-in:hover {
  color: #108fca;
}

.icons-container .fa-youtube:hover {
  color: #fb0c03;
}

.icons-container .fa-facebook:hover {
  color: #4c69ba;
}

.footer h2 {
  font-size: 1.2vh;
  margin: 0;
  text-align: center;
  color: #bac5c9;
  min-width: 300px;
  ;
}



.language-selector {
  position: fixed;
  display: flex;
  top: 25px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 2;
  width: 45px;
}

.language-selector button {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0px 8px;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  border-radius: 4px;
}

.language-selector button.active {
  background: white !important;
  color: black !important;
}

@media (max-width: 780px) {
  .language-selector {
    display: none;
    top: auto;
    bottom: 10px; /* Mută jos */
    left: 10px; /* Păstrează poziția pe dreapta */
    gap: 5px;
    z-index:0;
  }
  .language-selector button {
    background: rgba(0, 0, 0, 0.7);
}
}


a[href^="tel"] {
  color: inherit !important; 
  text-decoration: none !important;
}
