/* Reseteo de márgenes */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 80px;
  background-color: #F4E3C1;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 10px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 999;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  margin-right: 10px;
}

.logo span {
  font-size: 1.5rem;
  color: #e74c3c;
  font-weight: bold;
}

/* Navegación */
.nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #A93226;
  font-weight: bold;
  transition: color 0.3s ease;
}

.nav a:hover {
  color: #e67e22;
}

/* Cabecera con imagen */
.cabecera {
    height: 300px;
    background-image: url('imagenes/conocenos.jpeg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Marco estilo glassmorphism */
.marco-titulo {
    background: rgba(255, 255, 255, 0.1); /* transparencia */
    padding: 20px 40px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px); /* efecto de desenfoque */
    -webkit-backdrop-filter: blur(10px); /* soporte Safari */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    margin-top: 40px
}

/* Estilo del título */
.marco-titulo h1 {
    color: #fff;
    font-size: 2.5em;
    text-align: center;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}


body {
    font-family: Arial, sans-serif;
    background-color: #fff8f0;
    margin: 0;
    padding: 0;
}

.contenedor {
  display: flex;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  max-width: 800px;
  width: 90%;
  overflow: hidden;
  flex-wrap: wrap;
  margin: 30px auto;
}

.info-contacto {
  flex: 1;
  padding: 30px;
  background-color: #e74c3c;
  color: white;
}

.info-contacto h2 {
  margin-top: 0;
  padding: 9px;
  text-align: center;
}

.info-contacto p {
  font-size: 16px;
}

.formulario {
  flex: 1;
  padding: 30px;
  background-color: #FFF8F0;
}

.formulario h2 {
  margin-bottom: 20px;
  text-align: center;
  color: #333;
}

.formulario label {
  display: block;
  margin-bottom: 5px;
  color: #555;
}

.formulario input[type="text"],
.formulario input[type="email"],
.formulario textarea {
  width: 100%;
  padding: 8px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.formulario textarea {
  resize: vertical;
}

.formulario input[type="submit"] {
  background-color: #e74c3c;
  color: white;
  border: none;
  padding: 10px;
  width: 100%;
  border-radius: 5px;
  cursor: pointer;
}

.formulario input[type="submit"]:hover {
  background-color: #e74c3c;
}

/* Sección de footer */
footer {
  background-color: #5c4033;
  color: #fff8f0;
  padding: 40px 20px 20px;
  text-align: center;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-info, .footer-redes {
  flex: 1 1 300px;
}

.footer-info h3,
.footer-redes h4 {
  color: #f8d9b5;
  margin-bottom: 10px;
}

.footer-redes a {
  color: #ffe4c4;
  text-decoration: none;
  margin: 0 5px;
}

.footer-redes a:hover {
  text-decoration: underline;
  color: #ffd6a0;
}

.footer-copy {
  margin-top: 20px;
  font-size: 0.9rem;
  color: #d8c6b0;
}

/* Responsive para móviles */
@media (max-width: 700px) {
  .contenedor {
    flex-direction: column;
  }
}
