/* Reset y básicos */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Manrope', sans-serif;
}
/* Estilos del banner interactivo */
#banner-container {
  width: 100%;
  height: 600px; /* mismo alto que tu canvas */
  overflow: hidden; /* oculta cualquier cosa que sobresalga */
}

body {
  display: flex;
  min-height: 100vh;
  background: #fff;
}

/* Barra lateral izquierda */
.sidebar {
  width: 220px;
  background: linear-gradient(180deg, #A0E0FF, #969EFA);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar .nav-item {
  background: rgba(255,255,255,0.3);
  padding: 10px 15px;
  border-radius: 15px;
  cursor: pointer;
  color: #22254F;
  font-weight: 700;
  transition: 0.2s;
}

.sidebar .nav-item:hover {
  background: rgba(255,255,255,0.5);
}

/* Contenido principal */
.main-content {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
}

/* Título principal */
.title-section {
  background: linear-gradient(135deg, #C9C5FF, #ffffff);
  padding: 60px 20px;
  border-radius: 20px;
  text-align: left;
  margin-bottom: 30px;
}

.title-section h1 {
  font-family: 'Soria', serif;
  color: #22254F;
  font-size: 3rem;
  margin-bottom: 10px;
}

.title-section h2 {
  font-weight: 700;
  color: #22254F;
  font-size: 1.8rem;
}

/* Secciones de texto */
.text-section {
  margin-bottom: 40px;
}

.text-section h2 {
  font-weight: 700;
  margin-bottom: 15px;
}

.text-section p {
  margin-bottom: 15px;
  line-height: 1.5;
}

.text-section button {
  padding: 10px 15px;
  border-radius: 10px;
  border: none;
  background: #969EFA;
  color: #22254F;
  cursor: pointer;
  font-weight: 700;
  transition: 0.2s;
}

.text-section button:hover {
  background: #a1a9fc;
}

/* Encargos */
.encargos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.encargo-container {
  position: relative;
  width: 400px;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, #C9C5FF, #969EFA);
}

.encargo-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.open-link {
  position: absolute;
  bottom: 10px;
  right: 10px;
  padding: 8px 12px;
  border-radius: 10px;
  border: none;
  background: rgba(0,0,0,0.5);
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  transition: 0.2s;
}

.open-link:hover {
  background: rgba(0,0,0,0.7);
}
/* Sobre mí */
.sobre-mi {
  display: flex;
  gap: 20px;
}

.sobre-mi p {
  background: #E0E0FF;
  padding: 15px;
  border-radius: 15px;
  flex: 1;
}

.sobre-mi-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sobre-mi-buttons button {
  padding: 10px 15px;
  border-radius: 10px;
  border: none;
  background: #969EFA;
  color: #22254F;
  cursor: pointer;
  font-weight: 700;
  transition: 0.2s;
}

.sobre-mi-buttons button:hover {
  background: #a1a9fc;
}

/* Footer */
footer {
  margin-top: 40px;
  background: #22254F;
  color: #fff;
  text-align: center;
  padding: 15px;
  border-radius: 10px;
}