/* Gotham Font (example with @import if hosted externally) */
@import url('https://fonts.googleapis.com/css2?family=Gotham:wght@400;500;700&display=swap');

body {
  font-family: 'Gotham', sans-serif;
}

/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.top-bar {
  display: flex;
  justify-content: flex-end; /* 🔹 Todo alineado a la derecha */
  align-items: center;
  background-color: #000;
  color: white;
  padding: 8px 20px;
  font-size: 16px;
  font-family: 'Gotham', sans-serif;
  gap: 20px; /* 🔹 Separación entre los dos bloques */
}

.language {
  color: white;
  font-weight: 500;
}

.phone {
  display: flex;
  align-items: center;
  gap: 6px;
}

.phone a {
  color: white;
  text-decoration: none;
}

.phone a:hover {
  text-decoration: underline;
}




/* Main nav styles */
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 40px;
  background-color: white;
  position: relative;
}

.logo {
  margin-left: 30px;
}

.logo img {
  height: 100px;
}

.nav-links {
  list-style: none;
  display: flex;
  flex-direction: row; /* horizontal */
  align-items: center;
  gap: 20px;
  font-family: 'Gotham', sans-serif;
  font-size: 18px;
  padding: 0;
}

.nav-links li {
  list-style: none;
}

.nav-links li a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
  position: relative;
  display: inline-block;
}

/* Línea animada debajo al hover */
.nav-links li a:not(.contact-btn)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: #d72612;
  transition: width 0.3s ease;
}

.nav-links li a:not(.contact-btn):hover::after {
  width: 100%;
}

/* Botón rojo */
.contact-btn {
  background-color: #d72612;
  color: white !important;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: bold;
  white-space: nowrap;
  transition: background-color 0.3s ease;
}

.contact-btn:hover {
  background-color: #b91c0d;
}
/* Botón Contact alineado como los demás */
.contact-btn {
  background-color: #d72612;
  color: white !important;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: bold;
  white-space: nowrap;
  transition: background-color 0.3s ease;
  display: inline-block;
}

.contact-btn:hover {
  background-color: #b91c0d;
}


/* Mobile styles */
.menu-icon {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

#menu-toggle {
  display: none;
}

@media screen and (max-width: 768px) {
  .main-nav {
    padding: 15px 20px;
  }

  .nav-links {
    flex-direction: column;
    background-color: white;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: 20px;
    gap: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }

  #menu-toggle:checked + .menu-icon + .nav-links {
    display: flex;
  }

  .menu-icon {
    display: block;
  }

  .contact-btn {
    display: inline-block;
  }
  .top-bar {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
  }
}
