@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;700&display=swap');

:root {
  --red-color: #FF0000;
  --yellow-color: #FFFF00;
  --blue-color: #0000FF;
  --red-color-dark: #CC0000;
  --yellow-color-dark: #CCCC00;
  --blue-color-dark: #0000CC;
  --dark-color: #36393F;
  --black-color: #161716;
  --black-color-light: #141816;
  --white-color: #fffafa;
  --white-color2: #f4f4f4;
  --gray-color: #d0d0d0;
  --gray-color2: #969696;
  --dark-shadow: 1px 1px 2px var(--dark-color);
  --light-shadow: text-shadow: 0px 1px 1px rgba(22, 23, 22, 0.20);
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--white-color);
}

li {
  list-style: none;
}

a {
  text-decoration: none;
}

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--black-color-light);
}

::-webkit-scrollbar-thumb {
  background: var(--red-color);
  border-radius: 2px;
}

header {
  position: fixed;
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 7rem;
  width: 100%;
  z-index: 999;
}

.header-scroll {
  height: 4rem;
  background-color: var(--black-color-light);
  box-shadow: 0px 3px 6px -6px rgba(0, 0, 0, 0.835);
  transition: .5s ease;
}

#nav-logo {
  height: 5rem;
  transition: .5s ease;
}

.menu-text {
  display: flex;
  font-size: 1rem;
  gap: 1.5rem;
  margin-left: 10rem;
}

.header-nav ul a {
  color: var(--white-color);
  font-weight: bold;
  text-transform: uppercase;
  text-shadow: var(--dark-shadow);
  transition: .5s ease;
}

.header-nav ul a:hover {
  color: var(--red-color);
}

.header-nav ul .menu-item {
  color: var(--white-color);
  font-weight: bold;
  text-transform: uppercase;
  text-shadow: var(--dark-shadow);
  transition: .5s ease;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit; /* Ensures the same font as the rest of the menu */
  font-size: inherit; /* Ensures the same font size as the rest of the menu */
  line-height: inherit; /* Ensures the same line height as the rest of the menu */
}

.header-nav ul .menu-item:hover {
  color: var(--yellow-color);
}

/* Add this CSS to specifically remove default button styles */
.language-switch-button {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: white;
  cursor: pointer;
  text-shadow: inherit;
  text-transform: inherit;
  font-weight: inherit;
  text-align: left; /* Align text to the left to match other menu items */
}

video {
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

.overlay-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(23, 23, 22, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-text {
  color: var(--white-color);
  font-size: 1.8rem;
  text-shadow: var(--dark-shadow);
  text-align: center;
  padding: 1.2rem;
  max-width: 100%;
  margin-top: 5rem;
}

span {
  color: var(--red-color);
}

.hero-button {
  margin: 5rem 0 0;
  padding: 1rem;
  border-radius: .7rem;
  font-size: 1rem;
  text-shadow: 1px 1px 1px #17171649;
  border: none;
  font-weight: 500;
  background-color: var(--red-color);
  color: var(--white-color);
  transition: .3s ease-in-out;
}

.hero-button:hover {
  background-color: transparent;
  border: 1px solid var(--gray-color);
  transform: scale(1.1);
}

.hero-button i {
  margin-right: .5rem;
}

.menu-btn {
  cursor: pointer;
}

.menu-btn i {
  color: var(--red-color);
  text-shadow: var(--dark-shadow);
  font-size: 2.3rem;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--dark-color);
  background-image: url(../images/menu-background.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--white-color);
  box-sizing: border-box;
  animation: none;
}

@keyframes showMenu {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(0);
  }
}

@keyframes hideMenu {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(100%);
  }
}

.mobile-menu::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: -1;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  list-style: none;
  font-size: 1.5rem;
  gap: 2rem;
  margin: 5rem 0;
}

.mobile-menu ul a {
  transition: .3 ease;
}

.mobile-menu ul a:hover {
  color: var(--red-color);
}

.close-btn {
  cursor: pointer;
  position: absolute;
  top: 5%;
  left: 85%;
  font-size: 1.5rem;
  color: var(--red-color);
}

.nav-social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  font-size: 1.8rem;
  padding-top: 2rem;
}

.nav-social-links a:nth-child(1),
.nav-social-links a:nth-child(2),
.nav-social-links a:nth-child(3) {
  color: var(--red-color);
}

#about-us {
  margin: 5rem auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5rem;
  max-width: 100%;
  padding: 0 3rem;
}

#about-us img {
  max-height: 40rem;
  max-width: 100%;
  border-radius: 1rem;
}

.about-content {
  max-width: 30rem;
}

.about-heading {
  font-size: 2rem;
  margin: 0 0 2rem;
  background-image: linear-gradient(to right, #CC0000, #FF0000);
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  text-shadow: 0px 1px 1px rgba(23, 23, 22, 0.2);
}

.about-content p {
  font-size: 1rem;
}

.about-content button {
  margin: 2rem auto;
  font-size: 1.1rem;
  font-weight: 500;
  padding: .75rem;
  border-radius: 1rem;
  border: none;
  background-color: var(--red-color);
  color: var(--white-color);
  text-shadow: 0px 1px 1px rgba(23, 23, 22, 0.5);
  width: 10rem;
  transition: .3s ease-in-out;
}

.about-content button:hover {
  background-color: var(--dark-color);
  border: 1px solid var(--black-color);
  color: var(--white-color);
  transform: scale(1.050);
}

.about-content button i {
  font-size: .9rem;
  margin-right: .3rem;
}

#services {
  margin: 5rem auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 65%;
}

.section-heading {
  font-size: 2.3rem;
  margin: 0 0 2rem;
  background-image: linear-gradient(to right, #CC0000, #FF0000);
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  text-shadow: 0px 1px 1px rgba(23, 23, 22, 0.2);
}

.cards-container {
  display: flex;
  justify-content: center;
  margin: 1rem 0;
  gap: 1rem;
}

.cards {
  width: 100%;
  border: 1px solid #d0d0d080;
  border-radius: 1rem;
}

.card-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
  background-color: var(--white-color2);
  border-radius: 1rem;
  height: 100%;
}

.card-content h4 {
  font-size: 1.3rem;
  color: var(--red-color);
  text-shadow: var(--light-shadow);
}

.card-content p {
  margin: 0 1rem 1rem;
  font-size: 1rem;
}

.cards img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 1rem 1rem 0 0;
}

/* CTA */

#cta-container {
  width: 100%;
  height: 20rem;
  background-image: url(../images/cta-image.jpg);
  background-size: contain;
  background-attachment: fixed;
  background-position: top;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

#cta-container h2 {
  font-size: 2.3rem;
  color: var(--white-color);
  text-align: center;
  margin: 0 2rem;
}

.cta-button {
  padding: .7rem;
  border-radius: .7rem;
  font-size: 1rem;
  text-shadow: 1px 1px 1px #17171670;
  border: none;
  font-weight: 500;
  background-color: var(--red-color);
  color: var(--white-color);
  transition: .3s ease-in-out;
}

.cta-button:hover {
  background-color: transparent;
  border: 1px solid var(--gray-color);
  transform: scale(1.1);
}
#brazil-map {
  margin: 0 auto;
  padding: 5rem 0 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--white-color2);
  background: linear-gradient(to bottom, rgb(227, 255, 249), rgb(250, 250, 250, 1));
}

#brazil-map .section-heading {
  margin: 0 2rem 2rem;
}

.map-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vest{
  fill: var(--red-color)
}
.centru{
  fill: var(--yellow-color)
}
.est{
  fill: var(--blue-color)
}

.norte {
  fill: var(--gray-color);
}

path {
  fill: var(--red-color);
  stroke: rgb(255, 255, 255);
  stroke-width: 1px;
}

.selected:hover {
  fill: var(--black-color);
  stroke: var(--red-color);
  stroke-width: 1px;
  transition: ease 0.4s;
}

.tooltip {
  pointer-events: none;
  position: absolute;
  font-size: 1rem;
  text-align: center;
  background: var(--white-color);
  padding: .4rem 1.2rem;
  z-index: 5;
  height: 2rem;
  margin: 0 auto;
  color: var(--black-color-light);
  border: solid 1px #1717166e;
  border-radius: 5px;
  transform: translateX(-50%);
  display: none;
}

.tooltip.active {
  display: block;
}

.tooltip:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 0;
  height: 0;
  margin-left: -10px;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid white;
}

.map-subtitle {
  margin: 0 1.5rem;
  display: flex;
  justify-content: center;
  align-self: center;
  border-collapse: collapse;
  border: 1px solid var(--gray-color2);
  border-radius: .5rem;
}

.map-subtitle td {
  font-size: 1.1rem;
  padding: 1rem;
  border-bottom: 1px solid var(--gray-color2);
}

.map-subtitle tr:last-child td {
  border-bottom: none;
}

.map-subtitle i {
  font-size: 1.5rem;
  margin-right: .8rem;
  border-radius: 50%;
}

.map-subtitle tr:first-child i {
  width: 20px; /* ajustați dimensiunea după cum este necesar */
  height: 20px; /* ajustați dimensiunea după cum este necesar */
  display: inline-block; /* asigură că elementul este vizibil */
  background-image: linear-gradient(to right, red, yellow, blue);
  border-radius: 50%; /* face ca elementul să fie rotund */
  border: 1px solid var(--red-color-dark); /* ajustați culoarea bordurii după cum este necesar */
}

.map-subtitle tr:last-child i {
  width: 20px; /* ajustați dimensiunea după cum este necesar */
  height: 20px; /* ajustați dimensiunea după cum este necesar */
  display: inline-block; /* asigură că elementul este vizibil */
  background-color: grey; /* culoare gri pentru a doua minge */
  border-radius: 50%; /* face ca elementul să fie rotund */
  border: 1px solid grey; /* ajustați culoarea bordurii după cum este necesar */
}

/* Ascunde pictogramele Font Awesome */
.map-subtitle i.fa-circle:before {
  display: none;
}

#customer-section {
  margin: 5rem auto 2.5rem;
}

#customer-section h3 {
  text-align: center;
  font-size: 2rem;
  margin: 0 0 2rem;
  background-image: linear-gradient(to left, #CC0000, #FF0000);
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  text-shadow: 0px 1px 1px rgba(23, 23, 22, 0.2);
}

@keyframes slide {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

.logos {
  overflow: hidden;
  padding: 60px 0;
  background: var(--white-color);
  white-space: nowrap;
  position: relative;
}

.logos:before,
.logos:after {
  position: absolute;
  top: 0;
  width: 250px;
  height: 100%;
  content: "";
  z-index: 2;
}

.logos:before {
  left: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 0), var(--white-color));
}

.logos:after {
  right: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), var(--white-color));
}

.logos:hover .logos-slide {
  animation-play-state: paused;
}

.logos-slide {
  display: inline-block;
  animation: 35s slide infinite linear;
}

.logos-slide img {
  height: 50px;
  margin: 0 40px;
}

.waves {
  width: 100%;
  max-height: 100px;
  position: relative;
  top: 5px;
}

#contact-us {
  padding: 3rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  gap: 5rem;
  width: 100%;
  background-color: var(--black-color-light);
  color: var(--white-color);
}

#contact-us img {
  max-width: 26rem;
  height: 100%;
  border-radius: 1rem;
}

.contact-content {
  max-width: 20rem;
}

.contact-content h2 {
  font-size: 2rem;
  margin: 0 0 2rem;
  background-image: linear-gradient(to right, #CC0000, #FF0000);
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
}

.contact-content h3 {
  font-size: 1.3rem;
  margin: 0 0 2rem;
}

.contact-content p {
  margin: 0 auto;
}

.contact-button {
  margin: 2rem auto;
  font-size: 1rem;
  font-weight: 500;
  padding: 1rem;
  border-radius: 1rem;
  border: none;
  background-color: var(--red-color-dark);
  color: var(--white-color);
  text-shadow: 0px 1px 1px rgba(23, 23, 22, 0.5);
  width: 13rem;
  transition: .3s ease-in-out;
}

.contact-button:hover {
  background-color: var(--dark-color);
  border: 1px solid var(--black-color);
  color: var(--white-color);
  transform: scale(1.050);
}

/* FOOTER */

footer {
  color: white;
  background: var(--black-color-light);
  padding-top: 1rem;
  font-size: 1rem;
}

.footer-container {
  width: 100%;
  margin: auto;
  display: flex;
  justify-content: center;
}

.footer-content {
  width: 100%;
}

.footer-content h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  text-align: center;
}

.footer-content p {
  width: 190px;
  margin: auto;
  padding: 7px;
}

.footer-content ul {
  text-align: center;
}

.social-icons {
  text-align: center;
  padding: 0;
}

.social-icons li {
  display: inline-block;
  text-align: center;
  padding: 5px;
}

.social-icons i {
  color: white;
  font-size: 25px;
}

.social-icons i:hover {
  color: var(--red-color);
}

.bottom-bar {
  background: var(--red-color-dark);
  text-align: center;
  padding: 10px 0;
  margin-top: 50px;
  font-weight: bold;
}

.bottom-bar p {
  color: var(--white-color2);
  text-shadow: var(--light-shadow);
  margin: 0;
  font-size: 1rem;
  padding: 7px;
}

p.credits {
  font-size: .8rem;
}

.credits a {
  color: #0f3846;
}
