/* Fondo de página */
body {
  background-color: #fdf2e9; /* cambia por el color que quieras */
  margin: 0;
  font-family: 'Lato';
}

/* Header flotante */
.header-float {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-radius: 25px;
  padding: 12px 35px;
  z-index: 10000;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  transition: transform 0.3s, box-shadow 0.3s;
}

.header-float:hover {
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.nav-float {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  max-height: 45px;
  transition: transform 0.3s;
}

.nav-logo img:hover {
  transform: scale(1.05);
}

.nav-menu-float {
  display: flex;
  gap: 35px;
  list-style: none;
}

.nav-menu-float a {
  text-decoration: none;
  color: #80221e;
  font-weight: 600;
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  transition: color 0.3s;
}

.nav-menu-float a:hover {
  color: #f4a261;
}

/* Sección 1 estilo Pinterest */
.section-1-float-3d {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 180px 60px 80px;
  gap: 50px;
  position: relative;
  background-color: #fdf2e9;
}

.section-text {
  max-width: 500px;
  z-index: 1;
  opacity: 0;
  transform: translateX(-50px);
  animation: fadeInLeft 1s forwards;
}

.section-logo {
  width: 250px;
  height: auto;
  margin-bottom: 20px;
}

.section-text p {
  font-size: 18px;
  color: #80221e;
  margin-bottom: 30px;
}

.btn-read-more {
  display: inline-block;
  background: linear-gradient(45deg, #f8b88b, #f4a261);
  color: white;
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-read-more:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.3);
}

.section-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  position: relative;
}

.section-image img {
  width: 100%;
  max-width: 850px;  /* más ancho para banner */
  height: auto;
  border-radius: 25px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.2);
  transform: translateY(-20px); /* efecto flotante */
  transition: transform 0.5s, box-shadow 0.5s;
  opacity: 0;
  animation: fadeInRight 1s forwards;
  animation-delay: 0.5s;
}

.section-image img:hover {
  transform: translateY(-25px) scale(1.02);
  box-shadow: 0 35px 60px rgba(0,0,0,0.25);
}

/* Animaciones */
@keyframes fadeInLeft {
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  to { opacity: 1; transform: translateX(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .section-1-float-3d {
    flex-direction: column-reverse;
    padding: 140px 20px 60px;
    gap: 30px;
  }

  .section-image img {
    width: 100%;
    max-width: 400px;
    transform: translateY(0); /* quitar efecto flotante en móvil */
  }

  .section-text p {
    font-size: 16px;
  }

  .btn-read-more {
    padding: 12px 30px;
    font-size: 14px;
  }
}




/* Sección 2 - Formulario */
.section-2-form {
  background-color: #fff; /* fondo claro */
  padding: 100px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.form-container {
  background: rgba(255, 255, 255, 0.95);
  padding: 40px;
  border-radius: 20px;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  text-align: center;
}

.form-container h2 {
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 25px;
  color: #80221e;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

label {
  font-size: 14px;
  text-align: left;
  font-weight: 600;
  color: #444;
}

input {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

input:focus {
  border-color: #f4a261;
  box-shadow: 0 0 8px rgba(244, 162, 97, 0.5);
}

.btn-submit {
  margin-top: 20px;
  padding: 14px;
  background: linear-gradient(45deg, #f8b88b, #f4a261);
  color: white;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}













.btn-delete {
  background-color: #e74c3c;
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s ease;
  margin-top: 10px;
}

.btn-delete:hover {
  background-color: #c0392b;
}

.btn-cancel {
  display: inline-block;
  margin-left: 10px;
  background-color: #6c757d;
  color: white;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 8px;
  transition: 0.3s;
}

.btn-cancel:hover {
  background-color: #5a6268;
}
