* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  display: flex;
  flex-direction: column; 
  justify-content: flex-start;
  min-height: 100vh;
  font-family: 'Poppins', sans-serif;
  background: 
    radial-gradient(circle at top right, rgba(0, 0, 0, 0.15), transparent 50%),
    linear-gradient(to right, #423835, #f8e0ba);
  color: white;
}

a, a:visited {
  color: white;
  text-decoration: none;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  border-bottom: 1px solid white;
  margin-bottom: 2rem;
}

header > div {
  display: flex;
  align-items: center;
  gap: 1rem;
}

header strong {
  font-weight: bold;
  font-size: 1rem;
  color: white;
}

.language-switcher {
  display: flex;
  gap: 0.25rem;
}

.language-switcher button {
  background: transparent;
  border: 1px solid white;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  font-size: 0.85rem;
}

.language-switcher button:hover {
  background: white;
  color: black;
}

header nav {
  display: flex;
  align-items: center;
}

header nav a {
  margin-left: 1.5rem;
  font-weight: 500;
  text-transform: lowercase;
  transition: opacity 0.3s;
  color: white;
  text-decoration: none;
}

header nav a:hover {
  opacity: 0.7;
}

.card {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  background-color: white;
  padding: 0;
  margin: auto auto;
  width: 90%;
  max-width: 1300px;
  height: auto;
  overflow: hidden;
  border-radius: 20px;
  margin-top: 40px;
  margin-bottom: 0px;
}

.text-content {
  flex: 1;
  z-index: 1;
  color: transparent;
  background: linear-gradient(135deg, #423835, #f8e0ba);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 3rem;
}

.text-content h1 {
  font-size: 5rem;
  font-family: 'Canela Text', serif;
  font-weight: bold;
  margin-bottom: 1rem;
}

.text-content p {
  font-size: 1.25rem;
  font-family: 'Poppins', sans-serif;
}

.buttons {
  margin-top: 2rem;
}

.buttons a {
  text-decoration: none;
  color: #9a8b7a;
  border: 2px solid #9a8b7a;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  margin-right: 1rem;
  transition: 0.3s;
}

.buttons a:hover {
  background: #423835;
  color: white;
}

.photo {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0;
  margin: 0;
}

.photo img {
  height: 100%;
  width: auto;
  display: block;
  object-fit: contain;
  margin: 0;
  padding: 0;
}

footer {
  margin-top: auto;
  text-align: center;
  padding: 1.5rem;
  margin-top: 2rem;
}

.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
}

.social-icons a {
  color: white;
  text-decoration: none;
  font-size: 1.6rem;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #000000;
}

@media (max-width: 768px) {
  .card {
    flex-direction: column;
    height: auto;
    text-align: center;
  }

  .photo {
    justify-content: center;
    align-items: flex-end;
    margin-top: 1rem;
  }

  .photo img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-bottom-right-radius: 32px;
  }
}