body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

header {
  background-color: #ffe761;
  color: white;
  padding: 10px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

nav {
  width: 100%;
  background-color: #000000;
}

nav ul {
    list-style: none;
    padding: 10px;
    display: flex;
    justify-content: flex-start;
    background-color: #000000;
    margin: 0;
    flex-wrap: wrap;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    display: block;
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 15px;
    text-align: center;
}

section {
    padding: 40px 20px;
}

footer {
    background-color: #ffe761;
    color: black;
    text-align: center;
    padding: 20px 0;
}

headerimg {
    display: block;
    margin: 10px auto;
    max-height: 80px;
}

.galeria {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.galeria .item {
    width: 300px;
    text-align: center;
}

.galeria img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.galeria p {
    margin-top: 8px;
    font-weight: bold;
}

.btn-float {
  position: fixed;
  z-index: 999;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.btn-float img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.btn-float.whatsapp {
  bottom: 20px;
  right: 20px;
}

.btn-float.call {
  bottom: 90px;
  right: 20px;
}

.btn-float.email {
  bottom: 160px;
  right: 20px;
}

body::before {
  content: "";
  background-image: url("images/logo-dymiec.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 50%;
  opacity: 0.05;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.valores {
  list-style: none;
  margin-left: 30px;
  padding-left: 0;
}

.valores li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 10px;
  position: relative;
  padding-left: 18px;
}

.valores li::before {
  content: "•";
  position: absolute;
  left: 0;
  font-size: 1.2em;
  line-height: 1;
  top: 0.2em;
  color: black;
}

.valores .etiqueta {
  font-weight: bold;
  min-width: 140px;
  display: inline-block;
}

#clientes {
  text-align: center;
  padding: 40px 20px;
}

#clientes h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

#clientes p {
  margin-bottom: 20px;
}

.clientes-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
}

.clientes-grid .item {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.clientes-grid .item img {
  width: auto;
  height: 80px;
  max-width: 100%;
  object-fit: contain;
  filter: none !important;
  transition: transform 0.3s;
}

.clientes-grid .item img:hover {
  transform: scale(1.1);
}

@media (max-width: 600px) {
  nav ul {
    flex-direction: column;
    align-items: center;
  }

  nav ul li {
    margin: 10px 0;
  }
}

#experiencia {
  background-color: transparent;
  padding: 40px 20px;
  max-width: 1000px;
  margin: 0 auto;
}

#experiencia h2 {
  text-align: center;
  color: #000;
  margin-bottom: 30px;
  font-size: 28px;
}

.experiencia-item {
  border-bottom: 1px solid #ccc;
  padding: 15px 0;
}

.experiencia-item p {
  margin: 5px 0;
  color: #333;
  font-size: 16px;
  line-height: 1.6;
}

.formulario-contacto {
  max-width: 500px;
  margin-top: 20px;
}

.formulario-contacto input,
.formulario-contacto textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: inherit;
}

.formulario-contacto button {
  padding: 10px 20px;
  background-color: #FFD700;
  color: white;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}

.formulario-contacto button:hover {
  background-color: #e0bb00;
}

.language-switcher {
  text-align: right;
  padding: 10px;
}
.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 999;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: black;
  display: block;
}

@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.8);
    position: absolute;
    top: 100px;
    left: 0;
    width: 100%;
    z-index: 998;
  }

  nav ul.show {
    display: flex;
  }

  nav ul li a {
    color: black !important;
  }

  .hamburger {
    display: flex;
  }
}