/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  color: #333;
  background: #f9f9f9;
  line-height: 1.5;
}

/* Contenedor general */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* Encabezado */
header {
  background: #fff;
  padding: 20px 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Ajuste del contenedor del header para alinear logo, nombre y nav */
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Estilo para el nombre del sitio */
.site-name h1 {
  font-family: 'Roboto', sans-serif;
  color: #333;
  font-size: 3.8em;
  font-weight: 700;
  letter-spacing: 1px;
  margin: 0 20px; /* Espacio entre logo y nav */
}

/* Opcional: Si deseas centrar verticalmente el contenido de la cabecera */
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}}

.logo img {
  max-width: 100px;
  height: auto;
}

nav ul {
  list-style: none;
  display: flex;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #e67e22;
}

/* Sección de inicio (hero) */
#inicio {
  background: url('background2.jpg') no-repeat center center/cover;
  height: 80vh;
  display: flex;
  align-items: center;
  color: #fff;
  position: relative;
}

#inicio::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
}

#inicio .content {
  position: relative;
  z-index: 1;
  text-align: center;
  width: 100%;
}

#inicio h1 {
  font-size: 3em;
  margin-bottom: 20px;
}

#inicio p {
  font-size: 1.2em;
  margin-bottom: 30px;
}

.btn {
  background: #e67e22;
  color: #fff;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #cf711e;
}

/* Sección de servicios */
#servicios {
  padding: 60px 0;
  background: #fff;
}

#servicios h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.5em;
}

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.service {
  background: #f4f4f4;
  padding: 20px;
  border-radius: 8px;
}

/* Estilos para la secciÃ³n de contacto */
#contacto .contact-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

#contacto .contact-info {
  flex: 1;
  min-width: 250px;
}

#contacto .contact-map {
  margin-left: 20px;
}
