/* style.css complet per Jordi Gómez Teràpies */

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  color: #333;
  background-color: #f8f4ef;
  scroll-behavior: smooth;
}

header {
  background-color: #d4cfc4;
  padding: 2rem;
  text-align: center;
  position: relative;
}

header .logo {
  max-width: 120px;
  margin-bottom: 1rem;
}

header h1 {
  margin: 0;
  font-size: 2.5rem;
  font-weight: 600;
}

header .slogan {
  font-size: 1.2rem;
  margin-top: 0.5rem;
}

.idioma {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-weight: bold;
}

.idioma a {
  margin-left: 1rem;
  color: #333;
  text-decoration: none;
}

nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 1rem;
  background-color: #ece7dd;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
}

section {
  padding: 3rem 1.5rem;
  max-width: 1000px;
  margin: auto;
}

section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: center;
}

.sobre-mi-contenidor {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
  text-align: left;
  flex-wrap: wrap;
}

.foto-sobre-mi {
  width: 250px;
  border-radius: 8px;
  flex-shrink: 0;
}

.text-sobre-mi {
  flex: 1;
}

.text-sobre-mi p {
  margin: 0;
  line-height: 1.6;
}

.serveis-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.servei {
  background-color: #ffffff;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.testimoni {
  font-style: italic;
  background-color: #fff;
  padding: 1rem;
  border-left: 4px solid #b7a98b;
  margin-bottom: 1rem;
}

.lloc {
  background-color: #ffffff;
  padding: 1rem;
  border-radius: 6px;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

form input,
form textarea {
  width: 100%;
  padding: 0.5rem;
  margin: 0.5rem 0;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
}

form button {
  background-color: #a68f71;
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}

footer {
  text-align: center;
  padding: 2rem;
  background-color: #d4cfc4;
  font-size: 0.9rem;
}

.demana-cita {
  display: inline-block;
  margin-top: 1.5rem;
  background-color: #25d366 !important;
  color: #ffffff !important;
  font-weight: bold;
  padding: 0.6rem 1.4rem;
  border-radius: 25px;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  font-size: 1rem;
}

@media (max-width: 768px) {
  .sobre-mi-contenidor {
    flex-direction: column;
    text-align: center;
  }

  .text-sobre-mi {
    text-align: center;
  }
}
.xarxes-socials {
  margin-top: 1rem;
  font-size: 1rem;
}

.xarxes-socials p {
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.xarxes-socials a {
  display: inline-block;
  margin-right: 1rem;
  color: #006400;
  text-decoration: none;
  font-weight: bold;
}

.xarxes-socials a:hover {
  text-decoration: underline;
}

.xarxes-socials i {
  margin-right: 0.4rem;
}


