/*
font-family: "Raleway", sans-serif;
*/

/*

Layout

*/
.hidden {
  display: none !important;
}

.mobile-only {
  display: none;
}

.fa-star{
  color: #FFD700;
}

strong {
  font-weight: 700;
}



html {
  font-size: 62.5%;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: "Raleway", sans-serif;
  width: 100vw;
  display: flex;
  flex-direction: row;
}

.page {
  width: auto;
  flex-grow: 1;
  overflow-x: hidden;
  background-image: url("../images/bg-light.svg");
  background-position: center 25%;
  background-size: 100%;
  height: 100vh;
}

.dark-mode .page {
  background-image: url("../images/bg-dark.svg");
}

.container {
  width: 100%;
  background-color: rgba(0, 0, 0, 0);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page {
  /* For WebKit browsers (Chrome, Safari, etc.) */
  -webkit-overflow-scrolling: touch; /* Enables smooth scrolling on touch devices */
  scrollbar-width: none; /* For Firefox */
  -ms-overflow-style: none; /* For Internet Explorer and Edge (legacy) */
}

/* Hides scrollbar for WebKit browsers (Chrome, Safari) */
.page::-webkit-scrollbar {
  display: none;
}

/*

Hero


*/

.racheta {
  max-width: 700px;
  min-width: 0px;
  min-height: 0px;
  width: auto;
  padding-top: 8.2rem;
  padding-bottom: 3vh;
  flex-grow: 1;
  width: 100%;
}

.hero {
  justify-content: center;
  align-items: center;
  flex-direction: column;
  font-weight: 300;
  height: 93vh;
  padding-bottom: 7vh;
  gap: 1.5rem;
  width: fit-content;
  display: flex;
  max-width: 100%;
  padding-left: 2.0rem;
  padding-right: 2.0rem;
}

.dark-mode .hero {
  color: white;
}

.hero h3 {
  font-size: 2.4rem;
}
.hero h2 {
  font-size: 4rem;
  padding-bottom: 2rem;
}

.hero .highlighted-text {
  font-weight: 700;
  color: #3941de;
  text-align: center;
}

/*

Call Bar

*/

.right-call-bar {
  background-color: #ed5828;
  width: 60px;
}

.call-bar-text {
  transform: rotate(90deg);
  color: white;
  font-size: 2.4rem;
  width: 95vh;
  margin-left: calc(-47.5vh + 30px);
  margin-top: calc(calc(50vh + 47.5vh) / 2);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  font-weight: 200;
}

.call-bar-text a {
  color: white;
  padding-bottom: 2px;
  border-bottom: 1px solid white;
}

/*

Navbar

*/

.nav-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: calc(100% - 60px);
  height: fit-content;

  position: fixed;
  top: 0;
  z-index: 100;
  
  margin-right: 60px;
}

.navigation {
  background-color: white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  color: #180a35;
  border-radius: 1000px;
  border: 1px solid #180a35;

  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;

  padding-left: 1rem;
  padding-right: 1rem;
  margin-top: 2rem;
  height: fit-content;
}

.dark-mode .navigation {
  background-color: #180a35;
  color: white;
  border: 1px solid white;
}

.navigation a {
  font-size: 2rem;

  padding-left: 20px;
  padding-right: 20px;
  padding-top: 2rem;
  padding-bottom: 2rem;

  color: #180a35;
  border-left: 1px solid #180a35;
}

.dark-mode .navigation a {
  color: white;
  border-left: 1px solid white;
}

.navigation .nav-links {
  display: flex;
  height: fit-content;
}

.logo img {
  height: 36px;
}
.logo a {
  border-width: 0 !important;
}

.dark-mode-switch {
  margin-top: 1.8rem;
  background-color: white;
  border-radius: 1000px;
  border: 1px solid #180a35;
  width: 48px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 2rem;
}

.dark-mode .dark-mode-switch {
  background-color: #180a35;
  border: 1px solid white;
}

.dark-mode-switch:hover {
  cursor: pointer;
}

.dark-mode-switch img:hover {
  cursor: pointer;
}

.dark-mode-switch img {
  height: 36px;
  width: 36px;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    top: 0;
    background-color: rgba(255, 255, 255, 0.33);
    z-index: 100;
    width: 100%;
    height: 100vh;
    padding-top: 20%;
}

.dark-mode .mobile-nav{
    background-color: rgba(0, 0, 0, 0.33);
}

.mobile-nav-links{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 80%;
    background-color: white;
    border-radius: 20px;
    border: 1px solid #180a35;
}

.dark-mode .mobile-nav-links{
    background-color: #180a35;
    border: 1px solid white;
}

.mobile-nav-links a{
    font-size: 1.8rem;
    padding-top: 2.0rem;
    padding-bottom: 2.0rem;
    color: #180a35;
    text-decoration: none;
    border-top: 1px solid #180a35;
    flex-grow: 1;
    text-align: center;
    width: 100%;
}

.dark-mode .mobile-nav-links a{
    color: white;
    border-top: 1px solid white;
}

.mobile-nav-links .logo img{
    height: 32px;
    padding-bottom: 1rem;
    padding-top: 1.5rem;
}

/*

Proiecte & Servicii

*/

.container-section {
  min-height: calc(105vh - 8rem);
  padding-top: 4rem;
  display: flex;
  flex-direction: column;
  align-items: left;
  width: 100%;
  padding-bottom: 4rem;
}

.section-text {
  max-width: 1000px;
  padding-left: clamp(0px, calc(40vw - 600px - 4.0rem), 175px);
  padding-right: 175px;
  width: auto;
  padding-bottom: 4rem;
  margin-left: 4.0rem;
}

.dark-mode .section-text {
  color: white;
}

.section-text h2 {
  font-size: 4rem;
  font-weight: 700;
  padding-bottom: 4rem;
  color: #3941de;
}

.dark-mode .section-text h2 {
  color: white;
}

.section-text p {
  max-width: 1000px;
  font-size: 1.6rem;
  line-height: 150%;
  padding-bottom: 1rem;
}

.section-text li{
    font-size: 1.6rem;
    line-height: 150%;
    padding-bottom: 1rem;

}

.section-text b {
  font-weight: 700;
}

.gallery {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 2rem 2rem;
  flex-wrap: wrap;
  align-items: center;
  margin-left: 40px;
  margin-right: 40px;
}

section.proiecte-section {
  background-color: rgba(255, 255, 255, 0.5);
  width: 100%;
}

section.noi-section {
  background-color: rgba(255, 255, 255, 0.25);
  width: 100%;
}

.dark-mode section.noi-section {
  background-color: rgba(0, 0, 0, 0.11);
}

.dark-mode section.proiecte-section {
  background-color: rgba(0, 0, 0, 0.22);
}

.servicii-text {
  padding-bottom: 3rem;
}

section.servicii-section {
  background-color: rgba(255, 255, 255, 1);
  width: 100%;
}

.dark-mode section.servicii-section {
  background-color: rgba(0, 0, 0, 0);
}

.contact {
  min-height: calc(89vh - 8rem);
}

section.contact-section {
  background-color: #3941de;
  width: 100%;
}

.contact-text {
  color: white;
}

.contact-text a {
  color: white;
  text-decoration: underline;
}

.contact-text h2 {
  color: white;
}

/*

Universal card

*/

.gallery-item {
}

.card {
  background-color: white;
  display: flex;
  flex-direction: row;
  border: 1px solid #3941de;
}

.dark-mode .card {
  background-color: #180a35;
  color: white;
  border: 1px solid white;
}

.style-element {
  width: 16px;
  height: auto;
  background-color: #3941de;
}

.dark-mode .style-element {
  background-color: white;
}

.card-text {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content:flex-start;
  width: 100%;
}

.card h3 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #3941de;
  align-self: flex-start;
}

.dark-mode .card h3 {
  color: white;
}

.card .text-aligner-card{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    gap: 1rem;
}

.card p {
  font-size: 1.6rem;
  width: auto;
  line-height: 150%;
  width: 100%;
}

.card p b {
  font-weight: 700;
}

.card p a {
  color: #180a35;
  text-decoration: underline;
}

.dark-mode .card p a {
  color: white;
}

.highlighted-card.card {
  background-color: #3941de;
  color: white;
}

.highlighted-card.card h3 {
  color: white;
}

.highlighted-card.card .style-element {
  background-color: white;
}

/*

Proiecte card specifics

*/

.proiecte-gallery-item {
  width: 735px;
  flex-basis: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.proiecte-gallery-item.t1{
    flex-direction: row;
}

.proiecte-gallery-item.t2{
    flex-direction: row-reverse;
}

.proiecte-card {
}

.proiecte-card .card-text {
  width: 334px;
}

.proiecte-gallery-item img {
  aspect-ratio: initial;
  width: 100%;
}

.proj-img-container{
    width: 33%;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;

}

/*

Servicii card specifics

*/

.servicii-gallery-item {
  min-width: 450px;
  max-width: 500px;
  flex: 1 1 30%;
}

.servicii-card {
  height: 300px;
}

.servicii-card .card-text {
}

#PCBs .card, #poze .card, #prototipare .card, #ceva .card   {
    height: 250px;
}

.noi-gallery-item{
  min-width: 410px;
  max-width: 500px;
  flex: 1 1 30%;
}

.noi-card{
  height: 250px;
}

/*

Map

*/

.contact-section iframe{
    margin-top: 2rem;
}


/*

Footer

*/
.footer-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  background-color: #180a35;
  color: white;
  font-size: 1.6rem;
  line-height: 200%;
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.footer {
  padding: 2rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-direction: column;
}

.footer-text {
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

.footer-text p {
  width: auto;
}

.footer a {
  color: white;
  text-decoration: underline;
  padding-right: 1rem;
  margin-top: 4rem;
}


