/* Estilos generales */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  line-height: 1.6;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: #222;
  color: #fff;
}

header .logo {
  height: 80px; /* Ajusta según lo que necesites */
  display: flex;
  align-items: center;
  overflow: hidden;
}

header .logo img {
  height: 200%; /* Ajusta para que ocupe el alto del contenedor */
  width: auto;
  object-fit: contain;
}

header nav ul {
  display: flex;
  list-style: none;
}

header nav ul li {
  margin: 0 15px;
}

header nav ul li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

header nav ul li a:hover {
  color: #f0a500;
}

.hero {
  text-align: center;
  padding: 60px 20px;
  background: url("../img/banner.jpg") no-repeat center center/cover;
  color: #fff;
}

.hero h2 {
  font-size: 2.5rem;
}

.hero .btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background: #f0a500;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
}

section {
  padding: 40px 20px;
}

.servicios-grid,
.proyectos-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.servicio,
.proyectos-grid img {
  background: #f4f4f4;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
}

.proyectos-grid img {
  width: 320px;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  background: #fff;
  transition: transform 0.3s, box-shadow 0.3s;
}

.proyectos-grid img:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

form {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
}

form input,
form textarea,
form button {
  margin: 10px 0;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

form button {
  background: #f0a500;
  color: #fff;
  cursor: pointer;
  border: none;
}

footer {
  text-align: center;
  padding: 20px;
  background: #222;
  color: #fff;
  margin-top: 20px;
}
