@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

/* Estilos base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

html,
body {
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
  font-family: "Roboto", sans-serif;
}

/* Prevenir FOUC (Flash of Unstyled Content) */
.no-fouc {
  visibility: hidden;
}

.fouc-ready {
  visibility: visible;
}

/* Navbar superior */
.top-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  z-index: 1001;
  height: 40px;
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.top-navbar .container {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0 10px;
}

.top-navbar .right-links {
  display: flex;
  gap: 20px;
  padding-right: 10rem;
}

.top-navbar .top-link {
  color: #333;
  text-decoration: none;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.language-switch {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: inherit;
  font: inherit;
  transition: all 0.3s ease;
}

.language-switch.active-language {
  color: #007bff;
  font-weight: bold;
  text-decoration: underline;
}

.top-navbar .top-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.top-navbar.hidden {
  transform: translateY(-100%);
}

/* Navbar principal */
nav {
  background-color: #181818;
  padding: 0;
  top: 40px;
  position: fixed;
  width: 100%;
  z-index: 1000;
  transition: top 0.3s ease;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  width: 100%;
  max-width: 100%;
}

.nav-left {
  display: flex;
  align-items: center;
  margin-left: 10%;
}

.nav-right {
  display: flex;
  align-items: center;
  margin-right: 150px;
}

.desktop-logo {
  height: 25px;
  width: auto;
}

nav.at-top {
  top: 0;
}

.nav-links {
  display: flex;
  gap: 3rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #b4cd00;
}

.logo {
  padding-left: 10rem;
  height: 20px;
}

/* Contacto */
.contact-container {
  width: 100%;
  background-color: #f6f6f6;
  padding: 4rem 10.5rem;
}

.contact-title {
  padding-bottom: 30px;
  font-size: 64px;
  font-weight: bold;
  margin-bottom: 2rem;
  color: #000000;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.contact-column h3 {
  font-size: 24px;
  font-weight: 500;
  color: #000000;
  margin-bottom: 1rem;
}

.contact-column p {
  padding-bottom: 30px;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.4;
  color: black;
}

/* Footer */
.footer-container {
  width: 100%;
  background-color: #181818;
  padding: 4rem 10rem;
  display: flex;
  gap: 6rem;
  color: white;
}

.footer-logo {
  flex: 0 0 auto;
}

.footer-logo img {
  height: 30px;
  object-fit: contain;
}

.footer-content {
  flex: 1;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-link,
.footer-sublink {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.footer-link:hover,
.footer-sublink:hover {
  color: #b4cd00;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link img {
  height: 24px;
  width: 24px;
  object-fit: contain;
}

/* Copyright */
.copyright-bar {
  width: 100%;
  background-color: #000000;
  padding: 1rem;
  text-align: center;
  font-size: 0.8rem;
  color: white;
}

/* IDs especÃ­ficos */
#goldenmining {
  height: 70px;
}

#barrick {
  height: 20px;
}

#banco,
#energy {
  height: 40px;
}

@media (max-width: 768px) {
  .top-navbar .right-links {
    gap: 10px;
  }

  .top-navbar .language-switch {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    color: inherit;
    font: inherit;
    transition: all 0.3s ease;
  }

  .language-switch.active-language {
    color: #007bff;
    font-weight: bold;
    text-decoration: underline;
  }

  .top-navbar .top-link {
    font-size: 12px;
  }

  .footer-container {
    padding: 2rem;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0;
  }

  .footer-content {
    display: none;
  }

  .footer-container .social-links {
    display: flex;
    margin-top: 0;
  }

  .footer-logo {
    display: flex;
    align-items: center;
  }

  .footer-logo img {
    height: 24px;
  }

  .social-link img {
    height: 30px;
    width: 30px;
  }
}

@media (max-width: 640px) {
  .contact-container {
    padding: 2rem 1.5rem;
  }

  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .contact-title {
    font-size: 2rem;
    padding-bottom: 15px;
    margin-bottom: 1rem;
  }

  .contact-column h3 {
    font-size: 18px;
    margin-bottom: 0.5rem;
  }

  .contact-column p {
    font-size: 14px;
    padding-bottom: 15px;
  }
}

@media (max-width: 480px) {
  .contact-title {
    font-size: 2rem;
  }

  .contact-column h3 {
    font-size: 18px;
  }

  .contact-column p {
    font-size: 14px;
  }

  .footer-container {
    padding: 1.5rem 1rem;
  }
}
.contact-column a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
  cursor: pointer;
}

.contact-column a:hover {
  color: #b4cd00;
}


