/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #F7F7F7;
  color: #2D2D2D;
}

/* Header con Flexbox */
header {
  position: relative;
  display: flex;
  z-index: 1000;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  background-color: white;
  border-bottom: 2px solid #00BCD4;
}

/* Contenedor para el logo y la información de la marca */
.brand {
  display: flex;
  align-items: center;
}

.logo {
  width: 120px;
  margin-right: 15px; /* Espacio entre el logo y el texto */
}

/* Estilos para el nombre y el eslogan */
.brand-text h1 {
  font-size: 1.5em;
  margin-bottom: 5px;
}

.brand-text .slogan {
  font-size: 1em;
  color: #555;
}

/* Estilos para la navegación */
nav a {
  margin: 0 15px;
  text-decoration: none;
  color: #00BCD4;
  font-weight: 600;
}

.hero {
  background-color: #e6f7f9;
  text-align: center;
  padding: 40px 20px;
}

.hero h2 {
  font-size: 2em;
  margin-bottom: 10px;
}

.objetos-recientes {
  padding: 40px 20px;
  max-width: 1200px;
  margin: auto;
}

.objetos-recientes h2 {
  margin-bottom: 20px;
  color: #00BCD4;
}

.galeria {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.tarjeta-objeto {
  background: white;
  padding: 15px;
  border-radius: 15px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  width: 250px;
  text-align: center;
}

.tarjeta-objeto img {
  width: 100%;
  border-radius: 10px;
  height: 180px;
  object-fit: cover;
}

.tarjeta-objeto h3 {
  margin: 10px 0;
  font-size: 1.1em;
}

.tarjeta-objeto p {
  font-size: 0.9em;
  color: #666;
}

.tarjeta-objeto button {
  margin-top: 10px;
  background-color: #00BCD4;
  border: none;
  color: white;
  padding: 10px 15px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
}

.footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  z-index: 1000;       /* Por encima de la sección hero */
  background-color: #ffffff; /* Asegura que tenga fondo sólido */
}

.hero-about_us {
  position: relative;
  width: 100%;
  height: 100vh; /* ocupa toda la altura de la ventana */
  
  background-image: url('imagenes/fondo-nosotros.jpg');
  background-repeat: no-repeat;
  background-position: center center;  /* centra la imagen */
  background-size: cover;              /* la escala para cubrir todo */
  
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 80px; /* si sigues teniendo el header fijo */
}
.gift-background {
  position:fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: auto; /* Se coloca detrás de la caja de texto */
}
/* Ajusta el tamaño de la imagen gift según necesites */
.gift-background img {
  width: auto; /* Ejemplo de tamaño */
  height: auto;
}
.hero-content {
  position: relative;
  z-index: 1; /* Se muestra por encima de la imagen gift */
  background-color: rgba(255, 255, 255, 0.8); /* Fondo gris claro semitransparente */
  padding: 40px;
  border-radius: 10px;
  text-align: center;
}
body {
  /* Ajusta este margin-bottom al alto real de tu footer (ej. 60px, 80px…) */
  margin-bottom: 80px;
}
/* === Mi Perfil === */
.perfil {
  padding: 100px 20px 40px; /* deja espacio para header fijo */
  max-width: 1200px;
  margin: 0 auto;
}

/* Profile Info */
.profile-info {
  display: flex;
  align-items: center;
  gap: 30px;
  background-color: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #00BCD4;
}

.profile-info .info h2 {
  margin-bottom: 8px;
}

.profile-info .info p {
  margin-bottom: 6px;
  color: #555;
}

.edit-profile {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 16px;
  background-color: #00BCD4;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
}

/* Profile Stats */
.profile-stats {
  display: flex;
  justify-content: space-between;
  margin: 30px 0;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2em;
  color: #00BCD4;
  font-weight: bold;
}

.stat-label {
  color: #555;
}

/* Mis objetos */
.mis-objetos h2 {
  margin-bottom: 20px;
  color: #00BCD4;
}

.mis-objetos .galeria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

/* Asegúrate que los botones dentro de .tarjeta-objeto hereden el estilo */
.mis-objetos .tarjeta-objeto button {
  background-color: #00BCD4;
  color: #fff;
  border: none;
  padding: 10px 15px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
}

.mis-objetos .tarjeta-objeto button:hover {
  background-color: #009fb3;
}
/* ===== Página Explorar ===== */
nav a.active {
  color: #007B9E;
  font-weight: bold;
  border-bottom: 2px solid #00BCD4;
}

.explorar {
  padding: 100px 20px 40px;  /* deja espacio para el header fijo */
  max-width: 1200px;
  margin: 0 auto;
}

.search-filter {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
}

.search-input {
  width: 300px;
  padding: 10px 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1em;
}

.filter-select {
  padding: 10px 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1em;
  background-color: white;
  cursor: pointer;
}

.galeria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  justify-items: center;
}

/* Hover effects */
.tarjeta-objeto:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
  transition: 0.3s ease;
}

.tarjeta-objeto button {
  background-color: #00BCD4;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.2s ease;
}

.tarjeta-objeto button:hover {
  background-color: #009fb3;
}

/* ===== Página Publicar ===== */
nav a.active {
  color: #1b8510;
  font-weight: bold;
  border-bottom: 2px solid #00BCD4;
}

.publicar {
  padding: 100px 20px 40px; /* deja espacio para header fijo */
  max-width: 600px;
  margin: 0 auto;
}

.form-section h2 {
  margin-bottom: 30px;
  color: #00BCD4;
  text-align: center;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
}

.form-input,
.form-textarea,
.form-select,
.file-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1em;
  font-family: inherit;
}

.form-textarea {
  resize: vertical;
}

.file-input {
  padding: 6px;
}

.form-button {
  display: block;
  width: 100%;
  padding: 12px 0;
  background-color: #00BCD4;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  margin-top: 10px;
}

.form-button:hover {
  background-color: #009fb3;
}

.botonExplora {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 16px;
  background-color: rgb(236, 3, 231);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
}