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

body {
  line-height: 30px;
  background: #f5f6fa;
  color: #333;
}

header {
  background: #8dc3f9;
  color: white;
  padding: 15px 15px;
  text-align: center;
  background: url(https://i.pinimg.com/1200x/8e/3c/4e/8e3c4e858347d55dcd8a6676f1f94574.jpg) no-repeat center center/cover;
}

header h1 {
  font-size: 2.5rem;
  font-family: cursive;

}

nav {
  margin-top: 10px;
}

nav a {
  color: white;
  margin: 0 10px;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

nav a:hover {
  color: #1abc9c;
}

section {
  padding: 20px 20px;
}

h2 {
  text-align: center;
  margin-bottom: 40px;
  color: #2c3e50;
}

/* Servicios */
.servicios {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.servicio {
  background: white;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.servicio:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

/* Proyectos */
.proyectos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.proyecto {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.proyecto img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
}

.proyecto:hover img {
  transform: scale(1.1);
}

.proyecto-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.6);
  color: white;
  text-align: center;
  padding: 15px;
  opacity: 0;
  transition: opacity 0.3s;
}

.proyecto:hover .proyecto-info {
  opacity: 1;
}

/* Contacto */
.contacto {
  max-width: 600px;
  margin: auto;
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.contacto input, 
.contacto textarea {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.contacto button {
  display: inline-block;
  background: #1abc9c;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.contacto button:hover {
  background: #16a085;
}

footer {
  background: #2c3e50;
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}
/* Sección Quiénes Somos */
.quienes {
  max-width: 900px;
  margin: auto;
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  text-align: center;
  line-height: 1.8;
}

.quienes p {
  margin-bottom: 15px;
  font-size: 1.1rem;
  color: #444;
}

/* Contacto con botones */
.contacto {
  text-align: center;
  padding: 20px;
}

.btn-contacto {
  display: inline-block;
  margin: 10px;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  color: white;
  transition: background 0.3s, transform 0.2s;
}

.btn-contacto:hover {
  transform: scale(1.05);
}

.whatsapp {
  background: #25d366;
}

.whatsapp:hover {
  background: #1ebe5d;
}

.correo {
  background: #3498db;
}

.correo:hover {
  background: #2c80b4;
}
